View
39
Download
4
Category
Preview:
DESCRIPTION
Chapter 12: Testing Hypotheses. Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two means t tests. You already know how to deal with two nominal variables. Independent Variables. Nominal Interval. - PowerPoint PPT Presentation
Citation preview
Chapter 13 – 1
Chapter 12: Testing Hypotheses
• Overview• Research and null hypotheses• One and two-tailed tests• Errors• Testing the difference between two means• t tests
Chapter 13 – 2
Overview
Int
erva
l
N
omin
al
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Considers the distribution of one variable across the categories of another variable
Considers the difference between the mean of one group on a variable with another group
Considers how a change in a variable affects a discrete outcome
Considers the degree to which a change in one variable results in a change in another
You already know how to deal with two
nominal variables
Chapter 13 – 3
Int
erva
l
N
omin
al
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Considers the difference between the mean of one group on a variable with another group
Considers how a change in a variable affects a discrete outcome
Considers the degree to which a change in one variable results in a change in another
You already know how to deal with two
nominal variables
Lambda
TODAY! Testing the differences
between groups
Overview
Chapter 13 – 4
Int
erva
l
N
omin
al
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Considers how a change in a variable affects a discrete outcome
Considers the degree to which a change in one variable results in a change in another
You already know how to deal with two
nominal variables
Lambda
TODAY! Testing the differences
between groups
Confidence Intervalst-test
Overview
Chapter 13 – 5
General ExamplesIn
terv
alN
omin
al
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Inte
rval
Nom
inal
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Inte
rval
Nom
inal
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Is one group scoring significantly higher on average than another group?
Is a group statistically different from another on a particular dimension?
Is Group A’s mean higher than Group B’s?
Chapter 13 – 6
Specific ExamplesIn
terv
alN
omin
al
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Inte
rval
Nom
inal
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Inte
rval
Nom
inal
Dep
ende
ntV
aria
ble
Independent Variables
Nominal Interval
Do people living in rural communities live longer than those in urban or suburban areas?
Do students from private high schools perform better in college than those from public high schools?
Is the average number of years with an employer lower or higher for large firms (over 100 employees) compared to those with fewer than 100 employees?
Chapter 13 – 7
• Statistical hypothesis testing – A procedure that allows us to evaluate hypotheses about population parameters based on sample statistics.
• Research hypothesis (H1) – A statement reflecting the substantive hypothesis. It is always expressed in terms of population parameters, but its specific form varies from test to test.
• Null hypothesis (H0) – A statement of “no difference,” which contradicts the research hypothesis and is always expressed in terms of population parameters.
Testing Hypotheses
Chapter 13 – 8
Research and Null HypothesesOne Tail — specifies the hypothesized direction• Research Hypothesis:
H1: 2 1, or 2 1 > 0• Null Hypothesis:
H0: 2 1, or 2 1 = 0
Two Tail — direction is not specified (more common)• Research Hypothesis:
H1: 2 1, or 2 1 = 0• Null Hypothesis:
H0: 2 1, or 2 1 = 0
Chapter 13 – 9
One-Tailed Tests• One-tailed hypothesis test – A hypothesis test
in which the alternative is stated in such a way that the probability of making a Type I error is entirely in one tail of a sampling distribution.
• Right-tailed test – A one-tailed test in which the sample outcome is hypothesized to be at the right tail of the sampling distribution.
• Left-tailed test – A one-tailed test in which the sample outcome is hypothesized to be at the left tail of the sampling distribution.
Chapter 13 – 10
Two-Tailed Tests
• Two-tailed hypothesis test – A hypothesis test in which the region of rejection falls equally within both tails of the sampling distribution.
Chapter 13 – 11
Probability Values
• Z statistic (obtained) – The test statistic computed by converting a sample statistic (such as the mean) to a Z score. The formula for obtaining Z varies from test to test.
• P value – The probability associated with the obtained value of Z.
Chapter 13 – 12
Probability Values
Chapter 13 – 13
Probability Values
• Alpha ( ) – The level of probability at which the null hypothesis is rejected. It is customary to set alpha at the .05, .01, or .001 level.
Chapter 13 – 14
Five Steps to Hypothesis Testing
(1) Making assumptions
(2) Stating the research and null hypotheses and selecting alpha
(3) Selecting the sampling distribution and specifying the test statistic
(4) Computing the test statistic
(5) Making a decision and interpreting the results
Chapter 13 – 15
• Type I error (false rejection error)the probability (equal to ) associated with rejecting a true null hypothesis.
• Type II error (false acceptance error)the probability associated with failing to reject a false null hypothesis.
Based on sample results, the decision made is to…reject H0 do not reject H0
In the true Type I correct population error () decisionH0 is ...
false correct Type II error decision
Type I and Type II Errors
Chapter 13 – 16
• t statistic (obtained) – The test statistic computed to test the null hypothesis about a population mean when the population standard deviation is unknow and is estimated using the sample standard deviation.
• t distribution – A family of curves, each determined by its degrees of freedom (df). It is used when the population standard deviation is unknown and the standard error is estimated from the sample standard deviation.
• Degrees of freedom (df) – The number of scores that are free to vary in calculating a statistic.
t Test
Chapter 13 – 17
t distribution
Chapter 13 – 18
t distribution table
Chapter 13 – 19
t-test for difference between two meansIs the value of 2 1 significantly different from 0?This test gives you the answer:
If the t value is greater than 1.96, the difference between the means is significantly different from zero at an alpha of .05 (or a 95% confidence level).
The difference between the two means
the estimated standard error of the difference
21
21
21
)2(
YY
NN S
YYt
The critical value of t will be higher than 1.96 if the total N is less than 122. See Appendix C for exact critical values when N < 122.
Chapter 13 – 20
2
22
1
21
YY N
s
N
sS
21
Estimated Standard Error of the difference between two meansassuming unequal variances
Chapter 13 – 21
t-test and Confidence Intervals
21
21
21
)2(
YY
NN S
YYt
The t-test is essentially creating a confidence interval around the difference score. Rearranging the above formula, we can calculate the confidence interval around the difference between two means:
)(2121 YY
StYY If this confidence interval overlaps with zero, then we cannot be certain that there is a difference between the means for the two samples.
Chapter 13 – 22
Why a t score and not a Z score?
• Use of the Z distribution has assumes the population standard error of the difference is known. In practice, we have to estimate it and so we use a t score.
• When N gets larger than 50, the t distribution converges with a Z distribution so the results would be identical regardless of whether you used a t or Z.
• In most sociological studies, you will not need to worry about the distinction between Z and t.
)(2121 YY
StYY
Chapter 13 – 23
t-Test Example 1Mean pay according to gender:
N Mean Pay S.D.
Women 46 $10.29 .8766
Men 54 $10.06 .9051
T
TY Y
sN
sN
N N
10 06 10 29
905154
876646
231785
1232 2
22 1
12
1
22
2
1 2
. .
. .
..
.
( )
What can we conclude about the difference in
wages?
Chapter 13 – 24
Mean pay according to gender:
N Mean Pay S.D.
Women 57 $9.68 1.0550
Men 51 $10.32 .9461
T
TY Y
sN
sN
N N
10 32 9 68
946151
1055057
641925
3 322 2
22 1
12
1
22
2
1 2
. .
. .
..
.
( )
What can we conclude about the difference in
wages?
t-Test Example 2
Chapter 13 – 25
Using these GSS income data, calculate a t-test statistic to determine if the difference between the two group means is statistically significant.
In-Class Exercise
Mean Standard Deviation N
Men $22,052.51 $17,734.92 434
Women $14,331.21 $12,165.89 448
62.71,027.18
7,831.30
44889.165,12
43492.734,17
21.221,1451.052,22T
220)88(
2
22
1
21
12
2)N(N
Ns
Ns
YYT
21
Recommended