chapter 9 9-3: inferences about two means … · chsprobandstats 1 chapter 9 chapter 9 9-3:...

4
CHSPROBAND STATS 1 CHAPTER 9 CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS INDEPENDENT SAMPLES Goal: To be able to use two sample MEANSfor constructing a confidence interval estimate of the difference between the corresponding population means, or testing a claim made about the two population means. DEFINITIONS Two samples are INDEPENDENT if the sample values selected from one population are not related to or somehow paired or matched with the sample ~ from the other population. Two samples are DEPENDENT (or consist f MATCHED PAIRSUf the members of one sample can be used to determine the members of the 0 e . les consisting of matched pairs (such as husband/wife data) are dependent. In addition to matched pairs of sample data, dependence could also occur with samples related through associations such as family members. EXAMPLE: Determine whether each of the following is an independent sample or a matched pair. a) The effectiveness of a diet is tested using weights of subjects measured before and after the diet treatment. / LMATC~t:> PA IR.J SMvtt: r~CN 1>~()VI() ~ BEFol2.E:. AF~ M~.suR.6M ~N'"fu. b) One group of subjects is treated with the cholesterol-reducing drug Lipitor, while another group is given a placebo. [I NDe:P5-N"D€NT) Tt<.€ATM~T GtI2-OUP. rl,..kC...e::Bo 6,R-Ou P. REQUIREMENTS 1. 0"1 and 0"2 are unknown and no assumption is made about the equality of 0"1 and 0"2' 2. The two samples are independent. 3. Both samples are simple random samples. 4. Either or both of these conditions is satisfied: The two sample sizes are both large (>3cCrJ both samples come from populations having normal distributions. (For small samples~~ normality requirement is loose in the sense that the procedures perform well as long as there are no outliers and departure from normality are not too extreme.) HYPOTHESIS TEST STATISTIC FOR TWO MEANS: INDEPENDENT SAMPLES THE. VA~IANCE:' o r- THE. DIFF- 6"~gNGGS 'Bt::"'WE.€.N do IND. Sp..MI'L..~ W~(J V~r"-- for LSnM.A.llOYl or fl. '" r _ C\n nA 1\.\0 \ (II r, fr n /If)

Upload: others

Post on 01-Aug-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS … · CHSPROBANDSTATS 1 CHAPTER 9 CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS INDEPENDENT SAMPLES Goal: Tobe able to use two sample MEANSfor

CHSPROBAND STATS 1CHAPTER 9

CHAPTER 99-3: INFERENCES ABOUT TWO MEANS

INDEPENDENT SAMPLES

Goal: To be able to use two sample MEANSfor constructing a confidence interval estimate of thedifference between the corresponding population means, or testing a claim made about the twopopulation means.

DEFINITIONS

Two samples are INDEPENDENT if the sample values selected from one population are not relatedto or somehow paired or matched with the sample ~ from the other population.

Two samples are DEPENDENT (or consist f MATCHED PAIRSUf the members of one sample canbe used to determine the members of the 0 e . les consisting of matched pairs (suchas husband/wife data) are dependent. In addition to matched pairs of sample data, dependencecould also occur with samples related through associations such as family members.

EXAMPLE: Determine whether each of the following is an independent sample or a matched pair.

a) The effectiveness of a diet is tested using weights of subjects measured before and after thediet treatment. /

LMATC~t:> PA IR.J SMvtt: r~CN 1>~()VI() ~ BEFol2.E:. AF~M~.suR.6M ~N'"fu.

b) One group of subjects is treated with the cholesterol-reducing drug Lipitor, while anothergroup is given a placebo. [I NDe:P5-N"D€NT) Tt<.€ATM~T GtI2-OUP.

rl,..kC...e::Bo 6,R-Ou P.REQUIREMENTS

1. 0"1 and 0"2 are unknown and no assumption is made about the equality of 0"1 and 0"2'

2. The two samples are independent.3. Both samples are simple random samples.4. Either or both of these conditions is satisfied: The two sample sizes are both large (>3cCrJ

both samples come from populations having normal distributions. (For small samples~~normality requirement is loose in the sense that the procedures perform well as long as thereare no outliers and departure from normality are not too extreme.)

HYPOTHESIS TEST STATISTIC FOR TWO MEANS: INDEPENDENT SAMPLESTHE. VA~IANCE:' o r- THE. DIFF-6"~gNGGS 'Bt::"'WE.€.N do IND.Sp..MI'L..~

W~(J V~r"--for LSnM.A.llOYlor fl.

'" r _ C\n nA 1\.\0 \ (II r,fr n /If)

Page 2: CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS … · CHSPROBANDSTATS 1 CHAPTER 9 CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS INDEPENDENT SAMPLES Goal: Tobe able to use two sample MEANSfor

CHS PROB AND STATSCHAPTER 9

2

Degrees of Freedom: When finding critical values or P-values, use the followingfor determining thenumber of degrees of freedom, denoted by ~;~_(~~~es~me!lw typically result in differentnumbers of degrees of freedom, the c l'lCllli~rH~1('Cct~ 'ls"i-arely ected by the choice.)

df = smaller Of~l -1'f-n/....n2-1)

P-values: Table A-3with the procedure summarized in Figure 8-6, Pg. 396.Critical values: Table A-3.

CONFIDENCE INTERVAL ESTIMATE OF #1 - #2: INDEPENDENT SAMPLES

01F (..c>W1= 1De..Nc...E- I N1"E..R.V fin-

l.1 U 1i:S Cc>N"ffilN 0 I Tl"t£NTttEl2-e IS, NOT A SIC=!tJIFIC.PtNT"D IFF E.12.e..Nce, ~ ETNe: e.N T'l'"tE .)-SIIMPl..E:. M.e::.AN&, WlilGH ME-fHJSI It Ie:'i co o 1,1) t!oe:. EQu Pr\.- .

(ill.IMITS. bONTC-ONTf\IN 0)

.l POP. ME"-;;S-A~e DI FF£~£NT.

And the number of degrees of freedom df is described above for hypothesis tests.

where

E La *"2

Because the hypothesis test and confidence interval use the same distribution and standard error,they are equivalent in the sense that they result in the same conclusions. Consequently the nullhypothesis of 111 = 112 (or /11 - /12 = 0) can be tested by determining whether the confidence intervalincludes O. For a two-tailed hypothesis test with a 0.05 significance level, use a 95%confidence interval. For a one-tailed test with a significance level of 0.05, use a 90%confidence Interval. r'l.. ",O.(J<" ~.os

~ O.qo

MAKING INFERENCES ABOUT TWO POPULATION MEANS

Before making an inference explore the two samples to describe center, variation, distribution,outliers, and whether the population appears to be changing over time (CVDOT). It could be helpfulto do the following:

• Find descriptive statistics for both data sets. n..,) ~ l..s• Create boxplots or stemplots of both data sets, drawn on the same scale so they can be

compared.• Create histograms of both data sets, so that their distributions can be seen and compared.• Identify any outliers.

Page 3: CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS … · CHSPROBANDSTATS 1 CHAPTER 9 CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS INDEPENDENT SAMPLES Goal: Tobe able to use two sample MEANSfor

3-* TEST A ~l..AIM/'. tty-rol rr£.SIS IE 5T 1-EXAMPLE2: The Revenue Commissioners in Ireland conducted a contest for promotion. The agesof the unsuccessful and successful applicants are given below. Some of the applicants who wereunsuccessful in getting the promotion charged that the competitiOnSd discrimination basedon age. Treat the data as samples from larger populations and use 0.05 Igniftcance level to testthe claim that the unsuccessful applicants are from a population wi reater mean age than themean age of successful applicants. Based on the result. does there appear to be discriminationbased on age?

CHS PROB AND STArsCHAPfER9

I ,rL~~~ ~ IA~esof Unsuccessful Applicants

34 37 37 38 41 42 43 44 44 4545 45 46 48 . 49. 53. 53 54 54 5556 57 60

\'--"/'?O }J--yAgesof Successful Applicants27 33 36 37 38 38 39 42 42 4343 44 44 44 45 45 45 45 46 4647 47 48 48 49 49 51 51 52 54

CD~~VI~E-~t.NTS ClHbC-.IL : 0\ t U2. l>\'lI.(.NowN.$ ASSuMED =p.

@ 8A-Ml'1..~ ~E:. ItJPE:"PENDQJi

® "SSlH~b. FI2-OM SLMPLI;. R.~DOM SI\'t-.APLE:.

(t) ~i~ l>o~ SA-M p~ I'rlt€. <Sf\.( fn-.-L. l '\]e:12-1 F'/ ~L 0<lM.. F"''' M f'IOI>.MI'<t-Vf 1>ISll>-IBU TI;I) poP UU\-Tl oNf; .

