Z*****e 发帖数: 617 | 2 题目是这样的
Use the loop command to generate 100 variables var_1 to var_100, which are
normally distributed with mean 0 and standard deviations which increase from
1 to 100;
我写的
local i=1
. while 'i'<=100 {
gen x=rnormal(0,i)
local i='i'+1
}
'i' invalid name
r(198);
初学见笑了。 |
|