Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: coding a categorical variable to a % continuous variable


From   Suzy <scott_788@wowway.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: coding a categorical variable to a % continuous variable
Date   Fri, 11 Jun 2004 20:56:43 -0400

Hello,

I have a dichotomous variable (0=no ; 1=yes) that I would like to use in a scatter plot on the y axis as a continuous variable as a % variable.

For example: the x axis could be age and the y axis could be % smokers.

Can anyone help with this ?

Thank you.
Suzy


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index