Docsity

Analysis of Variance: Tests for Two Means and Hypotheses About Mean Differences, Study notes of Social Statistics and Data Analysis

Partial preview of the text

Download Analysis of Variance: Tests for Two Means and Hypotheses About Mean Differences and more Study notes Social Statistics and Data Analysis in PDF only on Docsity!

Chapter 4

Analysis of Variance

4.3 Tests for Two Means

Hypotheses About Mean Differences

Many research hypotheses compare two population means:

 Women live longer than men  Republicans are more conservative than Democrats  Happiness differs between old and young

Restate symbolically as population mean differences:

H 0 :  1 <  2

H 1 :  1 >  2

One-tailed: H 0 :  1 =  2 H 1 :  1   2

Two-tailed:

Rearrange to show how the parameters differ from zero:

H 0 :  1 -  2 < 0 H 1 :  1 -  2 > 0

H 0 :  1 -  2 = 0

H 1 :  1 -  2  0

Dual sampling distributions

 1 -  2 = 8 – 6 = +

_

Combined sampling distribution

2

2 1 2

2

 ( Y 1  Y 2 )   1 / N  / N

Standard error of the mean difference is wider than the standard errors of the separate sampling distributions:

_

Steps in Hypothesis Testing

1&2. State hypothesis pairs in English & symbolic forms; rearrange to show numerical difference in parameters

H 0 :  1 =  2

H 1 :  1   2 ^

H 0 :  1 -  2 = 0

H 1 :  1 -  2  0

  1. Choose -level (Type I / false rejection error)
  2. In the Z score table, find the critical value(s) necessary to reject H 0 at your chosen -level  (alpha)

One-tail c.v. Two-tail c.v.

.05 1.651. .01 2.332. .001 3.103.

Steps (continued)

  1. Estimate the standard error using sample statistics

 (^) ( Y (^) 1  Y 2 )   12 / N 1 ^22 / N (^2) ˆ (^) ( ) 12 / 1 22 / 2  Y (^) 1  Y 2  s Ns N

  1. Calculate the t -test value, and compare it to the critical value(s); then decide whether to reject H 0

2

2 1 2

2 1

1 2 1 2

s N s N

Y Y

t

  1. If you reject H 0 , what is probability of making

a Type I error (false rejection error)? _____

Consistent with the null hypothesis, right-hand side of the numerator equals zero (see rearranged H 0 )

  1. State your substantive conclusion.

Test this research hypothesis with 2008 GSS data: Women & men differ in newspaper reading (times per year) H 0 : W = M H 1 : W  M

Women Men N (^701 ) Mean 175.3 179. Variance 21,786.0 22,398. 2 2 1 2 2 1

1 2 1 2 / /

( ) ( ) s N s N

Y Y

t     

= ___________________________________________

Decision about null hypothesis: _________________________

Probability of Type I error: _____________________________

Conclusion: ________________________________________

Test this research hypothesis with 2008 GSS data:

In the past 5 years, men had more sex partners than women

H 0 : M < W H 1 : M > W

Women Men N (^933 ) Mean 1.8 4. Variance 18.6 187. 2 2 1 2 2 1

1 2 1 2 / /

( ) ( ) s N s N

Y Y

t     

= __________________________________________

Decision about null hypothesis: ___________________ Probability of Type I error: _______________________ Conclusion: ___________________________________

Standard Error of Dichotomous Proportions

N

f p 1 (^) ^1 N

f p (^) 0 ^0 and p 0 + p 1 = 1. (In B&K, p. 124: p 1 = p and p 0 = q, thus p + q = 1.00)

Estimated standard error for one population’s sampling distribution:

spp 0 p 1 / Npq / N

A proportion is the relative frequency of one outcome to the total sample size. The two proportions of a dichotomy sum to unity:

Estimated standard error for the difference in two populations’ sampling distributions:

2

2 2

1

1 1 (^1 2) N

p q

N

p q s (^) p -p  

Liberals visit art museums more than conservatives

= _______________________________________________

Decision about null hypothesis: _______________________

Probability of Type I error: ___________________________

H 0 : L - C < 0

H 1 : L - C > 0

Libs Cons

N (^397 ) Prop. p .86. Prop. q .14. L L L C C C

L C L C p q N p q N

p p / /

( ) ( ) 

t     

Conclusion: ______________________________________

Test this research hypothesis with 2008 GSS data:

Hypotheses About Paired Means

Sometimes researchers want to compare the means of:

(1) two matched samples, such as husbands and wives (2) the same person’s responses to one variable at two times (e.g., before and after some experience) (3) two variables measured on identical scales for each person

  • Who does more housework, husbands or wives?
  • Do you feel about statistics today as you did last month?
  • Which tastes better – Coke or Pepsi?
  • Do Americans like Japan or China more?

We can’t apply the two-sample t-test. Although the sample size is 2N cases (paired scores from N cases), the members of each pair were not selected independently.

Instead, calculate t with the difference in paired scores.

Hypotheses about paired means ask whether the difference is zero in the two populations:  D =  1 -  2

H 0 : D = 0 H 1 : D  0

Calculate the sample standard deviation of the differences:

1

( )^2 

  N

s YD YD D Then estimate the standard error:

sD / N

In a sample, the difference for a pair of scores is:

YDY 1 iY 2 i