111~Ib~R.f\M DN Ck\...C. SitCV'lS &k'M~\"E. \ AP?€"fr12-S 1't>

~E. NC~Mf'rt...L,'t Dl£.Tl2-1 Bu-re:t>.(E.N1t:f2.. 'DA-T'A IN LIIT \. -ru~N or-J Sf)!)rT PLOT TO

.sPE:C.IF,/ ItISTD€I\~MV1 - ti IT GJ~~.).SAM'Pl,..E. 2- A'PP.cfr12-~ ,A'PPP-O)GIMA--n:..--L'j NO~MPrL-}l)O.

@ be;sc..r<.1 PTI~€:. SThT& '.nI ;. ;;>.. '¢ "'-I =- +1·0 &= 1.;>-n,.: 00 X ~4?Q &:: S.'}_ 2-

~hu..- V~I2-[F/~ :. c...oNDVc..-r t+yPOll~~I~ +eer,

~o" tJ-.,:: j.)..-L

(41.0 - 4?'1) -- 0

J;?+~.+-.3 --;0

* c.oMPA 12.c..-\;.e s-t. ~ t"S -h'c.

n:.L..n·-h~\ "'o.l ve.

(..R.ITI(.m- \I~\JG

FO R. O.O~-:::d-. I N A ONE.- 11HL-E:.t> rtsr \ USe. ~?P~OP2.IA-fE; C-OL.VMN It-! ThP;.L.E" A -0. f 1:.~J .11 r1 (

Page 4: CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS … · CHSPROBANDSTATS 1 CHAPTER 9 CHAPTER 9 9-3: INFERENCES ABOUT TWO MEANS INDEPENDENT SAMPLES Goal: Tobe able to use two sample MEANSfor

T tt€- J2.£. I S Nor 4E>VFFIl-JE-NT EV Il)£N C,,6 To SuPPof2. T

Ttte:' Gl..A\M T\t1'rT iM e. Me-frN A ~E:()l= UN.st)Gl.-e:5.s~v"" APPL..I 'f\t-J~ I~~ IZEA-~ '11tf\-N 1)1"E; M E:"fl N A c;,e ofbVC,,~S(:=l)1.-- f\ PP/...l~ ,

{J)OE.SI'JITAPP£/I~ 10 -Be DiSC.12.ININA'11c>N).<;. ItEJ"Ec.TION IZE:<=tIOI'l F~Of\ll /IlotJ-

