Hi,
I am looking for someone who can help me with the point option of spmap in stata. What elements should be contained in the database for the point option.
I want to represent visually the correlation between two variables (drought and conflicts), one with colors on the geographical territory and the other with points
Should I merge the two databases for the two variables I want to represent?
Here is the code that I enter in stata but it does not work
spmap using "INDDcoo.dta",id(_ID) fcolor(white) ///
point(x(x_coo) y(y_coo) ///
by(conflict) size(*1.2) fcolor(red) ///
ocolor(white...) osize(*0.5...) legenda(on) ///
legcount) ///
legend(pos(4) size(*1.4) rowgap(1.2)) ///
spmap premonsoon15 using "INDDcoo.dta",id(_ID) fcolor(white) ///
point(x(x_coo) y(y_coo) ///
by(conflict) size(*1.2) fcolor(red) ///
ocolor(white...) osize(*0.5...) legenda(on) ///
legcount) ///
legend(pos(4) size(*1.4) rowgap(1.2)) ///
Thks
Related Posts with spmap option point
Deriving change over time by change in groups of variablesI'm running a regression to try to explain how long people spend in a hospital's A&E (ER) depart…
Merge m:m in a panel, can't merge BY two variablesHello, I have tried to look for similar queries but couldn't find any. Thanks in advance for readin…
Event Study - Multiple Events in Event Window - Calculation of CARDear all, I am currently working on a research project where I am doing an event study on the effec…
xsmle model not convergingDear statalist, I conducted a spatial durbin model with the following code (the data is available h…
Setting a loop for separate merges - add suffix to tempfiles?I'm currently performing three separate merges and saving the resulting file of each merge as a temp…
Subscribe to:
Post Comments (Atom)
0 Response to spmap option point
Post a Comment