Chapter 8 Part 2. Unpaired t-test With Equal Variances With Unequal Variances

Size: px
Start display at page:

Download "Chapter 8 Part 2. Unpaired t-test With Equal Variances With Unequal Variances"

Transcription

1 Chapter 8 Part Upaired t-tet With Equal Variace With Uequal Variace December, 008

2 Goal: To eplai that the choice of the two ample t-tet deped o whether the ample are depedet or idepedet ad for the idepedet ample whether the two variace ca be coidered equal or ot. Skill: Give a quetio ad a dataet ou hould be able to (1) write dow the ull ad alterative hpothee, () pick out the correct Stata commad to aalze our problem ad (3) eplai whether ou accept or reject the ull hpothei ad (4) eplai wh. Cotet: Two ample upaired t-tet with equal variace - Page 1 Pooled variace - Page 4 tet tatitic - Page 5 tadard error - Page 5 cofidece iterval - Page 11 What tep do ou eed kow to correctl aalze the problem - Page 1 How to decide whether to ue uequal or equal variace - Page 14 Micoceptio cocerig overlappig cofidece iterval - Page 16 Two ample upaired t-tet with uequal variace - Page 17 tet tatitic - Page 19 tadard error - Page 19 cofidece iterval - Page 0 degree of freedom - Page 0 Overview table - Page 3 Stata:. ttet chol_bl, b(black) level(99). ttet hit, b(e) uequal. ttet hit, b(e) uequal welch Dataet: allhatchap8_1.dta hitidie.dta

3 Two ample upaired t-tet So far we kow how to deal with oe ample ad with two paired variable. We tarted b covertig the paired variable ito a igle variable b defiig the differece of each pair. Later we aw that Stata would fid the differece ad produce the paired t- tet all i oe commad. See the table o the lat two page of thi hadout for a overview. Whe we look at two ample which are idepedet ad therefore caot be coverted to a igle ample, we ru ito the problem of whether the variace for the two populatio from which the ample were draw are kow or ukow ad the whether the variace are equal or ot. The cae i which the two variace are kow i o rare that we will ot coider it. That leave u with whether the variace are equal or ot. We will approach the impler cae firt, amel the cae i which the variace of the two populatio are coidered equal. Eample: There i ome evidece that Black patiet repod to treatmet for elevated choleterol differetl from o-black patiet. So if we are goig to compare thee two group of patiet with repect to follow-up value of choleterol (alo called total choleterol ad repreeted b TC), we will firt wat to kow if the tarted off with imilar choleterol value. We have two idepedet ample here (baelie TC for Black ad baelie TC for o-black). There i o logical wa to pair thee ample ad the ample are of differet ize. The data et ued i allhatchap8_1.dta.. bort black: um(chol_bl) -> black No-Black Variable Ob Mea Std. Dev. Mi Ma chol_bl > black Black Variable Ob Mea Std. Dev. Mi Ma chol_bl Page -1-

4 The upaired t-tet with equal variace: Thi time we tart with two idepedet radom ample Y Y,,..., Y 1 (ote that ad do t have to be equal). X1, X,..., X ad So ow we have two ample mea ( ad ) ad two ample tadard deviatio ( ad ). Our hpothee are: H0: μ μ or μ μ 0 HA: μ μ or μ μ 0 veru. (ote there i o pairig here, we jut get each of the two mea ad the get the differece). Below we ll tart with the implet form, i.e. whe the variace are the ame. We aume X ~ N μ, σ ad Y ~ N μ, σ where σ i the commo variace for the two populatio. Sice the two ample are idepedet Var( X Y ) Var( X ( Y )) Var( X ) Var( Y ) σ σ 1 1 σ Var( Y ) Var( Y ) (recall that ). Page --

5 I geeral, it i ot the cae that the variace of a differece i the um of the variace (it i the idepedece of the two ample that give u thi). Uuall there i a term (called the covariace of the two variable) that take ito coideratio the lack of idepedece of the ample. Sice the um or differece of two ormall ditributed radom variable i alo ormall ditributed we get: 1 1 X Y ~ N( μ μ, σ ) If the ull hpothei i true (i.e. Which implie that μ μ 0. ),the 1 1 X Y ~ N( 0, σ ) X Y N σ 1 1 ~ ( 01, ). Sice we do t kow ad which we do kow. X σ, we will have to etimate it uig the two ample variace Y Sice the ad the are aumed to be from populatio that have the ame variace, ad are coidered to be two etimate of the ame variace. Therefore, it make ee to defie the variace that we eed for the t tatitic a a average of the two ample variace. But ad do t have to be equal. Sice we would epect the larger ample to provide a omewhat better etimate of the commo variace, we take the ample ize ito coideratio ad defie a average weighted b the ample ize o the larger ample ha more weight. The variace obtaied uig the weighted average of the idividual variace i called Page -3-

6 the pooled variace, deoted p ad i defied a below. p ( 1) ( 1) ( 1) ( 1) ( 1) ( 1) Note that 1 ad 1 are ot arbitraril choe but are related to degree of freedom. Recall that the defiitio of i ( i ) i 1 1 which mea that ( ) ( ) 1 i i 1. Thi mea that we have the um of the um of quare for the ad ( ) ( ) i i 1 j 1 j o the top ad the um of the degree of freedom for the ad the o the bottom. The pooled tadard deviatio i the quare root of ad i defied a below. p, o i deoted p p ( 1) ( 1) Page -4-

7 p Note i the pecial cae that (let call thi commo value ), become p ( 1) ( 1) ( 1) ( 1) ( 1)( ) ( 1) So whe the ample are the ame ize, the pooled variace i the imple average of the two variace. Now let go back to the uequal ample ize cae. The t below i the tet tatitic ued to tet the ull v the alterative hpothee H0: μ μ or μ μ 0 HA: μ μ or μ μ 0 veru. whe (1) the ample are idepedet ad () the variace ca be aumed to be equal. t p p p 1 1 with - degree of freedom. Sice t tatitic are of the form, t mea of ome ort tadard error of the mea the SE (tadard error) for the differece i 1 1 p We kow that for two ample (the ame a for oe ample) we ca either do a Page -5-

8 hpothei tet uig the t tatitic ad obtai a p-value or we ca obtai a cofidece iterval. The cofidece iterval for the two idepedet ample, equal populatio variace cae i the give b ( ) t, ( / ) p,( ) t, ( / ) 1 α 1 α p Title Sta [R] ttet -- Mea compario tet Group mea compario tet ttet varame [if] [i], b(groupvar) [optio] optio decriptio Mai * b(groupvar) variable defiig the group uequal upaired data have uequal variace welch ue Welch' approimatio level(#) et cofidece level; default i level(95) * b(groupvar) i required. Note below that the equal variace verio of the tet i the default.. ttet chol_bl,b(black) Two-ample t tet with equal variace Group Ob Mea Std. Err. Std. Dev. [95% Cof. Iterval] No-Blac Black combied diff diff mea(no-blac) - mea(black) t Ho: diff 0 degree of freedom 1071 Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) 0.01 Pr(T > t) Page -6-

