preserve
local var1 = "price"
local var2 = "weight"
local n=r(N)
local B=1000
local alfa = 0.05 //b to liczba próbek
forvalues i=1/`B'{
generate sampl`i'=`var1'[ceil(`n'*runiform())]
generate sampl1`i'=`var2'[ceil(`n'*runiform())]
reg var1 var 2
}
0 Response to Bootstrap for regression parametrs
Post a Comment