I want to plot country specific regression coefficients as well as the significance level (p-value) of the coefficients
in a map.
Therefore, i have:
1) Extracted the beta coefficients as well as the p-values of my main specification.
Code:
forvalues i = 1(1)60 { replace Coef_Country = _b[`i'.C201x] if C201x == `i' replace P_Value_Country = _b[`i'.C201x]/_se[`i'.C201x] if C201x == `i' }
Code:
spmap Coef_Country using worldcoor.dta, id(id) fcolor("0 58 97" "44 105 145" "139 139 217" "176 199 209" "230 230 230" "242 218 170" "245 186 113" "255 209 102" "255 219 0") clnumber(9)
P_Value_Country) is smaller 0.05.
Here I need your help. Is it possible to overlay two maps and if so, how?
Here I need your help. Is it possible to overlay two maps and if so, how?
Many thanks and all the best
Jay
0 Response to Spmap plotting regression coefficients and indicating significance
Post a Comment