Publications by EWN

HW10

21.04.2020

HW10 EWN 04/20/2020 necessaryPackages <- c("tidyverse","ggplot2", "dplyr", "RColorBrewer", "reshape2", "matrixStats", "lmtest", "sandwich", "foreign", "ggplot2" , "lattice", "rdd", "stargazer") new.packages <- necessaryPackages[ !(necessaryPackages %in% installed.packages()[,"Package"])] if(length(new.packages)) install.packages(new.packages) ...

1899 sym R (7671 sym/20 pcs) 5 img

HW9

14.04.2020

knitr::opts_chunk$set(echo = TRUE, eval=TRUE, message=FALSE, warning=FALSE, fig.height=4) necessaryPackages <- c("rvest", "tidyverse", "ggplot2", "dplyr", "plm", "foreign","reshape2", "matrixStats", "lmtest", "sandwich", "stargazer") new.packages <- necessaryPackages[ !(necessaryPackages %in% installed.packages()[,"Package"])] if(length(new.pac...

7657 sym R (7677 sym/20 pcs) 5 tbl

HW8

28.03.2020

HW8 EWN 03/27/2020 knitr::opts_chunk$set(echo = TRUE, eval=TRUE, message=FALSE, warning=FALSE, fig.height=4) necessaryPackages <- c("rvest", "tidyverse", "ggplot2", "dplyr", "RColorBrewer", "ggiraphExtra", "ggiraph", "knitr") new.packages <- necessaryPackages[ !(necessaryPackages %in% installed.packages()[,"Package"])] if(length(new.packages))...

1107 sym R (10614 sym/9 pcs) 2 img

HW6

19.02.2020

HW6 EWN 2/18/2020 TASK 1: Using World Bank Data I use female labor participation data from the World Bank to analyze two things: - Female labor force participation rate across the world - Change in female labor force participation across three sectors (Agricultural, Industrial, and Services) in the United States for the years 1991-2019. 1. Femal...

4986 sym R (5897 sym/8 pcs) 5 img

HW5

10.02.2020

HW5 EWN 2/10/2020 Optional task 1: Map presidential elections results with the maps package data <- read.csv("C:/Users/Ag User/iCloudDrive/Desktop/GRAD/PhD/SEM4/AAEC8610/HW5/data/1976-2016-president.csv") winner <- data %>% group_by(state, year) %>% top_n(1, candidatevotes) winner <- mutate(winner, partyColor=recode(as.character(party), ...

305 sym R (2435 sym/4 pcs) 2 img

HW4

03.02.2020

DISCLAIMER AND CITATION: This homework is attempting to reproduce parts of the New Yorker article by John Cassidy, dated March 26, 2014, and titled “Piketty’s Inequality Story in Six Charts”. All text was lifted directly from that article. Figures are compiled using data that was found at this address. This is purely an exercise in reproduc...

5106 sym R (4706 sym/3 pcs) 3 img

HW3

27.01.2020

This HW has already been graded: A+ a) Rating faithfulness of based on photographs (Conclusion: women make more accurate predictions!) I use the FaithfulFaces dataset to estimate the relationship between characteristics of faces that are displayed in photographs and peoples’s ratings of faithfulness based on those characteristics. Some relevan...

1807 sym R (996 sym/4 pcs) 1 img