BIOSTATS 640 Intermediate Biostatistics Biostatistics and Epidemiology UMass Amherst

HOME

For Students

Computer Illustrations

Dear BIOSTATS 640 2018 CLASS -
Currently, these illustrations are from 2017. But please check back often.
As the semester goes along, I will be updatting several ... cb

Scroll down for demonstrations in (1) R and (2) Stata

 R Users 2017-2018 HOW to Install R and R-Studio MAC Users (pdf) HOW to Install R and R-Studio WINDOWS Users (pdf) HOW to Keep a Record of Your Work - Introduction to R Markdown and Knitr (pdf) Data set basics - Creating, importing, exporting data (pdf) Data Description I (pdf) Data Description II (pdf) Simple Linear Regression (pdf) R for Survival Analysis (pdf, 16 pp) Download (pbc.Rdata)

(1) Stata
__1. Getting Started: How to Obtain Stata version 14 (pdf, 3 pp)
__2. Getting Started: First Session (pdf, 19 pp)
__3. Getting Started: Getting Data into Stata (pdf, 13 pp)
__4. Getting Started: How to create a log of your session in "log" format (pdf, 2 pp)
__5. Getting Started: How to save a graph as a ".png" graph (pdf, 1 pp)

__6. Unit 1: Data Description Basics (pdf, 4 pp)
__7.
Laboratory Session #1 (creating log, saving graph, importing data, descriptives, graphs, 1& 2 sample inference, linear regression) (pdf, 20 pp)
__8. Unit 2:
__9. Unit 3: Discrete Distributions and Fisher Exact Test (pdf, 19 pp) Stata data: (ers.dta) (single2x2.dta)
__10. Unit 3: How to Obtain Poisson probabilities using pprob called by nbvargr (html)
__11. Unit 4: Stata for the Analysis of Categorical Data (pdf, 29 pp) (single2x3.dta) (coffeemi_full.dta) (esophageal_cancer.dta)
__12. Unit 5: Logistic Regression (pdf, 30 pp)
(illeetvilaine version 12.dta)
__13. Unit 6: Stata for Survival Analysis (pdf, 16 pp) Download (pbc.dta)
__14. Unit 7: Stata v 14 for Analysis of Variance (pdf, 21 pp) Data (hers_640anova.dta)
__15. Stata for Probability Distribution calculations (pdf, 13 pp)
__16.
Laboratory Session #2 (indicator variables, quartile grouped variables, logistic regression)

(2) R - old

__1. Getting Started: How to Download and Install R and R-Studio (pdf, 8 pp)
__2. Getting Started: How to Use R and R Markdown (pdf, 7 pp)
__3. Getting Started: Getting Data into R (pdf, 8 pp)
__4 Getting Started:
(Source: Oscar Torres-Reyna, Princeton University) Introduction to R-Studio (pdf, 16 pp)
__5. Getting Started: (Author: Steele Valenzuela) Getting Started: First Session (pdf, 12 pp)

__6.

__7. Getting Started:
VIDEOS (Source: Anthony Damico, TwoTorials.com) A Collection of Two Minute Videos to Learn R (html)
__8. Getting Started: Entering and Outputting Data (pdf, 6 pp)
__9. (Source: Mark Gardener) Using R for Statistical Analyses - Basic Stats. Scroll down for various "step-by-step" (html)
__10. Unit 1: Data Description Basics (pdf, 13 pp)
__11. Unit 2:
2018 Illustration - Simple Linear Regression (pdf, 20 pp) Download R data (ers.Rdata)
__12. Unit 3: Discrete Distributions and Fisher Exact Test (pdf, 9 pp)
__13. Unit 4: Analysis of Categorical Data (pdf, 16 pp)
__14.
Unit 5: Logistic Regression (pdf, 14 pp) (illeetvilaine.dta)
__15. Unit 6: R for Survival Analysis (pdf, 15 pp) Download (pbc.Rdata)
__16. Unit 7: R for Analysis of Variance (pdf, 16 pp) Data (hers_640anova.dta)

__17. Cheat Sheet for R for Analysis of Variance (pdf, 3 pp)

 Copyright 2018 University of Massachusetts, Amherst. This is the course web site for BIOSTATS 640, Biostatistics Program, Department of Biostatistics and Epidemiology. Produced and maintained by the School of Public Health and Health Sciences. Send comments or questions about this web site to cbigelow@schoolph.umass.edu. Page updated: March 8, 2018