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
Effect size & MANOVAHello all, New to STATA. I am trying to calculate eta2 or partial eta2 for a MANOVA: manova relatio…
Help needed: Mediation AnalysisHi guys, I could really use your help, I am very new with statistical analysis, however need to do a…
command qregpdHey all, I need help in understanding qregpd command introduced by powell2016. It has an instrument …
Marginsplot after multinomial LCAHi, I wonder, has anybody tried to visualize multinomial/ordinal with maginsplot, similarly as the o…
How?: Table with incremental marginal effects after logit model with interactionHi everyone! How can I output to Latex (e.g. with esttab), after a logit model with interaction term…
Subscribe to:
Post Comments (Atom)
0 Response to I want to run a VAR with bootstrap standard errors
Post a Comment