Publications by Christina Quintanilla-Muñoz
Homework 1
Christina Quintanilla-Muñoz christina.quintanilla-munoz@my.utsa.edu Use a screen capture tool to take a capture of your current R version and current installation of QGIS version. My R version 4.1.2 My QGIS version 3.16 ...
235 sym 2 img
Homework 2: Survey Design and Weights
library(car) ## Loading required package: carData library(survey) ## Loading required package: grid ## Loading required package: Matrix ## Loading required package: survival ## ## Attaching package: 'survey' ## The following object is masked from 'package:graphics': ## ## dotchart library(questionr) library(dplyr) ## ## Attaching pack...
1311 sym R (7407 sym/34 pcs) 1 tbl
Homework 1
Christina Quintanilla-Muñoz christina.quintanilla-munoz@my.utsa.edu Use a screen capture tool to take a capture of you R session showing version 4.1.2 Homework 0.1: Make sure Rstudio is version 2021.09.2-382.exe, if not, update it Make sure R is version 4.1.2, if not, update it Run the start up script here: https://github.com/coreysparks/Rcode...
668 sym 1 img
Homework 2: Median Household Income, Bexar County 2017
Get a Census developer API Key Obtain one at the Census Developer website Save your API key to your working directory use tidycensus::census_api_key(key = "d42eebdfb8a5be15b37eb8cef2a3abc37a71f12b", install = T) One time to install your key for use in tidycensus library(tidycensus) library(tidyverse) library(sf) library(ggplot2) library(cla...
1958 sym R (6189 sym/22 pcs) 5 img
Homework 6 - Count Models
Count Model Data Using the AHRF For this short report, I use counts from the 2019-20 Area Health Resource Files and focus on the count outcome of percentage of food stamp/SNAP recipients in Texas counties based on urban/rural county status. I apply an offset term (i.e. log(Population))in the model to account for unequal population sizes across T...
984 sym R (363 sym/5 pcs) 1 img 3 tbl
Homework 3: Logit/Probit Regression Model
Importing Data Recoding the Variables A binary outcome variable “hlthcare” was defined by dichotomizing “hlthpln1,” a variable from the 2020 BRFSS survey data which measures whether a survey respondent has health care coverage, including health insurance, prepaid plans or government plans. Does access to healthcare coverage vary on the ...
15826 sym R (5796 sym/28 pcs) 4 img 3 tbl
Homework 4 - Change Mapping Percent Vacant Housing Rates, Harris County
This example will use R to download American Community Survey summary file tables using the tidycensus package. The goal of this example is to illustrate how to download data from the Census API using R, how to create basic descriptive maps of attributes and how to construct a change map between two time periods. The example will use data from Ha...
1130 sym R (9784 sym/35 pcs) 2 img
Homework 4: Logistic Regression as a Predictive Model
Logistic Regression as a Predictive Model For this short report, I use 2020 Behavioral Risk Factor Surveillance System data on chronic health conditions. I use the outcome of depressive disorder diagnosis as my outcome. ### Load libraries library(car) ## Loading required package: carData library(stargazer) ## ## Please cite as: ## Hlavac, Mar...
14045 sym R (13757 sym/57 pcs) 4 img 1 tbl
Homework 5 - Ordinal & Multinomial Logit Models
Multinomial Logit Model with 2020 BRFSS This short report uses 2020 CDC Behavioral Risk Factor Surveillance System (BRFSS) data Link for fitting an multinomial logit model that examines the research question: How do demographic factors such as race/ethnicity, education level, and marital status influence choice of home ownership? The outcome vari...
2326 sym R (2499 sym/8 pcs) 1 tbl
Homework 7: PCA
Principal Components For this short report, I use the technique of Principal Components Analysis (PCA) to form an index of student engagement in education using data from the 2019 National Household Education Survey (NHES), made available by the National Center for Education Statistics (NCES). The index will be comprised of 5 variables: - Days ab...
6613 sym R (6161 sym/18 pcs) 2 img