Publications by Ying Huang

Regression spline

24.04.2021

Data Preparation #Load data for analysis#sub-setting and Re-codding variables for analysis purposes brfss <- readRDS("brfss_177.rds") # Cleaning the variable names for space, underscore & Uppercase Characters renam<-names(brfss) newnames<-tolower(gsub(pattern = "_",replacement = "",x = renam)) names(brfss)<-newnames homewk3 <- brfss %>...

5050 sym R (5185 sym/7 pcs) 1 img

Longitudinal Data Analysis

23.04.2021

In this example, we will use Generalized Estimating Equations to do some longitudinal modeling of data from the ECLS-K 2011. Specifically, we will model changes in a student’s standardized math score as a continuous outcome and self rated health as a binomial outcome, from fall kindergarten to spring, 1st grade. Introduction to GEE’s Up unti...

37621 sym R (22368 sym/86 pcs) 3 img 1 tbl

Multi-level Models

28.04.2021

A Fundamental problem of names Before we begin our discussion of multi-level data, we must first clarify some semantics. The models we are going to be describing and using in this and the following lesson go by a variety of different names, depending on the disciplinary tradition you may come from. To clarify, these models all follow common forms...

75467 sym R (12527 sym/64 pcs) 17 img

GLMM(s) using the INLA Approximation

27.11.2021

Data Manipulations # Get US county socio-economic variables from Area resource file 2019-2020 arf2020<-import("ahrf2020.sas7bdat") arf2020<-arf2020%>% mutate(cofips=as.factor(f00004), coname=f00010, state = f00011, medhouvl=f1461314, pctcrpop= round(100*(f1492010/f0453010),2), medhinc= f1434514, ...

19566 sym R (11201 sym/34 pcs) 7 img

Calculating Indices of Segregation

01.11.2021

Data Manipulations # Get other US county Hispanic/Ethnicity Race variables from the 5 year (2015-2019) ASC data source. us <- unique(fips_codes$state)[1:51] Racetable <- map_df(us, function(x) {get_acs(geography = "tract", year=2019, geometry = F, output="wide", ...

9026 sym R (1938 sym/5 pcs) 1 img

Spatial Generalized Linear Models

18.10.2021

Data Manipulations # Get US county socio-economic variables from Area resource file 2019-2020 arf2020<-import("ahrf2020.sas7bdat") arf2020<-arf2020%>% mutate(cofips=as.factor(f00004), coname=f00010, state = f00011, medhouvl=f1461314, pctcrpop= round(100*(f1492010/f0453010),2), medhinc= f1434514, ...

12068 sym R (5288 sym/9 pcs) 1 img

Document Spatial Regression

27.09.2021

Data Manipulations # Get county socio-economic variables from Area resource file 2019-2020 arf2020<-import("ahrf2020.sas7bdat") arf2020<-arf2020%>% filter(f00011=="48") %>% mutate(cofips=as.factor(f00004), coname=f00010, state = f00011, medhouvl=f1461314, pctcrpop= round(100*(f1492010/f0453010),2), ...

15941 sym R (13497 sym/11 pcs) 4 img

Spatial Exploratory analysis

13.09.2021

# Download ACS data for the year 2015 for Los Angeles County, California census tracts in R using the tidycensus library LA_county <- get_acs(geography = 'tract',variables = c(totPop15 = "B01001_001", hispanic ="B03003_003", afrAm = "B02001_00...

16541 sym R (11187 sym/30 pcs) 8 img

Spatial Regimes

11.10.2021

Data Manipulations # Get US county socio-economic variables from Area resource file 2019-2020 arf2020<-import("ahrf2020.sas7bdat") arf2020<-arf2020%>% mutate(cofips=as.factor(f00004), coname=f00010, state = f00011, medhouvl=f1461314, pctcrpop= round(100*(f1492010/f0453010),2), medhinc= f1434514, ...

19386 sym R (2606 sym/1 pcs) 1 img 4 tbl

GIS Home work 1

20.01.2022

Samson A. Olowolaju samson.olowolaju@utsa.edu R version 4.1.2 Screen Shot QGIS version 3.16 Screen Shot LS0tDQp0aXRsZTogIkdJUyBIb21ld29yayAxIg0KYXV0aG9yOiAiU2Ftc29uIEEgT2xvd29sYWp1LCBNUEgiDQpkYXRlOiAiYHIgZm9ybWF0KFN5cy50aW1lKCksICclZCAlQiwgJVknKWAiDQpvdXRwdXQ6DQogICBodG1sX2RvY3VtZW50Og0KICAgIGRmX3ByaW50OiBwYWdlZA0KICAgIGZpZ19oZWlnaHQ6IDcNCiAg...

970 sym 2 img