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
Descriptive statistics tableI'm looking to create a descriptive statistics table, grouped by experimental condition. The table w…
How to calculate annual event rates for use in Kaplan-Meier graphHi Stata-users I would like to depict a Kaplan-Meier failure estimate graph with annual event rates…
Graph with a binomial category. Example in post!Good afternoon! https://cdn.jamanetwork.com/ama/cont...5G5CRDK6RD3PGA If I wanted to make a gra…
Model Specification - Generalized DiD or TWFE Model (Need Suggesstions)Hello everyone, I am estimating the effect of a law change on certain policies for the US states. T…
Categorical values conditional on a date (by group)Hi everyone, I'm new to this forum. Hopefully you are doing fine while reading my post. My question …
Subscribe to:
Post Comments (Atom)
0 Response to Creating missing value mechanisms
Post a Comment