Repository navigation
DOC: Clarify deterministic terms in ARIMA GLS estimation - #10711
Merged
bashtage merged 1 commit intoNov 10, 2026
Merged
Conversation
Member
|
Thanks. |
This was referenced Nov 10, 2026
bashtage
added a commit
that referenced
this pull request
Nov 10, 2026
…d models Follow up #10711, which addressed #6159. Checked by running gls on simulated AR(1) data with drift: - exog description: an integrated model without exog fails for every value of include_constant, so say the model must not include integration when exog is omitted. - A constant column in exog is removed by differencing like the include_constant column and makes the regression singular, but is not rejected. - A trend in exog becomes a constant after one (regular or seasonal) difference and its coefficient is the drift per unit of the column; after a second difference the column is zero and cannot be estimated. - State why the ARMA step does not demean: the regression absorbs all deterministic terms and the estimators receive its residuals. Docstring only; the code is unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
bashtage
added a commit
that referenced
this pull request
Nov 10, 2026
Follow up #10711, which addressed #6159. Add the PR role, move the bullet to the end of the Documentation section (entries are appended in merge order), drop the blank line after it and state that numerical behavior is unchanged, like the neighbouring bullets. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
bashtage
added a commit
that referenced
this pull request
Nov 10, 2026
DOC: Follow up #10711 (constants and trends in the ARIMA GLS notes)
6 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarify how
include_constantand deterministic regressors inexogare handled by the ARIMA GLS estimator, including why an integrated model rejects an added constant and how a linear trend becomes drift after first differencing.Addresses the GLS trend-documentation item in #6159; other items in that issue remain open.
Validation: repository-wide
ruff check .,git diff --check, and a focused Sphinx build of the changed Notes section with warnings treated as errors all passed. No numerical code changed. The full project documentation build and numerical test suite were not run.AI Disclosure
Contributions must comply with the statsmodels AI Policy.
Tick exactly one of the following. If AI tools were used, replace the
<...>placeholders in the second option with the tool name(s) and how the tool's output was
used.
Tool(s): OpenAI Codex.
Used for: drafting the documentation and release note, inspecting the implementation, running validation, and preparing the PR.
I have personally read, understood, and can explain every line of this diff, and
have verified the statistical/numerical correctness of the change.