Statistical Analysis with R For Dummies®
To view this book's Cheat Sheet, simply go to
www.dummies.com
and search for “Statistical Analysis with R For Dummies Cheat Sheet” in the Search box.
Table of Contents
Cover
Introduction
About This Book
Similarity with This Other For Dummies Book
What You Can Safely Skip
Foolish Assumptions
How This Book Is Organized
Icons Used in This Book
Where to Go from Here
Part 1: Getting Started with Statistical Analysis with R
Chapter 1: Data, Statistics, and Decisions
The Statistical (and Related) Notions You Just Have to Know
Inferential Statistics: Testing Hypotheses
Chapter 2: R: What It Does and How It Does It
Downloading R and RStudio
A Session with R
R Functions
User-Defined Functions
Comments
R Structures
Packages
More Packages
R Formulas
Reading and Writing
Part 2: Describing Data
Chapter 3: Getting Graphic
Finding Patterns
Base R Graphics
Graduating to ggplot2
Wrapping Up
Chapter 4: Finding Your Center
Means: The Lure of Averages
The Average in R: mean()
Medians: Caught in the Middle
The Median in R: median()
Statistics à la Mode
The Mode in R
Chapter 5: Deviating from the Average
Measuring Variation
Back to the Roots: Standard Deviation
Standard Deviation in R
Conditions, Conditions, Conditions …
Chapter 6: Meeting Standards and Standings
Catching Some Z’s
Standard Scores in R
Where Do You Stand?
Summarizing
Chapter 7: Summarizing It All
How Many?
The High and the Low
Living in the Moments
Tuning in the Frequency
Summarizing a Data Frame
Chapter 8: What’s Normal?
Hitting the Curve
Working with Normal Distributions
A Distinguished Member of the Family
Part 3: Drawing Conclusions from Data
Chapter 9: The Confidence Game: Estimation
Understanding Sampling Distributions
An EXTREMELY Important Idea: The Central Limit Theorem
Confidence: It Has Its Limits!
Fit to a t
Chapter 10: One-Sample Hypothesis Testing
Hypotheses, Tests, and Errors
Hypothesis Tests and Sampling Distributions
Catching Some Z’s Again
Z Testing in R
t for One
t Testing in R
Working with t-Distributions
Visualizing t-Distributions
Testing a Variance
Working with Chi-Square Distributions
Visualizing Chi-Square Distributions
Chapter 11: Two-Sample Hypothesis Testing
Hypotheses Built for Two
Sampling Distributions Revisited
t for Two
Like Peas in a Pod: Equal Variances
t-Testing in R
A Matched Set: Hypothesis Testing for Paired Samples
Paired Sample t-testing in R
Testing Two Variances
Working with
F
-Distributions
Visualizing
F
-Distributions
Chapter 12: Testing More than Two Samples
Testing More Than Two
ANOVA in R
Another Kind of Hypothesis, Another Kind of Test
Getting Trendy
Trend Analysis in R
Chapter 13: More Complicated Testing
Cracking the Combinations
Two-Way ANOVA in R
Two Kinds of Variables … at Once
After the Analysis
Multivariate Analysis of Variance
Chapter 14: Regression: Linear, Multiple, and the General Linear Model
The Plot of Scatter
Graphing Lines
Regression: What a Line!
Linear Regression in R
Juggling Many Relationships at Once: Multiple Regression
ANOVA: Another Look
Analysis of Covariance: The Final Component of the GLM
Chapter 15: Correlation: The Rise and Fall of Relationships
Scatter plots Again
Understanding Correlation
Correlation and Regression
Testing Hypotheses About Correlation
Correlation in R
Multiple Correlation
Partial Correlation
Partial Correlation in R
Semipartial Correlation
Semipartial Correlation in R
Chapter 16: Curvilinear Regression: When Relationships Get Complicated
What Is a Logarithm?
What Is e?
Power Regression
Exponential Regression
Logarithmic Regression
Polynomial Regression: A Higher Power
Which Model Should You Use?
Part 4: Working with Probability
Chapter 17: Introducing Probability
What Is Probability?
Compound Events
Conditional Probability
Large Sample Spaces
R Functions for Counting Rules
Random Variables: Discrete and Continuous
Probability Distributions and Density Functions
The Binomial Distribution
The Binomial and Negative Binomial in R
Hypothesis Testing with the Binomial Distribution
More on Hypothesis Testing: R versus Tradition
Chapter 18: Introducing Modeling
Modeling a Distribution
A Simulating Discussion
Part 5: The Part of Tens
Chapter 19: Ten Tips for Excel Emigrés
Defining a Vector in R Is Like Naming a Range in Excel
Operating on Vectors Is Like Operating on Named Ranges
Sometimes Statistical Functions Work the Same Way …
… And Sometimes They Don’t
Contrast: Excel and R Work with Different Data Formats
Distribution Functions Are (Somewhat) Similar
A Data Frame Is (Something) Like a Multicolumn Named Range
The sapply() Function Is Like Dragging
Using edit() Is (Almost) Like Editing a Spreadsheet
Use the Clipboard to Import a Table from Excel into R
Chapter 20: Ten Valuable Online R Resources
Websites for R Users
Online Books and Documentation
About the Author
Connect with Dummies
End User License Agreement
Guide
Cover
Table of Contents
Begin Reading
Pages
i
ii
v
vi
vii
viii
ix
x
xi
xii
xiii
1
2
3
4
5
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
91
92
93
94
95
96
97
98
99
100
101
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
439
440
442