|
1 Introduction: Biostatistics and R |
|
|
1 | (4) |
|
|
1 | (1) |
|
1.2 Development of Biostatistics |
|
|
2 | (1) |
|
|
3 | (1) |
|
1.4 How R is Used in This Text |
|
|
4 | (1) |
|
2 Data Exploration, Descriptive Statistics, and Measures of Central Tendency |
|
|
5 | (12) |
|
2.1 Background on This Lesson |
|
|
5 | (2) |
|
2.1.1 Description of the Data |
|
|
5 | (2) |
|
2.1.2 Null Hypothesis (Ho) |
|
|
7 | (1) |
|
2.2 Data Import of a .csv Spreadsheet-Type Data File into R |
|
|
7 | (2) |
|
2.3 Organize the Data and Display the Code Book |
|
|
9 | (1) |
|
2.4 Conduct a Visual Data Check |
|
|
9 | (1) |
|
2.5 Descriptive Analysis of the Data |
|
|
10 | (3) |
|
|
13 | (1) |
|
2.7 Addendum: Specialized External Packages and Functions |
|
|
13 | (2) |
|
2.8 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
15 | (2) |
|
3 Student's t-Test for Independent Samples |
|
|
17 | (30) |
|
3.1 Background on This Lesson |
|
|
17 | (2) |
|
3.1.1 Description of the Data |
|
|
17 | (1) |
|
3.1.2 Null Hypothesis (Ho) |
|
|
18 | (1) |
|
3.2 Data Import of a csv Spreadsheet-Type Data File into R |
|
|
19 | (1) |
|
3.3 Organize the Data and Display the Code Book |
|
|
20 | (3) |
|
3.4 Conduct a Visual Data Check |
|
|
23 | (11) |
|
3.5 Descriptive Analysis of the Data |
|
|
34 | (6) |
|
3.6 Conduct the Statistical Analysis |
|
|
40 | (2) |
|
|
42 | (1) |
|
3.8 Addendum: t-Statistic v z-Statistic |
|
|
43 | (2) |
|
3.8.1 Create the Enumerated Dataset |
|
|
44 | (1) |
|
3.8.2 Calculate the t-Statistic |
|
|
44 | (1) |
|
3.8.3 Calculate the z-Statistic |
|
|
45 | (1) |
|
3.9 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
45 | (2) |
|
4 Student's t-Test for Matched Pairs |
|
|
47 | (26) |
|
4.1 Background on This Lesson |
|
|
47 | (4) |
|
4.1.1 Description of the Data |
|
|
47 | (2) |
|
4.1.2 Null Hypothesis (Ho) |
|
|
49 | (1) |
|
4.1.3 Unstacked Data and Stacked Data |
|
|
49 | (2) |
|
4.2 Data Import of a .csv Spreadsheet-Type Data File into R |
|
|
51 | (1) |
|
4.3 Organize the Data and Display the Code Book |
|
|
52 | (2) |
|
4.4 Conduct a Visual Data Check |
|
|
54 | (6) |
|
4.5 Descriptive Analysis of the Data |
|
|
60 | (3) |
|
4.6 Conduct the Statistical Analysis |
|
|
63 | (2) |
|
|
65 | (1) |
|
4.8 Addendum 1: Stacked Data and Student's t-Test for Matched Pairs |
|
|
66 | (4) |
|
4.9 Addendum 2: The Impact of N on Student's t-Test |
|
|
70 | (2) |
|
4.10 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
72 | (1) |
|
5 Oneway Analysis of Variance (ANOVA) |
|
|
73 | (26) |
|
5.1 Background on This Lesson |
|
|
73 | (2) |
|
5.1.1 Description of the Data |
|
|
73 | (2) |
|
5.1.2 Null Hypothesis (Ho) |
|
|
75 | (1) |
|
5.2 Data Import of a csv Spreadsheet-Type Data File into R |
|
|
75 | (2) |
|
5.3 Organize the Data and Display the Code Book |
|
|
77 | (5) |
|
5.4 Conduct a Visual Data Check |
|
|
82 | (5) |
|
5.5 Descriptive Analysis of the Data |
|
|
87 | (2) |
|
5.6 Conduct the Statistical Analysis |
|
|
89 | (4) |
|
5.6.1 Exploratory Oneway ANOVA |
|
|
90 | (1) |
|
5.6.2 Oneway ANOVA Method 1: lm() and anova() Functions |
|
|
91 | (1) |
|
5.6.3 Oneway ANOVA Method 2: aov() and TukeyHSD() Functions |
|
|
92 | (1) |
|
|
93 | (3) |
|
5.8 Addendum: Other Packages for Display of Oneway ANOVA |
|
|
96 | (1) |
|
5.9 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
97 | (2) |
|
6 Twoway Analysis of Variance (ANOVA) |
|
|
99 | (30) |
|
6.1 Background on This Lesson |
|
|
99 | (1) |
|
6.1.1 Description of the Data |
|
|
99 | (1) |
|
6.1.2 Null Hypothesis (Ho) |
|
|
100 | (1) |
|
6.2 Data Import of a csv Spreadsheet-Type Data File into R |
|
|
100 | (1) |
|
6.3 Organize the Data and Display the Code Book |
|
|
101 | (3) |
|
6.4 Conduct a Visual Data Check |
|
|
104 | (7) |
|
6.5 Descriptive Analysis of the Data |
|
|
111 | (6) |
|
6.6 Conduct the Statistical Analysis |
|
|
117 | (5) |
|
|
122 | (2) |
|
6.8 Addendum: Other Packages for Display of Twoway ANOVA |
|
|
124 | (2) |
|
6.9 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
126 | (3) |
|
7 Correlation and Linear Regression |
|
|
129 | (36) |
|
7.1 Background on This Lesson |
|
|
129 | (2) |
|
7.1.1 Description of the Data |
|
|
129 | (1) |
|
7.1.2 Null Hypothesis (Ho) |
|
|
130 | (1) |
|
7.2 Data Import of a csv Spreadsheet-Type Data File into R |
|
|
131 | (1) |
|
7.3 Organize the Data and Display the Code Book |
|
|
132 | (3) |
|
7.4 Conduct a Visual Data Check |
|
|
135 | (5) |
|
7.5 Descriptive Analysis of the Data |
|
|
140 | (2) |
|
7.6 Conduct the Statistical Analysis |
|
|
142 | (12) |
|
7.6.1 Correlation Using Pearson's r |
|
|
142 | (8) |
|
|
150 | (4) |
|
|
154 | (1) |
|
7.8 Addendum: Multiple Regression |
|
|
155 | (8) |
|
7.8.1 Hand-Calculate Multiple Regression |
|
|
156 | (2) |
|
7.8.2 Minimal Adequate Model (MAM) for Regression |
|
|
158 | (2) |
|
7.8.3 Stepwise Regression |
|
|
160 | (3) |
|
7.9 Prepare to Exit, Save, and Later Retrieve This R Session |
|
|
163 | (2) |
|
8 Future Actions and Next Steps |
|
|
165 | |
|
|
165 | (1) |
|
8.2 Future Use of R for Biostatistics |
|
|
166 | (1) |
|
|
167 | (1) |
|
|
167 | |