Beruflich Dokumente
Kultur Dokumente
Homework 7
𝜇 16.504
d. Tau1,2,3 in yellow
(yi-
Treatment ni Yi si mu)^2 tau ni/n4 Yhat
1 7 16.4 11.3 0.010816 1.75
2 5 24.1 10.6 57.69922 7.596 1.25
3 8 15.2 9.5 1.700416 -1.304 2
4 4 9.8 10.1 44.94362 -6.704 1 18.249
Yhat 4 = 18.249
e. ANOVA table
Source df SS MS F
model 3 481.9496 160.6499 30.78938
error 20 104.3541 5.217703
total 23 586.3036 25.49146
p-value = 1-prob(30.789,4,24)=1-0.99999999996= 0.0000000001
f. It would not change, because the value of n changes in each treatment, so the individual s is not taken
into consideration.
g. The F value would increase and p value decrease because the population increases, so it is related to
the way MSE is calculated.
2. A. mean table
3. The MEANS Procedure
Analysis Variable : time
fa fb N Obs N Mean Std Dev Minimum Maximum
1 1 5 5 59.8000000 7.8549348 48.0000000 69.0000000
2 5 5 47.8000000 7.4632433 39.0000000 57.0000000
3 5 5 58.4000000 8.5322916 47.0000000 67.0000000
2 1 5 5 48.4000000 6.7675697 39.0000000 57.0000000
2 5 5 61.2000000 7.3280284 51.0000000 70.0000000
3 5 5 56.2000000 8.0436310 49.0000000 69.0000000
3 1 5 5 60.2000000 7.3280284 52.0000000 70.0000000
2 5 5 60.8000000 6.3007936 53.0000000 70.0000000
3 5 5 49.6000000 4.5055521 44.0000000 56.0000000
b. 𝜇𝑖,𝑗 = 𝜇 + 𝛼𝑖 + 𝛽𝑗 + (𝛼𝛽)𝑖𝑗
c. Table
SAS Code
data cs;
infile'C:\Users\Emilio Will\Downloads\CH19PR16.DAT';
input time fa fb;
proc print data=cs;
run;
proc glm data=cs ;
class fa fb;
model time = fa fb fa*fb/solution;
means fa fb fa*fb;
run;
markerattrs=(symbol=circlefilled);
series x=time y=fa/group=fb groupdisplay=cluster clusterwidth=0.1;
xaxis label="Factor A" labelattrs=(size=12);
yaxis label="Time" labelattrs=(size=12);
run;