forval i=1/24 {
qui xtreg y x1 x2 x3 x4 x5 ///
l`i'.y l`i'.x1 l`i'.x2 l`i'.x3 l`i'.x4 l`i'.x5, fe
qui estat ic
estimates store model`i'
}
Hello everybody. Before ı choose to use pmg or mg panel estimation model ı need to find the optimal lag. I can find it with long way. Bu ı want to build a loop for that as above. But ı dont know how to add other lags in every turn.
for example as above ı added first lags in first turn of loop but how to add secons lags with first lags in second turn?
how to add thirs lags with second and first lags in third turn of loop?
Related Posts with Panel ARDL Optimal Lag Selectin Loop
mtefe with interactive fixed effectsHello everyone! First time poster, long time lurker here I'm working on a project that requires obt…
mvnp ml maxmize plugin not loaded : use the adoonly optionI am currently running the test_mc_mvp3_train_h.do file of Cappellari and Jenkins (2006) , Calculati…
query of correlation and coefficientDear all, I have a question of correlation and my coefficient. I use pwcorr to test the correlation…
Converting from long to wide formatDear all, I'm trying to convert from long to wide format: Code: reshape wide _proc_code _proc_eye…
Polygons hidden behind others when creating choropleth map using spmapHi everyone - this is my first ever post on this forum. I've been having a problem using the spmap …
Subscribe to:
Post Comments (Atom)
0 Response to Panel ARDL Optimal Lag Selectin Loop
Post a Comment