Docsity

Solutions to Assignment 2 - Statistics and Probability | STAT 402, Assignments of Statistics

Toggle sidebar
bg1
Solution to Assignment 2
• Convenience Assignment
It is easiest to plant one variety on 18 plots on one side of the field and the other
variety on the 18 plots on the other side. On the back is a picture of such and
assignment and the yields, in bushels per acre, for each plot. The yields and a
summary of those yields are given below.
A
130 A
149 A
139 B
155 B
137 B
145
A
149 A
133 A
152 B
131 B
147 B
136
A
141 A
156 A
137 B
146 B
132 B
148
A
150 A
142 A
155 B
136 B
152 B
133
A
139 A
155 A
139 B
147 B
137 B
153
A
155 A
138 A
150 B
137 B
145 B
136
Variety n mean std. dev
A 18 144.9 8.29
B 18 141.8 7.65
()()
()
() ()
6592
18
1
18
1
9767
11
difference oferror std.
9767623363
34
6571729817
2
11 22
22
..
nn
s
..
..
nn
snsn
s
BA
p
BA
BBAA
p
=+=+=
==
+
=
−+
−+−
=
Using a two-sample t-test, the value of the test statistic is
(
)
171
6592
81419144 .
.
..
t=
−
=
with a two-sided P-value of 0.25. This indicates that although variety A has a
slightly higher mean yield than variety B, the two varieties are not statistically
different.
This is probably not a fair comparison. One side of the field may be more fertile
than the other or get more water than the other. There could be many lurking
variables that could be affecting the yields.
1
pf3
pf4
pf5

Partial preview of the text

Download Solutions to Assignment 2 - Statistics and Probability | STAT 402 and more Assignments Statistics in PDF only on Docsity!

Solution to Assignment 2

  • Convenience Assignment

It is easiest to plant one variety on 18 plots on one side of the field and the other variety on the 18 plots on the other side. On the back is a picture of such and assignment and the yields, in bushels per acre, for each plot. The yields and a summary of those yields are given below.

A 130

A

A

B

B

B

A

A

A

B

B

B

A

A

A

B

B

B

A

A

A

B

B

B

A

A

A

B

B

B

A

A

A

B

B

B

Variety n mean std. dev A 18 144.9 8. B 18 141.8 7.

std.errorofdifference

2 2 2 2

n n

s

n n

n s n s

s

A B

p

A B

A A B B p

Using a two-sample t-test, the value of the test statistic is

t =

with a two-sided P-value of 0.25. This indicates that although variety A has a slightly higher mean yield than variety B, the two varieties are not statistically different.

This is probably not a fair comparison. One side of the field may be more fertile than the other or get more water than the other. There could be many lurking variables that could be affecting the yields.

  • Systematic Assignment

Many people think that an alternating sequence is a random, or at least an unbiased, sequence. On the back is a picture of an alternating pattern, like a checkerboard, and the yields, in bushels per acre, for each plot. The yields and a summary of those yields are given below.

A 130

B

A

B

A

B

B

A

B

A

B

A

A

B

A

B

A

B

B

A

B

A

B

A

A

B

A

B

A

B

B

A

B

A

B

A

Variety n mean std. dev A 18 142.3 5. B 18 144.5 5.

std.errorofdifference

2 2 2 2

n n

s

n n

n s n s

s

A B

p

A B

A A B B p

Using a two-sample t-test, the value of the test statistic is

t =−

with a two-sided P-value of 0.24. This indicates that although variety B has a slightly higher mean yield than variety A, the two varieties are not statistically different.

JMP Output

Yield using Convenience Assignment

Convenience

A B

Variety

t Test B-A

Assuming equal variances

Difference -3.1111 t Ratio -1. Std Err Dif 2.6577 DF 34 Upper CL Dif 2.2901 Prob > |t| 0. Lower CL Dif -8.5123 Prob > t 0. Confidence 0.95 Prob < t 0.

-10 -5 0 5 10

Means and Std Deviations

Level Number Mean Std Dev Std Err Mean A 18 144.944 8.28515 1. B 18 141.833 7.64853 1.

Yield using Systematic Assignment

120

130

140

150

160

170

Systematic

A B

Variety

t Test B-A

Assuming equal variances

Difference 2.2222 t Ratio 1. Std Err Dif 1.8543 DF 34 Upper CL Dif 5.9905 Prob > |t| 0. Lower CL Dif -1.5461 Prob > t 0. Confidence 0.95 Prob < t 0.

-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6

Means and Std Deviations

Level Number Mean Std Dev Std Err Mean A 18 142.278 5.74769 1. B 18 144.500 5.37149 1.