M. Drew LaMar
February 1, 2017
“Absolute certainty is a privilege of uneducated minds and fanatics. It is, for scientific folk, an unattainable ideal.”
- Cassius J. Keyser
John Pullinger
John Pullinger
Quote: Statisticians can now amass more data more quickly than ever. This could help us to make decisions based on real numbers, not prejudice.
Quote: Of course decisions are made on the basis of emotions and beliefs as well as science. Those of us who work in the world of data need some humility in what we claim. But good evidence does matter.
apply
family Make sure you read the book for the following discussions
Question: Why is this important to know?
My point here is that you are responsible for all book material, even if we don't cover it in lecture!
Measures | R commands |
---|---|
\( \overline{Y} \) | mean |
\( s^2 \) | var |
\( s \) | sd |
\( IQR \) | IQR \( ^* \) |
Multiple | summary |
\( ^* \) Note that IQR
has different algorithms. To match the algorithm in W&S, you should use IQR(___, type=2)
. There are different algorithms as there are different ways to calculate quantiles. (for curious souls, see ?quantiles
). For the HW, either version is acceptable. Default type in R is type=7
.
Measures | R commands |
---|---|
\( \overline{Y} \) | mean |
\( s^2 \) | var |
\( s \) | sd |
\( IQR \) | IQR |
Multiple | summary |
summary(mydata)
breadth
Min. : 1.00
1st Qu.: 3.00
Median : 8.00
Mean :11.88
3rd Qu.:17.00
Max. :62.00
IQR
would be \( 17-3 = 14 \).