Skip to content

ENH: add eform exponentiated parameters #2235

Open

Description

@josef-pkt

(I thought I already opened a specific issue, but don't find one.)

application for example for risk ratio #2215
implementation is already largely done in #2151

copying my comment from
#2208 (comment)

You are using exp(params) in your notebook. Stata optionally allows this as and option like irr or or as an eform option. I looked into it (creating a eform params table) and it's pretty easy to do, but wasn't sure about all the different names and interpretation exp(params) has across models in Stata.
If you are interested and have some ideas about an interface, then this could be added as a post-estimation method or function for statsmodels 0.8.
(the exp params table is a bit inconsistent: the parameters and standard errors are from the transformation, the conf_int is by endpoint transformation, and the t/z statistic and p-value is for params==0 or exp(params) == 1)

Activity

  1. added this to the 0.8 milestone on Feb 8, 2015
  2. josef-pkt commented on May 3, 2020

    @josef-pkt
    MemberAuthor
  3. modified the milestones: 0.8, 0.14 on Oct 30, 2021
  4. josef-pkt commented on Oct 30, 2021

    @josef-pkt
    MemberAuthor

    We mainly need to connect the existing function to the results instance and decide on return of params_table, DataFrame, ...

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions