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 generate counterfactual polynomial fitHello, I am looking to generate a counterfactual polynomial fit for some data. Essentially, I have …
Heckman - Wooldridge - selection model for for 2SLS estimator - complex contextAssume that we have a stock exchange with 500 listed firms. Every year, the data for one of the exp…
cmp for a multinomial charity choice/hurdle modelHi, I am trying to estimate a model of charitable giving. I have a study where individuals are given…
Creating dummiesHey everyone! I have panel data between 2014 and 2018 on multiple socioeconomic and demography facto…
Creating this TableHello all, I am doing an Age-Period-Cohort analysis and was wondering how I can create the follow ta…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment