Вы находитесь на странице: 1из 4

JENNY CHEN jennymars777@yahoo.com.

tw

Texas A&M Homework Assignment # 7 Chapter 9 DUE DATE: Thursday March 22nd, 2012 Noon (e-mail) HYPOTHESIS TESTING Answer the questions below: Place you name at the top of the page. Save this document as First Name followed by first three letters of last name followed by Assign 7 followed by Stats-MW. EXAMPLE: My name is Alan Preston so I would save this document with my answers as AlanPre-Assign 7-STATS-MW. E-mail it to Apreston@Tamusa.tamus.edu on the due date and time. Include a hyperlink (like the one I did for my e-mail address) right below your full printed name on the Right hand side, top of the page. When you e-mail the answers, please place in the subject line the following: First Name-first 3 letters of your last name- MW Assign 7 (example: AlanPre-Assign 7-STATS-MW)

***************************************************************************

1) Suppose that we wish to test H0: = 80 versus Ha: > 80, where s is known to equal 20. Also, suppose that a sample of n = 100 measurements randomly selected from the population has a mean of = 84: a) Calculate the value of the test statistic z. (Show your worki.e. typed like the example I gave in class)
z n H0
z = x -0 x

= = = = =
= =

2 100 20 84 80
x -0 /n

x -0 /n

84-80 20/100 4 2 2

b) By comparing z with a critical value, test H0 versus Ha at = .05.


z0.05 = 1.645 2 > 1.645 Reject H0 with = 0.05

c)

Calculate the p-value for testing H0 versus Ha. (Show your worki.e. typed like the example I gave in class)
p-value
p-value p-value

=
= =

1
1 0.0228

z score
0.9772

d) Use the p-value to test H0 versus Ha at each of = .10, .05, .01, and .001.
0.0228 0.0228 0.0228 0.0228

<
< > >

0.1 0.05 0.01 0.001

= = = =

0.1 0.05 0.01 0.001

Reject H0 Reject H0 Fail to reject H0 Fail to reject H0

e) How much evidence is there that H0: = 80 is false and Ha: > 80 is true?

p< 0.05, there is strong evidence to reject rejectH0 H0

2) Suppose that we wish to test H0: = 40 versus Ha: 40, where is known to equal 18. Also, suppose that a sample of n = 81 measurements randomly selected from the population has a mean of =34: a) Calculate the value of the test statistic z. (Show your worki.e. typed like the example I gave in class)

z n H0
x -0 x

= = = = =
= =

-3 81 18 34 40
x -0 /n

x-0 /n

34-40 18/81 -6 2 -3

b) By comparing z with a critical value, test H0 versus Ha at = .05.


1 0.05/2 z0.05/2 Reject H0 = = 0.975 1.96 = 1.96

with = 0.05

c)

Calculate the p-value for testing H0 versus Ha. (Show your worki.e. typed like the example I gave in class)
p-value
p-value p-value

=
= =

2
2 0.0027

*
*

(1- z score)
(1- 0.99865)

d) Use the p-value to test H0 versus Ha at each of = .10, .05, .01, and .001.
0.0027 0.0027 0.0027 0.0027

<
< < >

0.1 0.05 0.01 0.001

= = = =

0.1 0.05 0.01 0.001

Reject H0 Reject H0 Reject H0 Fail to reject H0

e) How much evidence is there that H0: = 40 is false and Ha: 40 is true?

p< 0.01, there is very strong evience to reject H0

Вам также может понравиться