|
set rng=mc seed=17760704.
|
|
new file.
|
|
input program.
|
|
vector x(4).
|
|
loop #i=1 to 200.
|
|
loop #j=1 to 4.
|
|
compute x(#j)=rv.normal(0,1).
|
|
end loop.
|
|
end case.
|
|
end loop.
|
|
end file.
|
|
end input program.
|
|
compute y=1.5+0.8*x1-0.7*x2+1.1*x3-1.7*x4+rv.normal(0,1).
|
|
execute.
|