Spatial Regression Models, Version 2 Chapter 3 Michael D. Ward and Kristian Skrede Gleditsch

Size: px
Start display at page:

Download "Spatial Regression Models, Version 2 Chapter 3 Michael D. Ward and Kristian Skrede Gleditsch"

Transcription

1 Spatial Regression Models, Version 2 Chapter 3 Michael D. Ward and Kristian Skrede Gleditsch Introduction These are lecture/lab notes for Chapter 3 in Spatial Regression Models. You will find all necessary information, including R-code, to replicate the figures and maps found in this chapter. A few of the maps were obtained from public repositories (Wiki and others), but what you find here will allow replication of the bulk of chapter 3. This is intended to provide code as well as a didactic repository. Code appears below as it is in the unadorned code files. Comments are shown with one poundsign; messages from the execution of this code is flagged with two poundsigns. There are two goals of this material: 1. Provide replication code for the materials in Spatial Regression Models, version 2. This is hosted on httpps://srmbook.com 2. To elaborate a bit on what the code does to provide instruction on develop code in R that replications the material in the published volume. This was developed on the following platform. Earlier (and later) platforms should work (as should windows and linux flavored platforms). However, some libraries may not be available for all platforms. Such is life. If you have any feature requests or find bugs herein, please do not hesitate to pass them along to the authors (michael.don.ward at gmail.com and ksg at essex.ac.uk). Figure 3.1 Polity Scores as a Function of Logged GDP per Capita A longstanding hypothesis in sociology and political science is that economic development leads to the establishment of democratic institutions. If we make an economic assumption that we observe the world in equilibrium this implies that countries with higher levels of economic productivity will have higher levels of democratic governance. We re-examine this by looking at GDP per capita and the level of democracy in 195 contemporary (2015) countries.p5 rm(list = ls()) library(foreign) library(ggplot2) library(gridextra) library(grid) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) # get map from CSHAPES 1

2 Figure Polity Score GDP, logged per capita Figure 1: Polity Scores as a Function of Logged GDP per Capita wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame # Table 3.1 wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc dat<-subset(wmap.df,select = c("polity","gdp")) #ratio.display <- 4/3 #ratio.values <- ( )/( ) +.1 # open png device ggplot(dat, aes(x=gdp, y=polity)) + geom_point(shape=16) + geom_smooth(method=lm) + labs(x = "GDP, logged per capita",y = "Polity Score") + coord_fixed(.2) + ggtitle("figure 3.1") 2

3 Figure 3.2, Examination of the Normality of the Residuals opts_knit$set(root.dir = "~/Dropbox/SRMRepository") library(foreign) library(ggplot2) library(gridextra) library(grid) library(envstats) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame # Table 3.1 wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc dat<-subset(wmap.df,select = c("polity","gdp")) ols.1.2<-glm(polity ~gdp,data=dat) qqnorm(resid(ols.1.2),pch=19,las = 1,cex=.7,plot.type="Q-Q",points.col="black", ylab="sample Quantiles",xlab="Theoretical Quantiles", main="figure 3.2") segments(-2.9, -15, x1 = 1, y1 = 8, col = par("fg"), lty = par("lty"), lwd = par("lwd")) # Figure 3.3 Figure 3.3, Examination of the Normality of the Residuals, redux 3

4 Figure Sample Quantiles Theoretical Quantiles Figure 2: Examination of the Normality of the Residuals 4

5 Figure Figure 3: Examination of the Normality of the Residuals, redux plot(density(residuals(ols.1.2)),ylim=c(0,.5), xlim=c(-20,10),bty="n",axes=f,xlab="",ylab="", lwd=3,main="figure 3.3") lines(density(rnorm(100000,0,1)),lwd=3,col="gray") axis(side=1,at=c(-20,-10,0,10)) Figure 3.4, A Simple Network Visualization of the Linkages among Eight European Countries library(ggally) library(network) 5

6 UK FRN GER ITA SWE FIN DEN NOR Figure 4: A Simple Network Visualization of the Linkages among Eight European Countries library(sna) library('igraph') library(foreign) library(ggplot2) cshp.data <- cshp() easyeight.shp <- cshp.data[cshp.data$cowcode%in% c(200,220,260,325,375,380,385,390),] wmat.195 <- distmatrix(as.date(" "), type="mindist", tolerance=0.5, usegw=true) ee<-as.character(c(200,220,260,325,375,380,385,390)) wmat.8 <- wmat.195[ee,ee] w8.dist<-wmat.8 w8.dist[w8.dist<=200]<-1 w8.dist[w8.dist>200]<-0 colnames(w8.dist)<-row.names(w8.dist)<-c("uk","frn","ger","ita","fin","swe","nor","den") diag(w8.dist)<-0 set.seed(12345) net.igraph <- graph_from_adjacency_matrix(w8.dist, plot(net.igraph,vertex.label.cex=.6, vertex.color = "skyblue") mode = c("undirected"), diag = FALSE) Figure 3.5, A Simple Network Visualization of the Linkags among 195 Countries 6

7 library(ggally) library(network) library(sna) library('igraph') library(foreign) library(ggplot2) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc wmat.195 <- distmatrix(as.date(" "), type="mindist", tolerance=0.5, usegw=true) wmat.195[wmat.195<=200]<-1 wmat.195[wmat.195>200]<-0 diag(wmat.195)<-0 wmap.df.sorted<-wmap.df[order(wmap.df$gwcode),] colnames(wmat.195)<-row.names(wmat.195)<-wmap.df.sorted$iso1al3 net195<-network(wmat.195) net.igraph <- graph_from_adjacency_matrix(wmat.195, mode = c("undirected"), diag = FALSE) sizes<-wmap.df$gdp sizes[is.na(sizes)]<-5.75 V(net.igraph)$gdp=sizes*1.5 V(net.igraph)$size <- degree(net.igraph) ##V(net.igraph)$gdp iso <- V(net.igraph)[degree(net.igraph)==0] g2 <- delete.vertices(net.igraph, iso) plot(g2,vertex.label.cex=.6, vertex.color = "skyblue") 7

8 DMA LCA SURURY BRB VCTGRDTTO GUY VEN BRA ARG PRY LSO BOL CHL COL PER SWZZAF NAM ECU ZWE BWA PANCRI ATG MOZ GNQ GHA LBRSLE MWI ZMB AGO NIC KNA GAB TGO BENBFA CIV GIN GNB COG TZACOD CMRNGA GMB HND SLV RWA BDI GTM BLZ DOM CAF NER MLI SEN UGA SSD TCD HTI KEN LKA MEX MRT CUB ETH SDN JAM SOMERI LBY DZA IND BTN NPL CAN DJI EGY BGD YEM MAR JOR KWT PAK USA OMN ISRSAU IRQ TKM AFG TJK MMR KGZ LAO UZB CHN VNM SYR IRN THA KHM PHL ARE LBN KAZ TUN ARM CYP GEO BHR QAT TUR ESPAZE MNG TWN MYSBRN PRT RUS PRK SGP IDNTLS GRC BGRMDA EST JPN UKR AND BLR LTU LVA KOR PNG RKS MKD ALB SRB ROU POL FIN MNE NOR BIHITASVK HUN HRV CZE FRA SWE MLT SVN AUT DNK LIE CHE DEU SMR MCO BEL LUX NLD GBR IRL Figure 5: A Simple Network Visualization of the Linkags among 195 Countries Figure 3.6 Map of Centroids and Capital Cities library(rcolorbrewer) library(maptools) library(spdep) library(sp) library(rgdal) # Read a Robinson projection map from an ESRI shapefile newprojection <- "+proj=robin +lon_0=0 +x_0=0 +y_0=0" #rob.shp <- readogr(dsn="shapefiles/110m_cultural", layer="ne_110m_admin_0_countries") rob.shp <- readshapespatial("shapefiles/world2002/wg2002worldmap.shp",proj4string = CRS(newprojection), IDvar = "FIPS_CNTRY",repair=TRUE,force_ring=TRUE, verbose=true) ## Shapefile type: Polygon, (5), # of Shapes: 190 ## Shapefile type: Polygon, (5), # of Shapes: 190 # Add coordinates coords <- coordinates(rob.shp) # Replot the map itself without a bounding box plot(rob.shp, border="grey", xaxt="n", yaxt="n", bty="n", lwd=.75, las=1, ylab="", 8

