Biostatistics with R/Simple Linear Regression and Correlation

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Summary of Formulars with R[edit]

Formular Number Name Formular Formular with R
9.2.1 Assumption of linearity Example Example
9.2.2 Simple linear regression model Example Example
9.2.3 Error (residual) term Example Example
9.3.1 Algebraic representation of a straight line Example Example
9.3.2 Least square estimate of the slope of a regression line Example Example
9.3.3 Least square estimate of the intercept of a regression line Example Example
9.4.1 Deviation equation Example Example
9.4.2 Sum-of-squares equation Example Example
9.4.3 Estimated population coefficient of determination Example Example
9.4.4–9.4.7 Means and variances of point estimators a and b Example Example
9.4.8 z statistic for testing hypotheses about b Example Example
9.4.9 t statistic for testing hypotheses about b Example Example
9.5.1 Prediction interval for Y for a given X Example Example
9.5.2 Confidence interval for the mean of Y for a given X Example Example
9.7.1–9.7.2 Correlation coefficient Example Example
9.7.3 t statistic for correlation coefficient Example Example
9.7.4 z statistic for correlation coefficient Example Example
9.7.5 Estimated standard deviation for z statistic Example Example
9.7.6 Z statistic for correlation coefficient Example Example
9.7.7 Z statistic for correlation coefficient when n < 25 Example Example
9.7.8 Standard deviation for z à Example Example
9.7.9 Z Ã statistic for correlation coefficient Example Example
9.7.10 Confidence interval for r Example Example
Symbol Key