Statalist


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

RE: st: Fracplot after cnreg, intreg and nbreg


From   Garry Anderson <g.anderson@unimelb.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Fracplot after cnreg, intreg and nbreg
Date   Fri, 06 Jun 2008 12:16:54 +1000

Thank you Maarten for reproducing the behaviour of the lack of data
points after fracplot.

I suspect there is a bug in -fracpred dres,dresid- because fracpred does
not create deviance residuals after fracpoly cnreg, intreg  or nbreg. It
does create deviance residuals after -fracpoly poisson y x-.

webuse intregxmpl
fracpoly intreg wage1 wage2 age
fracpred pred,for(age)
fracpred dres,dresid
. summ pred dres

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
        pred |       488    16.69079    2.816416   6.236595   20.13141
        dres |         0


Best wishes, Garry

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Tuesday, June 03, 2008 12:00 AM
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: Fracplot after cnreg, intreg and nbreg

--- Garry Anderson <g.anderson@unimelb.edu.au> wrote:
> I meant to say
> I do not seem to be able to obtain data points after fracplot......
> This only applies to cnreg, intreg and nbreg after fracpoly.

I can reproduce that behavior (I don't know the solution though, other
than add them using the -addplot()- option)

-- Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
*
*   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/

*
*   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