Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using esttab to show both linear regression and logistic regression (odds ratio) outcomes

    Hello,

    I'm trying to display 3 regression outcomes together by using
    Code:
    esttab
    command.
    Among these 3 regressions, 2 of them are OLS regression and the remaining one is a logistic regression and here are the codes I use:

    Code:
    reg y1 x1 x2
    est store m1
    reg y2 x3 x4
    est store m2
    logistic y3 x5 x6
    est store m3
    esttab m1 m2 m3
    By using the above codes, only coefficients of all regressions are shown, and I did try to use
    Code:
    eform
    option in the last line of the codes, but it will consequently change OLS coefficients to odds ratio. Is there any way to make it show coefficients of OLS regression and odds ratio of logistic regression? Any suggestion is appreciated.

    Thank you.
    Last edited by Hark Huang; 03 May 2021, 07:29.

  • #2
    I have figured out, the last line of command should be
    Code:
    esttab m1 m2 m3, eform(0 0 1)

    Comment

    Working...
    X