Skip to content

fix(arima): score a forward refit at the stored sigma2 - #1306

Open
Atharva Mashalkar (atharva-mashalkar) wants to merge 1 commit into
Nixtla:mainfrom
atharva-mashalkar:fix-1295-refit-loglik
Open

Atharva Mashalkar (atharva-mashalkar) wants to merge 1 commit into
Nixtla:mainfrom
atharva-mashalkar:fix-1295-refit-loglik

Conversation

@atharva-mashalkar

Copy link
Copy Markdown

What

forward_arima refits with the original coefficients fixed. That fit profiles out the normal innovation scale, then the returned model writes the original sigma2 back. loglik, aic, aicc, and bic were left on the re-estimated scale.

The normal likelihood and AIC are now rescored at the stored sigma2. Forecasts are unchanged. CSS refits are unchanged, and this does not select the innovation distribution (see #1294).

Why

A white-noise model with sigma2 = 1 forwarded onto 2 * y kept sigma2 = 1 but reported the likelihood at sigma2 = 4 (about -211.2 instead of -291.9).

Fixes #1295

The fixed-coefficient refit evaluates the normal likelihood at a
re-estimated scale, then writes the original sigma2 back. Rescore
loglik and AIC at the scale the model keeps.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Model] ARIMA forward refits report a likelihood for a re-estimated scale while keeping the original sigma2

1 participant