Welcome

Thanks for visiting!

This text is UNDER CONSTRUCTION. If you have any comments or suggestions, feel free to contact me at . Thank you!

Additionally, if you have a dataset that you think would be suitable for inclusion in this text (as an example or for an exercise), I would love to hear about it.

Use

Creative Commons License
Regression Methods for Public Health using R by Ramzi W. Nahhas is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Preface

This text is suitable as a second biostatistics course for Master of Public Health students or public health professionals. Almost all public health students take an introductory biostatistics course, providing a foundation but perhaps not enough to use more advanced methods. There are a plethora of textbooks covering advanced topics such as multiple regression, logistic regression, survival analysis, and others. These texts, however, are generally aimed at those with a background in mathematical statistics and/or without a focus on public health. The goal of this text is to bridge that gap - to provide a gentle introduction to regression methods that covers all the basics and a bit more, and with examples drawn from public health data. There are excellent texts that cover each of the regression methods covered herein, as well as R programming, in much greater detail than is provided here. My hope is that for those who feel those texts are beyond their reach, what you learn here will give you the knowledge, skills, and confidence to go further in using regression and R.

Software information and conventions

The knitr package (Xie 2015) and the bookdown package (Xie 2021) were used to compile this text. The R session information is shown below:

xfun::session_info()
## R version 4.0.5 (2021-03-31)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 19042)
## 
## Locale:
##   LC_COLLATE=English_United States.1252 
##   LC_CTYPE=English_United States.1252   
##   LC_MONETARY=English_United States.1252
##   LC_NUMERIC=C                          
##   LC_TIME=English_United States.1252    
## 
## Package version:
##   base64enc_0.1.3   bookdown_0.22    
##   bslib_0.2.4       compiler_4.0.5   
##   digest_0.6.27     evaluate_0.14    
##   fs_1.5.0          glue_1.4.2       
##   graphics_4.0.5    grDevices_4.0.5  
##   highr_0.9         htmltools_0.5.1.1
##   jquerylib_0.1.4   jsonlite_1.7.2   
##   knitr_1.33        magrittr_2.0.1   
##   markdown_1.1      methods_4.0.5    
##   mime_0.10         R6_2.5.0         
##   rappdirs_0.3.3    rlang_0.4.11     
##   rmarkdown_2.7     rstudioapi_0.13  
##   sass_0.3.1        stats_4.0.5      
##   stringi_1.5.3     stringr_1.4.0    
##   tinytex_0.31      tools_4.0.5      
##   utils_4.0.5       xfun_0.22        
##   yaml_2.2.1

Package names and inline code are formatted in a typewriter font (e.g., knitr, lm(Y ~ X)), and function names are followed by parentheses (e.g., lm()).

Acknowledgments

Names

References

Xie, Yihui. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. http://yihui.org/knitr/.
———. 2021. Bookdown: Authoring Books and Technical Documents with r Markdown. https://CRAN.R-project.org/package=bookdown.