9 Centroids and Capitals Figure 6: Map of Centroids and Capital Cities main="centroids and Capitals", xlab="") # Add the centroids points(coordinates(rob.shp), pch=19,cex=.25, col="red") # Latitude and Longitude ll.mat <- cbind(as.numeric(as.character(rob.shp$long)), as.numeric(as.character(rob.shp$lat))) row.names(ll.mat) <- 1:nrow(ll.mat) llcrs <- CRS("+proj=longlat +ellps+wgs84") longlat <- SpatialPoints(ll.mat,proj4string = llcrs) longlat.transf <- sptransform(longlat, CRS("+proj=robin +ellps+wgs84+lon_0=0 + x_0=0 +y_0=0")) points(coordinates(longlat.transf),pch=19,cex=.25,col="black") # Add segments between centroids and capitals # but delete Kiribati, as it crosses date line diffs <- cbind(coordinates(rob.shp),coordinates(longlat.transf)) segments(diffs[-91,1],diffs[-91,2],diffs[-91,3],diffs[-91,4],col="slategray4") Figure 3.7 Anselin-Moran Plot of OLS Residuals 9

10 library(foreign) library(ggplot2) library(gridextra) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc # Prune Data Set moran.df<-subset(wmap.df,select = c("gwcode","polity","gdp")) pruned<-na.omit(moran.df) pruned<-pruned[with(pruned, order(gwcode)), ] row.names(pruned)<-pruned$gwcode ols.1.2<-glm(polity ~ gdp,data=pruned) wmap.dist <- distmatrix(date = as.date(" "),type="mindist") index<-as.character(pruned$gwcode) w.dist<-wmap.dist[index,index] # recode distance data to be binary, for distance < 550km w.dist[w.dist<=400]<-1 w.dist[w.dist>=400]<-0 w.dist.rowstd<-w.dist/rowsums(w.dist) # create spatial lag of residuals resid.splag<- w.dist.rowstd%*%resid(ols.1.2) resid.splag.std<-scale(resid.splag) resid.std<-scale(resid(ols.1.2)) plot(resid.std,resid.splag.std,las=1,pch=19,xlim=c(-3,3), ylim=c(-3,3),ylab="standardized Spatial Lag of OLS Residuals", xlab="standardized OLS Residuals",main="Moran's I = 0.72") polygon(c(0,0,1,1),c(0,1,1,0),col=rgb( 135/255,206/255,250/255,0.5)) polygon(c(-1,-1,0,0),c(-1,0,0,-1),col=rgb( 135/255,206/255,250/255,0.5)) points(resid.std,resid.splag.std,pch=19) segments(-2, -2, -2, 2,lwd=2) segments(2, -2, 2, 2,lwd=2) segments(-2, 2, 2,2,lwd=2) segments(-2, -2, 2,-2,lwd=2) 10

11 Moran's I = 0.72 Standardized Spatial Lag of OLS Residuals Standardized OLS Residuals Figure 7: Anselin-Moran Plot of OLS Residuals segments(-1, -1, -1, 1,lwd=2) segments(1, -1, 1, 1,lwd=2) segments(-1, 1, 1,1,lwd=2) segments(-1, -1, 1,-1,lwd=2) segments(-2, 0, 2,0,lwd=2) segments(0, -2,0,2,lwd=2) rug(resid.std, ticksize = 0.03, side = 1, lwd = 0.5) rug(resid.splag.std, ticksize = 0.03, side = 2, lwd = 0.5) abline(lm(resid.splag.std~-1+resid.std),lwd=2) Figure 3.8 Choropleth of Local Indicators of Spatial Autocorrelation 11

12 [ 10, 6) [ 6, 3) [ 3,0) [0,3) [3,6) [6,10] Figure 8: Choropleth of LISA Scores p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap@data$democ <- p5$democ[match(wmap@data$iso1al3, p5$scode)] wmap@data$autoc <- p5$autoc[match(wmap@data$iso1al3, p5$scode)] wmap@data$polity <- wmap@data$democ - wmap@data$autoc # for convenience assign 0 to NA wmap@data$polity[is.na(wmap@data$polity)]<- 0 pol <- wmap@data$polity library(classint) nclr <- 6 plotclr <- brewer.pal(nclr,"spectral") class = classintervals(pol, n = 6, style = "fixed", fixedbreaks = c(-10, -6, -3, 0, 3, 6, 10)) colcode <- findcolours(class, plotclr) plot(wmap, col=colcode) legend(-170,0, legend=names(attr(colcode, "table")), fill=attr(colcode, "palette"), cex=0.6, bty="n") # now get distance matrix wmap.dist <- distmatrix(date = as.date(" ")) # recode distance data to be binary, for distance < 400km w.dist<-wmap.dist w.dist[w.dist<=1900]<-1 w.dist[w.dist>1900]<-0 # row standardize w.dist.rstd<-w.dist/rowsums(w.dist) # 0 on diagonal diag(w.dist.rstd)<-0 which(rowsums(w.dist.rstd)==0) ## named integer(0) w.dist.rstd <- w.dist.rstd[as.character(wmap@data$gwcode),as.character(wmap@data$gwcode)] # create spatial lag of polity. round result wmap@data$sp.lag.polity<- round((w.dist.rstd)%*%(wmap@data$polity)) 12

13 [ 1.4,0) [0,0.18) [0.18,0.549) [0.549,0.85) [0.85,3.72] Figure 9: Choropleth of LISA Scores lmoran <- mat2listw(w.dist.rstd)) pol <- library(classint) nclr <- 6 plotclr <- brewer.pal(nclr,"prgn") class = classintervals(pol, n = 6, style = "fixed", fixedbreaks = c(-1.4,0.0, 0.18,0.549,0.85,3.72 )) colcode <- findcolours(class, plotclr) plot(wmap, col=colcode) legend(-170,0, legend=names(attr(colcode, "table")), fill=attr(colcode, "palette"), cex=0.6, bty="n") Table 3.1 top 10 on polity and gdp in terms of Polity library(foreign) library(ggplot2) library(gridextra) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) 13

