Bai perron residuals
Bai perron residuals
Hi Tom,
is there a way to get the residuals from bai-perron? i tried putting resids behind the instruction like the one for linreg but nothing came out.
@baiperron(maxbreaks=2,tests) wtic 1997:11:28 2011:06:24 resids
# constant hh bsbc
also, how do i get R square and Durbin watson (DW) figures from DLM?
Thanks again.
Rgds
Des
is there a way to get the residuals from bai-perron? i tried putting resids behind the instruction like the one for linreg but nothing came out.
@baiperron(maxbreaks=2,tests) wtic 1997:11:28 2011:06:24 resids
# constant hh bsbc
also, how do i get R square and Durbin watson (DW) figures from DLM?
Thanks again.
Rgds
Des
Re: Bai perron residuals
The series %RESIDS has the residuals from the final regression.chiade wrote:Hi Tom,
is there a way to get the residuals from bai-perron? i tried putting resids behind the instruction like the one for linreg but nothing came out.
@baiperron(maxbreaks=2,tests) wtic 1997:11:28 2011:06:24 resids
# constant hh bsbc
I'd recommend using the @STAMPDiags procedure for diagnostics after a state-space model. Neither the R^2 nor the DW has any particularly interesting properties for a state-space model (R^2 because DLM maximizes the likelihood rather than minimizing the sum of squared residuals, DW because neither the numerator nor denominator is an interesting statistic in the case of a state-space model).chiade wrote:also, how do i get R square and Durbin watson (DW) figures from DLM?
Thanks again.
Rgds
Des
Re: Bai perron residuals
is it possible to use @stampdiags on linear regressions, bai-perron and other equations?
how do I create the DW and hetereoscedasiticty tests to compare to @stampdiags? or vice versa?
Rgds,
Des
how do I create the DW and hetereoscedasiticty tests to compare to @stampdiags? or vice versa?
Rgds,
Des