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
}
Related Posts with Bootstrap for regression parametrs
Would using the Wald Chi2 be appropriate to choose between xtprobit and xtlogit results?I've run xtlogit and xtprobit regressions that yield very similar results. Would it be fine if I use…
My nl equation has an error, please help!Hello everyone, I am trying to estimate the parameters a and c of a nonlinear equation. The nonline…
Loop over quarterly variables to find yearly meansHi Everyone, I'm quite new to Stata (version 17.0) and I'm having some trouble implementing a loop …
xtivreg2 and interpretation of post estimation resultsHi, I am running an xtivewg2 command using some instrumental variables. I would like to reconfirm m…
Problem with calculating particular percentages of flowsGood morning, first of all these are the first times I am using Stata, so this could be a very eleme…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrap for regression parametrs
Post a Comment