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
Related Posts with Creating missing value mechanisms
How to identify and operate characters in a string variable?Hi Statalisters, I am new to Stata and encounter some problems. I have a dataset with some string …
How to compare predicted margins across two separate models?Greetings, I'm running Stata 15 on OSX and working with panel data. My goal is to test and compare …
moment evaluator programHi I am trying to write up a moment evaluator program that can be fed into a GMM routine. I am stuck…
cmp - unable to allocate matrixHi, I am using the cmp command to simultaneously estimate three probit equation such as: DV1 = b0 …
Calculating conditional probabilities on stataHi everyone, I am analyzing a dataset of a specific treatment and the effect of such treatment on s…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment