Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Graph for unadjusted analysis

    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

    Code:
    logit weight c.wave##i.finc
    Code:
    margins finc, at(wave=(1(1)5))
    Code:
    marginsplot
    The graph shows as per link below.

    I'm looking to have a graph of unadjusted relationship between obesity and family income.
    Code:
    weight
    is a measure of obesity
    Code:
    finc
    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








  • #2
    Hi All,

    Sorry the link above is wrong.

    Comment

    Working...
    X