14 gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame # Table 3.1 wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc # Prune Data Set moran.df<-subset(wmap.df,select = c("gwcode","isoname","polity","gdp")) pruned<-na.omit(moran.df) pruned<-pruned[with(pruned, order(gwcode)), ] row.names(pruned)<-pruned$gwcode ols.1.2<-glm(polity ~ gdp,data=pruned) sorted<-pruned[order(pruned$gdp),] sorted$gdp<-round(sorted$gdp,2) bottom<-head(sorted,10) bottom<-bottom[,c(2:4)] levels(bottom$isoname)[40] <- 'Congo (DRC)' bottom[order(bottom$gdp,decreasing =TRUE),] ISONAME polity gdp 530 Ethiopia Liberia Congo (DRC) Madagascar Gambia Niger Somalia Central African Republic Malawi Burundi top<-tail(sorted,10) top<-top[,c(2:4)] top<-top<-top[order(bottom$gdp,decreasing =TRUE),] library(xtable) tab<-xtable(rbind(top,bottom),caption="democracy Data and Logged GDP per capita. Top and Bottom Ten Countri print(tab,caption.placement="top") % latex table generated in R by xtable package % Wed Jan 17 14:44: Table 3.2 library(foreign) library(ggplot2) library(gridextra) library(grid) library(envstats) library(xtable) 14

15 Table 1: Democracy Data and Logged GDP per capita. Top and Bottom Ten Countries ISONAME polity gdp 212 Luxembourg Qatar Norway Switzerland Denmark Australia Sweden Singapore Ireland United States Burundi Malawi Central African Republic Somalia Niger Gambia Madagascar Liberia Congo (DRC) Ethiopia p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) wmap@data$id <- as.character(rownames(wmap@data)) wmap.df <- wmap@data wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] library(wbstats) gdp <- wb(indicator = c("ny.gdp.pcap.cd"), startdate = 2014, enddate = 2014,country="countries_only") gdp$value <- log(gdp$value) # join the GDP data to the map data.frame # Table 3.1 wmap.df$gdp <- gdp$value[match(wmap.df$iso1al2, gdp$iso2c)] # create polity score wmap.df$polity<-wmap.df$democ - wmap.df$autoc dat<-subset(wmap.df,select = c("polity","gdp")) ols.1.2<-glm(polity ~gdp,data=dat) tab<-xtable(ols.1.2,digits=2,caption="ols Regression of Polity on Logged GDP per capita.") print(tab,caption.placement="top") % latex table generated in R by xtable package % Wed Jan 17 14:17:

16 Table 2: OLS Regression of Polity on Logged GDP per capita. Estimate Std. Error t value Pr(> t ) (Intercept) gdp Table 3.3, A List Representation of Connections for Eight European Countries library(network) library(sna) cshp.data <- cshp() easyeight.shp <- cshp.data[cshp.data$cowcode%in% c(200,220,260,325,375,380,385,390),] wmat.195 <- distmatrix(as.date(" "), type="mindist", tolerance=0.5, usegw=true) ee<-as.character(c(200,220,260,325,375,380,385,390)) wmat.8 <- wmat.195[ee,ee] w8.dist<-wmat.8 w8.dist[w8.dist<=200]<-1 w8.dist[w8.dist>200]<-0 colnames(w8.dist)<-row.names(w8.dist)<-c("uk","frn","ger","ita","fin","swe","nor","den") diag(w8.dist)<-0 tmp<-mat2listw(w8.dist) tab<-xtable(w8.dist) print(tab,caption.placement="top") % latex table generated in R by xtable package % Wed Jan 17 14:17: UK FRN GER ITA FIN SWE NOR DEN UK FRN GER ITA FIN SWE NOR DEN Table 3.4, (Adjacency) Matric Representation of Connections for Eight European Countries 16

17 library(network) library(sna) cshp.data <- cshp() easyeight.shp <- cshp.data[cshp.data$cowcode%in% c(200,220,260,325,375,380,385,390),] wmat.195 <- distmatrix(as.date(" "), type="mindist", tolerance=0.5, usegw=true) ee<-as.character(c(200,220,260,325,375,380,385,390)) wmat.8 <- wmat.195[ee,ee] w8.dist<-wmat.8 w8.dist[w8.dist<=200]<-1 w8.dist[w8.dist>200]<-0 colnames(w8.dist)<-row.names(w8.dist)<-c("uk","frn","ger","ita","fin","swe","nor","den") diag(w8.dist)<-0 tmp<-matrix(as.integer(w8.dist),nrow=8) colnames(tmp)<-row.names(tmp)<-c("uk","frn","ger","ita","fin","swe","nor","den") tab<-xtable(tmp,caption="(adjacency) Matrix Representation of Connections for 8 European Countries.") print(tab,caption.placement="top") % latex table generated in R by xtable package % Wed Jan 17 14:18: Table 3: (Adjacency) Matrix Representation of Connections for 8 European Countries. UK FRN GER ITA FIN SWE NOR DEN UK FRN GER ITA FIN SWE NOR DEN Table 3.6 Democracy Data (PITF: 2015) library(foreign) library(ggplot2) library(gridextra) p5<-read.csv("rawdata/p5.csv") wmap <- cshp(date = as.date(" "),usegw=true) # get map from CSHAPES 17

18 wmap$iso1al3 <- as.character(wmap$iso1al3) wmap$iso1al3[wmap$cntry_name == "Kosovo"] <- c("rks") wmap$iso1al3 <- as.factor(wmap$iso1al3) <- wmap.df <- wmap.df$democ <- p5$democ[match(wmap.df$iso1al3, p5$scode)] wmap.df$autoc <- p5$autoc[match(wmap.df$iso1al3, p5$scode)] wmap.df$polity<-wmap.df$democ - wmap.df$autoc # Prune Data Set temp<-subset(wmap.df,select = c("gwcode","isoname","polity")) pruned<-na.omit(temp) pruned<-pruned[with(pruned, order(gwcode)), ] row.names(pruned)<-pruned$gwcode # wdist has the distance scores, in order of GW codes wmap.dist <- distmatrix(date = as.date(" "),type="mindist") index<-as.character(pruned$gwcode) w.dist<-wmap.dist[index,index] # recode distance data to be binary, for distance < 550km w.dist[w.dist<=400]<-1 w.dist[w.dist>=400]<-0 w.dist.rowstd<-w.dist/rowsums(w.dist) # create spatial lag of residuals pruned$polity.splag<- round(w.dist.rowstd%*%pruned$polity,2) # Prune Data Set tab.df<-subset(pruned,select = c("gwcode","isoname","polity","polity.splag")) pruned<-pruned[with(pruned, order(gwcode)), ] row.names(pruned)<-pruned$gwcode # now calculate the spatial lags, and add back to pruned. sorted<-pruned[order(pruned$polity.splag),] bottom<-head(sorted,10) bottom<-bottom[,c(2:4)] levels(bottom$isoname)[98] <- 'Laos' bottom<-bottom[order(bottom$polity.splag,decreasing =TRUE),] top<-tail(sorted,10) top<-top[,c(2:4)] top<-top[order(top$polity.splag,decreasing =TRUE),] tab<-xtable(rbind(top,bottom),caption="democracy data (PITF: 2015). Top and bottom 10 countries in terms of spatially lagged Polity scores.") print(tab,caption.placement="top") % latex table generated in R by xtable package % Wed Jan 17 15:02:

19 Table 4: Democracy data (PITF: 2015). Top and bottom 10 countries in terms of spatially lagged Polity scores. ISONAME polity polity.splag 20 Canada Ireland Cape Verde Mauritius New Zealand Belgium Luxembourg France United Kingdom Netherlands Yemen Saudi Arabia Cambodia Laos Sudan Oman Kuwait Bahrain Qatar United Arab Emirates

Inferring Latent Preferences from Network Data

Inferring Latent Preferences from Network Data Inferring Latent Preferences from Network John S. Ahlquist 1 Arturas 2 1 UC San Diego GPS 2 NYU 14 November 2015 very early stages Methodological extend latent space models (Hoff et al 2002) to partial

More information

A re examination of the Columbian exchange: Agriculture and Economic Development in the Long Run

A re examination of the Columbian exchange: Agriculture and Economic Development in the Long Run Are examinationofthecolumbianexchange: AgricultureandEconomicDevelopmentintheLongRun AlfonsoDíezMinguela MªDoloresAñónHigón UniversitatdeValéncia UniversitatdeValéncia May2012 [PRELIMINARYRESEARCH,PLEASEDONOTCITE]

More information

Agriculture, Transportation and the Timing of Urbanization

Agriculture, Transportation and the Timing of Urbanization Agriculture, Transportation and the Timing of Urbanization Global Analysis at the Grid Cell Level Mesbah Motamed Raymond Florax William Masters Department of Agricultural Economics Purdue University SHaPE

More information

Economic Growth: Lecture 1, Questions and Evidence

Economic Growth: Lecture 1, Questions and Evidence 14.452 Economic Growth: Lecture 1, Questions and Evidence Daron Acemoglu MIT October 23, 2018 Daron Acemoglu (MIT) Economic Growth Lecture 1 October 23, 2018 1 / 38 Cross-Country Income Differences Cross-Country

More information

WP/18/117 Sharp Instrument: A Stab at Identifying the Causes of Economic Growth

WP/18/117 Sharp Instrument: A Stab at Identifying the Causes of Economic Growth WP/18/117 Sharp Instrument: A Stab at Identifying the Causes of Economic Growth By Reda Cherif, Fuad Hasanov, and Lichen Wang 2 2018 International Monetary Fund WP/18/117 IMF Working Paper Institute for

More information

Lecture 10 Optimal Growth Endogenous Growth. Noah Williams

Lecture 10 Optimal Growth Endogenous Growth. Noah Williams Lecture 10 Optimal Growth Endogenous Growth Noah Williams University of Wisconsin - Madison Economics 702 Spring 2018 Optimal Growth Path Recall we assume exogenous growth in population and productivity:

More information

Landlocked or Policy Locked?

Landlocked or Policy Locked? Landlocked or Policy Locked? How Services Trade Protection Deepens Economic Isolation Ingo Borchert University of Sussex Based on research with Batshur Gootiiz, Arti Grover and Aaditya Mattoo FERDI ITC

More information

IDENTIFYING MULTILATERAL DEPENDENCIES IN THE WORLD TRADE NETWORK

IDENTIFYING MULTILATERAL DEPENDENCIES IN THE WORLD TRADE NETWORK IDENTIFYING MULTILATERAL DEPENDENCIES IN THE WORLD TRADE NETWORK PETER R. HERMAN Abstract. When studying the formation of trade between two countries, traditional modeling has described this decision as

More information

ECON 581. The Solow Growth Model, Continued. Instructor: Dmytro Hryshko

ECON 581. The Solow Growth Model, Continued. Instructor: Dmytro Hryshko ECON 581. The Solow Growth Model, Continued Instructor: Dmytro Hryshko 1 / 38 The Solow model in continuous time Consider the following (difference) equation x(t + 1) x(t) = g(x(t)), where g( ) is some

More information

For Adam Smith, the secret to the wealth of nations was related

For Adam Smith, the secret to the wealth of nations was related The building blocks of economic complexity César A. Hidalgo 1 and Ricardo Hausmann a Center for International Development and Harvard Kennedy School, Harvard University, Cambridge, MA 02138 Edited by Partha

More information

