Skip to content

ENH: add formula_info keyword to __init__ of models #7033

Open

Description

@josef-pkt

I currently need some extra info in the model in how the formula handled the data (specifically endog)
see last part in comment #7021 (comment)

related: We also want additional formula_info for other reasons and cases

#2824
#5342
#5469

A formula_info keyword can replace the current explicit keywords ["missing_idx", "design_info", "formula"], and replace attributes like frame that are attached in from_formula to the created model instance.

In #7021, I still have problems adding a new frame keyword, but correctly implementing formula_info would allow that we add additional info without problems to the formula_info dict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions