732A35 1 This method was introduced at the last lecture. Cell means model ππππ = πππ + ππππ Factor effects model ππππ = πββ + πΌπ + π½π + πΌπ½ ππ + ππππ 732A35 2 Method of least squares or maximum likelihood is used to minimize: π= ππππ − πππ π π 2 π or π= ππππ − πββ − πΌπ − π½π − πΌπ½ π π 2 ππ π 732A35 3 ππππ = ππππ − πβββ π π π ππππ = π πππβ − πβββ π πππΈ = π π 2 π ππππ − πππβ π 2 2 2 ππππ = π π 732A35 π 4 SSTR can be partitioned: πππ΄ = ππ ππββ − πβββ 2 π πππ΅ = ππ πβπβ − πβββ 2 π πππ΄π΅ = π πππβ − ππββ − πβπβ + πβββ π 2 π 732A35 5 As usual, the sum of squares are divided by their degrees of freedom: πππ΄ πππ΄ = π−1 πππ΅ πππ΅ = π−1 πππ΄π΅ πππ΄π΅ = π−1 π−1 πππΈ πππΈ = ππ π − 1 732A35 6 First of all the means should be visualized in a treatment means plot (Interaction plot in Minitab). 732A35 7 To test if interactions are important, a F-test is calculated. π»0 : πππ πΌπ½ ππ π»π : πππ‘ πππ πΌπ½ πΉ∗ =0 ππ =0 πππ΄π΅ = πππΈ πΌπ πΉ ∗ > πΉ 1 − πΌ; π − 1 π − 1 , π − 1 ππ 732A35 → π πππππ‘ π»0 8 If the interactions aren’t important, test for factor effects. Factor A Factor B π»0 : πππ πΌπ = 0 π»0 : πππ π½π = 0 π»π : πππ‘ πππ πΌπ = 0 πππ΄ ∗ πΉ = πππΈ Critical value with a-1 and n-1(ab) degrees of freedom. π»π : πππ‘ πππ π½π = 0 πππ΅ ∗ πΉ = πππΈ Critical value with b-1 and n-1(ab) degrees of freedom. 732A35 9 The methods on the following slides are used when the interaction is considered unimportant. Point estimators are: ππβ = ππβββ πππ πβπ = πβπβ Unbiased estimators of the variances: πππΈ πππΈ 2 2 π ππββ = πππ π πβπβ = ππ ππ Confidence interval is created with the t distribution: π ± π‘ 1 − πΌ 2 ; π − 1 ππ ∗ π π 732A35 10 Tukey is used when all pairwise comparisons are to be made: π· = ππββ − ππ ′ββ 1 2πππΈ π·± π 1 − πΌ; π, π − 1 ππ ∗ = ππ 2 π·±π∗π π· π· = πβπβ − πβπ ′β 1 2πππΈ π·± π 1 − πΌ; π, π − 1 ππ ∗ ππ 2 732A35 11 If only a few pairwise comparisons is to be made, the Bonferroni method usually is the best. Instead of T, B should be used. π΅ = π‘ 1 − πΌ 2π ; π − 1 ππ Where g is the number of comparisons. 732A35 12 Contrasts can also be obtained, with either the Scheffé procedure or Bonferroni (see p. 852). Be aware that the standard deviation and the multiplicator is not the same for the different factors. 732A35 13 When the interactions are important, only the treatment (cell) means should be analyzed. I only show Tukey at the slides. πππβ − ππ ′π ′β 1 2πππΈ ± π 1 − πΌ; ππ, π − 1 ππ ∗ π 2 =π·±π∗π π· 732A35 14 On the upcoming (last) lecture we will discuss: • Two-way ANOVA with only one case per treatment (ch 20) • Randomized complete block designs (ch 21) • Analysis of Covariance (ch 22) 732A35 15 ο½ Chapter 19 ο½ Start reading chapter 20, 21, 22 732A35 16