Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: How do I define this data as a panel?


From   "Shahzad, Muhammad" <alishahzad@ou.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: How do I define this data as a panel?
Date   Mon, 17 Nov 2008 08:10:41 -0600

Hi mameezah,

Yes, and I tried to illustrate that by design. My data has entries on several multinational corporations which operate by the same name in different countries.

Thanks & Regards

Ali Shahzad
alishahzad@ou.edu
________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of mameezah [haqm1202@gmail.com]
Sent: Monday, November 17, 2008 2:15 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: How do I define this data as a panel?

One possible explanation could be you have defined company B twice in
country 1 and country 2.

On 11/17/08, Shahzad, Muhammad <alishahzad@ou.edu> wrote:
> Hello,
>
> My data has the following "shape":
>
> Country           Year     Company         Industry        Variables
> Country1        2000    CompanyA        IndX            V1      V2      VN
> Country1        2000    CompanyB        IndY            V1      V2      VN
> Country1        2001    CompanyA        IndX            V1      V2      VN
> ...
> Country1        2006    CompanyD        IndZ            V1      V2      VN
> .
> Country2        2000    CompanyB        IndY            V1      V2      VN
> ..
> Country2        2006    CompanyJ        IndX            V1      V2      VN
> ...
> CountryN        2006    CompanyN        IndN            V1      V2      VN
>
>
> When I try to define it as a panel using country and year as the panel and
> time variables respectively, I get the error message " repeated time values
> in sample". Obviously the combination of country and year is not uniquely
> defining each observation. What should I do in this case to define this data
> as a panel in order to utilize the --xt-- family of commands?
>
> Your help and suggestions are appreciated.
>
> Regards
>
> Ali Shahzad
> alishahzad@ou.edu
>
> *
> *   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/
>


--
mumzu goodness gracious
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index