Help: a simulation problem# Computation - 科学计算
f*n
1 楼
X follows normal distribution with mean 0 and variance 1(in short, N(0,1)). Y
follows N(X,2) if X<=0.5, otherwise follows N(0,3).
Question: How to simulate Y?
Thx
follows N(X,2) if X<=0.5, otherwise follows N(0,3).
Question: How to simulate Y?
Thx