Publications by Christine Thomas

DEM 5093 HW 5

25.02.2021

Report the geocoding results in terms of % correctly geocoded. WIC reported 73/74 Grocery reported 58/59 ...

112 sym 1 img

DEM 5283/7283 HW 3

16.02.2021

#load libraries library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/package=stargazer library(survey) ## Loading required package: grid ## Loading required ...

1213 sym R (7058 sym/41 pcs) 3 img 4 tbl

DEM 5283/7283 HW 2

07.02.2021

Define a binary outcome variable of your choosing and define how you recode the original variable. Binary outcome variable: CMIMAJORD Had major depression, past 12 months library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistic...

1494 sym R (3688 sym/25 pcs)

DEM 5093

10.02.2021

Repeat this process, but use the NAD83 layer instead. What is the distance between the two points? Is this distance interpretable? The tracts are 0.18836 meters apart, this is 0.18836 * 0.000621371 (m/mile) = 0.0001170414 miles. Google maps gives the distance between One UTSA Circle and 301 South Frio St as 14.5miles. Cleary we cannot rely on thi...

1145 sym

DEM 5093

13.02.2021

Find the ACS variable for the Percent Vacant housing units for 2011 and 2019 for Dallas County, TX library(tidycensus) library(tidyverse) ## -- Attaching packages ---------------------------------------- tidyverse 1.3.0 -- ## v ggplot2 3.3.3 v purrr 0.3.4 ## v tibble 3.0.3 v dplyr 1.0.3 ## v tidyr 1.1.1 v stringr 1.4.0 ## v...

513 sym R (10454 sym/40 pcs) 3 img

DEM 5093 HW 8

12.04.2021

Multiple Imputation & Missing Data library(car) ## Loading required package: carData library(mice) ## Warning: package 'mice' was built under R version 4.0.5 ## ## Attaching package: 'mice' ## The following object is masked from 'package:stats': ## ## filter ## The following objects are masked from 'package:base': ## ## cbind, rbi...

1076 sym R (909036 sym/82 pcs) 4 img

DEM 5283/7283 HW 5

15.03.2021

## Warning: package 'VGAM' was built under R version 4.0.4 #load data library(haven) data <- read_stata("nhis_00007.dta.gz") Alternative logit specifications Define an ordinal or multinomial outcome variable of your choosing and define how you will recode the original variable. I will use self reported health status, this outcome variable is ...

1800 sym R (8273 sym/24 pcs) 1 img

DEM 5093 HW 6

21.03.2021

#load brfss library(car) library(stargazer) library(survey) library(sjPlot) library(ggplot2) #load data library(haven) data <- read_stata("nhis_00007.dta.gz") #depression data$depress<-Recode(data$cmimajord, recodes="1=0; 2=1; else=NA") #health data$health <-as.numeric(data$health) data$healthst<-Recode(data$health, ...

1041 sym R (9275 sym/27 pcs) 1 img

DEM 5093 HW 7

29.03.2021

#load libraries library(car, quietly = T) library(stargazer, quietly = T) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. ## R package version 5.2.2. https://CRAN.R-project.org/package=stargazer library(survey, quietly = T) ## ## Attaching package: 'survey' ## The followin...

1035 sym R (4690 sym/25 pcs) 3 img

HW 10

03.05.2021

Multilevel models – Random intercepts Use the BRFSS for this assignment, UNLESS your data set has a higher level variable like school, county, metro area, etc. You can contact me if you are uncertain. library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Marek (2018). stargazer: Well-Formatted ...

1201 sym R (9317 sym/60 pcs)