Publications by Rebecca Luttinen

Document

22.03.2022

#load libraries library(haven) library(gtsummary) library(MASS) ## Warning: package 'MASS' was built under R version 4.1.3 ## ## Attaching package: 'MASS' ## The following object is masked from 'package:gtsummary': ## ## select library(survey) ## Loading required package: grid ## Loading required package: Matrix ## Loading required pa...

1095 sym R (51472 sym/32 pcs) 1 tbl

Count Outcomes- Poisson and Negative Binomial

20.03.2022

#load libraries library(haven) library(gtsummary) library(MASS) ## Warning: package 'MASS' was built under R version 4.1.3 ## ## Attaching package: 'MASS' ## The following object is masked from 'package:gtsummary': ## ## select library(survey) ## Loading required package: grid ## Loading required package: Matrix ## Loading required pa...

1090 sym R (5353 sym/27 pcs) 1 tbl

Document

21.02.2022

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(questionr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following ...

802 sym R (10833 sym/48 pcs)

Document

14.02.2022

# load packages library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conflicts ------------------------------------------ tidyverse_...

459 sym R (8361 sym/32 pcs) 4 tbl

Document

22.03.2022

#load libraries library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v readr 2.1.1 v forcats 0.5.1 ## -- Conflicts ------------------------------------------ tidyverse_...

1402 sym R (5343 sym/27 pcs) 1 img 1 tbl

Luttinen HW 8

01.04.2022

#Instructions: #Missing data homework #Use a data source you are familiar with: DHS Uganda #Measure an outcome variable and at least 5 predictors: outcome- want another child, predictors- ideal number of children, recieved HIv results, husband’s occupation, husband’s education level, and feelings about wife-beating. #I chose these variable...

1640 sym R (62503 sym/71 pcs) 1 img

Spline

18.04.2022

#splines #load data and packages 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(haven) library(srvyr) ## ## Attaching package: 'srvyr' ## The fo...

674 sym R (49437 sym/37 pcs) 4 img

Stats 2 Final Project Modeling

18.04.2022

#load data & packages library(haven) library(gtsummary) library(MASS) ## Warning: package 'MASS' was built under R version 4.1.3 ## ## Attaching package: 'MASS' ## The following object is masked from 'package:gtsummary': ## ## select library(survey) ## Loading required package: grid ## Loading required package: Matrix ## Loading requ...

67 sym R (55759 sym/53 pcs) 1 img 3 tbl