CHS PROB AND STATSCHAPfER9

• R.\~~T - 11\ IL..€.D ~tt.l~£ ~&~eCT

BEc.AlJSe:; OF t\I'II fl€J"'e.c:.TION RE~IOtJ"

FAIL. TO ~t.JtC.T 110 e,/~ lE~T ST1\TDOES NOT FAL..l.- 1/oJ JZ.€.Jt.c.TION f2.b~JON.

EXAMPLE 3: Using the sam Ie data iven in the preceding example, construct a 90% confidenceinterval estimate of th difference between e mean age of unsuccessful applicants and the meanage of successful applicants. Remember, a one-sided hypothesis test with significance level 0.05can be tested by using a 90% confidence interval.) &,=1'd- "'I= Lf'1.0 SiJ.- .:: 5".9 :x;.::. 4-3.~rt.....~~ Ages of Unsuccessful Applicants

34 37 37 38 41 42 43 44 44 4545 45 46 48 49 53 53 54 54 5556 57 60

IL~OO Ages of Successful Applicants27 33 36 37 38 38 39 42 42 4343 44 44 44 45 45 45 45 46 4647 47 48 48 49 49 51 51 52 54

()~€Q\JI~£Me,NT c.ttb6JL'. Al..\....SAT1&FIED (:bONE.. IN Pt2-€'JIOuS E.)(A-MPLf:.J.

(~I - ~z.) - E < (JA..1- J..A.2,.) c (XI - ~2..)+- £

= [D . .)...)s.q>

00

c..~ITI c.AI- 'J A 1...0E.('012-IlE.SPoNDINe::, TD

'tOOJo $ ~f~:J..:;r .( 41 - 4-~.~) - ~.;). <. (}AI - ).)w2) ~ ( 4'1 - 4~ ~9) + -3I d-

1-0.1 < (/A, - JJ--z') <. (P. ~ ]

w~ A(a1:;. ~ O~o C-CNFIDE:NT J1ttI.;T ntE. \....1 M ITS o~ -0·11~ JlrND (p.~ iE~·S AC:IVfr1-I,...'1 1)0 c.oN"T'f' IN 'T1i'E

DIFf'E.RE:NC€ 5e..mE-EN 1""WO POPUL.-fn"1DN MEl\~ .. .,'fltt. t,...1M l~ bo C,ON11\IN 0 lSU~Cbtt:.STI NbJ rr IS 'POS~I~L£

T/tt\T TItE Tho rOPVLA1l0N Mt:f'tN.S f\fZ-e AGTI.JM..L'I £~\J~'

HOMEWORK: Pg. 479- 481 (#4-8. 9.11. 12. 17)