Problem 1
The insulating life of protective fluids at an accelerated load is being studied. The experiment has been performed for four types of fluids, with trials per fluid type. Suppose fluid types 1 and 2 are from manufacturer A, and that fluid types 3 and 4 are from manufacturer B. The data is available on Blackboard as an Excel File.
(a)
(i)
\fbox{\begin{minipage}{\textwidth} Perform a test of the global null hypothesis . Compute the statistic, and the -value. \end{minipage}}
This is a one-factor experiment with levels of the factor (fluid level) and replicates for a total of observations.
The test statistic
$$ F_0 = \frac{\mstr}{\mse} $$under the null hypothesis (or in the effects model) has a reference distribution
where .
We compute the observed test statistic and its -value with:
library("readxl")
h4.data = read_excel("handout2data.xlsx")
fluid = as.factor(na.omit(h4.data$fluid))
life = na.omit(h4.data$life)
#head(data.frame(fluid=fluid,life=life))
aov.mod = aov(life ~ fluid)
summary(aov.mod)
## Df Sum Sq Mean Sq F value Pr(>F)
## fluid 3 30.16 10.05 3.047 0.0525 .
## Residuals 20 65.99 3.30
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
We see that which has a -value .
(ii)
\fbox{\begin{minipage}{\textwidth} Comment on the additional information provided by the -value, beyond a determination of statistical significance alone. \end{minipage}}
The -value quantifies a measure of evidence beyond a determination of statistical significance.
Earlier, we obtained a -value of . If we were to perform a dichotomous hypothesis test which specifies a significance level , we would decide . However, had we obtained a -value of , while the strength of the evidence is nearly the same, we would decide . Presenting the -value provides more information.
(b)
Consider the orthogonal contrasts \begin{align*} \Gamma_1 &= \mu_1 - \mu_2\ \Gamma_2 &= \mu_3 - \mu_4\ \Gamma_3 &= (\mu_1 + \mu_2) - (\mu_3 + \mu_4). \end{align*}
Preliminary analysis
A \emph{constrast} is a linear combination of parameters
such that . Assuming a balanced design,
$$ \var(\sum_{i=1}^{a} c_i \bar{y}_{i\cdot}) = \frac{\sigma^2}{n} \sum_{i=1}^{a} c_i^2 $$and thus
$$ t_0 = \frac{\sum_{i=1}^{a} c_i \bar{y}_{i\cdot}}{\left(\mse/n \sum_{i=1}^{a} c_i\right)^{1/2}} \sim t_{N-a} $$under . The -test may also be used, where $F_0 = t_0^2 = \frac{\msc}{\mse} = \frac{\ssc/1}{\mse}$ where
$$ \ssc = \frac{(\sum_{i=1}^{a} c_i \bar{y}_{i\cdot})^2}{1/n \sum_{i=1}^{a} c_i^2} \sim t_{N-a}. $$We have fluid types, , , , and . Fluid types and are from manufacturer and fluid types and are from manufacturer .
compares the average effect (on lifetime) of fluid with the average effect of fluid , compares the average effect of fluid with the average effect of fluid , and compares the average effect of manufacturer with the average effect of manufacturer .
(i)
\fbox{\begin{minipage}{\textwidth} Compute SSC for each contrast. Describe a general property for the sums of squares of orthogonal contrasts. Why is this property desirable? \end{minipage}}
Orthogonal contrasts
Orthogonality is desirable since the treatment sum of squares can be decomposed into specific effects.
Additional remarks:
Two contrasts (assuming a balanced design) with coefficients and are orthogonal if .
For factor levels (or treatments), a set of orthogonal contrasts are independent with and thus tests performed on them are independent.
We see that , , and are orthogonal contrasts.