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 <[email protected]>
To   [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index