Skip to content

[codex] DOC: document GLS other_results - #9881

Merged
bashtage merged 1 commit into
statsmodels:mainfrom
EltonChang1:codex/document-gls-other-results
Jul 2, 2026
Merged

bashtage merged 1 commit into
statsmodels:mainfrom
EltonChang1:codex/document-gls-other-results

Conversation

@EltonChang1

Copy link
Copy Markdown
Contributor
  • closes #xxxx
  • tests added / passed.
  • code/documentation is well formatted.
  • properly formatted commit message. See
    NumPy's guide.

Refs #6159.

What changed

  • Expanded the gls estimator docstring for other_results so each returned Bunch field is described.
  • Corrected two nearby docstring typos: GSL -> GLS and iter -> n_iter.

Why

Issue #6159 tracks improving the ARIMA-type estimators, including the unchecked GLS item to improve the other_results Returns documentation.

Validation

  • git diff --check
  • python3 -m py_compile statsmodels/tsa/arima/estimators/gls.py
  • python3 -m ruff check statsmodels/tsa/arima/estimators/gls.py

I also attempted python3 -m pytest statsmodels/tsa/arima/estimators/tests/test_gls.py -q, but this fresh checkout could not import statsmodels._version. The lightweight version generator also could not run because setuptools_scm is not installed in this environment. Since this is a docstring-only change, I did not install build dependencies just to run the test module.

AI disclosure

This draft PR was prepared with assistance from OpenAI Codex/ChatGPT. Codex selected the issue, inspected the repository policy, edited the docstring, and ran the validation commands listed above; the submitted code/text changes are the docstring edits in statsmodels/tsa/arima/estimators/gls.py.

@bashtage
bashtage marked this pull request as ready for review July 2, 2026 06:09
@bashtage
bashtage merged commit 8cd2519 into statsmodels:main Jul 2, 2026
2 checks passed
@bashtage

bashtage commented Jul 2, 2026

Copy link
Copy Markdown
Member

Thanks

@EltonChang1
EltonChang1 deleted the codex/document-gls-other-results branch July 3, 2026 05:26
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.

2 participants