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
Accessing ado code for svy: total to identify variance estimation methodHello, I'm needing to estimate standard errors in an Excel file, for a complex survey. It is a two s…
Creating graphsHi everyone I have recently started to use Stata, and struggling to create graphs. Which codes shou…
Monthly rolling regressions - recording residualsHi All, Thanks for reading. I currently have daily time series data for the periods from July 2010…
principal factor vs. principal-component factor option for factor analysis Hello everyone! Can someone explain me the difference between the "principal-factor" and "principa…
(How) Can I calculate a significance test for Kendall´s Tau c in Stata?Dear community, I calculated Kendall´s tau c in Stata "by hand" because the ktau-command only conta…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrap for regression parametrs
Post a Comment