Skip to content

SUMM: roadmap for 0.15 josef #8217

Open

Description

@josef-pkt

(continuation of #7720 roadmap for 0.14)

new models

  • Vectorized OLS with variance shrink options
  • ...

robust ( have 4 larger PRs, getting all of them will take 2 to 3 months)

stats

Activity

  1. added this to the 0.15 milestone on Jun 22, 2022
  2. josef-pkt commented on Dec 5, 2022

    @josef-pkt
    MemberAuthor

    list of smaller issues/pulls postponed to 0.15
    #7720 (comment)

  3. josef-pkt commented on Dec 12, 2022

    @josef-pkt
    MemberAuthor

    I think a round of robust will be a good, fun starting point for 0.15

    • postestimation, get_prediction, get_influence, rsquared, ...
    • robust cov, mahalanobis distance
    • old PRs
    • ...

    We soon need robust Mahalonibis distance for identifying x-outliers. required to add weights.

  4. josef-pkt commented on Jan 7, 2023

    @josef-pkt
    MemberAuthor

    There are still too many big topics, that need larger rounds

    • robust
    • penalization, penalized mixin, gam
    • robust cov_type, CR3, HC in RLM, refactor/cleanup, ...
    • multilink models
    • a lot of stats
    • mixed mixin, random effects models
    • ...
    • ...
  5. josef-pkt commented on Jan 28, 2023

    @josef-pkt
    MemberAuthor

    look into #6537 irf and fevd for SVAR. I don't know how difficult this is

  6. josef-pkt commented on Feb 13, 2023

    @josef-pkt
    MemberAuthor

    I added new label "roadmap" so we/I can add roadmap issues by topic and not just by version
    e.g. #8635 for copulas
    I was recently thinking of many similar todo lists, but it's mostly in context of more specific bug/enh issues.

    This will be similar to SUMM issues but more focused on check lists that we can work on and add check marks when merged or done. Details can be in other issues or in additional comments.
    This worked well for my 0.14 roadmap.

  7. added
    roadmap
    on Feb 14, 2023
  8. josef-pkt commented on Feb 14, 2023

    @josef-pkt
    MemberAuthor

    generic design issues that need decisions

    • handling collinearity
    • badly scaled, ill conditioned exog
    • constraints
    • handling rank reduce cov_params
    • ???
    • ...

    aside:
    I looked a bit a pivoting qr in scipy.linalg. Which columns are "dropped" looks pretty arbitrary to me, that is I didn't get "obvious" results. Sequential QR still looks more intuitive to me for dropping columns.
    (I found 2 of my notebooks that look at pivoting QR: "check_issues.ipynb" and older "try_pinv_catcher_matrix.ipynb" (I don't remember at all what the catcher matrix is))

  9. josef-pkt commented on Mar 28, 2023

    @josef-pkt
    MemberAuthor

    control function for endogenous regressors should not be too difficult #7689

    to get started use continuous endogenous regressors.
    theory for binary endogenous regressor (Logit, Probit) is messier, but it should work.
    and later multinomial endogenous regressors

    not clear yet from where to get the reference results for unit tests (Stata, R, Stata uses mainly bivariate normal for probit)

    statsmodels.causal.control_function or statsmodels.causal.instrumental ?
    do we put IV2SLS together with the control function approaches in nonlinear models?

    models for GLM and discrete (Logit, Probit, Poisson)

    one undecided question: How generic should this be? How many individual, case specific models?
    e.g Stata has function to allow any type of endogenous regressor combinations.
    different models for different endogenous regressor types, continuous, binary, multinomial/ordered

    simplest generic case similar to IV2SLS with OLS in 1st stage and whatever outcome model with control functions (functions of first stage residuals) in second stage, and GMM for cov_params.

  10. josef-pkt commented on Aug 31, 2023

    @josef-pkt
    MemberAuthor

    modified classes (again), mixed and penalized mixins

    location choice: generic modified.py or specific mixed.py and penalized.py in relevant subdirectories, e.g. genmod and discrete.

    PoissonMixed is likely too generic or broad as name,
    PoissonRandEff is better if we only support random intercepts (by group/categorical indicators, one-way or two/multi-way) but no random slopes.

    RandEff is needed for item response models.

    other issue: extensions based on stalled, abandoned python packages, e.g. extreme value theory, item response theory
    (sem structural equation models is too large)

    EVT needs multi-link models
    IRT needs more mixed/random effects models.

  11. josef-pkt commented on Jan 6, 2025

    @josef-pkt
    MemberAuthor

    we have 22 issues with prio-high
    12 PR with prio-elev

    208 (!?) issues with bug label, 48 of those with 0.15 milestone
    5 issues with bug-wrong label, we need to check if those still are "bug-wrong"
    (e.g. AFAIR, Probit for continuous data raises now exception or warning)

  12. josef-pkt commented on Jan 7, 2025

    @josef-pkt
    MemberAuthor
  13. josef-pkt commented on Aug 18, 2025

    @josef-pkt
    MemberAuthor

    trying to list PRs by priority still possible for 0.15

    first group is prio-elev or prio-high and substantial additions. (several smaller changes with prio-elev)

  14. theAeon commented on Aug 27, 2025

    @theAeon

    if you could throw a windows arm build on the pile that would be awesome. It seems to work and build as is on head.

  15. bashtage commented on Sep 1, 2025

    @bashtage
    Member

    if you could throw a windows arm build on the pile that would be awesome. It seems to work and build as is on head.

    As far as I know SciPy isn't available for win_arm64 so it isn't possible to build statsmodels. SciPy would need to release first.

  16. bashtage commented on Sep 1, 2025

    @bashtage
    Member

    Looks like it is only the roadmap for SciPy 1.17.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    roadmaptype-enhtype-refactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions