I am using Cross -Sectional data from the World Bank World Development Indicators (WDI).
I wanted to see how Spatial variable(country) impacts on the Fertility rates across the different countries, for that First I need to get the SPATIAL WEIGHT MATRIX.
So, please help me with this issue.
Here, the Dependent variable is Fertility rates and a Total of 201 countries. (ALL VARIABLES ARE IN AVERAGES)
For better understanding, I am giving my DATA Example below.
Thank you.
copy starting from the next line --------------- -------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str52 country float(Avg_Bbranch Avg_FR Avg_Alit Avg_GDPPC Avg_GHE) "Afghanistan" 1.765751 5.854357 37.38042 473.9886 43.80099 "Albania" 20.14792 1.6875714 97.04301 3983.294 229.0268 "Algeria" 5.107783 2.825143 76.39752 4317.603 227.6935 "Angola" 7.133926 6.1115 66.03011 3683.4175 103.1317 "Antigua and Barbuda" 32.54915 2.0163572 98.95 14053.454 629.448 end
0 Response to How to get Spatial Weight Matrix?
Post a Comment