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

RE: st: Fracplot after cnreg, intreg and nbreg

From   Garry Anderson <>
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-----
[] On Behalf Of Maarten buis
Sent: Tuesday, June 03, 2008 12:00 AM
Subject: RE: st: Fracplot after cnreg, intreg and nbreg

--- Garry Anderson <> 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

Sent from Yahoo! Mail.
A Smarter Email
*   For searches and help try:

*   For searches and help try:

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