Skip to content

DOC: overview of post-estimation results #1353

Open

Description

@josef-pkt

One of the nice features of the Stata documentation is the section on post-estimation results. We don't have currently a good overview what's available after the different models. Much of the usage is visible only in the documentation examples.

I think it would be very useful to have post-estimation sections and links in the documentation.

For example a general overview page at the top level next to http://statsmodels.sourceforge.net/devel/gettingstarted.html
and then a list of specific post-estimation results in the modules or models.
It would also be a good place to provide a structured overview over the Results attributes and methods

What do we have (not written in GitHub Flavored Markdown) :

basic

fittedvalues
resid
resid_pearson
...

goodness of fit

rsquared, pseudo-rsquared
information criteria aic, bic, ...
wald/f-test against constant only model

parameter inference and testing

parameter table: bse, confint, tvalues pvalues
t_test: single hypothesis, vectorized
wald/f_test: joint hypothesis
comparison of nested models: likelihood ratio, lagrange mutliplier tests

prediction
~~~~~~~~
predict
tsa: special case

Margins, interpreting nonlinear parameters

(discrete and GEE only)

Graphics

gof and regression plots

Diagnostic Measures and Specification Tests

...


see mailing list thread https://groups.google.com/d/msg/pystatsmodels/FJhSjb7Es5c/4mrc5HyNKFoJ

the docstring for the get_influence method has a missing See Also
http://statsmodels.sourceforge.net/devel/generated/statsmodels.regression.linear_model.OLSResults.get_influence.html
We can see what's actually available in the stats documentation
http://statsmodels.sourceforge.net/devel/stats.html#outliers-and-influence-measures

There are some additional post_estimation results that are not obvious to find (missing See Also in the docstrings), for example the regression plots, probability plots, and diagnostic tests after OLS. In many case we have examples but the full list is only available in the specific documentation.
for example http://statsmodels.sourceforge.net/devel/graphics.html (see the two related sections goodness-of-fit and regression plots)
or http://statsmodels.sourceforge.net/devel/stats.html#residual-diagnostics-and-specification-tests

Activity

  1. added this to the 0.14 milestone on Aug 10, 2021
  2. josef-pkt commented on Aug 10, 2021

    @josef-pkt
    MemberAuthor

    bump

    I need this also for myself, because I'm getting lost in too many parts.
    e.g.

    • adding effect size measures and statistics for power analysis Measures of effect size #5896 (problem is to be able to distinguish ES by assumptions)

      • ES, noncentrality parameter based on wald test
    • get_distribution should become widely available, for parametric bootstrap and simulations.

    • get_prediction for extras as in new count models, nonlinear function of params, ... (still missing)

    • get_diagnostics new Diagnostic classes (still under construction/design) ENH: Diagnostic class rebased #7597

    • information criteria and support for variable selection

    • non-Wald inference, score_test, profile confidence intervals, ...

    • ...

    • get_influence outlier influence is available in LS and GLM and we have generic MLEInfluence (which needs explicit derivative methods in model classes, no numdiff alternative)

    update

    I had forgotten about margins
    e.g. #7831 margins for OrderedModel

  3. josef-pkt commented on Dec 1, 2022

    @josef-pkt
    MemberAuthor

    I wrote a notebook for poisson postestimation overview

    look again, add more for 0.15

  4. modified the milestones: 0.14, 0.15 on Dec 1, 2022
  5. added
    topic-post_estim
    on Jun 9, 2023
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

    comp-docsprio-elevtopic-post_estim

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions