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
DID Model with multiple treatment GroupDear All, I am in the midst of doing up my thesis paper and have encountered some problem with rega…
Combining two matrices in one VariableDear all, my university is using the Stata version with max matsize = 800. I am working with a data…
What is the Stata command to generate a variable that would take the initial value of the other variable?Dear all, I have panel covering the period 1970-2010 with country-year being the unit of analysis. …
Changing from Inflation % from previous year to Change to Inflation RateHi, I managed to gather data for inflation from the IMF but its measure is (Prices, Consumer Price …
Import oaxaca result in latexCould you please share me a stata code to import Oaxaca result in latex. I examine the wage gap amon…
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment