Sunteți pe pagina 1din 4

Module 4 Excel Utility I: Hypothesis Tests for Single Populations

This workbook contains two utilities related to hypothesis tests, as well as an


example of their application taken from the course.
Click on the appropriate worksheet tab to access the desired utility or example.
Input numerical quantities in yellow fields only
1. Two-sided Hypothesis Test
Caculates the two-sided range of likely sample means around the null hypothesis mean.
Calculates the p-value of the sample mean using both tail probabilities.
Performs the hypothesis test and determines whether or not the null hypothesis should be
rejected at the stated level of confidence.
2. One-sided Hypothesis Test
Caculates the one-sided range of likely sample means around the null hypothesis mean.
Calculates the p-value of the sample mean using one tail probability.
Performs the hypothesis test and determines whether or not the null hypothesis should be
rejected at the stated level of confidence.
Inputs:
Testing a mean

- null hypothesis mean


- sample mean
- sample standard deviation
- sample size
- level of confidence

284881168.xls

Testing a proportion
or - null hypothesis proportion

- sample proportion
- sample size
- level of confidence

Introduction

1/4

One-Population Hypothesis Test Utility, Two-Sided Test


Type of Estimate:
Input Area

Test Result

Other
Calculations

Mean

Proportion

Null Hypothesis: Mean =


Sample Mean, x-bar
Sample Std Dev., s
Sample Size, n
Confidence Level

1.0
1.0
1.00
1
90%

Sample Mean is within Range


Cannot Reject Null Hypothesis

Null Hypothesis: Proportion p =


Sample Proportion, p-bar

0.50
0.50

Sample Size, n
Confidence Level

1
90%

Sample Proportion is within Range


Cannot Reject Null Hypothesis

Lower end of range


Center of range
Upper end of range

(0.64)
1.00
2.64

Sample Mean, x-bar

1.00

Lower end of range


Center of range
Upper end of range
Sample Proportion, p-bar

0.50

p-value
Significance Level

1.000
0.100

p-value
Significance Level

1.000
0.100

(Significance Level)/2
z
sqrt(n)
s/sqrt(n)
z*s/sqrt(n)

0.050
1.64
1.00
1.00
1.64

(Significance Level)/2
z
sqrt(n)
sigma/sqrt(n) = sqrt[p(1 - p)/n]
z*sigma/sqrt(n)

0.050
1.64
1.00
0.50
0.82

Value of z-statistic

Value of z-statistic
p(1 - p)
sigma = sqrt[p(1 - p)]

284881168.xls

(0.32)
0.50
1.32

Utility (1 Population, 2-sided)

0.25
0.50

2/4

One-Population Hypothesis Test Utility, One-Sided Test


Mean
Input Area

Null Hypothesis Mean


Sample Mean, x-bar
Sample Std Dev., s
Sample Size, n
Confidence level

Proportion
1.0
1.0
1.00
1
90%

Null Hypthesis Proportion


Sample Proportion, p-bar
Sample Size, n
Confidence level

0.500
0.500
1
90%

Test Result
Case 1

If Null Hypothesis is >


Then Alt. Hypothesis is <

1.00
1.00

Sample Mean is within Range


Cannot Reject Null Hypothesis

Case 2

(0.3)
None

Sample Mean, x-bar

1.0

If Null Hypothesis is <


Then Alt. Hypothesis is >

0.500
0.100
1.00
1.00

Sample Mean is within Range


Cannot Reject Null Hypothesis

Other
Calculations

None
2.28

Sample Mean, x-bar

1.00

p-value
Significance Level

0.500
0.100

Value of z-statistic

Lower end of range


Upper end of range
Sample proportion, p-bar
p-value
Significance Level
If Null Hypothesis is p <
Then Alt. Hypothesis is p >

0.50
0.500
0.100
0.500
0.500

1.28
1.00
1.00
1.3
-

Lower end of range


Upper end of range

None
1.14

Sample Proportion, p-bar

0.500

p-value
Significance Level

0.500
0.100

z
sqrt(n)
sigma/sqrt(n) = sqrt[p(1 - p)/n]
z*sigma/sqrt(n)

1.282
1.00
0.500
0.641

Value of z-statistic
p(1 - p)
sigma = sqrt[p(1 - p)]

284881168.xls

(0.141)
None

Sample Proportion is within Range


Cannot Reject Null Hypothesis

Lower end of range


Upper end of range

z
sqrt(n)
s/sqrt(n)
z*s/sqrt(n)

0.500
0.500

Sample Proportion is within Range


Cannot Reject Null Hypothesis

Lower end of range


Upper end of range
p-value
Significance Level

If Null Hypothesis is p >


Then Alt.Hypothesis is p <

Utility (1 Population, 1-sided)

0.25
0.50

3/4

One-Population Hypothesis Test Utility, Two-Sided Test


Type of Estimate:
Input Area

Test Result

Other
Calculations

Mean
Null Hypothesis: Mean =
Sample Mean, x-bar
Sample Std Dev., s
Sample Size, n
Confidence Level

Sample Mean is in Rejection Region


Reject Null Hypothesis
Lower end of range
Center of range
Upper end of range

6.31
6.70
7.09

Sample Mean, x-bar

7.30

p-value
Significance Level

0.003
0.050

(Significance Level)/2
z
sqrt(n)
s/sqrt(n)
z*s/sqrt(n)

0.025
1.96
14.00
0.20
0.39

Value of z-statistic

284881168.xls

6.7
7.3
2.80
196
95%

3.00

Theatre Ex. (Means. 2-sided)

4/4

S-ar putea să vă placă și