Dear Statalisters,
Although I follow the precise instructions from Maurizio Pisati (one should sort boundary files by _ID, as suggested in p. 9 from http://fmwww.bc.edu/repec/bocode/t/tmap2-UserGuide.pdf , and in http://www.stata.com/statalist/archi.../msg00715.html ), I still cannot replicate the maps from the first link above. Even though I followed the steps described in p. 10 of my link 1, I still get maps that look like the figure below.
I tried to create my own shape file following the instructions in http://www.stata.com/support/faqs/gr...pmap-and-maps/, but from the files hosted in http://www.nws.noaa.gov/geodata/cata...l/us_state.htm, one ends up with a shapefile that contains Maryland twice!
My third attempt was by using instead the module http://econpapers.repec.org/software...de/s448401.htm by Scott Merryman, but if one runs the .do file, after the 2bd command one gets an error (master file not sorted). Maybe the first line is what I am missing?
I would appreciate your feedback.
Although I follow the precise instructions from Maurizio Pisati (one should sort boundary files by _ID, as suggested in p. 9 from http://fmwww.bc.edu/repec/bocode/t/tmap2-UserGuide.pdf , and in http://www.stata.com/statalist/archi.../msg00715.html ), I still cannot replicate the maps from the first link above. Even though I followed the steps described in p. 10 of my link 1, I still get maps that look like the figure below.
I tried to create my own shape file following the instructions in http://www.stata.com/support/faqs/gr...pmap-and-maps/, but from the files hosted in http://www.nws.noaa.gov/geodata/cata...l/us_state.htm, one ends up with a shapefile that contains Maryland twice!
My third attempt was by using instead the module http://econpapers.repec.org/software...de/s448401.htm by Scott Merryman, but if one runs the .do file, after the 2bd command one gets an error (master file not sorted). Maybe the first line is what I am missing?
Code:
di in r "colorschemes.dta must be on the adopath" _n // I guess this line is wrong? use "rma_summary.dta", clear tmap chor lossratio , id(id) map("us_west.dta") palette(Blues) ocolor(white) osize(medium) legtitle("Loss Ratios")
Comment