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
Margins with Fractional LogitDear All, I am stuck with interpreting and correct usage of margins command even after reading the …
Problem With Xtabond2 In Dynamic Panel Data Concerning Omitted Lagged Coefficients Reported in OutputDear Statalist users. I am using the xtabond2 to draw advantage of the twostep System GMM approach …
xtabond2: Model EvaluationDear Statalisters, I am working on determinants of corporate cash holdings with a panel dataset of …
Problem in running regression with beta/coefficient that are estimated based on month, year, and countryHi, I am currently working on a panel dataset (15 EU countries for 15 years). I have approximately …
Correlation between two vectorsDear Statalister, I am currently working with data which include patents, patent classes and year. …
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrap for regression parametrs
Post a Comment