Skip to content

FAQ: overview extra post-estimation results methods #7707

Open

Description

@josef-pkt

(non-TSA models)
#1353 similar issue, more general

extra results methods are available for some models, e.g. get_influence, get_diagnostic, get_prediction, get_distribution. get_margeff

right part of table are tools,
sf, hf is score_factor and hessian_factor

empty cells are either missing or I have not checked or verified

model infl diag pred distr margeff score/lm . sf, hf offset
OLS + - a + + + /
WLS +
GLM + - + + / + + +
GLMGam ?
RLM
discrete ++ R++ R++ R++ R++
Binary + + ++ + +
Logit ++ + + + + + +
Probit + + + + nt + +
MNLogit - - +
Count a R++ + + + + +
Poisson ++ ++ + ++ + + + +
NB - + + ++ + / - +
NBP + + + ++ ? + + +
GPP + + + ++ ? + + +
ZI + + + + /
ZIP + + + ++ - / - /
ZINBP + + + ++ - / - /
ZIGPP + + + ++ - / - /
truncated - + + - / - /
Hurdle - + + - / - /
othermod
Beta + + + + + -
model infl diag pred distr margeff score/lm . sf, hf offset

footnotes
++ : implemented directly
+ : inherited, no specific method
R++: implemented in Results class, not in model class, might not be supported in all subclasses
a : separate functions for specification tests and plots
/ : means partial
- : either explicitly missing or raises NontImplementedError (if inherited doesn't work)
nt : not unit tested, inherited

Note: GLMGam inherits from GLM, but has not been checked yet #8519

Activity

  1. josef-pkt commented on Oct 29, 2021

    @josef-pkt
    MemberAuthor

    need to add margins to the list of post-estimation results

  2. changed the title [-]FAQ: overview extra results methods[/-] [+]FAQ: overview extra post-estimation results methods[/+] on Oct 29, 2021
  3. josef-pkt commented on Oct 30, 2021

    @josef-pkt
    MemberAuthor

    transformed params tables
    eform for exp, logit transformed #2235 , eform for meta-analysis plots #7771
    beta coefficients for standardized params #3857

  4. josef-pkt commented on Apr 25, 2023

    @josef-pkt
    MemberAuthor

    NegativeBinomial, truncated and hurdle count models raise in get_influence (inherited from DiscreteResults), e.g.
    'NegativeBinomial' object has no attribute '_deriv_score_obs_dendog'

    cases that raise exceptions, mainly NotImplementedError and AttributeError:

            {'diagnostic': ['Logit', 'Probit'],
             'margeff': ['ZeroInflatedPoisson',
              'ZeroInflatedGeneralizedPoisson',
              'ZeroInflatedGeneralizedPoisson',
              'ZeroInflatedNegativeBinomialP',
              'ZeroInflatedNegativeBinomialP',
              'HurdleCountModel'],
             'distr': ['HurdleCountModel',
              'TruncatedLFPoisson',
              'TruncatedLFNegativeBinomialP'],
             'influence': ['HurdleCountModel',
              'NegativeBinomial',
              'NegativeBinomial',
              'NegativeBinomial',
              'TruncatedLFPoisson',
              'TruncatedLFNegativeBinomialP']})
    

    TruncateLFxxx does not raise in get_margeff, which is completely inherited, likely wrong.

  5. added
    topic-post_estim
    on Jun 9, 2023
  6. josef-pkt commented on Oct 9, 2024

    @josef-pkt
    MemberAuthor

    OrderedModel is missing in table
    (currently not in discrete)

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

    FAQtopic-post_estimtype-enh

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions