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: nbreg with fixed effect vs xtnbreg,fe
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: nbreg with fixed effect vs xtnbreg,fe
Date
Tue, 7 Feb 2012 12:35:10 +0000
That's not quite correct.
-xt- commands do not insist on a time variable.
Notice that even the help for -xt- muddies the issue. It explains that panel data have an explicit time component, except that there need not be a time variable at all!
Definitions are usually tricky. I once read a definition of soil: soil is anything so designated by a competent authority. (Geologists and agronomists, for example, have very different ideas about what soil is in essence, or even in practice. U.S. readers may want to translate "soil" as "dirt".)
Nick
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Muhammad Anees
Sent: 07 February 2012 04:52
To: [email protected]
Subject: Re: st: nbreg with fixed effect vs xtnbreg,fe
-xtnbreg- is for panel data which requires at least two different time
periods, then how cross sectional estimation and panel data estimation
can give you the same estimate?
On Tue, Feb 7, 2012 at 9:41 AM, Shikha Sinha <[email protected]> wrote:
> Hi Anees,
>
> Yes, fixed effect can be used in cross-sectional data, where within
> county variation will be exploited. Using dummies is a possibility but
> I was just wondering why I do not get the same result with -xtnbreg
> with fe option.
>
> Thanks for the response though.
>
> Santosh
>
> On Mon, Feb 6, 2012 at 8:04 PM, Muhammad Anees <[email protected]> wrote:
>> Are you sure about the fixed effects with cross sectional data? Why
>> not use dummies(categories) where you need to check the fixed effects.
>>
>> Best,
>> Anees
>>
>> On Tue, Feb 7, 2012 at 1:55 AM, Shikha Sinha <[email protected]> wrote:
>>> Hi All,
>>>
>>> I am trying to model count data with county fixed effect. It is a
>>> cross-sectional data. I want to know if
>>>
>>> xi: nbreg DV IV control i.county
>>>
>>> is same as
>>>
>>> xtnbreg DV IV control, fe i(county)
>>>
>>> I get different results. Please advise what is the best way to model
>>> count data with fixed effect.
>>>
>>> Thanks in advance.
>>>
>>> Shikha
>>> *
>>> * 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/
>>
>>
>>
>> --
>>
>> Best
>> ---------------------------
>> Muhammad Anees
>> Assistant Professor/Programme Coordinator
>> COMSATS Institute of Information Technology
>> Attock 43600, Pakistan
>> http://www.aneconomist.com
>>
>> *
>> * 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/
>
> *
> * 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/
--
Best
---------------------------
Muhammad Anees
Assistant Professor/Programme Coordinator
COMSATS Institute of Information Technology
Attock 43600, Pakistan
http://www.aneconomist.com
*
* 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/
*
* 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/