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
Stratified Wilcoxon Mann Whitney Generalised Odds Ratios for Repeated Measures DataDear Statalist, Hope you're all well. I have a dataset with repeated measures of the modified Rank…
Problems with controls and fixed effects in DIDHi, I'm currently using triple difference to analyse the effect of minimum marriage age legislation…
Panel Data Regression: reg vs xtregHello Everyone, I have a panel data that I am trying to make a regression for and I am confused whi…
SEM - insignificant direct path vs. significant indirect pathsDear Forum, I am conducting SEM analysis in Stata and I have specified a well-fitting measurement m…
Two part model with instrumental variableHi: I am using a two part model with a binary dependent variable and a binary endogenous regressor.…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment