I am attempting to draw a map with this data. However, each time, I get the error below, even after I have mi xtset the data:
Error:
"invalid panel setting
Type xtset to view panel data settings.
no; data are mi set
Use mi xtset to set or query these data; mi xtset has the same syntax as
xtset.
Perhaps you did not type xtset. Some commands call xtset to obtain
information about the settings. In that case, that command is not
appropriate for running directly on mi data. Use mi extract to select
the data on which you want to run the command, which is probably m=0.
r(459);
"
This is my command:
grmap avg_manf_pc , t(2010)
Thank you for your assistance.
The data is below:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str59 country int year long _ID double(_CX _CY) float avg_manf_pc "Algeria" 1996 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 1997 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 1998 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 1999 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2000 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2001 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2002 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2003 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2004 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2005 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2006 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2007 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2008 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2009 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2010 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2011 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2012 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2013 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2014 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2015 4 2.676869982345495 28.155623766186512 1924.2056 "Algeria" 2016 4 2.676869982345495 28.155623766186512 1924.2056 "Sudan" 1996 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 1997 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 1998 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 1999 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2000 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2001 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2002 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2003 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2004 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2005 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2006 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2007 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2008 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2009 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2010 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2011 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2012 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2013 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2014 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2015 6 29.958260517333976 16.019748829542856 73.5605 "Sudan" 2016 6 29.958260517333976 16.019748829542856 73.5605 "Angola" 1996 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 1997 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 1998 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 1999 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2000 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2001 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2002 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2003 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2004 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2005 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2006 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2007 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2008 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2009 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2010 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2011 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2012 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2013 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2014 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2015 8 17.54875399673365 -12.296463111860687 309.8992 "Angola" 2016 8 17.54875399673365 -12.296463111860687 309.8992 "Benin" 1996 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 1997 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 1998 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 1999 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2000 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2001 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2002 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2003 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2004 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2005 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2006 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2007 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2008 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2009 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2010 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2011 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2012 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2013 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2014 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2015 29 2.3398501727818135 9.660140534442299 127.5753 "Benin" 2016 29 2.3398501727818135 9.660140534442299 127.5753 "Botswana" 1996 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 1997 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 1998 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 1999 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2000 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2001 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2002 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2003 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2004 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2005 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2006 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2007 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2008 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2009 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2010 35 23.81374954991846 -22.1880523360801 254.11575 "Botswana" 2011 35 23.81374954991846 -22.1880523360801 254.11575 end format %ty year
0 Response to mi xtset errors not correcting
Post a Comment