Hi guys,
I am trying to map the result by using "spmap" command, yet keep having troubles with the error saying "master data not sorted"...
Below is the code that I used,
------------------------------------------------
use "$processed/production_regional.dta", clear
format weight_edible_ameday %4.2f
spmap weight_edible_ameday using vietmap_province_region3.dta, id(_ID) fcolor($colorscale) ///
legend(symy(*1) symx(*1) size(3) pos(4)) ///
title("Total harvest (kg/day/AME)", size($titlesize)) cln(7) ///clm(c) clb($cats) ///
note("Source: ***** crop production", size($notesize))
graph export "$maps/prod_region_weight.png", as(png) replace
------------------------------------------------
Can anyone tell me how I can resolve this problem?
Many thanks,
Manny
Related Posts with using "spmap"
Fixed effects coefficients interpretationDear all, I have searched for a while and found what I believe to be the answer however I wanted to…
Weak identification testHello, I am doing an estimation which involves running a IV regression with 7 endogenous variables …
Oaxaca_rif command and jmpierce2Dear all, I use FFL methodology to decompose gender pay gap using recentered influence function bey…
stata rdrobust report coefficient covariatesDoes anyone know or know the way to retrieve the coefficients of the covariates in the estimations u…
Using mata functions to define GMM equationsI'd like the use the cumulative distribution function of the multivariate normal as a moment conditi…
Subscribe to:
Post Comments (Atom)
0 Response to using "spmap"
Post a Comment