[SOLVED] ceng222 - hw3

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

Answer 1

a)

µ0 = 7, X = 7.8, σ = 1.4, n = 17 and α = 0.05:

H0 : µ = 7 and HA : µ > 7

For level α = 0.05 test with a right-tail alternative, Zα = Z0.05 = 1.645:

Then, the acceptance region is (−∞,1.645]

As 2.356 > 1.645, we reject H0, the null hypothesis. Thus, the service can be regarded as successful. b)

As X = 7.8, the new mean will be:

For the new mean,

As 0.7952 < 1.645, we accept the null hypothesis. Thus, the service can not be regarded as successful.

c)

For 45 customers, the new mean will be:

For the new mean,

As 2.8749 > 1.645, we reject the null hypothesis. Thus, the mistake does not affect the success and the service can be regarded as successful.

d)

For µ0 = 8, test statistic would be negative. Thus, the test statistic would be in the acceptance region and we accept the null hypothesis.

Answer 2

µ0 = 5.8, X = 6.2, σ = 1.5, n = 55 and α = 0.05

H0 : µ = 5.8 and HA : µ > 5.8

For level α = 0.05 test with a right-tail alternative, Zα = Z0.05 = 1.645

As 0.1978 < 1.645, we accept the null hypothesis. We can not state that the new vaccine protects for a longer duration.

Answer 3

a)

At %95 confidence, α = 0.05 and Zα/2 = 1.96:

The margin of error for ˆpred = 0.48 at %95 confidence level is:

1.

In other words, ˆpred is at 48 ± 4.9%

The margin of error for ˆpblue = 0.37 at %95 confidence level is:

1.

In other words, ˆpblue is at 37 ± 4.7%

b)

The margin of error for ˆpred − pˆblue = 0.11 at %95 confidence level is:

1.

In other words, ˆpred − pˆblue is at 11 ± 6.8%

c)

Margin of error of Reds is larger.

The reason is, margin of error is at maximum for sample proportion ˆp = 0.5 and ˆpred is closer to

0.5.

d)

With the new size, margins of error will be multiplied with:

Thus, new margins will be less than margins with 400 participants.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.