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
Creating an Abortion scaleHello Everyone, I am trying to create a 7-point scale for attitudes towards abortion for every dec…
Stata 18 and StatalistWith the most welcome release of Stata 18, the FAQ Advice has as is customary been tweaked slightly.…
how to calculate output of r(alpha) (short example included)?My deepest apologies if this is difficult to work with. I'm not a stata user, i'm just trying to dec…
Interpret log-linear coefficient of a percentage typeExtremely trivial question but I just want to ensure I have the right interpretation. I have the fo…
continuous interaction variable and marginsaa …
Subscribe to:
Post Comments (Atom)
0 Response to spmap option point
Post a Comment