9 How do we iterpret thi pritout. Firt let u recall that the ull ad alterative hpothee are H0: μ μ or μ μ 0 HA: μ μ or μ μ 0 Let u aume that the α-level i veru. Becaue we ve aumed a two-tailed tet the reult we wat are i the middle. We have t , p 0.01 ad df 1071 (i.e. NoBK BK ). The p-value (0.01 which we will report a 0.01) i maller tha α (0.05), o ou reject the ull hpothei. Had we choe α to be 0.01, the p (0.01) would be bigger tha α o we would fail to reject the ull hpothei (alo kow a accept the ull hpothei). What I do i the et everal page i jut to how ou how the formula we got above relate to the Stata output. Let u aume the go with the No-Black ad the go with the Black. No-Black i repreeted b o o (7.0853) Black i repreeted b o o ( ) ad Page -7-

10 ( ) ( ) p p SE p Therefore the t tatitic with degree of freedom i t p So we have the t tatitic ad the degree of freedom. All we have to do ow i verif the p-value. If we draw the area for p give a two-tailed tet ad t , we would get the graph o the et page. The fuctio we have available to calculate the p-value i the fuctio ttail. Thi fuctio give ou the area to the right of the cutoff, i thi cae But the area to the right of (ee the graph o the et page) i ot what we wat. We have two choice. We ca ubtitute.5066 for (becaue of the mmetr of the t ditributio) ad obtai the area to the right of The we multiple b two becaue that i ol half of p. Page -8-

11 So the followig give u the p-value.. di *ttail(1071,.5066) The other choice i to ue ttail(1071, ) ad recogize that the complemet to thi area i half of the value of p (ee graph o et page).. di *(1 - ttail(1071,-.5066)) t ditributio with df 1071 Black/No-Black compario.3 ivttail(1071, ) light area to right of dark area (1/)p t How do we obtai the cutoff poit for the area α 0.05 (i.e o either ed) for a two-tailed tet? We wat thi cutoff becaue it i the t-value i the cofidece iterval (i.e. t 1, ( α / ) ). I thi cae we kow the ize of the area (0.05) ad the degree of freedom ad we wat to kow the cutoff. The ivttail allow u to plug i the area ad degree of freedom ad get the umber that cut off that area. We eed half of the area i the upper tail ad half i the lower tail o I put 0.05 (half of 0.05) i the fuctio. Page -9-

12 . di ivttail(1071,0.05) Thi awer hould t be a urprie ice with 1071 degree of freedom thi t ditributio hould be ver cloe to a N(0,1). Note that the cutoff for the other tail i therefore So the olid area i the graph below i α 0.05 with 0.05 i each tail. The two tailed p-value that goe with the cutoff i (i.e i twice the area to the left of ) a we ve dicued earlier. Notice that the area for the p-value fit withi the area for α 0.05 (i.e. the p-value i le tha 0.05 o we reject the ull hpothei). Or aother wa of aig thi i that the t -.5 fit i the rejectio regio..4.4 t ditributio with df 1071 t ditributio with df 1071 Black/No-Black compario Black/No-Black compario ttail(1071, ) ivttail(1071,0.05) ivttail(1071,0.05) Sice df 1071, Sice df 1071, the cutoff for a i the cutoff for a i Blue area (1/)p t t The 100*(1 - α)% cofidece iterval for the differece i give b the equatio below ( ) t, ( / ) p,( ) t, ( / ) 1 α 1 α p Page -10-

13 For α 0.05 we foud above that t 1071, SE p So the 95% CI for (which i the mea for the No-Black miu the mea for the Black) i ( ( ), ( )) (-.44, -0.30). di (1.96*0.545) di (1.96*0.545) Zero i ot i the CI o we reject the ull hpothei at α 0.05 (we are lookig for zero i the iterval becaue μ μ 0 implie μ μ ) i favor of the alterative μ μ. Whe we have the p-value, we ca chage the α - level ad till kow whether to reject or ot without makig a more computatio. Of coure, ou hould t be chagig the α - level after ou ve aalzed the data, but a reader of our paper who did t agree with our choice of α - level could eail compare the p-value to hi/her preferred α - level. Such a reader would have to recompute the cofidece iterval to be able to ue a differet α - level (paper rarel provide eough iformatio for a reader to be able to do thi). O the other had, oce we ve calculated the cofidece iterval we ca ee how far apart the mea ca be ad till be coidered equal. Page -11-

14 Now the quetio i - what do I epect ou to do? Certail ot all the tuff above. 1) What i the quetio? We wih to kow if the Black ad No-Black have imilar baelie value for total choleterol. ) Do we ue a two-tailed tet or a oe-tailed tet? Remember we go with a two-tailed tet ule we have prior evidece of a particular directio (i.e % of time we ll ue two-tailed tet). 3) So what i our formal tatemet of the ull ad alterative hpothee. H 0 : μ (No-Black) μ (Black) or μ - μ 0 veru H A : μ μ or μ - μ 0 4) What are we goig to elect for the α - level? We make the choice here (i.e. before we look at the data). A commo choice i I m goig to pick α 0.01 o we ca ee how a differet choice of α-level ca impact the reult. I the commad below otice that I have added level (99) to the commad I ra earlier. Thi i becaue the default i a 95% cofidece iterval (i.e. α 0.05) but we wat a 99% cofidece iterval to go with α ) I thi a paired or upaired problem? Upaired. 6) How do we kow a t-tet i the appropriate choice? Firt, baelie choleterol i a cotiuou variable ad the ample ize i large o the ditributio of mea (amplig ditributio) i likel to be ormall ditributed. Secodl, we are comparig two group (Black ad No-Black) with repect to mea. 7) How do we kow we hould ue the equal variace verio of the t-tet? We do t et but we will. Page -1-

15 . ttet chol_bl,b(black) level(99) Two-ample t tet with equal variace Group Ob Mea Std. Err. Std. Dev. [99% Cof. Iterval] No-Blac Black combied diff diff mea(no-blac) - mea(black) t Ho: diff 0 degree of freedom 1071 Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) 0.01 Pr(T > t) Thi pritout i the ame oe ou got before ecept for the chage i the cofidece iterval. A chage i α - level doe t chage the value of the t tatitic or p-value. It ma chage our reult (reject v fail to reject). Becaue of the wa we have tated the problem we will coider ol the two-tailed reult. The two-tailed tet i the ceter oe with t ad p The value of p (0.01) i larger tha the value of α (0.01) o we fail to reject the ull hpothei (for α 0.05 we would reject the ull hpothei for the two-tailed tet). I would report the reult a: The aali ued wa a two-tailed t-tet ad the reult were t -.51, df 1071 ad p We therefore cocluded that TC wa the ame for the Black ad No-Black give α OR The 99% cofidece iterval i alo a two-tailed tet at the α 0.01 level. The 99% cofidece iterval for the differece i (-.771, 0.038). If zero i i the iterval, we fail to reject the ull hpothei. If zero i ot i the iterval, we reject the ull hpothei. Zero i i the iterval o we fail to reject the ull hpothei. Thi i the ame awer we got with the p-value (if ou get a differet awer, ou d better look cloel at what ou ve doe becaue ou hould get the ame awer). Wh are we cocered about whether or ot zero i i the iterval? Becaue μ μ 0 i equivalet to μ μ. The lat thig ou ll eed to do with thi problem i to make ure ou have appropriatel ued a tet aumig equal variace. Sta tued to thi tatio for further detail. Page -13-

