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: huge amount of j-th related individual dummies


From   "Seed, Paul" <paul.seed@kcl.ac.uk>
To   "statalist-digest@hsphsun2.harvard.edu" <statalist-digest@hsphsun2.harvard.edu>
Subject   RE: st: huge amount of j-th related individual dummies
Date   Wed, 21 Dec 2011 10:10:49 +0000

That should have been:
You can run xreg without using tsset.
It is enough to declare
     xtdes borrower 
     xtreg ... , fe

The old command -iis- would also work
     iis borrower 
     xtreg ... , fe

However,  - xtdes borrower time - does not work in this case.


On Tue, Dec 20, 2011 at 9:43 AM, massimiliano stacchini wrote:
> The precondition for realizing your strategy is to impose the 'panel' structure to the database by mean of� the command ' tsset borrower time'
> (necessary for running the command� xtreg ..., fe )
>
> However, when I run the command ' tsset borrower time' I get the error message: 'repeated time values within panel'.
> The error is driven by the presence of multiple lenders for each borrower in the same period (different 'i' for each 'j' in time 't')



Paul T Seed
King's College London, Division of Women's Health
(& Department of Primary Care and Public Health Sciences)

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