capt prog drop s
prog s
drawnorm x,n(`1') m(5) sds(10) clear
quietly sum x
scalar s=(`1'-1)*r(Var)/100
end
foreach i of numlist 3 5 11 {
simulate var`i'=s, reps (1000) nodots: s`i'
save temp`i', replace
}
merge using temp3 temp5
tw (hist var3, bfcolor(olive)) (hist var5, bfcolor(green)) ///
(hist var11, blcolor(red) bfcolor(none))
各位大神看看那里毛病?显示s3 command not found,实在找不到哪里错?