Announcement

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

  • sum values accross rows (after multiple imputation) only if none missing

    Hello, I am trying to generate a new variable equal to the sum for a number of observations only if none of the observations are missing. On another thread (see here or link below) the proposed code works well with simplified data. However, it does not work when applied to the data after multiple imputation (using egen within mi passive).

    Any ideas on why this is the case or an alternative way to obtain the desired variable?

    Thank you very much.
    Rodolfo.
    Hello, I am trying to generate a new variable equal to the sum for a number of observations only if none of the observations are missing (see data below) and
Working...
X