Chapter 5
More Complicated Testing
IN THIS CHAPTER
Working with two variables
Working with replications
Understanding interactions
Mixing variable types
Working with multiple dependent variables
In Chapter 3 of Book 3, I show you how to test hypotheses with two samples. In Chapter 4 of Book 3, I show you how to test hypotheses when you have more than two samples. The common thread in both chapters is one independent variable (also called a factor).
Many times, you have to test the effects of more than one factor. In this chapter, I show how to analyze two factors within the same set of data. Several types of situations are possible, and I describe R functions that deal with each one.
Cracking the Combinations
Imagine that a company has two methods of presenting its training information: One is via a person who presents the information orally, and the other is via a text document. Imagine also that the information is presented in either a humorous way or a technical way. I ...
Get R All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.