Publications by Victor Feagins
HW 1 Spatial Demography
Packages library(tidycensus) library(dplyr) library(sf) library(spdep) library(ggplot2) Data df <-get_acs(geography = "tract", state="TX", county = "Travis", year = 2015, variables=c("DP05_0073P", "DP05_0073", #Not Hispanic Black "DP05_0066P", "...
1008 sym R (4794 sym/24 pcs) 9 img
Demography HW 2
Packages library(spatialreg) #Spatial Auto regressive function library(spdep) # Constructing Neighbors library(sf) # Manipulating spatial objects library(tidycensus) #Bringing in Data from Census library(dplyr) # Manipulating dataframes library(stringr) #Manipulating strings library(ggplot2) # For plotting Data Teacher Data df.r <- read....
1203 sym R (5624 sym/19 pcs) 2 img
Survival Analysis HW 3
Question 5.8 Using the data from Table 3.1 compare the age distribution of the two groups Lifetime In this problem we will be looking at lifetime of a patient comparing treatments. surv.data.5.8 <- Surv(df.5.8$LIFETIME, df.5.8$DEATH) km.5.8 <- survfit(surv.data.5.8 ~ TREATMENT, data = df.5.8) summary(km.5.8) ## Call: survfit(formula = surv.dat...
1472 sym R (8184 sym/19 pcs) 3 img 2 tbl