Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Generalized lineal models with survey data
From
Paolina Medina <[email protected]>
To
[email protected]
Subject
Re: st: Generalized lineal models with survey data
Date
Tue, 27 Jul 2010 10:51:28 -0500
Thank you very much Steve for your help, in fact i have tried to run
the svy: nbreg command, but i am encountering some problems, i hope
you can help me:
This is the regression that i run:
svy: nbreg ncels residents numradios nTVs dfixedphone delectricity
ncompus dinternet elementary highschool phd workingpeople e1 e2 e3 e4
e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15 e16 e17 e18 e19 e20 e21 e22 e23
e24 e25 e26 e27 e28 e29 e30 e31 e32 estrato1 estrato2 estrato3
estrato4, log
I am trying to estimate coefficients for the number of cell phones in
mexican households using a technology specialized survey. I use some
socioeconomic variables, 32 dummies one for each state in mexico, and
4 dummies indicating the size of the town.
But in the first stage of the regresion, below the coefficients estimates i get:
-------------+----------------------------------------------------------------
/lnalpha | -23.93108 . . .
-------------+----------------------------------------------------------------
alpha | 4.04e-11 . . .
------------------------------------------------------------------------------
Likelihood-ratio test of alpha=0: chibar2(01) = 0.00 Prob>=chibar2 = 1.000
And in the survey results, below the coefficients estimates i get
-------------+----------------------------------------------------------------
/lnalpha | -23.93108 . . .
-------------+----------------------------------------------------------------
alpha | 4.04e-11 . . .
------------------------------------------------------------------------------
I understand that stata wont calculate the LR test for alpha when it
comes to survey data, but as you may see it is not even giving me the
confidence interval!
Do you happen to know what is happening?
Thank you very very much in advance!
Regards!
PM
On Mon, Jul 26, 2010 at 10:24 PM, Steve Samuels <[email protected]> wrote:
> In Version 9, -svy: nbreg- and -svy: gnbreg- will work for you. Both
> fit generalizations of the Poisson with extra dispersion. -svy: glm-
> was not available until Stata 10.
>
> Steve
>
>
> On Mon, Jul 26, 2010 at 10:00 PM, Paolina Medina
> <[email protected]> wrote:
>> Dear statalisters,
>> Is it possible to perform a regression using glm with survey data in stata 9?
>> I have count data with overdispersion (mean 1.21, variance 1.70).
>> Thank you very much in advance,
>> PM
>> *
>> * 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/
>>
>
>
>
> --
> Steven Samuels
> [email protected]
> 18 Cantine's Island
> Saugerties NY 12477
> USA
> Voice: 845-246-0774
> Fax: 206-202-4783
>
> *
> * 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/
>
--
Paolina Medina Palma
*
* 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/