Dear All,
I am trying to plot a graph that will show a relationship between obesity and family income in each wave, the data set comprises of 5 waves.
This is what I did
The graph shows as per link below.
I'm looking to have a graph of unadjusted relationship between obesity and family income.
is a measure of obesity
is family income.
I need the y-axis to be percentage of people. The x-axis to be waves. It shows as waves at present.
Point of each wave to show percentage of obese people by family income category.
Thanks
Nthato
I am trying to plot a graph that will show a relationship between obesity and family income in each wave, the data set comprises of 5 waves.
This is what I did
Code:
logit weight c.wave##i.finc
Code:
margins finc, at(wave=(1(1)5))
Code:
marginsplot
I'm looking to have a graph of unadjusted relationship between obesity and family income.
Code:
weight
Code:
finc
I need the y-axis to be percentage of people. The x-axis to be waves. It shows as waves at present.
Point of each wave to show percentage of obese people by family income category.
Thanks
Nthato
Comment