Repository navigation
Description
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
josef-pkt commentedon Aug 10, 2021
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)
get_distributionshould become widely available, for parametric bootstrap and simulations.get_predictionfor extras as in new count models, nonlinear function of params, ... (still missing)get_diagnosticsnew Diagnostic classes (still under construction/design) ENH: Diagnostic class rebased #7597information criteria and support for variable selection
non-Wald inference, score_test, profile confidence intervals, ...
...
get_influenceoutlier 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
marginse.g. #7831 margins for OrderedModel
josef-pkt commentedon Dec 1, 2022
I wrote a notebook for poisson postestimation overview
look again, add more for 0.15