Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Fracplot after cnreg, intreg and nbreg


From   Garry Anderson <g.anderson@unimelb.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: Fracplot after cnreg, intreg and nbreg
Date   Mon, 02 Jun 2008 16:07:41 +1000

Dear Statalist,

I do seem to be able to obtain data points after fracplot, only the
fitted line with 95%CIs. This applies to cnreg, intreg and nbreg when
used with fracpoly. The -help fracpoly- indicates that the
regression_cmd may be any of
clogit, cnreg, glm, intreg, logistic, logit, mlogit, nbreg, ologit,
oprobit, poisson, probit, qreg, regress, rreg, stcox, streg, or xtgee.

Example 1
webuse intregxmpl
fracpoly intreg wage1 wage2 age
fracplot

Example 2
webuse news2
fracpoly cnreg date lncltn,cen(cnsrd)
fracplot

Example 3
webuse rod93
fracpoly nbreg deaths age_mos,exposure(exp)
fracplot

(poisson instead of nbreg does graph data points)
Any help would be appreciated.

Best wishes, Garry

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index