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]

st: RE: 'nonest' option in 'xtreg'


From   Mauro Mastrogiacomo <M.Mastrogiacomo@cpb.nl>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: 'nonest' option in 'xtreg'
Date   Fri, 8 Jul 2011 14:06:34 +0200

I don't know this option.
Anyway when you use xtset you are telling stata that individuals belong to a "group". If they change group, you might want to ask yourself if you want to keep these observations in the data. 
The independence across groups seems to be violated.
Mauro

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of S.Ha@lse.ac.uk
Sent: vrijdag 8 juli 2011 13:50
To: statalist@hsphsun2.harvard.edu
Subject: st: 'nonest' option in 'xtreg'

Hello all, 
 
I have not received any comment on my recent post. So, I am trying once more. I hope any of you can help. Thank you. 
 
My panel is an individual person and I am trying to cluster individuals by their household. A simple specification would look like
 
xtset  individual year, yearly
xtreg  x y, cluster(household)
 
However, I have an error message of "panels are not nested within clusters". With some examination through Statalist, I realised that my panels (individuals) are not in the same cluster (household) all the time (because individuals move in and out of households over time). Then, I've found that 'nonest' option somehow helps not receiving the same error. Though I wanted to find out more about this option, the information online seems limited. So, I'd like to ask you (1) what 'nonest' option does and (2) whether it is a right cure in my case. 
 
Sejeong. 

*
*   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/

--
================================================================================
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet
de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt
u verzocht dat aan de afzender te melden en het bericht te verwijderen.
De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die
verband houdt met risico's verbonden aan het elektronisch verzenden van
berichten.

This message may contain information that is not intended for you. If you are
not the addressee or if this message was sent to you by mistake, you are
requested to inform the sender and delete the message. The State accepts no
liability for damage of any kind resulting from the risks inherent in the
electronic transmission of messages.
================================================================================

*
*   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