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
Dealing with missing values in 2SLS regression - in instrumental variablesHi I am about to make a 2SLS regression. This is a corrected IV model where I have som instrumental…
Endogenous variables that aren't endogenousIf you (or reviewers) suspect a variable is endogenous, and you find a valid instrument and tests sh…
Wald exogeneity test with -ivprobit- interpretation and exporting resultsDear Statalisters I am running an -ivprobit- regression and have got a p-value for the Wald exogene…
Mechanism Testing OLSHi there! I am new to Stata and trying to learn more about the relationship between risk and weathe…
Endogeneity in panel dataDear all, as far as I know, endogeneity exists when the independent variable is correlated with the…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment