OPEN DATA "C:\Documents\paneldataforstata.xlsx"
CALENDAR(PANELOBS=23,A) 1990:1
DATA(FORMAT=XLSX,ORG=COLUMNS) 1//1990:01 552//2012:01 individual year gdp cap labor re
and here is the error I am getting:
## IO30. There is no series INDIVIDUAL on the file
## IO30. There is no series YEAR on the file
## IO30. There is no series GDP on the file
## IO30. There is no series CAP on the file
## IO30. There is no series LABOR on the file
## IO30. There is no series RE on the file
My data looks like :
Code: Select all
country year gdp capital labor re
1 1990 4.27251E+11 97675046357 8502257 14.756
1 1991 4.25431E+11 88491579483 8548010 16.433
1 1992 4.2715E+11 84954717509 8623259 15.8744
1 1993 4.44303E+11 90624439154 8675174 17.164
1 1994 4.62274E+11 95802590018 8832057 16.879
1 1995 4.80215E+11 1.06241E+11 9049690 16.469
1 1996 4.99171E+11 1.09159E+11 9154738 16.575
1 1997 5.18856E+11 1.16407E+11 9230553 17.733
1 1998 5.41845E+11 1.27666E+11 9331221 16.702
1 1999 5.68961E+11 1.33482E+11 9428920 17.701
1 2000 5.90991E+11 1.44166E+11 9624371 17.422
1 2001 6.02389E+11 1.32714E+11 9793326 18.001
1 2002 6.2566E+11 1.44637E+11 9937598 17.712
1 2003 6.44926E+11 1.62769E+11 10101919 18.509
1 2004 6.71733E+11 1.7665E+11 10229628 18.52
1 2005 6.93339E+11 1.87794E+11 10555735 19.95
1 2006 7.14074E+11 2.05223E+11 10806943 21.481
1 2007 7.40924E+11 2.15657E+11 10986204 21.066
1 2008 7.68355E+11 2.3615E+11 11285373 19.61
1 2009 7.81662E+11 2.41189E+11 11522495 19.62
1 2010 7.97001E+11 2.46267E+11 11715010 22.351
1 2011 8.15503E+11 2.55332E+11 11882313 26.773
1 2012 8.45904E+11 2.83966E+11 12027327 25.14892
2 1990 2.23054E+11 50950902671 3524707 32.359
2 1991 2.30731E+11 55189848688 3576695 32.367
2 1992 2.35561E+11 55265428595 3668918 35.856
2 1993 2.36802E+11 54589018456 3705767 37.74
2 1994 2.4249E+11 57398066802 3825983 36.596
2 1995 2.4896E+11 57508229022 3849977 38.605
etc... Could someone please help me out? I am getting very frustrated. It says in the booklet that RATS easily reads panel data so I must be missing something here.
Thanks in advance!