Publications by Ying Huang
Comparing survival time-Event History Analysis
DEM 7223 - Event History Analysis - Comparing Survival Times Between Groups CodeShow All CodeHide All CodeView Source Author Samson A. Olowolaju, MPH Published September 15, 2022 Load the Pharmacy Dataset Code# Import the data for active pharmacies in Texas TxRX0122 <- import("TxRX0122.xlsx") %>% filter(LIC_STATUS %in% c("Active","P...
2344 sym Python (21125 sym/13 pcs) 3 img
Parametric Hazard Models
DEM 7223 - Event History Analysis - Parametric Hazard Models CodeShow All CodeHide All CodeView Source Author Samson A. Olowolaju, MPH Published September 22, 2022 Import the Dataset Codetracts.texas.pharmacy <- import("tracts.texas.pharmacy.rds") %>% mutate(phy_type=ifelse(phy_type %in%c("Community Indep","Community Independent"), "Com...
1477 sym 5 img
Cox proportional Hazard Models
DEM 7223 - Event History Analysis - Cox Regression Model CodeShow All CodeHide All CodeView Source Author Samson A. Olowolaju, MPH Published October 6, 2022 Import the Dataset Code tracts.texas.pharmacy <- import("tracts.texas.pharmacy.rds") %>% mutate(phy_type=ifelse(phy_type %in%c("Community Indep","Community Independent"), "Communit...
1958 sym Python (15304 sym/16 pcs) 5 img
Discrete Time Hazard Model
DEM 7223 - Event History Analysis - Discrete Time Hazard Model CodeShow All CodeHide All CodeView Source Author Samson A. Olowolaju, MPH Published October 27, 2022 Import the Dataset Codetracts.texas.pharmacy <- import("tracts.texas.pharmacy.rds") %>% mutate(phy_type=ifelse(phy_type %in%c("Community Indep","Community Independent"), "Com...
1517 sym Python (31987 sym/26 pcs) 4 img
learning_R
## Warning: package 'kableExtra' was built under R version 4.0.2 ## Warning: package 'dplyr' was built under R version 4.0.2 Installation Mac users To Install R Open an internet browser and go to www.r-project.org. Click the “download R” link in the middle of the page under “Getting Started.” Select a CRAN location (a mirror site) and ...
6006 sym R (100306 sym/273 pcs) 16 img
Class_example
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
591 sym R (268 sym/2 pcs) 1 img
Lab_Session_Homework
## Warning: package 'kableExtra' was built under R version 4.0.2 ## Warning: package 'dplyr' was built under R version 4.0.2 Replace with Section Title Make a bullet point. # R commands go here. # You can adjust fig.height, and fig.width to make graphs look better. # For example, for a small graph, try {r fig.width=4, fig.height=4}; # for a gr...
779 sym R (48388 sym/150 pcs) 12 img
Stat_exam
##load packages to use and data for the analysis ## Warning: package 'dplyr' was built under R version 4.0.2 ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union ## Warning: package ...
1550 sym R (5343 sym/46 pcs) 2 img
Assignment_#2
##load packages to use library(dplyr) ## Warning: package 'dplyr' was built under R version 4.0.2 ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ipumsr) ## Warning: pac...
913 sym R (6044 sym/55 pcs) 4 img