Announcement

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

  • svy, outreg2 and addstat

    hello,
    i'm running ordinal regressions and using outreg2 to store the results in excel.
    so far, it worked fine, but from the moment I added weight something doesn't work.

    it seems that the problem is with the "addstat", but i need to have a psuedo r sqaure measure.

    what can i do?

    this is the syntax:

    svy: ologit w8pm_sat w8fear w8disguise $control_w8 $responsibility_w8 fear_w8resp_protest-fear_w8resp_oppos anger_w8resp_protest-anger_w8resp_oppos w7reformsupport
    outreg2 using pm_sat.xls, addstat (Pseudo R-squared, `e(r2_p)') append ctitle(Model 5: Model 4+ Reformsupport)


  • #2
    Welcome to Statalist, Geffen. If you check the output of svy: ologit, you'll notice that no Pseudo R2 statistic is calculated. Typically, likelihood-based statistics such as the Pseudo R2 are not valid with pweights (as well as clustering). You can refer to this Stata FAQ for a discussion of this: https://www.stata.com/support/faqs/s...od-ratio-test/. Therefore, Stata won't output the statistic in this instance. Please note that outreg2 is from SSC (FAQ Advice #12).

    Comment

    Working...
    X