Announcement

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

  • Imputation conditional on simultaneous missing values

    Hello,

    I have a 13-variable dataset (factor model) that is split into (factor 1: v1-v9) 9 and (factor 2: v10-v13) 4 variables, respectively. If a subject has missing values (MV) in all 13 variables is excluded. If a subject has up to 2 MV on factor 1 or 1 MV on factor 2, then the mean score for their factor is imputed on the missing question. If a subject has more than 2 MV on factor 1 and 1 MV in factor 2, is excluded. I've been looking at approaches using multiple imputation but wondering how can I code that at the same time (i.e., as one big rule or sequence of logical rules) in Stata? Thanks in advance!

  • #2
    It is a little tricky to understand what you intend to do without an example of the data. You'll probably get more useful replies if you generate such an example with `dataex` (`ssc install dataex`).

    Comment

    Working...
    X