From: we wewe on
I don't know how to generate data set in this situation..
xi=Z1+e, Z1∼N.(0, 1), i=1, . . . ,15,
e~ N(.0, 1), e is independent identically distributed,
xi~iid N(0,1) i=16, : : : , 40

we simulated 50 data sets consisting of 50/50/400 observations and 40 predictors.
We chose
β=(3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
and σ=15. The predictors X were generated as follows:
xi=Z1+ei
, Z1∼N.(0,1), i=1, . . . ,5,
xi=Z2+ei
, Z2∼,N.(0,1), i=6, . . . ,10,
xi=Z3+ei
, Z3∼N.(0,1), , i=11, . . . ,15,
xi∼N.0, 1, xi independent identically distributed, i=16, : : : , 40
e~iid N(0,0.16)
From: Walter Roberson on
we wewe wrote:
> I don't know how to generate data set in this situation..
> xi=Z1+e, Z1∼N.(0, 1), i=1, . . . ,15,
> e~ N(.0, 1), e is independent identically distributed, xi~iid N(0,1)
> i=16, : : : , 40
>
> we simulated 50 data sets consisting of 50/50/400 observations and 40
> predictors.
> We chose
> β=(3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
>
> and σ=15. The predictors X were generated as follows:
> xi=Z1+ei
> , Z1∼N.(0,1), i=1, . . . ,5,
> xi=Z2+ei
> , Z2∼,N.(0,1), i=6, . . . ,10,
> xi=Z3+ei
> , Z3∼N.(0,1), , i=11, . . . ,15,
> xi∼N.0, 1, xi independent identically distributed, i=16, : : : , 40
> e~iid N(0,0.16)

I suggest you repost your question using only ASCII characters. Using
the mathematical tilde operator character (HTML 8764) and the other
characters such as HTML 963 makes your question too hard to read.