Skip to content

diagn attribute added in RegressionResults.summary #4354

Open

Description

@jbrockmendel

Looks unused. Is there a reason for this? Its also done in sandbox.regression.gmm and is commented out in quantile_regression.

Activity

  1. josef-pkt commented on Mar 17, 2018

    @josef-pkt
    Member

    There is a reason, but I forgot that it is there. Intended usage was for users to access diagnostic statistics.
    I thought we don't save the results for the diagnostics table, and didn't remember that I added this. 7476908#diff-5f7efa7b433feba4c02f60d0ac51c1a5

    It only applies to models that have a diagnostics third table in summary, which is currently only RegressionResults.

    Needs advertising. (e.g. there were some stackoverflow questions asking for it, but I thought we don't have it.)

  2. jbrockmendel commented on Mar 17, 2018

    @jbrockmendel
    ContributorAuthor

    I don't have a strong opinion on whether these attributes should be present or not, but as a side-effect of summary is definitely not the way to attach them. It could be a cache_readonly attribute.

  3. josef-pkt commented on Mar 18, 2018

    @josef-pkt
    Member

    They were attached specifically for the question on how to get the underlying data of the summary.

    There are open issues on attaching diagnostic tests and plots to results classes, but in most cases I couldn't make up my mind about the API and what to add.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions