Announcement

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

  • Mi imputation chained

    Hi, the variables I am using are both categorical and continuous. All the dependent and independent variables have missing values except 2 independent variables. Can I use Mi imputed chained option using regress and logit in one command? Example, 2 dependent continuous variables are cogtest 1, cogtest2, 2 independent variables with missing values are race and immigrant status, 2 independent variables with no missing values are gender and age. What should be the command then? Help please!

  • #2
    See help mi impute chained

    Assuming race and immigrant status variables are binary, and you're doing 10 imputations:

    Code:
    mi impute chained (regress) cogteset1 cogtest2 (logit) race immigrantstatus = gender age, add(10)

    Comment


    • #3
      Thank you! Thats what I thought will be the command.

      Comment

      Working...
      X