Hello there,
I am doing a rolling regression and I want to capture the R-squared of the Modell. Does anyone know how to do this?
Thank you
I am doing a rolling regression and I want to capture the R-squared of the Modell. Does anyone know how to do this?
Code:
tsset Country date rolling _b _se (df: r = e(df_r)), window(365) stepsize(365) : regress depvar indepvar , vce(r) gen p = 2*ttail(df_r,abs(_b_cons/_se_cons))
Comment