Homer White, Georgetown College
Always remember to make sure the necessary packages are loaded:
Really interesting questions in science are about relationships between variables:
The explanatory variable might
the response variable.
Does smoking cause lung cancer?
Learn about the
attitudes data frame:
data(attitudes) View(attitudes) help(attitudes)
Who gives the longest sentences on average: math/science majors, humanities majors, social science majors, or pre-professional majors?
.group mean median 1 humanities 25.26 20 2 math.sci 30.49 30 3 pre.prof 25.02 25 4 social.sci 25.49 25
In an observational study researchers simply observe or question the subjects. In particular, they measure the values of the explanatory variable \( X \) and measure the values of the response variable \( Y \), for each subject.
One of the most common reasons to study the relationship between two variables is to see if one of them causes the other.
Error in eval(expr, envir, enclos) : could not find function "openplotmat"