Announcement

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

  • Creating missing value mechanisms

    Hi,

    I would have a full dataset with an outcome variable y and a two predictors x1 and x2 and 100 observations.

    I want to make x1 missing completely at random (MCAR) with a probability of 0.5

    Any help with the code would be greatly appreciated.

    Thank you,
    Claire

  • #2
    Duplicate post. See, with reply, at https://www.statalist.org/forums/for...lue-mechanisms.
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment

    Working...
    X