Statalist


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

[no subject]



With best regards,
Unnati



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Keith Dear
Sent: woensdag 6 februari 2008 3:14
To: [email protected]
Subject: Re: st: Wald test limit?

Good idea. This is what happened:

xi: nbreg rrv_count (i.fin_year) $BASE, exposure(person_days) cl(pcode)
gen x1=uniform()
xi: nbreg rrv_count (i.fin_year) $BASE x1, exposure(person_days) cl(pcode)
gen x2=uniform()
xi: nbreg rrv_count (i.fin_year) $BASE x1 x2, exposure(person_days)
cl(pcode)

The first model reports Wald chi2 on 255df, the second 257, the third 
also 257! Parameters for x1 and x2 (and the rest) are all estimated 
ok, so the models actually have 262, 263 and 264 linear parameters 
resp., including _cons.

So clearly it's not that 256 is a limit, but something odd is happening.

(The 256 mentioned before came from the stepwise run, I think I had 
those the wrong way round.)
Keith


At 11:57 AM 6/02/2008, you wrote:

>How about tossing a few more variables in - and see if the d.f. 
>stays at 256?  That would indicate whether there actually is a limit 
>you are running up against.
>
>
>-------------------------------------------
>Richard Williams, Notre Dame Dept of Sociology
>OFFICE: (574)631-6668, (574)631-6463
>HOME:   (574)289-5227
>EMAIL:  [email protected]
>WWW:    http://www.nd.edu/~rwilliam
>
>*
>*   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/



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index