!" #$$% & ' ' () ) * ) )) ' + ( ) + ) +( ), - ). & " '" ) / ) ' ' (' + 0 ) ' " ' ) () ( ( ' ) ' 1)

! #$$% & ' ' () ) * ) )) ' + ( ) + ) +( ), - ). &  ' ) / ) ' ' (' + 0 ) '  ' ) () ( ( ' ) ' 1) !" #$$% & ' ' () ) * ) )) ' + ( ) + ) +( ), - ). & " '" ) () -)( / ) ' ' (' + 0 ) ' " ' ) () ( ( ' ) ' 1) )) ) 2') 3 45$" 467" 8" 4 %" 96$ & ' 4 )" 3)" ::" ( & ) ;: < ( ) ) =)+ ( " " " $8> " ') +? @ ::

More information

Lecture Note 13 The Gains from International Trade: Empirical Evidence Using the Method of Instrumental Variables

Lecture Note 13 The Gains from International Trade: Empirical Evidence Using the Method of Instrumental Variables Lecture Note 13 The Gains from International Trade: Empirical Evidence Using the Method of Instrumental Variables David Autor, MIT and NBER 14.03/14.003 Microeconomic Theory and Public Policy, Fall 2016

More information

Lecture 9 Endogenous Growth Consumption and Savings. Noah Williams

Lecture 9 Endogenous Growth Consumption and Savings. Noah Williams Lecture 9 Endogenous Growth Consumption and Savings Noah Williams University of Wisconsin - Madison Economics 702/312 Optimal Balanced Growth Therefore we have capital per unit of effective labor in the

More information

INSTITUTIONS AND THE LONG-RUN IMPACT OF EARLY DEVELOPMENT

INSTITUTIONS AND THE LONG-RUN IMPACT OF EARLY DEVELOPMENT DEPARTMENT OF ECONOMICS ISSN 1441-5429 DISCUSSION PAPER 49/12 INSTITUTIONS AND THE LONG-RUN IMPACT OF EARLY DEVELOPMENT James B. Ang * Abstract We study the role of institutional development as a causal

More information

PTV Africa City Map 2017 (Standardmap)

PTV Africa City Map 2017 (Standardmap) PTV Africa City Map 2017 (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV_Africa_City_Map_2017 Data provider(s) Technology

More information

Growth and Comparative Development - An Overview

Growth and Comparative Development - An Overview Growth and Comparative Development - An Overview Department of Economics Brown University August 16, 2013 Evidence Fundamental Puzzles Regional Variations in Income Per Capita: 2000 Evidence Fundamental

More information

PTV Africa City Map (Standardmap)

PTV Africa City Map (Standardmap) PTV Africa City Map 2018.2 (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV_Africa_City_Map_2018.2 Data provider(s) Technology

More information

Social and Economic Rights Fulfillment Index SERF Index and Substantive Rights Indices for 2015 (2017 update) Index for High Income OECD Countries

Social and Economic Rights Fulfillment Index SERF Index and Substantive Rights Indices for 2015 (2017 update) Index for High Income OECD Countries Social and Economic Rights Fulfillment and Substantive Rights Indices for (2017 update) for Countries Food Work Iceland ISL 1 1 93.18 42,325 83.01 99.91 98.48 91.34 Finland FIN 1 1 92.90 38,941 91.23 97.88

More information

University of Groningen. Corruption and governance around the world Seldadyo, H.

University of Groningen. Corruption and governance around the world Seldadyo, H. University of Groningen Corruption and governance around the world Seldadyo, H. IMPORTANT NOTE: You are advised to consult the publisher's version (publisher's PDF) if you wish to cite from it. Please

More information

International Investment Positions and Exchange Rate Dynamics: A Dynamic Panel Analysis

International Investment Positions and Exchange Rate Dynamics: A Dynamic Panel Analysis International Investment Positions and Exchange Rate Dynamics: A Dynamic Panel Analysis Michael Binder 1 Christian J. Offermanns 2 1 Frankfurt and Center for Financial Studies 2 Frankfurt Motivation Empirical

More information

The Diffusion of Development: Along Genetic or Geographic Lines?

The Diffusion of Development: Along Genetic or Geographic Lines? MPRA Munich Personal RePEc Archive The Diffusion of Development: Along Genetic or Geographic Lines? Douglas L. Campbell and Ju Hyun Pyun August 2014 Online at https://mpra.ub.uni-muenchen.de/57933/ MPRA

More information

Growth and Comparative Development: An Overview

Growth and Comparative Development: An Overview Growth and Comparative Development: An Overview Oded Galor Oded Galor Growth and Comparative Development 1 / 62 Introduction Comparative Development Income per Capita across the Globe in 2010 0-1000 1000-3000

More information

SUPPLEMENTARY MATERIAL FOR:

SUPPLEMENTARY MATERIAL FOR: SUPPLEMENTARY MATERIAL FOR: THE BUILDING BLOCKS OF ECONOMIC COMPLEXITY Cesar A. Hidalgo, Ricardo Hausmann Center for International Development and Harvard Kennedy School, Harvard University TABLE OF CONTENTS

More information

Competition, Innovation and Growth with Limited Commitment

Competition, Innovation and Growth with Limited Commitment Competition, Innovation and Growth with Limited Commitment Ramon Marimon Universitat Pompeu Fabra, CREi and CREA Vincenzo Quadrini University of Southern California December 22, 2005 Abstract We study

More information

Transparency in Non-Tariff Measures : An International Comparison

Transparency in Non-Tariff Measures : An International Comparison fondation pour les études et recherches sur le développement international Working Paper 182 Development Policies December 2016 Transparency in Non-Tariff Measures : An International Comparison Lili Yan

More information

ENDOGENOUS GROWTH. Carl-Johan Dalgaard Department of Economics University of Copenhagen

ENDOGENOUS GROWTH. Carl-Johan Dalgaard Department of Economics University of Copenhagen ENDOGENOUS GROWTH Carl-Johan Dalgaard Department of Economics University of Copenhagen MOTIVATION AND SETTING THE SCENE How to sustain growth? Under standard assumptions (e.g., diminishing returns and

More information

econstor Make Your Publications Visible.

econstor Make Your Publications Visible. econstor Make Your Publications Visible. A Service of Wirtschaft Centre zbwleibniz-informationszentrum Economics Felbermayr, Gabriel J.; Gröschl, Jasmin Working Paper Natural disasters and the effect of

More information

A. Cuñat 1 R. Zymek 2

A. Cuñat 1 R. Zymek 2 1 2 1 University of Vienna and CESifo, alejandro.cunat@univie.ac.at 2 University of Edinburgh and CESifo, robert.zymek@ed.ac.uk and Outline accounting: quantitative assessment of the contribution of measurable

More information

Dany Bahar. Ricardo Hausmann. Cesar A. Hidalgo. Harvard Kennedy School. Harvard Kennedy School MIT. August 2013 RWP

Dany Bahar. Ricardo Hausmann. Cesar A. Hidalgo. Harvard Kennedy School. Harvard Kennedy School MIT. August 2013 RWP Neighbors and the Evolution of the Comparative Advantage of Nations: Evidence of International Knowledge Diffusion? Faculty Research Working Paper Series Dany Bahar Harvard Kennedy School Ricardo Hausmann

More information

Research Article Diagnosing and Predicting the Earth s Health via Ecological Network Analysis

Research Article Diagnosing and Predicting the Earth s Health via Ecological Network Analysis Discrete Dynamics in Nature and Society Volume 2013, Article ID 741318, 10 pages http://dx.doi.org/10.1155/2013/741318 Research Article Diagnosing and Predicting the Earth s Health via Ecological Network

More information

Mean and covariance models for relational arrays

Mean and covariance models for relational arrays Mean and covariance models for relational arrays Peter Hoff Statistics, Biostatistics and the CSSS University of Washington Outline Introduction and examples Models for multiway mean structure Models for

More information

Online Appendix of the paper " How does sovereign bond market integration relate to fundamentals and CDS spreads?"

Online Appendix of the paper  How does sovereign bond market integration relate to fundamentals and CDS spreads? Online Appendix of the paper " How does sovereign bond market integration relate to fundamentals and CDS spreads?" Appendix A.1 - Summary statistics for sovereign bond returns Appendix A.2 - Correlations

More information

Roots of Autocracy. January 26, 2017

Roots of Autocracy. January 26, 2017 Roots of Autocracy Oded Galor Marc Klemp January 26, 2017 Abstract This research explores the origins of the variation in the prevalence and nature of political institutions across the globe. It advances

More information

Landlocked or Policy Locked?

Landlocked or Policy Locked? Landlocked or Policy Locked? How Services Trade Protection Deepens Economic Isolation Ingo Borchert joint work with Batshur Gootiiz, Arti Grover and Aaditya Mattoo Development Research Group The World

More information

Video Pandemics: Worldwide Viral Spreading of Psy s Gangnam Style Video

Video Pandemics: Worldwide Viral Spreading of Psy s Gangnam Style Video Video Pandemics: Worldwide Viral Spreading of Psy s Gangnam Style Video Zsófia Kallus 1,2, Dániel Kondor 1,3, József Stéger 1, István Csabai 1, Eszter Bokányi 1, and Gábor Vattay 1 ( ) 1 Department of

More information

World Bank Trustee for The Global Fund to Fight AIDS, Tuberculosis and Malaria

World Bank Trustee for The Global Fund to Fight AIDS, Tuberculosis and Malaria World Bank Trustee for The Global Fund to Fight AIDS, Tuberculosis and Malaria Introduction Trustee Report March 2011 1. The World Bank has been the Trustee for the Trust Fund (the Trust Fund ) for the

More information

Growth and Comparative Development

Growth and Comparative Development Growth and Comparative Development Oded Galor AEA Continuing Education Program Lecture I AEA 2014 Oded Galor Growth and Comparative Development Lecture I AEA 2014 1 / 61 Introduction Comparative Development

More information

26th Men's World Championship 2019

26th Men's World Championship 2019 As of SUN 27 JAN 2019 Group A Rank Team Pts MP W T L GF GA Diff. Team FRA GER BRA RUS SRB COR 1 FRA 9 5 4 1 0 138 113 25 FRA 25-25 24-22 23-22 32-21 34-23 2 GER 8 5 3 2 0 142 110 32 GER 25-25 34-21 22-22

More information

23rd Women's World Championship 2017

23rd Women's World Championship 2017 As of SUN 17 DEC 2017 Group A Rank Team Pts MP W T L GF GA Diff. Team ROU FRA ESP SLO ANG PAR 1 ROU 8 5 4 0 1 123 112 11 ROU 17-26 19-17 31-28 27-24 29-17 2 FRA 7 5 3 1 1 135 98 37 FRA 26-17 25-25 23-24

More information

FIRST-TIME COLLEGE OTHER TOTAL FIRST GRAND GEOGRAPHIC ORIGIN UNDERGRADUATES UNDERGRADUATES GRADUATES PROFESSIONAL TOTAL

FIRST-TIME COLLEGE OTHER TOTAL FIRST GRAND GEOGRAPHIC ORIGIN UNDERGRADUATES UNDERGRADUATES GRADUATES PROFESSIONAL TOTAL Report ID: USSR8071-IPED Page No. 1 Jurisdiction: ON-CAMPUS MISSOURI (BY COUNTY) 001 ADAIR 0 0 2 0 2 0 2 1 2 0 7 002 ANDREW 0 0 10 1 10 1 0 4 4 0 19 003 ATCHISON 0 0 2 1 2 1 0 0 1 0 4 004 AUDRAIN 0 0 3

More information

Latent Factor Models for Relational Data

Latent Factor Models for Relational Data Latent Factor Models for Relational Data Peter Hoff Statistics, Biostatistics and Center for Statistics and the Social Sciences University of Washington Outline Part 1: Multiplicative factor models for

More information

ISLANDS AS BAD GEOGRAPHY.

ISLANDS AS BAD GEOGRAPHY. ISLANDS AS BAD GEOGRAPHY. INSULARITY, CONNECTEDNESS, TRADE COSTS AND TRADE Luca De Benedictis Anna Maria Pinna March 15, 2015 Abstract In this paper we explore the geographical dimension of insularity,

More information

ISLANDS AS BAD GEOGRAPHY.

ISLANDS AS BAD GEOGRAPHY. ISLANDS AS BAD GEOGRAPHY. INSULARITY, CONNECTEDNESS, TRADE COSTS AND TRADE Luca De Benedictis Anna Maria Pinna August 20, 2014 Abstract In this paper we explore the geographical dimension of insularity,

More information

Chapter 8.F Representative Table and Composite Regions

Chapter 8.F Representative Table and Composite Regions Chapter 8.F Representative Table and Composite Regions Badri Narayanan G. This chapter describes three sets of regional groupings that are used in the construction of the GTAP Data Base, namely: the representative

More information

North-South Gap Mapping Assignment Country Classification / Statistical Analysis

North-South Gap Mapping Assignment Country Classification / Statistical Analysis North-South Gap Mapping Assignment Country Classification / Statistical Analysis Due Date: (Total Value: 55 points) Name: Date: Learning Outcomes: By successfully completing this assignment, you will be

More information

PTV World Map 2014 (Standardmap)

PTV World Map 2014 (Standardmap) PTV World Map 2014 (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV_World_Map_2014 DESK 2014 (=20er Stand) Data provider(s)

More information

The Out of Africa Hypothesis of Comparative Development Reflected by Nighttime Light Intensity

The Out of Africa Hypothesis of Comparative Development Reflected by Nighttime Light Intensity The Out of Africa Hypothesis of Comparative Development Reflected by Nighttime Light Intensity Quamrul Ashraf Oded Galor Marc Klemp April 26, 2014 Abstract This research establishes that migratory distance

More information

(1) (2) (3) Baseline (replicated)

(1) (2) (3) Baseline (replicated) Table A1: Regressions with nonlinear term and fixed effects (based on baseline specification of Table IV, column 4) (refers to footnotes 42 and 45 in the published paper) (1) (2) (3) Baseline (replicated)

More information

Political Economy of Institutions and Development. Lecture 7: The Role of the State and Different Political Regimes

Political Economy of Institutions and Development. Lecture 7: The Role of the State and Different Political Regimes 14.773 Political Economy of Institutions and Development. Lecture 7: The Role of the State and Different Political Regimes Daron Acemoglu MIT February 28, 2013. Daron Acemoglu (MIT) Political Economy Lecture

More information

Value added trade: A tale of two concepts

Value added trade: A tale of two concepts Value added trade: Robert Stehrer The Vienna Institute for International Economic Studies (wiiw) Version: 2012-12-09 December 10-11, 2012 - CompNet workshop ECB Frankfurt, Germany. Overview Two concepts

More information

Chapter 9.D Services Trade Data

Chapter 9.D Services Trade Data Chapter 9.D Services Trade Data Arjan Lejour, Nico van Leeuwen and Robert A. McDougall 9.D.1 Introduction This paper has two aims. First of all, it presents CPB s contribution of bilateral services trade

More information

PTV World Map 2017 (Standardmap)

PTV World Map 2017 (Standardmap) PTV World Map 2017 (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV_World_Map_2017 DESK 2017 (=23er Stand) Data provider(s)

More information

Curse or Blessing? Natural Resources and Human Development

Curse or Blessing? Natural Resources and Human Development Curse or Blessing? Natural Resources and Human Development José Pineda and Francisco Rodríguez 1 Human Development Report Office Abstract This paper argues against a natural resource curse for human development.

More information

Hierarchical models for multiway data

Hierarchical models for multiway data Hierarchical models for multiway data Peter Hoff Statistics, Biostatistics and the CSSS University of Washington Array-valued data y i,j,k = jth variable of ith subject under condition k (psychometrics).

More information

2008 Men's 20 European Championship / Qualification

2008 Men's 20 European Championship / Qualification GROUP 1 ( 2 teams) matches won draw lost goal difference points 1. SRB Serbia 0 0 0 0 0 : 0 0 0 1. EST Estonia 0 0 0 0 0 : 0 0 0 1. NED Netherlands 0 0 0 0 0 : 0 0 0 1. LAT Latvia 0 0 0 0 0 : 0 0 0 001

More information

ISLANDS AS BAD GEOGRAPHY.

ISLANDS AS BAD GEOGRAPHY. ISLANDS AS BAD GEOGRAPHY. INSULARITY, CONNECTEDNESS, TRADE COSTS AND TRADE Luca De Benedictis Anna Maria Pinna June 15, 2015 Abstract In this paper we explore the geographical dimension of insularity,

More information

Chapter 14 Representative Table and Composite Regions

Chapter 14 Representative Table and Composite Regions Chapter 14 Representative Table and Composite Regions Betina V. Dimaranan This chapter describes three sets of regional groupings that are used in the construction of the GTAP Data Base, namely: the representative

More information

European Common database on Nationally Designated. Areas (National CDDA) 2013 Quality assessment

European Common database on Nationally Designated. Areas (National CDDA) 2013 Quality assessment EUROPEAN TOPIC CENTRE ON BIOLOGICAL DIVERSITY European Common database on Nationally Designated Areas (National CDDA) 2013 Quality assessment ETC/BD task team: Brian Mac Sharry (MNHN) ETC/BD task manager:

More information

PTV Arabia City Map 2015 (Standardmap)

PTV Arabia City Map 2015 (Standardmap) PTV Arabia City Map 2015 (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV_Arabia_City_Map_2015 Data provider(s) Technology

More information

External Economies of Scale and Industrial Policy: A View from Trade

External Economies of Scale and Industrial Policy: A View from Trade External Economies of Scale and Industrial Policy: A View from Trade Dominick Bartelme (Michigan) Arnaud Costinot (MIT) Dave Donaldson (MIT) Andrés Rodríguez-Clare (Berkeley) External Economies of Scale

More information

working papers series ciencias sociales Ruggedness: The blessing of bad geography in Africa in Economics and Social Sciences 2007/09

working papers series ciencias sociales Ruggedness: The blessing of bad geography in Africa in Economics and Social Sciences 2007/09 ciencias sociales in Economics and Social Sciences 2007/09 Ruggedness: The blessing of bad geography in Africa by Nathan Nunn and Diego Puga March 2007 Ctra. Colmenar Viejo km. 14, 28049 Madrid, Spain

More information

Probability models for multiway data

Probability models for multiway data Probability models for multiway data Peter Hoff Statistics, Biostatistics and the CSSS University of Washington Outline Introduction and examples Hierarchical models for multiway factors Deep interactions

More information

NBER WORKING PAPER SERIES RUGGEDNESS: THE BLESSING OF BAD GEOGRAPHY IN AFRICA. Nathan Nunn Diego Puga

NBER WORKING PAPER SERIES RUGGEDNESS: THE BLESSING OF BAD GEOGRAPHY IN AFRICA. Nathan Nunn Diego Puga NBER WORKING PAPER SERIES RUGGEDNESS: THE BLESSING OF BAD GEOGRAPHY IN AFRICA Nathan Nunn Diego Puga Working Paper 14918 http://www.nber.org/papers/w14918 NATIONAL BUREAU OF ECONOMIC RESEARCH 1050 Massachusetts

More information

PTV World City Map Premium T (Standardmap)

PTV World City Map Premium T (Standardmap) PTV World City Map Premium 2018.2T (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV World City Map Premium 2018.2T Data

More information

PTV World City Map Premium T (Standardmap)

PTV World City Map Premium T (Standardmap) PTV World City Map Premium 2019.1T (Standardmap) Map version name (Core) Map version name (Logistic) Release date (Logistics) Map version name (Logistics) (new) PTV World City Map Premium 2019.1T Data

More information

Colonialism, Institutional Quality and the Resource Curse. Jubril O. Animashaun 1 Department of Economics, University of Manchester, UK Abstract

Colonialism, Institutional Quality and the Resource Curse. Jubril O. Animashaun 1 Department of Economics, University of Manchester, UK Abstract Colonialism, Institutional Quality and the Resource Curse Jubril O. Animashaun 1 Department of Economics, University of Manchester, UK Abstract In many resource endowed countries, hydrocarbon endowment

More information

Testing measurement invariance in a confirmatory factor analysis framework State of the art

Testing measurement invariance in a confirmatory factor analysis framework State of the art Philipp E. Sischka University of Luxembourg Contact: Philipp Sischka, University of Luxembourg, INSIDE, Porte des Sciences, L-4366 Esch-sur-Alzette, philipp.sischka@uni.lu Testing measurement invariance

More information

Quality, Variable Markups, and Welfare: A Quantitative General Equilibrium Analysis of Export Prices

Quality, Variable Markups, and Welfare: A Quantitative General Equilibrium Analysis of Export Prices Quality, Variable Markups, and Welfare: A Quantitative General Equilibrium Analysis of Export Prices Haichao Fan Fudan Yao Amber Li HKUST Stephen R. Yeaple PSU, NBER and CESifo Sichuang Xu HKUST This version:

More information

Does socio-economic indicator influent ICT variable? II. Method of data collection, Objective and data gathered

Does socio-economic indicator influent ICT variable? II. Method of data collection, Objective and data gathered Does socio-economic indicator influent ICT variable? I. Introduction This paper obtains a model of relationship between ICT indicator and macroeconomic indicator in a country. Modern economy paradigm assumes

More information

GEOGRAPHY RULES TOO! ECONOMIC DEVELOPMENT AND THE GEOGRAPHY OF INSTITUTIONS

GEOGRAPHY RULES TOO! ECONOMIC DEVELOPMENT AND THE GEOGRAPHY OF INSTITUTIONS GEOGRAPHY RULES TOO! ECONOMIC DEVELOPMENT AND THE GEOGRAPHY OF INSTITUTIONS MAARTEN BOSKER HARRY GARRETSEN CESIFO WORKING PAPER NO. 1769 CATEGORY 5: FISCAL POLICY, MACROECONOMICS AND GROWTH JULY 2006 An

More information

Supplementary Appendix for. Version: February 3, 2014

Supplementary Appendix for. Version: February 3, 2014 Supplementary Appendix for When Do Governments Resort to Election Violence? Version: February 3, 2014 This appendix provides supplementary information not included in the published draft. Supplementary

More information

Evolution Strategies for Optimizing Rectangular Cartograms

Evolution Strategies for Optimizing Rectangular Cartograms Evolution Strategies for Optimizing Rectangular Cartograms Kevin Buchin 1, Bettina Speckmann 1, and Sander Verdonschot 2 1 Department of Mathematics and Computing Science, TU Eindhoven, Eindhoven, The

More information

Is the consumption-income ratio stationary? Evidence from linear and nonlinear panel unit root tests for OECD and non-oecd countries

Is the consumption-income ratio stationary? Evidence from linear and nonlinear panel unit root tests for OECD and non-oecd countries Is the consumption-income ratio stationary? Evidence from linear and nonlinear panel unit root tests for OECD and non-oecd countries Mario Cerrato Department of Economics University of Glasgow Christian

More information

Two Stage Modelling of Arms Trade: Applying Inferential Network Analysis on the Cold War Period

Two Stage Modelling of Arms Trade: Applying Inferential Network Analysis on the Cold War Period Two Stage Modelling of Arms Trade: Applying Inferential Network Analysis on the Cold War Period Eva Ziegler, Michael Lebacher ú, Paul W. Thurner, Göran Kauermann ú Draft version. Do not cite! We demonstrate

More information

EXPLORING THE NUMBER OF FIRST-ORDER POLITICAL SUBDIVISIONS ACROSS COUNTRIES: SOME STYLIZED FACTS*

EXPLORING THE NUMBER OF FIRST-ORDER POLITICAL SUBDIVISIONS ACROSS COUNTRIES: SOME STYLIZED FACTS* JOURNAL OF REGIONAL SCIENCE, VOL. 49, NO. 2, 2009, pp. 243 261 EXPLORING THE NUMBER OF FIRST-ORDER POLITICAL SUBDIVISIONS ACROSS COUNTRIES: SOME STYLIZED FACTS* Maximilian Auffhammer Department of Agricultural

More information

Solow model: Convergence

Solow model: Convergence Solow model: Convergence Per capita income k(0)>k* Assume same s, δ, & n, but no technical progress y* k(0)=k* k(0) k Assume same s, δ, &

More information

Are All Fishers Equal? Bettina Aten and Alan Heston 1

Are All Fishers Equal? Bettina Aten and Alan Heston 1 Draft of 4/30/09 Are All Fishers Equal? Bettina Aten and Alan Heston 1 As against these assertions (of Fisher) I purpose to show: 2) That the circular test may also be fulfilled by index numbers constructed

More information

ISLANDS AS BAD GEOGRAPHY.

ISLANDS AS BAD GEOGRAPHY. ISLANDS AS BAD GEOGRAPHY. INSULARITY, CONNECTEDNESS, HISTORY AND TRADE COSTS Luca De Benedictis Anna Maria Pinna February 15, 2018 Abstract In this paper we explore how geography can be changed by history,

More information

Latent SVD Models for Relational Data

Latent SVD Models for Relational Data Latent SVD Models for Relational Data Peter Hoff Statistics, iostatistics and enter for Statistics and the Social Sciences University of Washington 1 Outline 1 Relational data 2 Exchangeability for arrays

More information

THE EFFECTS OF CONSUMER DEMAND PARAMETERS ON TRADE POLICY ANALYSIS: AN APPLICATION TO THE WORLD BANK LINKAGE MODEL

THE EFFECTS OF CONSUMER DEMAND PARAMETERS ON TRADE POLICY ANALYSIS: AN APPLICATION TO THE WORLD BANK LINKAGE MODEL Paper prepared for the 10 th Annual Conference on Global Economic Analysis hosted by Purdue University, West Lafayette, Indiana, USA, June 7-9, 2007 THE EFFECTS OF CONSUMER DEMAND PARAMETERS ON TRADE POLICY

More information

Trade Structure and Growth **

Trade Structure and Growth ** Trade Structure and Growth ** Daniel Lederman William F. Maloney Office of the Chief Economist for Latin America and the Caribbean The World Bank Washington, DC November 2003 Abstract: This paper examines

More information

Consumption-led Growth

Consumption-led Growth 1 / 31 Consumption-led Growth Markus Brunnermeier markus@princeton.edu Pierre-Olivier Gourinchas pog@berkeley.edu Oleg Itskhoki itskhoki@princeton.edu University of Helsinki Helsinki, November 2018 Introduction

More information

Evidence of bias in the Eurovision song contest: modelling the votes using Bayesian hierarchical models

Evidence of bias in the Eurovision song contest: modelling the votes using Bayesian hierarchical models Journal of Applied Statistics ISSN: 0266-4763 (Print) 1360-0532 (Online) Journal homepage: http://www.tandfonline.com/loi/cjas20 Evidence of bias in the Eurovision song contest: modelling the votes using

More information

Forecasting GDP growth from the outer space *

Forecasting GDP growth from the outer space * Forecasting GDP growth from the outer space * Jaqueson K. Galimberti ETH Zurich, Switzerland February 17, 2017 Abstract We evaluate the usefulness of satellite-based data on nighttime lights for the prediction

More information

GLOBAL VS. GROUP-SPECIFIC BUSINESS CYCLES: THE IMPORTANCE OF DEFINING THE GROUPS

GLOBAL VS. GROUP-SPECIFIC BUSINESS CYCLES: THE IMPORTANCE OF DEFINING THE GROUPS Number 334 January 2018 GLOBAL VS. GROUP-SPECIFIC BUSINESS CYCLES: THE IMPORTANCE OF DEFINING THE GROUPS Tino Berger and Marcus Wortmann ISSN: 1439-2305 Global vs. group-specific business cycles: The importance

More information

ISLANDS AS BAD GEOGRAPHY.

ISLANDS AS BAD GEOGRAPHY. ISLANDS AS BAD GEOGRAPHY. INSULARITY, CONNECTEDNESS, HISTORY AND TRADE COSTS Luca De Benedictis Anna Maria Pinna October 27, 2016 Abstract In this paper we explore how geography can be changed by history.

More information

Situation on the death penalty in the world. UNGA Vote 2012 Resolutio n 67/176. UNGA Vote 2010 Resolutio n 65/206. UNGA Vote 2008 Resolutio n 63/168

Situation on the death penalty in the world. UNGA Vote 2012 Resolutio n 67/176. UNGA Vote 2010 Resolutio n 65/206. UNGA Vote 2008 Resolutio n 63/168 Situation on the death penalty in the world Prepared by the International Commission against the Death Penalty (ICDP), as of 8 June 2014. Based on Amnesty International and Death Penalty Worldwide. Country

More information

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018 Econometrics I KS Module 1: Bivariate Linear Regression Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: March 12, 2018 Alexander Ahammer (JKU) Module 1: Bivariate

More information

Canadian Imports of Honey

Canadian Imports of Honey of 0409000029 - Honey, natural, in containers of a weight > 5 kg, nes (Kilogram) Argentina 236,716 663,087 2,160,216 761,990 35.27% 202.09% /0 76,819 212,038 717,834 257,569 35.88% 205.69% /0 United States

More information

Growth: Facts and Theories

Growth: Facts and Theories Notes on Growth: Facts and Theories Intermediate Macroeconomics Spring 2006 Guido Menzio University of Pennsylvania Growth In the last part of the course we are going to study economic growth, i.e. the

More information

Gross trade, value-added trade and spatial autocorrelation: case of EU Member States

Gross trade, value-added trade and spatial autocorrelation: case of EU Member States Paweł Folfas, Warsaw School of Economics Gross trade, value-added trade and spatial autocorrelation: case of EU Member States Introduction This paper is aimed at checking the existence of absolute income

More information

Climate Change and Food Security: Do Spatial Spillovers Matter?

Climate Change and Food Security: Do Spatial Spillovers Matter? Climate Change and Food Security: Do Spatial Spillovers Matter? Eric Nazindigouba Kere, Somlanare Romuald Kinda To cite this version: Eric Nazindigouba Kere, Somlanare Romuald Kinda. Climate Change and

More information

04 June Dim A W V Total. Total Laser Met

04 June Dim A W V Total. Total Laser Met 4 June 218 Member State State as on 4 June 218 Acronyms are listed in the last page of this document. AUV Mass and Related Quantities Length PR T TF EM Mass Dens Pres F Torq Visc H Grav FF Dim A W V Total

More information

Global Gazetteer. Product Guide

Global Gazetteer. Product Guide Global Gazetteer Product Guide Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No part of this document

More information

Identifying regular blocks in valued networks: A heuristic applied to the St. Marks carbon flow data, and international trade in cereal products

Identifying regular blocks in valued networks: A heuristic applied to the St. Marks carbon flow data, and international trade in cereal products Identifying regular blocks in valued networks: A heuristic applied to the St. Marks carbon flow data, and international trade in cereal products Nordlund, Carl Published in: Social Networks DOI: 10.1016/j.socnet.2005.12.001

More information

Most Recent Periodic Report Initial State Report. Next Periodic Accession/Ratification. Report Publication Publication. Report Due

Most Recent Periodic Report Initial State Report. Next Periodic Accession/Ratification. Report Publication Publication. Report Due Country Signature Most Recent Periodic Report Initial State Report Next Periodic Accession/Ratification Report Publication Publication Report Due Number Date Afghanistan 4 Feb 1985 1 Apr 1987 25 Jun 1992

More information

PROPOSED BUDGET FOR THE PROGRAMME OF WORK OF THE CONVENTION ON BIOLOGICAL DIVERSITY FOR THE BIENNIUM Corrigendum

PROPOSED BUDGET FOR THE PROGRAMME OF WORK OF THE CONVENTION ON BIOLOGICAL DIVERSITY FOR THE BIENNIUM Corrigendum CBD Distr. GENERAL UNEP/CBD/COP/11/10/Corr.1 6 October ORIGINAL: ENGLISH CONFERENCE OF THE PARTIES TO THE CONVENTION ON BIOLOGICAL DIVERSITY Eleventh meeting Hyderabad, India, 8-19 October Item 14.2 of

More information

TRADE EFFECTS OF THE NEW SILK ROAD

TRADE EFFECTS OF THE NEW SILK ROAD TRADE EFFECTS OF THE NEW SILK ROAD Suprabha Baniya, Nadia Rocha, Michele Ruta 1 July 2018 Abstract This paper takes a first look at the trade effects of China s Belt and Road Initiative (BRI), also referred

More information

New Indicators of Competition Law and Policy in 2013 for OECD and non- OECD Countries

New Indicators of Competition Law and Policy in 2013 for OECD and non- OECD Countries Please cite this paper as: Alemani, E. et al. (2013), New Indicators of Competition Law and Policy in 2013 for OECD and non-oecd Countries, OECD Economics Department Working Papers, No. 1104, OECD Publishing,

More information

Clustering and blockmodeling

Clustering and blockmodeling ISEG Technical University of Lisbon Introductory Workshop to Network Analysis of Texts Clustering and blockmodeling Vladimir Batagelj University of Ljubljana Lisbon, Portugal: 2nd to 5th February 2004

More information