Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: Poisson regression with survey data - goodness of fit -


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Poisson regression with survey data - goodness of fit -
Date   Sun, 13 Jun 2010 16:26:14 -0400

The -linktest-- works best if you have some continuous covariates. You
can run the -linktest-  for -svy: poisson-- as follows:
**************************
sysuse auto, clear
svyset _n
svy: poisson rep78 mpg weight length
predict xb
gen xb2 = xb^2
svy: poisson rep78 xb xb2
*******************************

Steve


Steven Samuels
sjsamuels@gmail.com
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:    206-202-4783

On Sun, Jun 13, 2010 at 3:11 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
>
> Try http://www.stata.com/meeting/dcconf09/dc09_valliant.pdf>
> HTH

> Martin

Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Paolina Medina
>
> Hi everybody,
>
> I am running a poisson regression using survey data,
> Does anyone know about any measure of goodness of fit that i could use?
> estat gof does not work.
> Thank you very much in advance.
>
> Regards,
>
> Paolina
> *

--

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index