16 Aide for oe-tailed tet: Notice that had we aumed a oe-tailed lower tailed tet H 0 : μ (No-Black) μ (Black) or μ - μ 0 veru H A : μ < μ or μ - μ < 0 we would have rejected the ull hpothei becaue α 0.01 i larger tha p ad cocluded that the TC of the No-Black wa le tha the TC of the Black. Had we aumed a oe-tailed upper tailed tet H 0 : μ (No-Black) μ (Black) or μ - μ 0 veru H A : μ > μ or μ - μ > 0 we would have failed to reject the ull hpothei becaue α 0.01 i maller tha ad cocluded that the TC for Black ad No-Black wa the ame. p If ou ue a oe-tailed tet ou have to be ure ou kow which tail to pick prior to ou aali. Now back to how to decide o equal variace veru uequal variace. Old Fahioed Method The Rule of Thumb i a follow: If the two ample each have the ame ample ize, uig the equal variace verio of the t-tet i appropriate regardle of what the two variace look like. If the ample ize are ot equal ad 1) the ample with the maller ample ize ha the larger variace ad ) that variace i more tha twice the ize of the variace of the larger ample, the ue the uequal tet. Otherwie, ue the equal variace verio of the t-tet. Thi mea the equal variace verio i what i ued mot of the time. For our particular problem the maller ample (Black with ample ize 388) ha the maller variace ( ). So the equal variace verio i the appropriate oe to ue. More Moder Method - Eve eaier tha the rule of thumb. Ru both the equal variace ad the uequal variace verio of the t-tet. If ou reject the ull hpothei with both verio or ou accept the ull hpothei with both verio, report the equal variace verio otherwie, report the uequal variace Page -14-

17 verio. Equal variace verio of the t-tet for two idepedet ample:. ttet chol_bl,b(black) level(99) Two-ample t tet with equal variace Group Ob Mea Std. Err. Std. Dev. [99% Cof. Iterval] No-Blac Black combied diff diff mea(no-blac) - mea(black) t Ho: diff 0 degree of freedom 1071 Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) 0.01 Pr(T > t) Uequal variace verio of the t-tet for two idepedet ample:. ttet chol_bl,b(black) level(99) uequal Two-ample t tet with uequal variace Group Ob Mea Std. Err. Std. Dev. [99% Cof. Iterval] No-Blac Black combied diff diff mea(no-blac) - mea(black) t Ho: diff 0 Satterthwaite' degree of freedom Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) Pr(T > t) Uig the two-tailed tet ou would fail to reject the ull hpothei (aumig α 0.01) ad reject the ull hpothei (aumig α 0.05) with both the equal ad uequal variace verio o report the equal variace reult. Notice that whe we are coiderig a -level of 0.01, we requet the 99% cofidece iterval. Whe coiderig a α -level of 0.05, we requet the 95% cofidece iterval. Thi would be the ed of the problem (FINALLY). α Page -15-

18 A commo micoceptio regardig hpothei tetig ad cofidece iterval i the two idepedet group tet: You will otice that i the output for the t-tet of Black veru o-black with repect to total choleterol, ou get ot ol the cofidece iterval for the differece of the two group mea but alo a cofidece iterval for the mea choleterol i the Black ad for the mea choleterol i the o-black. You will frequetl ee i the literature ivetigator claimig that ice the cofidece iterval for the mea of the two idepedet group overlap, the two group mea are ot tatiticall differet. Thi i ot correct. There ca be ubtatial overlap of the two cofidece iterval ad et the tatitic (mea i thi cae) ca till be tatiticall differet. Let u uppoe that we have two idepedet ample ad the mea of oe i 10 (Group 1) ad the mea of the other i (Group ). Let u further uppoe that the tadard deviatio are the ame for both group ad the ample ize are alo the ame for both group. Thi mea the tadard error are the ame for both group SE SD ice. Let u aume that the value for the commo SE i 4. Our hpothee are the: H 0 : 1 veru H A : 1 μ μ μ μ Let u further aume that the ample ize are large eough that we are comfortable uig the ormal ditributio to obtai our cofidece iterval. If we are uig 95% cofidece iterval, thi mea the critical poit (or cutoff poit) i So our cofidece iterval are: ( (4), (4)) (., 17.8) ad ( (4), 1.96(4)) (14., 9.8). So we have coiderable overlap betwee the two cofidece iterval. However, uig the hpothei tetig approach, we get Page -16-

19 z Sice.1 > 1.96, the reult i clearl igificat at the α 0.05 level. Or uig the cofidece iterval for the differece we get ( - 10) 1.96 (0.9, 3.1). ± 4 4 Sice 0 i ot i the iterval for the differece, we reject the ull hpothei i favor of the alterative. Although there i coiderable overlap, the mea of the two group are tatiticall differet. So for the two idepedet group problem ou eed to coider the cofidece iterval for the differece or the hpothei tet but ot the relatiohip of the cofidece iterval of the idividual mea. The upaired t-tet with uequal variace: Small Stud: The followig data repreet total hitidie ecretio i mg from 4-hour urie ample for 5 me ad 10 wome.. lit id e hitidie,oob id e hitid~e Me 9 Me 36 3 Me Me 17 5 Me Wome Wome 4 8 Wome Wome Wome Wome Wome Wome Wome Wome 138 Page -17-

20 The quetio i - Do the total hitidie level of me differ from thoe of wome? Sice the ample of me i idepedet of the ample of wome, we ll ue the upaired t-tet. Sice we kow othig about the data at thi poit, we ll ue the t-tet with equal variace.. ttet hit,b(e) Two-ample t tet with equal variace Group Ob Mea Std. Err. Std. Dev. [95% Cof. Iterval] Me Wome combied diff diff mea(me) - mea(wome) t Ho: diff 0 degree of freedom 13 Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) Pr(T > t) Note that the maller ample (i.e. the me) ha a variace ( ) that i more tha twice that of the larger ample ( ). So let u look at the t-tet for uequal variace.. ttet hit,b(e) uequal Two-ample t tet with uequal variace Group Ob Mea Std. Err. Std. Dev. [95% Cof. Iterval] Me Wome combied diff diff mea(me) - mea(wome) t.5667 Ho: diff 0 Satterthwaite' degree of freedom Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) Pr(T > t) Note that we would ot reject the ull hpothei at a α-level of 0.05 uig the uequal variace t-tet but would reject for the equal variace t-tet. So here we would report the uequal variace tet becaue there i a mimatch betwee to two aale. Page -18-

21 So what i the etup for the upaired t-tet with uequal variace: X, X,..., X 1) Thi time we tart with two idepedet radom ample ad YY,,..., Y 1 1 (ote that ad do t have to be equal). We have μ ad where σ Y ~ N( μ, σ ) X ~ N(, ) σ σ ) So ow we have two ample mea ( ad ) ad two ample tadard deviatio ( ad ). X Y 3) Sice the ad the are aumed to have differet variace, it o loger make ee to ue a pooled etimate. X 4) So i aumed to be ormall ditributed with mea ad variace σ σ We get the above for the variace becaue the ample are idepedet o Y μ μ Var( X Y ) Var( X ) Var( Y ) μ μ μ μ 0 5) The ull hpothei i or. 6) Now we get t The problem here i the degree of freedom that will ue for the t ditributio i ot o clear. Page -19-

