I have a presumably simple question. What does this mean: with probability 0.3 variable X is simulated as
X~N(0,1).
How can I simulate X using this?
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.
Sign up to join this communityI have a presumably simple question. What does this mean: with probability 0.3 variable X is simulated as
X~N(0,1).
How can I simulate X using this?
What about first sampling a uniform $U$. If $U<0.3$ (this has probability $0.3$) then you sample $N(0,1)$ else you do something else.