Publications by Coda Rayo-Garza

Cox Proportional Hazard

06.10.2022

Cox HW Author CRG Homework #3: Cox Model For this homework, I am using the DHS file for Bangladesh 2014 data. Hypothesis I’ve been very interested in differences that stem from multi-generational households in relation to a variety of topics. In this case, I was seeking to understand if multigenerational are more likely to have a second bi...

2697 sym R (467533 sym/53 pcs) 10 img

New_NDI

07.10.2022

NDI Author Coda Rayo-Garza Using the NDI Package The NDI Package was created by Ian D. Buller. It includes several depravation indices. Here we will use the NDI Deprivation Index. First, load packages #|warning: false library(waywiser) library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': ...

406 sym Python (3186 sym/22 pcs) 2 img

Discrete Time Hazards

27.10.2022

Discrete Time Hazard Models Author Coda Rayo-Garza Discrete Time Hazard Model Discrete-time models analyse time-to-event data when survival times are intrinsically discrete (e.g. number of machine cycles) or grouped into discrete intervals of time (often referred to as interval censoring). -Mills, Chapter 10 Preparing the Data I am again us...

2177 sym Python (7926 sym/21 pcs) 4 img 1 tbl

Examining Multigenerational Households and Fertility in Bangladesh Using Survival Analysis

17.11.2022

Table of contents Abstract Literature Data and Methodology Results & Discussion Limitations and Conclusion R-Analysis, Code and Steps Taken Bangladesh, 1993-94 Bangladesh, 2017-18 Sources Examining Multigenerational Households and Fertility Using Survival Analysis Author Coda Rayo-Garza Abstract Household structure plays an important role...

15292 sym R (6102 sym/25 pcs) 10 img 1 tbl

Paid Family Leave Model for Texas

22.12.2022

PFL_ACS_2 Author Coda Rayo-Garza Cost to Texas for Paid Family Leave Program For this estimate, I am utilizing 1-Year American Community Survey data for 2019. The parameters for estimating costs to Texas include: Max benefit of 12 weeks paid parental leave for all workers that have worked a minimum of 3 full months of full time employment or...

2034 sym R (2879 sym/15 pcs) 1 tbl

Median Income by Citizen by Educ

09.01.2023

Income, Nativity, Educ Author Coda Median Income Using 1-Year ACS Data from 2021 #Commented code was for 5-year data, did not filter for age. Reformat. # library(tidyverse) # library(broom) # library (ipumsr) # library(dplyr) # # # # # Set the working directory # setwd("C:/Users/rayo-garza/Documents/R 2022") # # usa_00035<- rea...

933 sym R (12221 sym/68 pcs) 2 img

DEM 7273 Lab I

29.08.2020

> # 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 graph with two side-by-side panels, try {r fig.height=4}. Intersperse R code chunks with explanatory text as needed. Press the Knit button in the toolbar to process t...

894 sym R (604 sym/19 pcs)

Midterm_Fall2020

20.10.2020

6a.Generate a boxplot of poverty rate at the county level (2 points). Based on the boxplot, what is the median poverty rate and the interquartile range (IQR) of the poverty rate? (2 points) What’s the minimum and maximum values for the poverty rate? (4 points) Note: the function to generate boxplot in R is boxplot(data$var, main=”title of box...

1225 sym R (3616 sym/36 pcs) 2 img

Rayo-Garza_Lab916

27.09.2020

library(dplyr) ## ## 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) library(readr) library(ggplot2) library(psych) ## ## Attaching package: 'psych' ## The f...

1219 sym R (2779 sym/57 pcs) 1 img

Assignment 2

02.10.2020

#First thing’s first, load the libraries! library(dplyr) ## ## 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) library(readr) library(ggplot2) library(psych)...

1733 sym R (8152 sym/66 pcs) 6 img