22 7) Satterthwaite give u a approimatio for the degree of freedom that give u a appropriate tpe I error. Ufortuatel the proof that thi make ee i beod the cope of thi book o I ll jut preet the reult. We ll let d' be the degree of freedom. The d' ( 1) 1 ( ) d' Notice that will ot alwa be a iteger. Roer ugget that ou roud dow to the earet iteger, but ewer computig techique allow ou to ue a o-iteger form of d' (i.e. Stata ivttail ca be computed for d' 7.6 for eample). 8) The cofidece iterval i the give b ( ) td ', 1 ( α/ ),( ) td ', 1 ( α/ ) Notice that I have ued d ' rather tha Roer d''. Page -0-

23 9) The Welch degree of freedom are give b The Welch formula for the degree of freedom i le commol ued tha the Satterthwaite. ( ) df 1 1 ( ) Page -1-

24 . ttet hit, b(e) uequal welch Two-ample t tet with uequal variace Group Ob Mea Std. Err. Std. Dev. [95% Cof. Iterval] Me Wome combied diff diff mea(me) - mea(wome) t.5667 Ho: diff 0 Welch' degree of freedom Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) Pr(T > t) ttet hit, b(e) uequal Two-ample t tet with uequal variace Group Ob Mea Std. Err. Std. Dev. [95% Cof. Iterval] Me Wome combied diff diff mea(me) - mea(wome) t.5667 Ho: diff 0 Satterthwaite' degree of freedom Ha: diff < 0 Ha: diff! 0 Ha: diff > 0 Pr(T < t) Pr( T > t ) Pr(T > t) Notice that the differece i the degree of freedom mea that the cofidece iterval for the differece i differet uig the Welch tha uig the Satterthwaite. The p-value are alo differet. Otherwie the two pritout are the ame. Page --

25 Oe ample Two ample Depedet d i i i Two ample Idepedet Equal variace Two ample Idepedet Uequal variace H H H : μ μ 0 0 H A : μ μ0 H H H H : μ 0 0 d A : μ 0 d : μ μ 0 0 : μ μ 0 A : μ μ 0 0 : μ μ 0 A t μ0 t t t d d 0 ( ) p ( ) 0 Oe ample t μ0 df 1 Two ample Depedet d i i i Two ample Idepedet Equal variace Two ample Idepedet Uequal variace t t t d d 0 ( ) p ( ) 0 df df 1 Satterthwaite Welch Page -3-

26 H 0 :μ SBP 145 Oe ample ttet bp_bl 145 Two ample Depedet di i i Two ample Idepedet Equal variace Two ample Idepedet Uequal variace H 0 : μ SBP BL μ _ SBP _ 1r H 0 :μ Bk μ NoBk H 0 :μ Bk μ NoBk ttet bp_bl bp_1 Paired i the default ttet bp_bl,b(black) Equal variace i the default ttet bp_bl, b(black) uequal Satterthwaite i default Page -4-

Comments on Discussion Sheet 18 and Worksheet 18 ( ) An Introduction to Hypothesis Testing

Comments on Discussion Sheet 18 and Worksheet 18 ( ) An Introduction to Hypothesis Testing Commet o Dicuio Sheet 18 ad Workheet 18 ( 9.5-9.7) A Itroductio to Hypothei Tetig Dicuio Sheet 18 A Itroductio to Hypothei Tetig We have tudied cofidece iterval for a while ow. Thee are method that allow

More information

x z Increasing the size of the sample increases the power (reduces the probability of a Type II error) when the significance level remains fixed.

x z Increasing the size of the sample increases the power (reduces the probability of a Type II error) when the significance level remains fixed. ] z-tet for the mea, μ If the P-value i a mall or maller tha a pecified value, the data are tatitically igificat at igificace level. Sigificace tet for the hypothei H 0: = 0 cocerig the ukow mea of a populatio

More information

Chapter 9. Key Ideas Hypothesis Test (Two Populations)

Chapter 9. Key Ideas Hypothesis Test (Two Populations) Chapter 9 Key Idea Hypothei Tet (Two Populatio) Sectio 9-: Overview I Chapter 8, dicuio cetered aroud hypothei tet for the proportio, mea, ad tadard deviatio/variace of a igle populatio. However, ofte

More information

COMPARISONS INVOLVING TWO SAMPLE MEANS. Two-tail tests have these types of hypotheses: H A : 1 2

COMPARISONS INVOLVING TWO SAMPLE MEANS. Two-tail tests have these types of hypotheses: H A : 1 2 Tetig Hypothee COMPARISONS INVOLVING TWO SAMPLE MEANS Two type of hypothee:. H o : Null Hypothei - hypothei of o differece. or 0. H A : Alterate Hypothei hypothei of differece. or 0 Two-tail v. Oe-tail

More information

M227 Chapter 9 Section 1 Testing Two Parameters: Means, Variances, Proportions

M227 Chapter 9 Section 1 Testing Two Parameters: Means, Variances, Proportions M7 Chapter 9 Sectio 1 OBJECTIVES Tet two mea with idepedet ample whe populatio variace are kow. Tet two variace with idepedet ample. Tet two mea with idepedet ample whe populatio variace are equal Tet

More information

REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION

REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION REVIEW OF SIMPLE LINEAR REGRESSION SIMPLE LINEAR REGRESSION I liear regreio, we coider the frequecy ditributio of oe variable (Y) at each of everal level of a ecod variable (X). Y i kow a the depedet variable.

More information

Statistical Inference Procedures

Statistical Inference Procedures Statitical Iferece Procedure Cofidece Iterval Hypothei Tet Statitical iferece produce awer to pecific quetio about the populatio of iteret baed o the iformatio i a ample. Iferece procedure mut iclude a

More information

S T A T R a c h e l L. W e b b, P o r t l a n d S t a t e U n i v e r s i t y P a g e 1. = Population Variance

S T A T R a c h e l L. W e b b, P o r t l a n d S t a t e U n i v e r s i t y P a g e 1. = Population Variance S T A T 4 - R a c h e l L. W e b b, P o r t l a d S t a t e U i v e r i t y P a g e Commo Symbol = Sample Size x = Sample Mea = Sample Stadard Deviatio = Sample Variace pˆ = Sample Proportio r = Sample

More information

Stat 3411 Spring 2011 Assignment 6 Answers

Stat 3411 Spring 2011 Assignment 6 Answers Stat 3411 Sprig 2011 Aigmet 6 Awer (A) Awer are give i 10 3 cycle (a) 149.1 to 187.5 Sice 150 i i the 90% 2-ided cofidece iterval, we do ot reject H 0 : µ 150 v i favor of the 2-ided alterative H a : µ

More information

TESTS OF SIGNIFICANCE

