Deal all,
I am using Stata 15. I have a cross section data-set for year 2015 with crop yields for four crops that are grown in the same season. I want to make a map exhibiting the cropping pattern for all four crops. The map is supposed to look like the one in the figure below (Adapted from a recent article) Array
I am aware of the SPMAP command and have used it previously to graph a single variable. The maps so produced show different colours (or different shades for the same colour)
for different values of the variable.
However I am not sure whether and how SPMAP can be adapted to generate the above graph that plots all four variables on the same graph and seems to be using "dots" for the cropping pattern not shades.
Any suggestion would be helpful.
Related Posts with Graphing multiple variables in a single map using SPMAP
Marge to dataDear Sir, I am trying to marge two data in Stata 14, individual with household data based on househo…
Is there any difference in endogeneity test when i have two endogeneous variables?Dear Statalist, I have a panel dataset of 10,000 households * 3 years. And based on the two-way fix…
Generating a yearly count variable based on a string identifierHi Everyone, I am looking to create a yearly count and cumulative sum variable based on a string id…
Create visitnumber variable for panel dataI have panel data, an example is shown below. How do I create a visit number by id (statenumber)? …
Adaptive lasso with fixed lambdaDear all, I am trying to run an adaptive Lasso where I want to input my choice of the penalty param…
Subscribe to:
Post Comments (Atom)
0 Response to Graphing multiple variables in a single map using SPMAP
Post a Comment