Bookmark and Share

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: does -mf_panelsetup- need presorted a panel with a numerical panel id?


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: does -mf_panelsetup- need presorted a panel with a numerical panel id?
Date   Fri, 19 Jul 2013 00:16:35 +0100

I disagree on the lack of documentation. The help and manual entry for
-xtset- explain that panel identifiers must be numeric variables.

Why I do not know, but you cannot get far with panel data analysis in
Stata without satisfying this rule.

Nick
[email protected]


On 18 July 2013 23:11, László Sándor <[email protected]> wrote:
> A quick update: My code runs OK if I -tsset- and -sort- first on a
> numerical panel id. So this look like an undocumented requirement.
>
> It makes sense from Mata's capabilities, it is not there to collect
> row "panelid == same string", but it still would be nice to document.
>
> Thanks.
>
> On Thu, Jul 18, 2013 at 5:49 PM, László Sándor <[email protected]> wrote:
>> I am trying to troubleshoot what's wrong with my code under Stata/MP
>> 12.1 for Win 64 code.
>>
>> Perhaps it does not do its job if the st_view it works on does not
>> have a contiguous panels (i.e. the data is not sorted on the panel
>> identifier)?
>>
>> And is it a problem if my supposed panel id is a string variable?
>>
>> I found no relevant documentation on this.
>>
>> Thanks,
>>
>> Lasylo
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index