1. A consumer is interested in comparing prices among 3 grocery store chains in his city. He
randomly samples 8 branded products and obtains the regular price of each product at each
store. He finds that between store variation accounts for 20% of the tot
One Way ANOVA
G = Number of groups
N = Sample size
Two Way ANOVA
(R-1) * (C-1)
Using R for Linear Regression
1. To make sure our results are always the same, type the command set.seed(2008).
2. We want to use a data set that is already stored in R. To see the data set, simply type the
command Loblolly. If you scroll up to the top of
Correlation and Simple
Patrick Hardigan, Ph.D.
A statistical technique to show you
how strongly pairs are related.
Ranges from -1.0 to 1.0
If r is close to 0, it means there is
no relationship between the
If r is p
I n d i a n a U n i v e r s i t y
University Information Technology Services
Comparing Group Means: T-tests and One-way ANOVA
Using Stata, SAS, R, and SPSS*
Hun Myoung Park, Ph.D.
Last modified on August 2009
We wish to know if Distance in an airline flight can predict the Fare paid for the ticket. That
is, as the distance increases does the fare increase. Using the airline data set answer the
1) Descriptive Statistics - Calculate and repo