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
CFA correlation error loading issueHi guys, What am i doing wrong ? I am working on CFA and I trying to correlate my error loading but…
Dropping observation under conditionsDear expers, my data: Code: * Example generated by -dataex-. To install: ssc install dataex clear …
Drop variable if varlabel contains certain expressionHey Statalisters, I am trying to drop all variables that have the expression "Domestic Currency" in…
Likelihood ratio omnibus test of significance & multiple comparisonsHi there, I have a data set which includes: 5 polygenic scores for different mental illnesses and a…
density plothello. I am not familiar with the density plot and I have a simple question. I have information abou…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment