asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum asdocx and xtmlogit Random-effects multinomial logistic regression export

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Michael Cunningham
    Participant
    Post count: 1

    I imagine it’s hard to keep up with new releases, but I’m curious if you have any ideas about how to get regression output after xtmlogit with asdocx.
    I’ve been struggling with pretty much every approach. Thanks.
    Michael

    Attaullah Shah
    Moderator
    Post count: 76

    I have added xtmlogit to asdocx in its latest update. You can update and try it. Here is an example

    webuse estatus
     xtset id
     asdocx xtmlogit estatus i.hhchild age hhincome i.hhsigno i.bwinner , label abb(.) 
    Random-effects multinomial logistic regression
    estatus Coef. St.Err. t-value p-value [95% Co Interval] Sig
    Children <18 years old in household : base No 0 . . . . .
    Yes 0.463 0.096 4.81 0 0.274 0.652 ***
    Age (in years) -0.005 0.007 -0.73 0.468 -0.018 0.008
    Annual household income (in $1,000s) -0.005 0.002 -2.55 0.011 -0.008 -0.001 **
    Significant other living in household : base No 0 . . . . .
    Yes 0.497 0.095 5.25 0 0.311 0.682 ***
    Primary/sole breadwinner in household : base No 0 . . . . .
    Yes -0.474 0.073 -6.51 0 -0.617 -0.331 ***
    Constant -0.479 0.285 -1.68 0.092 -1.036 0.079 *
    Children <18 years old in household : base No 0 . . . . .
    Yes -0.04 0.12 -0.34 0.737 -0.275 0.194
    Age (in years) 0.004 0.008 0.52 0.602 -0.012 0.02
    Annual household income (in $1,000s) -0.031 0.003 -11.63 0 -0.036 -0.026 ***
    Significant other living in household : base No 0 . . . . .
    Yes 0.097 0.119 0.81 0.417 -0.137 0.331
    Primary/sole breadwinner in household : base No 0 . . . . .
    Yes -0.225 0.095 -2.37 0.018 -0.412 -0.039 **
    Constant -0.095 0.351 -0.27 0.786 -0.783 0.592
    var(u1) 0.859 0.109 .b .b 0.67
    var(u2) 0.737 0.139 .b .b 0.509 1.066
    Prob > chi2 Akaike crit. (AIC) 8965.683
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.