Sie sind auf Seite 1von 7

BSTA305 - Revision Test 2

Chapter 10: Hypothesis testing:


A. The LIU director claims that students travel an average more than 15 Km to arrive to class. To test his
claim, he asked 600 students and found that the sample mean is 15.12 Km. The standard deviation is
1.8.

Test the director’s claim at a 2% level of significance.

H0: µ ≤ 15

H1: µ > 15

α=0.02 1 tailed

zcalc =1.63

zcrit =2.05

Decision : H0 not rejected => the pop mean is not more than 15 km

B. The LIU director claims that students travel an average less than 15 Km to arrive to class. To test his
claim, he asked 100 students and found that the sample mean is 14.72 Km and a standard deviation is
1.6.

Test the director’s claim at a 5% level of significance.

H0: µ ≥ 15

H1: µ < 15

α=0.05 1 tailed

tcalc =-1.75

tcrit =-1.66

Decision : H0 rejected => the pop mean is less than 15 km

C. The LIU director claims that the proportion of students who travel by car is 70%. To test his claim, he
asked 150 students and found that 97 travel by car.

Test the director’s claim at a 1% level of significance.

H0: π = 0.7

H1: π ≠ 0.7

α=0.01 2 tailed

zcalc =-1.36

zcrit =2.58and -2.58 Decision : H0 not rejected => the pop proportion could be equal to 70%
Chapter 10: p-value
A. Z calculated = -2.64 ; 2 tailed
Pvalue = 2[0.5-Table(-2.64)]=2[0.5-4959]=0.0083

B. T calculated = -2.64 ; 2 tailed ; sample size = 50


2.405<tcal<2.680
0.01<pvalue<0.02

Calculator: How to find Sample Mean and Sample Std dev.


New Calculator Old Calculator
Mode 3 (STAT) 1(1 var) Mode 2 (SD)
X
X 25 M+
25 42 M+
42 33 M+ …. AC
33 …. AC Shift 2
Shift 1 1= X BAR
4 (VAR) 3= Sample std dev=S
2= X bar
4= Sample Std dev = S
Chapter 11: 2 samples Hypothesis testing:
A. Comparing means for 2 independent samples Std dev known - USE Z

Mary noticed in the job postings for nurses that those who are unionized seem to offer higher
wages. She decided to investigate and gathered the following information.
Group Mean wage Population standard deviation Sample size
Non Union (1) $19.80 $1.90 45
Union (2) $20.75 $2.25 40

Would it be reasonable for her to conclude that Non-Union nurses earn less? Use the 0.02
significance level. (Using the 5-step procedure)

H0: μ1 ≥ μ2
H1: μ1 < μ2

Zcal= -2.09

Zcri=2.05

reject H0. We conclude that Non-Union nurses earn less.

Confirm your answer using the P-value.


p-value=0.5-T|-2.09|=0.5-0.4817=0.0183<0.02reject H0. We conclude that Non-Union
nurses earn less.
B. Comparing means for 2 independent samples Std dev unknown. Unequal
standard deviations - USE pooled T

LIU wants to test whether the student’s mean age in Akkar campus is more than the
student’s mean age in Tripoli. Population standard deviations are assumed unequal.
The data were obtained from 2 samples:
Sample Sample SD Sample Mean Sample Size
(1) Akkar 4.5 23 45
(2) Tripoli 2.3 22 25
The level of significance is 0.01.
Verify your answer with p-value.

H0: µ1=< µ2

H1: µ1> µ2

Alpha = 0.01 :

Df=67.67 = 67

tcalc : 1.229

t crit = 2.383

t cal > t crit => H0 not rejected => the mean age in akkar is not more than mean age in tripoli
C. Comparing means for 2 dependent samples - USE paired t
A CEO wants to test at a 1% level of significance the production average difference before and after the
salary raise.

The following is the data table collected before and after the raise:

Before After After – Before=d


56 47 9
89 95 6
100 105 5
92 97 5
68 72 4
Find the difference mean and std dev.

The difference mean is 2.2 and the difference standard deviation is 6.3

H0: d= 0

H1: d≠ 0

Alpha = 0.01 :

tcal = 0.7808

t crit = 4.604

-tcrit <t cal < t crit => we don’t reject H0 , there’s no difference
D. Comparing means for 2 independent samples Std dev unknown. Equal standard
deviations - USE pooled T

LIU wants to test whether the student’s mean age in Beirut campus is less than the student’s
mean age in Tripoli.
The data were obtained from 2 samples:
Sample Sample SD Sample Mean Sample Size
(1) Beirut 4.5 23 45
(2) Tripoli 2.3 22 25
The level of significance is 0.01.
Verify your answer with p-value.

H0: µ1>= µ2

H1: µ1< µ2

Alpha = 0.01 :

S2p=14.97

tcalc : 1.036

t crit = -2.382

t cal > t crit => H0 not rejected => the mean age in Beirut is not less than mean age in tripoli

0.01 <pvalue < 0.025


E. Comparing proportions for 2 independent samples - USE Z

The municipality wants to test if the proportion of men traveling by bus is different than the
proportion of women traveling by bus. Use a 1% level of significance to test this hypothesis
given that 45 of a 150 women sample and 32 of a 200 men sample travel by bus.

H0: π1= π2

H1: π1≠ π2

Alpha = 0.01

pc=0.22

Zcalc : 3.12

Z crit = 2.33

Z cal > z crit => we reject H0

Das könnte Ihnen auch gefallen