Skip to content

ENH: missing post-estimation for truncated and hurdle count models #8422

Open

Description

@josef-pkt

score_test, get_distribution and get_influence are not supported by truncated and hurdle models.
They raise exceptions a various places mainly indicating a missing model methods,
e.g. score_factor, hessian (in hurdle model), _deriv_score_obs_dendog for influence

found while trying to work on a notebook for the docs
#8359 (comment)

Activity

  1. added this to the 0.15 milestone on Sep 29, 2022
  2. josef-pkt commented on Sep 30, 2022

    @josef-pkt
    MemberAuthor

    get_prediction has dist attribute but it is the normal distribution in the hurdle model

    wrong default ?

    No, just misleading naming.
    This should be the distribution for inference using delta method. It's not related to the distribution of endog in the model.

    There is a lot of indirection in get_prediction with delta method (based on _get_wald_nonlinear, ... )
    dist attribute is added in and inherited from PredictionResultsBase.

  3. josef-pkt commented on Apr 7, 2023

    @josef-pkt
    MemberAuthor

    get_distribution for hurdle count models is still discrete, so we can still subclass rv_discrete

    censored continuous model like Tobit will be mixed, continuous distribution plus mass points, also Tweedie has that but Tweedie also has no get_distribution yet.

    For rvs of truncated distributions, we have to decide whether to drop samples in truncated part or use ppf.

    Aside: zi distributions like zinegativebinomial_gen don't have docstrings that explain what the parameters are.

  4. 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

    topic-post_estimtype-enh

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions