Announcement

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

  • Controlling independent variables in multinomial logistic regression

    Hi,

    I am analysing the effect of sex, age (categorical), and education level (categorical) over the Covid-19 social impact (categorical variables, 3 categories). How can I control the effect of sex and age before introducing the education variable?

  • #2
    Code:
    help nestreg
    Example:

    Code:
    // -mlogit- example from the help file
    // Setup
    webuse sysdsn1, clear
    // Fit multinomial logistic regression model
    mlogit insure age male nonwhite i.site
    // Suppose I want to enter site, age and male first,
    // and then add nonwhite on a second step.
    // Use the -nestreg- prefix command (help nestreg)
    nestreg: mlogit insure (i.site age male) (nonwhite)
    --
    Bruce Weaver
    Email: [email protected]
    Version: Stata/MP 19.5 (Windows)

    Comment

    Working...
    X