# Biostatistics with R

Wayne W. Daniel's *Biostatistics* (ISBN: 9780471456544) is a standard textbook for a lot of Biostatistics courses around the world. Similar to other books on similar topics, the examples of statistical computing given in Daniel's book haven't cover R. (Even it gives the examples in MINITAB, SAS and SPSS) As biostatistics is the trade and the statistical packages are only tools, one should believe all examples in Daniel's book can be rewritten in R. R, as a free and open source interpreter of S language, deserved some spots in Daniel's book and in the field of Biostatistics as a whole.

This wikibook is a companion to the Tenth Edition of Daniel*s book. The data sets are available for download from the Wiley Web Site. The instruction for importing these data sets into R will be introduced in chapter 2.*

__From Chapter 3 to Chapter 17, this companion book content exactly follows Wayne W. Daniel's book. Each chapter starts with summary for formular in Wayne W. Daniel's Biostatistics (ISBN: 9780471456544) and their expression in R programming. The sections per the chapter also follows Daniel's book content and includes Examples and Exercise in Daniel's book and direction in R programming. The sections which do not have examples and exercise will not be discussed here.__

**Volunteer Editor**

- This is a wiki project - an open source, free access reference book. Anyone would be welcome and encouraged to contribute anytime, anything (as long as it relates to Biostatistics with R).
- Hanjin Deviasse Toronto,ON,Canada

## Table of Content[edit | edit source]

- A Brief Introduction To R
- Data Import in R
- Introduction to Biostatistics
- Descriptive Statistics:Summary of formulas with R
- Some Basic Probability Concepts:Summary of formulas with R
- Probability Distributions:Summary of formulas with R
- Some Important Sampling Distributions:Summary of formulas with R
- Estimation:Summary of formulas with R
- Confidence Interval for a Population Mean
- The t Distribution
- Confidence Interval for the Difference Between Two Population Means
- Confidence Interval for a Population Proportion
- Confidence Interval for the Difference Between Two Population Proportions
- Determination of Sample Size for Estimating Means
- Determination of Sample Size for Estimating Proportions
- Confidence Interval for the Variance of a Normally Distributed Population
- Confidence Interval for the Ratio of the Variances of Two Normally Distributed Populations
- Review Questions and Exercises

- Hypothesis Testing:Summary of formulas with R
- Hypothesis Testing: A Single Population Mean
- Hypothesis Testing: The Difference Between Two Population Means
- Paired Comparisons
- Hypothesis Testing: A Single Population Proportion
- Hypothesis Testing: The Difference Between Two Population Proportions
- Hypothesis Testing: A Single Population Variance
- Hypothesis Testing: The Ratio of Two Population Variances
- The Type II Error and the Power of a Test
- Determining Sample Size to Control Type II Errors
- Review Questions and Exercises

- Analysis of Variance:Summary of formulas with R
- Simple Linear Regression and Correlation:Summary for formula with R
- Multiple Regression and Correlation:Summary of formulas with R
- Regression Analysis: Some Additional Techniques:Summary of formulas with R
- The Chi-Square Distribution and the Analysis of Frequencies:Summary of formulas with R
- Nonparametric and Distribution-Free Statistics:Summary of formulas with R
- Measurement Scales
- The Sign Test
- The Wilcoxon Signed-Rank Test for Location
- The Median Test
- The Mann–Whitney Test
- The Kolmogorov–Smirnov Goodness-of-Fit Test
- The Kruskal–Wallis One-Way Analysis of Variance by Ranks
- The Friedman Two-Way Analysis of Variance by Ranks
- The Spearman Rank Correlation Coefficient
- Nonparametric Regression Analysis
- Review Questions and Exercises

- Survival Analysis:Summary of formulas with R
- Vital Statistics:Summary of formulas with R
- Further reading