Publications by Lydia Okabe
Homework 5; Event History Analysis
Homework 5 Author Lydia Okabe Quarto Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org. Running Code When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:...
3769 sym Python (16751 sym/60 pcs) 2 img 1 tbl
Document Okabe final
##load data library(haven) psid <- read_dta("psid_cds.dta") View(psid) ##The research question you are going to analyze is how family socioeconomic status predicts child’s body mass index. Body mass index is a strong indicator for child development. Higher body mass index generally indicates a higher risk of obesity or overweight. ##To prepa...
2829 sym R (9499 sym/58 pcs) 4 img
Homework 3
##load libraries library(readr) 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(tidyverse) ## Warning: package 'tidyverse' was built under R version...
1824 sym R (14153 sym/81 pcs) 2 img
Midterm
##load libraries library(haven) library(readr) 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(knitr) library(tidyverse) ## Warning: package 'tidy...
1270 sym R (4741 sym/34 pcs) 1 img
Lydia Okabe Homework 4
##load libraries library(haven) 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(readr) library(broom) library(ggplot2) library(readxl) library(...
1549 sym R (11823 sym/91 pcs) 16 img
Lydia Okabe Homework 4 new
##load libraries library(haven) 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(readr) library(broom) library(ggplot2) library(readxl) library(...
1547 sym R (11144 sym/80 pcs) 14 img
Document Homework 4
##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 following ...
646 sym R (20141 sym/73 pcs) 8 img 1 tbl
Document Okabe Homework 2
#load brfss 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 pack...
1256 sym R (28143 sym/52 pcs)
Okabe Homework 3
#load brfss 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 pack...
2067 sym R (28926 sym/58 pcs) 4 tbl