Skip to content

Explanatory variables fixes#372

Merged
config-i1 merged 4 commits into
masterfrom
Python
May 3, 2026
Merged

Explanatory variables fixes#372
config-i1 merged 4 commits into
masterfrom
Python

Conversation

@config-i1

Copy link
Copy Markdown
Collaborator

Language

  • R
  • Python
  • Both

AI assistance

  • AI was used in the creation of this PR

If yes — how was AI used?

Claude code

config-i1 and others added 4 commits May 3, 2026 08:27
…pport

- Handle NumPy structured/record arrays in _validate_x (e.g. from rpy2)
- Fix xreg ALM initialization to match R's xregInitialiser: resolve
  distribution="default" to dlnorm for multiplicative models, and
  log-transform y when needed, producing correct log-scale coefficients
- Fix xreg_model_initials[1] null-guard in initialization.py for
  multiplicative error models (two locations)
- Fix np.dot shape mismatch by flattening initial_xreg before dot product

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@config-i1
config-i1 merged commit a66d7db into master May 3, 2026
1 check passed
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.

1 participant