TESTS OF SIGNIFICANCE TESTS OF SIGNIFICANCE Seema Jaggi I.A.S.R.I., Library Aveue, New Delhi eema@iari.re.i I applied ivetigatio, oe i ofte itereted i comparig ome characteritic (uch a the mea, the variace or a meaure of aociatio

More information

Statistics and Chemical Measurements: Quantifying Uncertainty. Normal or Gaussian Distribution The Bell Curve

Statistics and Chemical Measurements: Quantifying Uncertainty. Normal or Gaussian Distribution The Bell Curve Statitic ad Chemical Meauremet: Quatifyig Ucertaity The bottom lie: Do we trut our reult? Should we (or ayoe ele)? Why? What i Quality Aurace? What i Quality Cotrol? Normal or Gauia Ditributio The Bell

More information

Tools Hypothesis Tests

Tools Hypothesis Tests Tool Hypothei Tet The Tool meu provide acce to a Hypothei Tet procedure that calculate cofidece iterval ad perform hypothei tet for mea, variace, rate ad proportio. It i cotrolled by the dialog box how

More information

20. CONFIDENCE INTERVALS FOR THE MEAN, UNKNOWN VARIANCE

20. CONFIDENCE INTERVALS FOR THE MEAN, UNKNOWN VARIANCE 20. CONFIDENCE INTERVALS FOR THE MEAN, UNKNOWN VARIANCE If the populatio tadard deviatio σ i ukow, a it uually will be i practice, we will have to etimate it by the ample tadard deviatio. Sice σ i ukow,

More information

STA 4032 Final Exam Formula Sheet

STA 4032 Final Exam Formula Sheet Chapter 2. Probability STA 4032 Fial Eam Formula Sheet Some Baic Probability Formula: (1) P (A B) = P (A) + P (B) P (A B). (2) P (A ) = 1 P (A) ( A i the complemet of A). (3) If S i a fiite ample pace

More information

SOLUTION: The 95% confidence interval for the population mean µ is x ± t 0.025; 49

SOLUTION: The 95% confidence interval for the population mean µ is x ± t 0.025; 49 C22.0103 Sprig 2011 Homework 7 olutio 1. Baed o a ample of 50 x-value havig mea 35.36 ad tadard deviatio 4.26, fid a 95% cofidece iterval for the populatio mea. SOLUTION: The 95% cofidece iterval for the

More information

VIII. Interval Estimation A. A Few Important Definitions (Including Some Reminders)

VIII. Interval Estimation A. A Few Important Definitions (Including Some Reminders) VIII. Iterval Etimatio A. A Few Importat Defiitio (Icludig Some Remider) 1. Poit Etimate - a igle umerical value ued a a etimate of a parameter.. Poit Etimator - the ample tatitic that provide the poit

More information

18.05 Problem Set 9, Spring 2014 Solutions

18.05 Problem Set 9, Spring 2014 Solutions 18.05 Problem Set 9, Sprig 2014 Solutio Problem 1. (10 pt.) (a) We have x biomial(, θ), o E(X) =θ ad Var(X) = θ(1 θ). The rule-of-thumb variace i jut 4. So the ditributio beig plotted are biomial(250,

More information

IntroEcono. Discrete RV. Continuous RV s

IntroEcono. Discrete RV. Continuous RV s ItroEcoo Aoc. Prof. Poga Porchaiwiekul, Ph.D... ก ก e-mail: Poga.P@chula.ac.th Homepage: http://pioeer.chula.ac.th/~ppoga (c) Poga Porchaiwiekul, Chulalogkor Uiverity Quatitative, e.g., icome, raifall

More information

Difference tests (1): parametric

Difference tests (1): parametric NST B Eperimetal Pychology Statitic practical Differece tet (): parametric Rudolf Cardial & Mike Aitke / 3 December 003; Departmet of Eperimetal Pychology Uiverity of Cambridge Hadout: Awer to Eample (from

More information

Confidence Intervals: Three Views Class 23, Jeremy Orloff and Jonathan Bloom

Confidence Intervals: Three Views Class 23, Jeremy Orloff and Jonathan Bloom Cofidece Iterval: Three View Cla 23, 18.05 Jeremy Orloff ad Joatha Bloom 1 Learig Goal 1. Be able to produce z, t ad χ 2 cofidece iterval baed o the correpodig tadardized tatitic. 2. Be able to ue a hypothei

More information

Confidence Intervals. Confidence Intervals

Confidence Intervals. Confidence Intervals A overview Mot probability ditributio are idexed by oe me parameter. F example, N(µ,σ 2 ) B(, p). I igificace tet, we have ued poit etimat f parameter. F example, f iid Y 1,Y 2,...,Y N(µ,σ 2 ), Ȳ i a poit

More information

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2 Chapter 8 Comparig Two Treatmets Iferece about Two Populatio Meas We wat to compare the meas of two populatios to see whether they differ. There are two situatios to cosider, as show i the followig examples:

More information

Chapter 9: Hypothesis Testing

Chapter 9: Hypothesis Testing Chapter 9: Hypothei Tetig Chapter 5 dicued the cocept of amplig ditributio ad Chapter 8 dicued how populatio parameter ca be etimated from a ample. 9. Baic cocept Hypothei Tetig We begi by makig a tatemet,

More information

ME 410 MECHANICAL ENGINEERING SYSTEMS LABORATORY REGRESSION ANALYSIS

ME 410 MECHANICAL ENGINEERING SYSTEMS LABORATORY REGRESSION ANALYSIS ME 40 MECHANICAL ENGINEERING REGRESSION ANALYSIS Regreio problem deal with the relatiohip betwee the frequec ditributio of oe (depedet) variable ad aother (idepedet) variable() which i (are) held fied

More information

Common Large/Small Sample Tests 1/55

Common Large/Small Sample Tests 1/55 Commo Large/Small Sample Tests 1/55 Test of Hypothesis for the Mea (σ Kow) Covert sample result ( x) to a z value Hypothesis Tests for µ Cosider the test H :μ = μ H 1 :μ > μ σ Kow (Assume the populatio

More information

STUDENT S t-distribution AND CONFIDENCE INTERVALS OF THE MEAN ( )

STUDENT S t-distribution AND CONFIDENCE INTERVALS OF THE MEAN ( ) STUDENT S t-distribution AND CONFIDENCE INTERVALS OF THE MEAN Suppoe that we have a ample of meaured value x1, x, x3,, x of a igle uow quatity. Aumig that the meauremet are draw from a ormal ditributio

More information

Statistical Equations

Statistical Equations Statitical Equatio You are permitted to ue the iformatio o thee page durig your eam. Thee page are ot guarateed to cotai all the iformatio you will eed. If you fid iformatio which you believe hould be

More information

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010 Pearso Educatio, Ic. Comparig Two Proportios Comparisos betwee two percetages are much more commo tha questios about isolated percetages. Ad they are more

More information

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010, 2007, 2004 Pearso Educatio, Ic. Comparig Two Proportios Read the first two paragraphs of pg 504. Comparisos betwee two percetages are much more commo

More information

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions Chapter 9 Slide Ifereces from Two Samples 9- Overview 9- Ifereces about Two Proportios 9- Ifereces about Two Meas: Idepedet Samples 9-4 Ifereces about Matched Pairs 9-5 Comparig Variatio i Two Samples

More information

CHAPTER 6. Confidence Intervals. 6.1 (a) y = 1269; s = 145; n = 8. The standard error of the mean is = s n = = 51.3 ng/gm.

CHAPTER 6. Confidence Intervals. 6.1 (a) y = 1269; s = 145; n = 8. The standard error of the mean is = s n = = 51.3 ng/gm. } CHAPTER 6 Cofidece Iterval 6.1 (a) y = 1269; = 145; = 8. The tadard error of the mea i SE ȳ = = 145 8 = 51.3 g/gm. (b) y = 1269; = 145; = 30. The tadard error of the mea i ȳ = 145 = 26.5 g/gm. 30 6.2

More information

Tables and Formulas for Sullivan, Fundamentals of Statistics, 2e Pearson Education, Inc.

Tables and Formulas for Sullivan, Fundamentals of Statistics, 2e Pearson Education, Inc. Table ad Formula for Sulliva, Fudametal of Statitic, e. 008 Pearo Educatio, Ic. CHAPTER Orgaizig ad Summarizig Data Relative frequecy frequecy um of all frequecie Cla midpoit: The um of coecutive lower

More information

MATHEMATICS LW Quantitative Methods II Martin Huard Friday April 26, 2013 TEST # 4 SOLUTIONS

MATHEMATICS LW Quantitative Methods II Martin Huard Friday April 26, 2013 TEST # 4 SOLUTIONS ATHATICS 360-55-L Quatitative ethod II arti Huard Friday April 6, 013 TST # 4 SOLUTIONS Name: Awer all quetio ad how all your work. Quetio 1 (10 poit) To oberve the effect drikig a Red Bull ha o cocetratio,

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2016 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

100(1 α)% confidence interval: ( x z ( sample size needed to construct a 100(1 α)% confidence interval with a margin of error of w:

100(1 α)% confidence interval: ( x z ( sample size needed to construct a 100(1 α)% confidence interval with a margin of error of w: Stat 400, ectio 7. Large Sample Cofidece Iterval ote by Tim Pilachowki a Large-Sample Two-ided Cofidece Iterval for a Populatio Mea ectio 7.1 redux The poit etimate for a populatio mea µ will be a ample

More information

TI-83/84 Calculator Instructions for Math Elementary Statistics

TI-83/84 Calculator Instructions for Math Elementary Statistics TI-83/84 Calculator Itructio for Math 34- Elemetary Statitic. Eterig Data: Data oit are tored i Lit o the TI-83/84. If you have't ued the calculator before, you may wat to erae everythig that wa there.

More information

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008 Chapter 6 Part 5 Cofidece Itervals t distributio chi square distributio October 23, 2008 The will be o help sessio o Moday, October 27. Goal: To clearly uderstad the lik betwee probability ad cofidece

More information

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to: STA 2023 Module 10 Comparig Two Proportios Learig Objectives Upo completig this module, you should be able to: 1. Perform large-sample ifereces (hypothesis test ad cofidece itervals) to compare two populatio

More information

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples. Chapter 9 & : Comparig Two Treatmets: This chapter focuses o two eperimetal desigs that are crucial to comparative studies: () idepedet samples ad () matched pair samples Idepedet Radom amples from Two

More information

u t u 0 ( 7) Intuitively, the maximum principles can be explained by the following observation. Recall

u t u 0 ( 7) Intuitively, the maximum principles can be explained by the following observation. Recall Oct. Heat Equatio M aximum priciple I thi lecture we will dicu the maximum priciple ad uiquee of olutio for the heat equatio.. Maximum priciple. The heat equatio alo ejoy maximum priciple a the Laplace

More information

11/19/ Chapter 10 Overview. Chapter 10: Two-Sample Inference. + The Big Picture : Inference for Mean Difference Dependent Samples

11/19/ Chapter 10 Overview. Chapter 10: Two-Sample Inference. + The Big Picture : Inference for Mean Difference Dependent Samples /9/0 + + Chapter 0 Overview Dicoverig Statitic Eitio Daiel T. Laroe Chapter 0: Two-Sample Iferece 0. Iferece for Mea Differece Depeet Sample 0. Iferece for Two Iepeet Mea 0.3 Iferece for Two Iepeet Proportio

More information

UNIVERSITY OF CALICUT

UNIVERSITY OF CALICUT Samplig Ditributio 1 UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION BSc. MATHEMATICS COMPLEMENTARY COURSE CUCBCSS 2014 Admiio oward III Semeter STATISTICAL INFERENCE Quetio Bak 1. The umber of poible

More information

Fig. 1: Streamline coordinates

Fig. 1: Streamline coordinates 1 Equatio of Motio i Streamlie Coordiate Ai A. Soi, MIT 2.25 Advaced Fluid Mechaic Euler equatio expree the relatiohip betwee the velocity ad the preure field i ivicid flow. Writte i term of treamlie coordiate,

More information

Formula Sheet. December 8, 2011

Formula Sheet. December 8, 2011 Formula Sheet December 8, 2011 Abtract I type thi for your coveice. There may be error. Ue at your ow rik. It i your repoible to check it i correct or ot before uig it. 1 Decriptive Statitic 1.1 Cetral

More information

Stat 200 -Testing Summary Page 1

Stat 200 -Testing Summary Page 1 Stat 00 -Testig Summary Page 1 Mathematicias are like Frechme; whatever you say to them, they traslate it ito their ow laguage ad forthwith it is somethig etirely differet Goethe 1 Large Sample Cofidece

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

October 25, 2018 BIM 105 Probability and Statistics for Biomedical Engineers 1

October 25, 2018 BIM 105 Probability and Statistics for Biomedical Engineers 1 October 25, 2018 BIM 105 Probability ad Statistics for Biomedical Egieers 1 Populatio parameters ad Sample Statistics October 25, 2018 BIM 105 Probability ad Statistics for Biomedical Egieers 2 Ifereces

More information

ON THE SCALE PARAMETER OF EXPONENTIAL DISTRIBUTION

ON THE SCALE PARAMETER OF EXPONENTIAL DISTRIBUTION Review of the Air Force Academy No. (34)/7 ON THE SCALE PARAMETER OF EXPONENTIAL DISTRIBUTION Aca Ileaa LUPAŞ Military Techical Academy, Bucharet, Romaia (lua_a@yahoo.com) DOI:.96/84-938.7.5..6 Abtract:

More information

Chapter 8.2. Interval Estimation

Chapter 8.2. Interval Estimation Chapter 8.2. Iterval Etimatio Baic of Cofidece Iterval ad Large Sample Cofidece Iterval 1 Baic Propertie of Cofidece Iterval Aumptio: X 1, X 2,, X are from Normal ditributio with a mea of µ ad tadard deviatio.

More information

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. XI-1 (1074) MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. R. E. D. WOOLSEY AND H. S. SWANSON XI-2 (1075) STATISTICAL DECISION MAKING Advaced

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Société de Calcul Mathématique, S. A. Algorithmes et Optimisation

Société de Calcul Mathématique, S. A. Algorithmes et Optimisation Société de Calcul Mathématique S A Algorithme et Optimiatio Radom amplig of proportio Berard Beauzamy Jue 2008 From time to time we fid a problem i which we do ot deal with value but with proportio For

More information

Chapter 5: Hypothesis testing

Chapter 5: Hypothesis testing Slide 5. Chapter 5: Hypothesis testig Hypothesis testig is about makig decisios Is a hypothesis true or false? Are wome paid less, o average, tha me? Barrow, Statistics for Ecoomics, Accoutig ad Busiess

More information

LECTURE 13 SIMULTANEOUS EQUATIONS

LECTURE 13 SIMULTANEOUS EQUATIONS NOVEMBER 5, 26 Demad-upply ytem LETURE 3 SIMULTNEOUS EQUTIONS I thi lecture, we dicu edogeeity problem that arie due to imultaeity, i.e. the left-had ide variable ad ome of the right-had ide variable are

More information

Comparing your lab results with the others by one-way ANOVA

Comparing your lab results with the others by one-way ANOVA Comparig your lab results with the others by oe-way ANOVA You may have developed a ew test method ad i your method validatio process you would like to check the method s ruggedess by coductig a simple

More information

Properties and Hypothesis Testing

Properties and Hypothesis Testing Chapter 3 Properties ad Hypothesis Testig 3.1 Types of data The regressio techiques developed i previous chapters ca be applied to three differet kids of data. 1. Cross-sectioal data. 2. Time series data.

More information

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y.

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y. Testig Statistical Hypotheses Recall the study where we estimated the differece betwee mea systolic blood pressure levels of users of oral cotraceptives ad o-users, x - y. Such studies are sometimes viewed

More information

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01 ENGI 44 Cofidece Itervals (Two Samples) Page -0 Two Sample Cofidece Iterval for a Differece i Populatio Meas [Navidi sectios 5.4-5.7; Devore chapter 9] From the cetral limit theorem, we kow that, for sufficietly

More information

CE3502 Environmental Monitoring, Measurements, and Data Analysis (EMMA) Spring 2008 Final Review

CE3502 Environmental Monitoring, Measurements, and Data Analysis (EMMA) Spring 2008 Final Review CE35 Evirometal Moitorig, Meauremet, ad Data Aalyi (EMMA) Sprig 8 Fial Review I. Topic:. Decriptive tatitic: a. Mea, Stadard Deviatio, COV b. Bia (accuracy), preciio, Radom v. ytematic error c. Populatio

More information

Lecture 5: Parametric Hypothesis Testing: Comparing Means. GENOME 560, Spring 2016 Doug Fowler, GS

Lecture 5: Parametric Hypothesis Testing: Comparing Means. GENOME 560, Spring 2016 Doug Fowler, GS Lecture 5: Parametric Hypothesis Testig: Comparig Meas GENOME 560, Sprig 2016 Doug Fowler, GS (dfowler@uw.edu) 1 Review from last week What is a cofidece iterval? 2 Review from last week What is a cofidece

More information

Estimation Theory. goavendaño. Estimation Theory

Estimation Theory. goavendaño. Estimation Theory Etimatio Theory Statitical Iferece method by which geeralizatio are made about a populatio Two Major Area of Statitical Iferece. Etimatio a parameter i etablihed baed o the amplig ditributio of a proportio,

More information

Statistical Inference for Two Samples. Applied Statistics and Probability for Engineers. Chapter 10 Statistical Inference for Two Samples

Statistical Inference for Two Samples. Applied Statistics and Probability for Engineers. Chapter 10 Statistical Inference for Two Samples 4/3/6 Applied Statitic ad Probability for Egieer Sixth Editio Dougla C. Motgomery George C. Ruger Chapter Statitical Iferece for Two Sample Copyright 4 Joh Wiley & So, Ic. All right reerved. CHAPTER OUTLINE

More information

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading Topic 15 - Two Sample Iferece I STAT 511 Professor Bruce Craig Comparig Two Populatios Research ofte ivolves the compariso of two or more samples from differet populatios Graphical summaries provide visual

More information

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ),

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ), Cofidece Iterval Estimatio Problems Suppose we have a populatio with some ukow parameter(s). Example: Normal(,) ad are parameters. We eed to draw coclusios (make ifereces) about the ukow parameters. We

More information

Widely used? average out effect Discrete Prior. Examplep. More than one observation. using MVUE (sample mean) yy 1 = 3.2, y 2 =2.2, y 3 =3.6, y 4 =4.

Widely used? average out effect Discrete Prior. Examplep. More than one observation. using MVUE (sample mean) yy 1 = 3.2, y 2 =2.2, y 3 =3.6, y 4 =4. Dicrete Prior for (μ Widely ued? average out effect Dicrete Prior populatio td i kow equally likely or ubjective weight π ( μ y ~ π ( μ l( y μ π ( μ e Examplep ( μ y Set a ubjective prior ad a gueig value

More information

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018 HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018 We are resposible for 2 types of hypothesis tests that produce ifereces about the ukow populatio mea, µ, each of which has 3 possible

More information

Statistics. Chapter 10 Two-Sample Tests. Copyright 2013 Pearson Education, Inc. publishing as Prentice Hall. Chap 10-1

Statistics. Chapter 10 Two-Sample Tests. Copyright 2013 Pearson Education, Inc. publishing as Prentice Hall. Chap 10-1 Statistics Chapter 0 Two-Sample Tests Copyright 03 Pearso Educatio, Ic. publishig as Pretice Hall Chap 0- Learig Objectives I this chapter, you lear How to use hypothesis testig for comparig the differece

More information

Mathacle PSet Stats, Confidence Intervals and Estimation Level Number Name: Date: Unbiased Estimators So we don t have favorite.

Mathacle PSet Stats, Confidence Intervals and Estimation Level Number Name: Date: Unbiased Estimators So we don t have favorite. PSet ----- Stat, Cofidece Iterval ad Etimatio Ubiaed Etimator So we do t have favorite. IV. CONFIDENCE INTERVAL AND ESTIMATION 4.1. Sigificat Level ad Critical Value z ad The igificat level, ofte deoted

More information

Power and Type II Error

Power and Type II Error Statistical Methods I (EXST 7005) Page 57 Power ad Type II Error Sice we do't actually kow the value of the true mea (or we would't be hypothesizig somethig else), we caot kow i practice the type II error

More information

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n.

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n. Jauary 1, 2019 Resamplig Methods Motivatio We have so may estimators with the property θ θ d N 0, σ 2 We ca also write θ a N θ, σ 2 /, where a meas approximately distributed as Oce we have a cosistet estimator

More information

Statistics 511 Additional Materials

Statistics 511 Additional Materials Cofidece Itervals o mu Statistics 511 Additioal Materials This topic officially moves us from probability to statistics. We begi to discuss makig ifereces about the populatio. Oe way to differetiate probability

More information

Elementary Statistics

Elementary Statistics Two Samle Mea Cha08 Dr. Ghamary Page Elemetary Statitic M. Ghamary, Ph.D. Chater 8 Tet of Hyothei a Cofiece Iterval for Two Samle Two Samle Mea Cha08 Dr. Ghamary Page Tet of Hyothei for Two amle: A Statitical

More information

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample. Statistical Iferece (Chapter 10) Statistical iferece = lear about a populatio based o the iformatio provided by a sample. Populatio: The set of all values of a radom variable X of iterest. Characterized

More information

Heat Equation: Maximum Principles

Heat Equation: Maximum Principles Heat Equatio: Maximum Priciple Nov. 9, 0 I thi lecture we will dicu the maximum priciple ad uiquee of olutio for the heat equatio.. Maximum priciple. The heat equatio alo ejoy maximum priciple a the Laplace

More information

Statistics 20: Final Exam Solutions Summer Session 2007

Statistics 20: Final Exam Solutions Summer Session 2007 1. 20 poits Testig for Diabetes. Statistics 20: Fial Exam Solutios Summer Sessio 2007 (a) 3 poits Give estimates for the sesitivity of Test I ad of Test II. Solutio: 156 patiets out of total 223 patiets

More information

1 Inferential Methods for Correlation and Regression Analysis

1 Inferential Methods for Correlation and Regression Analysis 1 Iferetial Methods for Correlatio ad Regressio Aalysis I the chapter o Correlatio ad Regressio Aalysis tools for describig bivariate cotiuous data were itroduced. The sample Pearso Correlatio Coefficiet

More information

1 Constructing and Interpreting a Confidence Interval

1 Constructing and Interpreting a Confidence Interval Itroductory Applied Ecoometrics EEP/IAS 118 Sprig 2014 WARM UP: Match the terms i the table with the correct formula: Adrew Crae-Droesch Sectio #6 5 March 2014 ˆ Let X be a radom variable with mea µ ad

More information

13.4 Scalar Kalman Filter

13.4 Scalar Kalman Filter 13.4 Scalar Kalma Filter Data Model o derive the Kalma filter we eed the data model: a 1 + u < State quatio > + w < Obervatio quatio > Aumptio 1. u i zero mea Gauia, White, u } σ. w i zero mea Gauia, White,

More information

McNemar s Test and Introduction to ANOVA

McNemar s Test and Introduction to ANOVA McNemar Tet ad Itroductio to ANOVA Recall from the lat lecture o oparametric method we ued the eample of reductio of forced vital capacity. FVC Reduc (ml) Subj Placebo Drug 4 3 80 95 3 75 33 4 54 440 5

More information

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE TERRY SOO Abstract These otes are adapted from whe I taught Math 526 ad meat to give a quick itroductio to cofidece

More information

Chapter 10: H at alpha of.05. Hypothesis Testing: Additional Topics

Chapter 10: H at alpha of.05. Hypothesis Testing: Additional Topics Chapter 10: pothei Tetig: Additioal Topic 10.1 = 5 paired obervatio with ample mea of 50 ad 60 for populatio 1 ad. Ca ou reject the ull hpothei at a alpha of.05 if a. d = 0, : 0 1 0; : 1 1 0; 10 0 t =

More information

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

Chapter 13: Tests of Hypothesis Section 13.1 Introduction Chapter 13: Tests of Hypothesis Sectio 13.1 Itroductio RECAP: Chapter 1 discussed the Likelihood Ratio Method as a geeral approach to fid good test procedures. Testig for the Normal Mea Example, discussed

More information

Math 140 Introductory Statistics

Math 140 Introductory Statistics 8.2 Testig a Proportio Math 1 Itroductory Statistics Professor B. Abrego Lecture 15 Sectios 8.2 People ofte make decisios with data by comparig the results from a sample to some predetermied stadard. These

More information

8.6 Order-Recursive LS s[n]

8.6 Order-Recursive LS s[n] 8.6 Order-Recurive LS [] Motivate ti idea wit Curve Fittig Give data: 0,,,..., - [0], [],..., [-] Wat to fit a polyomial to data.., but wic oe i te rigt model?! Cotat! Quadratic! Liear! Cubic, Etc. ry

More information

This is an introductory course in Analysis of Variance and Design of Experiments.

This is an introductory course in Analysis of Variance and Design of Experiments. 1 Notes for M 384E, Wedesday, Jauary 21, 2009 (Please ote: I will ot pass out hard-copy class otes i future classes. If there are writte class otes, they will be posted o the web by the ight before class

More information

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test. Math 308 Sprig 018 Classes 19 ad 0: Aalysis of Variace (ANOVA) Page 1 of 6 Itroductio ANOVA is a statistical procedure for determiig whether three or more sample meas were draw from populatios with equal

More information

Statistics Parameters

Statistics Parameters Saplig Ditributio & Cofidece Iterval Etiator Statitical Iferece Etiatio Tetig Hypothei Statitic Ued to Etiate Populatio Paraeter Statitic Saple Mea, Saple Variace, Saple Proportio, Paraeter populatio ea

More information

We will look for series solutions to (1) around (at most) regular singular points, which without

We will look for series solutions to (1) around (at most) regular singular points, which without ENM 511 J. L. Baai April, 1 Frobeiu Solutio to a d order ODE ear a regular igular poit Coider the ODE y 16 + P16 y 16 + Q1616 y (1) We will look for erie olutio to (1) aroud (at mot) regular igular poit,

More information

Chapter 8: Estimating with Confidence

Chapter 8: Estimating with Confidence Chapter 8: Estimatig with Cofidece Sectio 8.2 The Practice of Statistics, 4 th editio For AP* STARNES, YATES, MOORE Chapter 8 Estimatig with Cofidece 8.1 Cofidece Itervals: The Basics 8.2 8.3 Estimatig

More information

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight)

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight) Tests of Hypotheses Based o a Sigle Sample Devore Chapter Eight MATH-252-01: Probability ad Statistics II Sprig 2018 Cotets 1 Hypothesis Tests illustrated with z-tests 1 1.1 Overview of Hypothesis Testig..........

More information

Exam II Covers. STA 291 Lecture 19. Exam II Next Tuesday 5-7pm Memorial Hall (Same place as exam I) Makeup Exam 7:15pm 9:15pm Location CB 234

Exam II Covers. STA 291 Lecture 19. Exam II Next Tuesday 5-7pm Memorial Hall (Same place as exam I) Makeup Exam 7:15pm 9:15pm Location CB 234 STA 291 Lecture 19 Exam II Next Tuesday 5-7pm Memorial Hall (Same place as exam I) Makeup Exam 7:15pm 9:15pm Locatio CB 234 STA 291 - Lecture 19 1 Exam II Covers Chapter 9 10.1; 10.2; 10.3; 10.4; 10.6

More information

Chapter 23: Inferences About Means

Chapter 23: Inferences About Means Chapter 23: Ifereces About Meas Eough Proportios! We ve spet the last two uits workig with proportios (or qualitative variables, at least) ow it s time to tur our attetios to quatitative variables. For

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

Stat 421-SP2012 Interval Estimation Section

Stat 421-SP2012 Interval Estimation Section Stat 41-SP01 Iterval Estimatio Sectio 11.1-11. We ow uderstad (Chapter 10) how to fid poit estimators of a ukow parameter. o However, a poit estimate does ot provide ay iformatio about the ucertaity (possible

More information

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification INF 4300 90 Itroductio to classifictio Ae Solberg ae@ifiuioo Based o Chapter -6 i Duda ad Hart: atter Classificatio 90 INF 4300 Madator proect Mai task: classificatio You must implemet a classificatio

More information

10-716: Advanced Machine Learning Spring Lecture 13: March 5

10-716: Advanced Machine Learning Spring Lecture 13: March 5 10-716: Advaced Machie Learig Sprig 019 Lecture 13: March 5 Lecturer: Pradeep Ravikumar Scribe: Charvi Ratogi, Hele Zhou, Nicholay opi Note: Lae template courtey of UC Berkeley EECS dept. Diclaimer: hee

More information

6 Sample Size Calculations

6 Sample Size Calculations 6 Sample Size Calculatios Oe of the major resposibilities of a cliical trial statisticia is to aid the ivestigators i determiig the sample size required to coduct a study The most commo procedure for determiig

More information

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion 1 Chapter 7 ad 8 Review for Exam Chapter 7 Estimates ad Sample Sizes 2 Defiitio Cofidece Iterval (or Iterval Estimate) a rage (or a iterval) of values used to estimate the true value of the populatio parameter

More information

Chem Exam 1-9/14/16. Frequency. Grade Average = 72, Median = 72, s = 20

Chem Exam 1-9/14/16. Frequency. Grade Average = 72, Median = 72, s = 20 0 4 8 6 0 4 8 3 36 40 44 48 5 56 60 64 68 7 76 80 84 88 9 96 00 Chem 53 - Exam - 9/4/6 8 7 6 5 4 3 Frequecy 0 Grade Average = 7, Media = 7, = 0 Exam Chem 53 September 4, 065 Quetio, 7 poit each for quetio

More information

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3 Itroductio to Ecoometrics (3 rd Updated Editio) by James H. Stock ad Mark W. Watso Solutios to Odd- Numbered Ed- of- Chapter Exercises: Chapter 3 (This versio August 17, 014) 015 Pearso Educatio, Ic. Stock/Watso

More information