2 Randomized Complete Block Design (RCBD)

Following the in-class assignment this week, perform a complete RCBD analysis.

  1. (2 p) Reshape and plot the data, describe relationships of Sales between Items and Restaurants
  2. (0 p) Fit model
  3. (3 p) Assess model assumptions
  4. (2 p) State and interpret the hypothesis test for difference in Item mean sales
  5. (2 p) If appropriate, perform pairwise comparisons with Tukey HSD correction
  6. (1 p) What is your recommendation to the Franchise?

2.1 Data

dat <- read.table(text="
Restaurant Item1 Item2 Item3
A          31    27    24
B          31    28    31
C          45    29    46
D          21    18    48
E          42    36    46
F          32    17    40
", header = TRUE)

2.2 (2 p) Reshape and plot the data, describe relationships of Sales between Items and Restaurants

2.3 (0 p) Fit model

2.4 (3 p) Assess model assumptions

2.5 (2 p) State and interpret the hypothesis test for difference in Item mean sales

2.6 (2 p) If appropriate, perform pairwise comparisons with Tukey HSD correction

2.7 (1 p) What is your recommendation to the Franchise?