[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: coding a categorical variable to a % continuous variable
> 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 ?
I should add to this. By specifying two x-variables, controlling for
whether or not they smoke, you need to think about which two (continuous)
x-variables you wish to scatterplot against each other and whether or not
that relationship will differ substantially between smokers and
non-smokers. Some quick and easy correlation runs will help here,
I hope all that helps.
CLIVE NICHOLAS |t: 0(044)191 222 5969
Politics |e: firstname.lastname@example.org
Newcastle University |http://www.ncl.ac.uk/geps
* For searches and help try: