I want to run a VAR(1) with both OLS standard errors and bootstrap standard errors which are computed from 2500 simulated realizations if that applicable
I used that: it did not work
**Code**
capture program myboot2
program define myboot2, rclass
preserve
bsample
var R_Me TY PE VS, lags(1)
estat vif
return scalar vif_3 = r(vif_3)
return scalar vif_2 = r(vif_2)
return scalar vif_1 = r(vif_1)
restore
end
simulate vif_3=r(vif_3) vif_2=r(vif_2) vif_1=r(vif_1),reps(2500) seed(12345): myboot2
bstat, stat(vif) n(876)
estat bootstrap, all
Related Posts with I want to run a VAR with bootstrap standard errors
How to create and interpret the interaction term in the following: lnY=*β0 +*β1 lnGDP +*β2 lnFX +*β3 (lnGDP x lnFX) +*ξHello, I regress a bank's one balance sheet item(Y) on GDP, FX (foreign exchange rate), and the int…
need urgent helpI tried to do heteroskedasticity test for panel-level data by using the commands from the site menti…
Generated regressor problem and bootstrapping?Hello, I have the fitted values of a regression to be used as a regressor for another set of regres…
Exporting regression results to a Word documentHi all, I'll be very happy if you can help me. I'm trying to export the results of multiple regress…
rounding to 0.5, 1.5, 2.5, 3.5 etcHello, I have a question in regard to rounding. As an example I have a data like this: Code: list …
Subscribe to:
Post Comments (Atom)
0 Response to I want to run a VAR with bootstrap standard errors
Post a Comment