Hi all,
I am in the process of developing an automated forecasting system for univariate time series and I would like to implement AIC comparisons of models in levels and first differences akin to Harvey (1980). His proposed method works by artifically generating a likelihood function for lets say the differenced series if the original model was in levels (or vice versa). The goal here is to have comparable likelihood functions and implicitly comparable AIC's.
The main model classes i will be working with are arima and exponential smoothing models (atleast all the additive models which are estimated via MLE in sspace as opposed to Stata's own smoothing commands). In order to derive the Likelihood function of the complement series ( first difference -> levels or levels-> first difference) it would be really convenient if i could directly grab the state space matrices from the arima command (which to the extend of my knowledge doesnt offer the matrices in e()). if i have those, i should be able to derive the likelihood function of the complement series hopefully easy enough.
I took a look at the arima.ado file but lets say theyre a bit above my coding level. Is there an easy way to get the matrices directly from the commands? If not i suppose i could set them up myself.
Thank you in advance,
Jan
Link for Harvey (1980):
https://www.jstor.org/stable/pdf/252...19095a2a45f329
Related Posts with grab State Space matrices from arima()
How to calculate time varying exponentially weighted moving correlation whose mean is not zero?How can we calculate the time-varying EWMA correlation matrix in Stata when mean is not zero?? …
T-Test with Multi-way Clustered DataI would like to run a simple t-test on whether means of two groups are significantly different. The …
Variance ratio |VR(n,m)-1|Hello everyone, I am doing a research paper on informational efficiency (IE1). It is calculated by …
Exponentiated coefficients after mi estimate: melogitHello, I am looking to get exponentiated coefficients after estimating a multilevel, mixed effects l…
Multilevel Model DiagnosticsDear all, I would appreciate some guidance on what main diagnostic tests can be performed on mtmixe…
Subscribe to:
Post Comments (Atom)
0 Response to grab State Space matrices from arima()
Post a Comment