Data Analysis and Statistical Methods Statistics 651
|
|
- Hector Warner
- 5 years ago
- Views:
Transcription
1 Data Aalysis ad Statistical Methods Statistics Suhasii Subba Rao Exaple The itroge cotet of three differet clover plats is give below. 3DOK1 3DOK5 3DOK Use ANOVA ad the F distributio to test whether all three clovers have the sae populatio ea. H 0 : µ 1 = µ 2 = µ 3 agaist the alterative that oe of the eas if differet. 1 Solutio 3DOK1 3DOK1 - X 1 3DOK5 3DOK5- X 2 3DOK7 3DOK7- X = = = = = = = = = = = = = = = = = 1.16 X i s 2 i The total saple ea is X = 1 18 ( ) = The pooled variace is calculated usig either the residuals or saple variace s 2 i. The SSW is SSW = 3 i (X ij X i ) 2 i=1 j=1 = ( 4s s s 2 3) = ( ) = 183. Hece the SSW/(N k) = 183/(18 3) = Notice the the variatio of saple 3DOK7 is sall copared to the other (the residuals are uch saller!), this is what pulls the value of SSW dow. The SSB is SSB = ( X 1 X) 2 + ( X 2 X) 2 + ( X 3 X) 2 = 5 ( ) ( ) ( ) 2 =
2 Theoretical Quatiles Su of df Mea square F Si Squares F k 1,N k Betwee Groups 202 k 1 = 2 202/2 = /12.2 = Withi Groups 183 N k = /15 = 12.2 Total N 1 = 17 QQplot of residuals fro the plat data The residuals are calculated (look at the ubers of i the secod table) ad a QQplot is ade usig these ubers. Noral Q Q Plot The F-statistics uder the ull H 0 : µ 1 = µ 2 = µ 3 has a F-distributio with 2,15 degrees of freedo. The p-value for P(F 2,15 > 8.2) = is quite sall (saller tha α = 0.05), so there is eough evidece to reject the ull. Saple Quatiles Equivaletly, look up the tables with α = 0.05 we have F 2,15 (0.05) = The rejectio regio is ay uber bigger tha Sice 3.68 < 8.2, there is eough evidece to reject the ull. QQplot of residuals. There is ot uch deviatio fro orality, hece assuptios of ANOVA (orality) are satisfied ad it is okay to use this test. 4 5 Categorical data: The Bioial revisited I several situatios we have to deal with categorical data. For exaple a copay way wat to kow whether people are aware of a ew product. They would do a survey, by askig people o the street. For each perso surveyed the aswer could be yes or o. We ca forally write this as, let X i be the aswer of the ith perso iterviewed where Do you reeber how to calculate the probability that out of 5 people selected o the street 3 have heard of the product? We recall that the uber people out of 5 who said yes ca be writte as Y 5 = X 1 + X 2 + X 3 + X 4 + X 5. Y 5 = uber of people out of 5 who say yes. Y 5 is a rado variable that ca take the values 0,1,2, 3,4,5. So what we wat to do is calculate P(Y 5 = 3), do you reeber this distributio? X i = { 1 if yes 0 if o Suppose the probability P(X i = 1) = P(ith Perso says yes) = π. This eas the probability that a radoly selected perso has heard of the product is π. 6 7
3 It s the bioial distributio ad P(Y 5 = 3) = 5! 3!2! π3 (1 π) 2, (you do t have to reeber this forula!). Now suppose the copay does ot kow what π is, but they iterview 100 people ad 30 say they have heard of the product. How would you estiate π? The ost logical estiator of π would be ˆπ = I geeral if Y people out of people said yes the the best estiator of π is ˆπ = Y. What ca we say about the estiator ˆπ? Do we kow the distributio of ˆπ? Ca we costruct cofidece itervals for π? Ca we ake a hypothesis test? 8 9 The oral approxiatio to the bioial distributio Coditio for this to work If Y > 5 ad ( Y ) > 5, hece the uber who said yes (uber of successes) ad the uber who said o (uber of failures) is greater tha 5, the we ca approxiate the bioial distributio i ters of the oral distributio. Reeber the ea of Y is π ad the variace is π(1 π). Sice Y = i=1 X i, the the cetral liit theore says that the average Y / = 1 i=1 X i has approxiately the distributio π(1 π) As always, the all iportat value is the stadard error. It will tell us how close the proportio estiator ˆπ is to the true proportio π. Furtherore, as the saple size grows, the stadard error get saller. The estiator iproves. Sice ˆπ = Y / has the ea π it is a estiator of π. Secodly we ca use the orality result to costruct cofidece itervals ad hypothesis test. ˆπ = Y π(1 π) N(π, ). I other words Y / is approxiately oral with ea π ad variace π(1 π)/ (see Lecture 7)
4 Cofidece itervals ad testig for proportios If Y ad ( Y ) are greater tha five, the we ca use the oral approxiatio to costruct cofidece itervals for π. We use the sae ideas as before. Sice Y α)% cofidece iterval is Y π(1 π) z α/2, Y π(1 π) + z α/2, π(1 π) N(π, ) the 100(1 where z α/2 is the oral distributio evaluated at α/2 (recall z = 1.96). Of course π is ukow which is why we are costructig a CI for it, so π(1 π) the stadard error is ukow. Istead we replace π with its estiator ˆπ = Y /. We still get approxiately ˆπ = Y iterval as before Y z α/2, Y + z α/2. We do ot use the t distributio. ˆπ(1 ˆπ) N(π, ) ad pretty uch the We ca also do a hypothesis test i the sae way. We test H 0 : π = π 0 agaist the alterative H A : π π To do this we costruct the o-rejectio regio which is π 0 z α/2, π 0 + z α/2, if ˆπ lies i this regio there is ot eough evidece to reject the ull. If ˆπ does ot lie i this regio, there is eough evidece to reject the ull ad accept the alterative. Alteratively, we ca do a Z-trasfor ad calculate the p-value. That is do the traforatio: z = ˆπ π Y 0 π = 0 ˆπ(1 ˆπ) ˆπ(1 ˆπ) ad look up the oral tables for P(Z > z ). If this p-value is saller tha α there is eough evidece to reject the ull. It aybe easier for you, to use the p-value approach. Exaple I 4 years ago 40 percet of a populatio were thought to have voted for cadidate X. This year X is up for re-electio. Suppose 150 people were iterviewed i a poll, ad 35% opted for X. (i) test the hypothesis that the proportio of people this tie roud that will vote for X will be less tha 40% (use α = 0.05). Costruct a 95% cofidece iterval for the proportio of people who will vote for X this tie roud. (i) The hypothesis test: We wat to test the hypothesis that H 0 : π 0.4 agaist the alterative H A : π < 0.4. The uber people polled who said they would vote for X is ad the uber people who said they would ot vote for X is about = 98. Both these ubers are greater tha 5 so we ca use the oral approxiatio
5 Calculatig the stadard error Sice ˆπ = 0.35, replace i / all the πs with ˆπ = 0.35 ad = 150, to give the stadard error / = There are two equivalet ways to do the test: Testig usig the p-value ethods We ow calculate the p-value, by akig a z-trasfor ˆπ z = = = 0.05 = ˆπ(1 ˆπ) 0.35 (1 0.35)/ Lookig up P(Z 1.29) = Sice > 0.05 there is ot eough evidece to reject the ull. Testig usig rejectio regios We see fro the alterative that the rejectio regio is o the left. We reject the ull if ˆπ is less tha 0.35 ˆ = = Sice ˆπ = 0.35 > 0.336, there is ot eough evidece to reject the ull. (ii) Costructig the cofidece iterval: Sice α = 0.05 we have z 0.05/2 = 1.96, hece the CI is (ˆπ = Y /): Y z α/2, Y + z α/ , = 0.274, Hece with cofidece of 95% the proportio of voters who will vote for X lies i the iterval 0.274, Reeber CI ad tests are differet. Eve if we do oe-sided tests, whe we costruct CIs it is always two sided. Usually the CI will be syetric about the saple ea (though ot always). Exaple II Electios i the Uited Burrows of Aardvarks (UBA) are due to take place ext week. There are two cadidates, their aes are Erie ad Bert. There has bee soe speculatio that Erie ay wi the electios. To test this hypothesis a poll of 1000 aardvarks was take ad the data is suarised below. Erie Bert uber (a) What test would you use to test the hypothesis that Erie will wi? (b) Based o this saple, is there evidece to suggest that Erie will wi? Reeber, to state clearly the ull ad alterative (do the test at the 5% level)
6 (c) Costruct a 95% CI for the proportio of the populatio who will vote for Erie. Solutio II (a) We observe that there is oe populatio (all aardvarks), ad we are iterested i the proportio of aardvarks who will vote for Erie. This eas we should a oe-saple test for proportios. (b) Suppose π are the proportio of aardvarks who will vote for Erie. Erie will wi if π > 0.5. Hece we wat to test the hypothesis H 0 : π 0.5 agaist H A : π > 0.5. Our estiate of π is ˆπ = 600/1000 = 0.6. Now we wat to use ˆπ = 0.6 is sigificatly larger tha 0.5 (to see whether we will reject the ull ad accept the alterative). The test is a oe-sided test ad the rejectio regio is o the right. We will reject the ull if ˆπ is larger tha = = Sice ˆπ = 0.6 > 0.56, there is evidece to reject the ull. We ow costruct a 95% CI for the true proportio π. It is , = 0.57, Recall that this eas with 95% cofidece the true proportio who will vote for Erie lies i this iterval. Look for electios aroud the world ad look for such CIs. Choosig the saple size As before we ca choose the saple size which gives a cofidece iterval with a required legth. Reeber the legth of a CI is the differece betwee the edpoits of the iterval: ( ) ( ) Y π(1 π) + z Y π(1 π) π(1 π) α/2 z α/2 = 2z α/2. If we wat the iterval to have legth 2E (for exaple the proportio error to be about 5% either side of the estiator), the π(1 π) 2E = 2z α/
7 Solvig this we have Exaple III: Coparig two populatio proportios = z2 α/2π(1 π) E 2. Suppose we wat to copare the proportio of voters who would vote deocrate or republica i tow A ad tow B. Of course i π is ukow. So we replace π with 0.5 or a pre-estiator of π (usig 0.5 is beig very cautious sice it leads to the largest ). The actual electio will be i a few oths, but we wat to see what the ood is ow. We caot poll all people i all tows but we ca take two saples (oe fro each tow) ad ake a copariso. 500 people i tow A ad 600 people i tow B were iterviewed. 35% of the people iterviewed i tow A said they would vote Republica, whereas 38% of the people i tow B said they would vote Republica. We wat to kow whether these differeces are sigificat eough to suggest that there is a differece betwee votig attitudes i both tows What we see to have are two differet populatios each of the have bee sapled with saple sizes = 500 ad = 600 respectively. The outcoe i tow A is A i which takes value oe if ith perso says the will vote Republica ad ad zero if ot. The uber of sapled people i tow A who said they would vote Republica is Y 500 = i=500 A i. Siilarly the outcoe i tow B is B i which takes value oe if the ith perso says the will vote Republica ad zero if ot. The uber of sapled people i tow B who said they would vote republica is U 600 = 600 i=1 B i. We suppose that P(A i = 1) = π 1 (the probability a perso i tow A will vote republica is π 1 ). We suppose that P(B i = 1) = π 2 (the probability a perso i tow B will vote republica is π 2 ). How ca we foralise the questio that the votig behaviour i both tows is the sae? Aswer We wat to test whether the proportios are equal, H 0 : π 1 π 2 = 0 agaist the alterative H A : π 1 π 2 0. Assuptios Each persos aswer is idepedet of the other ad the two saples are also idepedet
8 The geeral coparig proportios proble I the geeral proble two idepedet saples of size ad are draw fro two populatios. A 1,..., A are observed i saple oe ad B 1,..., B are sapled i saple two. A i ad B i ca take the value oe or zero (eg. questio? have you heard of the product, aswer yes or o). We assue all outcoes A i ad B i are idepedet. P(A i = 1) = π 1 ad P(B i = 1) = π 2. What is of iterest is the uber out of ad who says yes, this is Y = i=1 A i ad U = i=1 B i. The we ca say Y ad U are bioially distributioed. We wat to test H 0 : π 1 π 2 = 0 agaist H A : π 1 π 2 0 with α. We recall that ˆπ 1 = Y / ad ˆπ 2 = U / ca be used as estiators of π 1 ad π 2, Uder the ull that π 1 π 2 = 0 we have ˆπ 1 ˆπ 2 = Y U N(0, π 1(1 π 1 ) + π 2(1 π 2 ) ), π 1 (1 π 1 ) + hece its oral with ea zero ad variace π 2 (1 π 2 ) Y or equivaletly the estiator U has stadard error π 1 (1 π 1 ) + π 2(1 π 2 ) Hypothesis testig ad Cofidece itervals Sice π 1 ad π 2 are ukow we replace the variace with its estiator ˆπ 1 (1 ˆπ 1 ) + ˆπ 2(1 ˆπ 2 ) ad ˆπ 1 ˆπ 2 = Y U N(0, ˆπ 1(1 ˆπ 1 ) ). We use this costruct rejectio regios. Just as i the estiatio we have doe before costruct the o-rejectio regio: z α/2 ˆπ1 (1 ˆπ 1 ) ˆπ1 (1 ˆπ 1 ), z α/2. To costruct cofidece itervals for the differece i proportios we use Y U ˆπ1 z (1 ˆπ 1 ) α/2 ˆπ1 (1 ˆπ 1 ) Y U + z α/2,. If Y U lies i this iterval we do ot have eough evidece to reject the ull if it does ot lie i this iterval we have eough evidece to reject the ull
9 Exaple III: The votig proble for two tows Recall 500 people i tow A ad 600 people i tow B were iterviewed. 35% of the saple i tow A seeed would vote republica, whereas 38% of the saple i tow B would vote republica. This eas that ˆπ 1 = Y 500 /500 = 0.35 ad ˆπ 2 = U 600 /600 = Test H 0 : π 1 π 2 = 0 agaist the alterative H A : π 1 π 2 0. We set α = 0.1, hece z 0.05 = Recipe for doig the hypothesis test: First calculate the stadard error ˆπ1 (1 ˆπ 1 ) z α/2 0.35(1 0.35) ˆπ1 (1 ˆπ 1 ), z α/2 0.38(1 0.38) = , We see that the differece ˆπ 1 ˆπ 2 = Sice this differece lies i the iterval , , there is ot eough evidece to reject the ull. Observe o t-distributio whe we test proportios, we stick to the oral distributio! ˆπ1 (1 ˆπ 1 ) = = Exaple IV The FDA approved the drug Miodixil as a reedy for ale patter baldess. They did a study ad this is what they foud: Saple size % with ew hair growth Miodixil Placebo Let π M be the probability a perso has ew hair growth ad uses Miodixil ad π P be the probability a perso has ew hair growth ad ad does t use Miodixil. Use this data to test H 0 : π M π P 0 agaist the alterative H A : π M π P > 0 with α = Exaple V Recall the o the HIV vaccie we cosidered i class: saple size uber of people ifected HIV vaccie Placebo We wat to test the hypothesis that the vaccie gave soe protectio. This would ea that the proportio of people i the etire populatio who take the vaccie ad go o to develop HIV is less tha the proportio of the etire populatio who do ot take the vaccie ad go o to develop HIV. Hece we wat to test H 0 : π V π P 0 agaist H A : π V π P < 0 (ie. the people who took the vaccie are at less risk)
Data Analysis and Statistical Methods Statistics 651
Data Aalysis ad Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasii/teachig.html Suhasii Subba Rao Review of testig: Example The admistrator of a ursig home wats to do a time ad motio
More informationWe have also learned that, thanks to the Central Limit Theorem and the Law of Large Numbers,
Cofidece Itervals III What we kow so far: We have see how to set cofidece itervals for the ea, or expected value, of a oral probability distributio, both whe the variace is kow (usig the stadard oral,
More informationRecall 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 informationA string of not-so-obvious statements about correlation in the data. (This refers to the mechanical calculation of correlation in the data.
STAT-UB.003 NOTES for Wedesday 0.MAY.0 We will use the file JulieApartet.tw. We ll give the regressio of Price o SqFt, show residual versus fitted plot, save residuals ad fitted. Give plot of (Resid, Price,
More informationA quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population
A quick activity - Cetral Limit Theorem ad Proportios Lecture 21: Testig Proportios Statistics 10 Coli Rudel Flip a coi 30 times this is goig to get loud! Record the umber of heads you obtaied ad calculate
More informationStatistics 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 informationFrequentist Inference
Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for
More informationAgreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times
Sigificace level vs. cofidece level Agreemet of CI ad HT Lecture 13 - Tests of Proportios Sta102 / BME102 Coli Rudel October 15, 2014 Cofidece itervals ad hypothesis tests (almost) always agree, as log
More informationContents Two Sample t Tests Two Sample t Tests
Cotets 3.5.3 Two Saple t Tests................................... 3.5.3 Two Saple t Tests Setup: Two Saples We ow focus o a sceario where we have two idepedet saples fro possibly differet populatios. Our
More informationCommon 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 informationUniversity of California, Los Angeles Department of Statistics. Hypothesis testing
Uiversity of Califoria, Los Ageles Departmet of Statistics Statistics 100B Elemets of a hypothesis test: Hypothesis testig Istructor: Nicolas Christou 1. Null hypothesis, H 0 (claim about µ, p, σ 2, µ
More informationIntroduction 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 informationECE 901 Lecture 4: Estimation of Lipschitz smooth functions
ECE 9 Lecture 4: Estiatio of Lipschitz sooth fuctios R. Nowak 5/7/29 Cosider the followig settig. Let Y f (X) + W, where X is a rado variable (r.v.) o X [, ], W is a r.v. o Y R, idepedet of X ad satisfyig
More informationHypothesis tests and confidence intervals
Hypothesis tests ad cofidece itervals The 95% cofidece iterval for µ is the set of values, µ 0, such that the ull hypothesis H 0 : µ = µ 0 would ot be rejected by a two-sided test with α = 5%. The 95%
More informationChapter 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 informationChapter 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 informationStat 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 informationComparing 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 informationBIOS 4110: Introduction to Biostatistics. Breheny. Lab #9
BIOS 4110: Itroductio to Biostatistics Brehey Lab #9 The Cetral Limit Theorem is very importat i the realm of statistics, ad today's lab will explore the applicatio of it i both categorical ad cotiuous
More informationComparing 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 informationInferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process.
Iferetial Statistics ad Probability a Holistic Approach Iferece Process Chapter 8 Poit Estimatio ad Cofidece Itervals This Course Material by Maurice Geraghty is licesed uder a Creative Commos Attributio-ShareAlike
More informationApril 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 informationChapter 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 informationMA238 Assignment 4 Solutions (part a)
(i) Sigle sample tests. Questio. MA38 Assigmet 4 Solutios (part a) (a) (b) (c) H 0 : = 50 sq. ft H A : < 50 sq. ft H 0 : = 3 mpg H A : > 3 mpg H 0 : = 5 mm H A : 5mm Questio. (i) What are the ull ad alterative
More informationEcon 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara
Poit Estimator Eco 325 Notes o Poit Estimator ad Cofidece Iterval 1 By Hiro Kasahara Parameter, Estimator, ad Estimate The ormal probability desity fuctio is fully characterized by two costats: populatio
More informationST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n.
ST 305: Exam 3 By hadig i this completed exam, I state that I have either give or received assistace from aother perso durig the exam period. I have used o resources other tha the exam itself ad the basic
More informationChapter 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- 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 information1 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 informationSample Size Determination (Two or More Samples)
Sample Sie Determiatio (Two or More Samples) STATGRAPHICS Rev. 963 Summary... Data Iput... Aalysis Summary... 5 Power Curve... 5 Calculatios... 6 Summary This procedure determies a suitable sample sie
More informationOverview. 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 informationChapter 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 informationSTAC51: Categorical data Analysis
STAC51: Categorical data Aalysis Mahida Samarakoo Jauary 28, 2016 Mahida Samarakoo STAC51: Categorical data Aalysis 1 / 35 Table of cotets Iferece for Proportios 1 Iferece for Proportios Mahida Samarakoo
More informationSamples from Normal Populations with Known Variances
Samples from Normal Populatios with Kow Variaces If the populatio variaces are kow to be σ 2 1 adσ2, the the 2 two-sided cofidece iterval for the differece of the populatio meas µ 1 µ 2 with cofidece level
More information(7 One- and Two-Sample Estimation Problem )
34 Stat Lecture Notes (7 Oe- ad Two-Sample Estimatio Problem ) ( Book*: Chapter 8,pg65) Probability& Statistics for Egieers & Scietists By Walpole, Myers, Myers, Ye Estimatio 1 ) ( ˆ S P i i Poit estimate:
More informationThis 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 informationY i n. i=1. = 1 [number of successes] number of successes = n
Eco 371 Problem Set # Aswer Sheet 3. I this questio, you are asked to cosider a Beroulli radom variable Y, with a success probability P ry 1 p. You are told that you have draws from this distributio ad
More informationExpectation and Variance of a random variable
Chapter 11 Expectatio ad Variace of a radom variable The aim of this lecture is to defie ad itroduce mathematical Expectatio ad variace of a fuctio of discrete & cotiuous radom variables ad the distributio
More informationSTA 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 informationAnnouncements. Unit 5: Inference for Categorical Data Lecture 1: Inference for a single proportion
Housekeepig Aoucemets Uit 5: Iferece for Categorical Data Lecture 1: Iferece for a sigle proportio Statistics 101 Mie Çetikaya-Rudel PA 4 due Friday at 5pm (exteded) PS 6 due Thursday, Oct 30 October 23,
More informationContinuous Data that can take on any real number (time/length) based on sample data. Categorical data can only be named or categorised
Questio 1. (Topics 1-3) A populatio cosists of all the members of a group about which you wat to draw a coclusio (Greek letters (μ, σ, Ν) are used) A sample is the portio of the populatio selected for
More informationFinal Examination Solutions 17/6/2010
The Islamic Uiversity of Gaza Faculty of Commerce epartmet of Ecoomics ad Political Scieces A Itroductio to Statistics Course (ECOE 30) Sprig Semester 009-00 Fial Eamiatio Solutios 7/6/00 Name: I: Istructor:
More informationIf, for instance, we were required to test whether the population mean μ could be equal to a certain value μ
STATISTICAL INFERENCE INTRODUCTION Statistical iferece is that brach of Statistics i which oe typically makes a statemet about a populatio based upo the results of a sample. I oesample testig, we essetially
More informationHomework 5 Solutions
Homework 5 Solutios p329 # 12 No. To estimate the chace you eed the expected value ad stadard error. To do get the expected value you eed the average of the box ad to get the stadard error you eed the
More informationLecture 19. Curve fitting I. 1 Introduction. 2 Fitting a constant to measured data
Lecture 9 Curve fittig I Itroductio Suppose we are preseted with eight poits of easured data (x i, y j ). As show i Fig. o the left, we could represet the uderlyig fuctio of which these data are saples
More informationMath 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 informationMOST 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 informationNotes on Hypothesis Testing, Type I and Type II Errors
Joatha Hore PA 818 Fall 6 Notes o Hypothesis Testig, Type I ad Type II Errors Part 1. Hypothesis Testig Suppose that a medical firm develops a ew medicie that it claims will lead to a higher mea cure rate.
More information2 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 informationTopic 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 information1 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 informationStatistical 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 informationSection 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis
Sectio 9.2 Tests About a Populatio Proportio P H A N T O M S Parameters Hypothesis Assess Coditios Name the Test Test Statistic (Calculate) Obtai P value Make a decisio State coclusio Sectio 9.2 Tests
More informationBecause 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 informationChapter 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 information1 Models for Matched Pairs
1 Models for Matched Pairs Matched pairs occur whe we aalyse samples such that for each measuremet i oe of the samples there is a measuremet i the other sample that directly relates to the measuremet i
More informationChapter 1 (Definitions)
FINAL EXAM REVIEW Chapter 1 (Defiitios) Qualitative: Nomial: Ordial: Quatitative: Ordial: Iterval: Ratio: Observatioal Study: Desiged Experimet: Samplig: Cluster: Stratified: Systematic: Coveiece: Simple
More informationThis 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 informationProperties 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 informationUnderstanding Dissimilarity Among Samples
Aoucemets: Midterm is Wed. Review sheet is o class webpage (i the list of lectures) ad will be covered i discussio o Moday. Two sheets of otes are allowed, same rules as for the oe sheet last time. Office
More informationChapter 13, Part A Analysis of Variance and Experimental Design
Slides Prepared by JOHN S. LOUCKS St. Edward s Uiversity Slide 1 Chapter 13, Part A Aalysis of Variace ad Eperimetal Desig Itroductio to Aalysis of Variace Aalysis of Variace: Testig for the Equality of
More information1 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 informationTopic 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 informationLesson 2. Projects and Hand-ins. Hypothesis testing Chaptre 3. { } x=172.0 = 3.67
Lesso 7--7 Chaptre 3 Projects ad Had-is Project I: latest ovember Project I: latest december Laboratio Measuremet systems aalysis I: latest december Project - are volutary. Laboratio is obligatory. Give
More informationLecture 2: Monte Carlo Simulation
STAT/Q SCI 43: Itroductio to Resamplig ethods Sprig 27 Istructor: Ye-Chi Che Lecture 2: ote Carlo Simulatio 2 ote Carlo Itegratio Assume we wat to evaluate the followig itegratio: e x3 dx What ca we do?
More informationPSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 9
Hypothesis testig PSYCHOLOGICAL RESEARCH (PYC 34-C Lecture 9 Statistical iferece is that brach of Statistics i which oe typically makes a statemet about a populatio based upo the results of a sample. I
More information5. A formulae page and two tables are provided at the end of Part A of the examination PART A
Istructios: 1. You have bee provided with: (a) this questio paper (Part A ad Part B) (b) a multiple choice aswer sheet (for Part A) (c) Log Aswer Sheet(s) (for Part B) (d) a booklet of tables. (a) I PART
More informationWorksheet 23 ( ) Introduction to Simple Linear Regression (continued)
Worksheet 3 ( 11.5-11.8) Itroductio to Simple Liear Regressio (cotiued) This worksheet is a cotiuatio of Discussio Sheet 3; please complete that discussio sheet first if you have ot already doe so. This
More informationTopic 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 information1 Review of Probability & Statistics
1 Review of Probability & Statistics a. I a group of 000 people, it has bee reported that there are: 61 smokers 670 over 5 960 people who imbibe (drik alcohol) 86 smokers who imbibe 90 imbibers over 5
More informationStatistics for Applications Fall Problem Set 7
18.650. Statistics for Applicatios Fall 016. Proble Set 7 Due Friday, Oct. 8 at 1 oo Proble 1 QQ-plots Recall that the Laplace distributio with paraeter λ > 0 is the cotiuous probaλ bility easure with
More informationChapter 20. Comparing Two Proportions. BPS - 5th Ed. Chapter 20 1
Chapter 0 Comparig Two Proportios BPS - 5th Ed. Chapter 0 Case Study Machie Reliability A study is performed to test of the reliability of products produced by two machies. Machie A produced 8 defective
More informationMidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday
Aoucemets MidtermII Review Sta 101 - Fall 2016 Duke Uiversity, Departmet of Statistical Sciece Office Hours Wedesday 12:30-2:30pm Watch liear regressio videos before lab o Thursday Dr. Abrahamse Slides
More information6.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 informationSTAT431 Review. X = n. n )
STAT43 Review I. Results related to ormal distributio Expected value ad variace. (a) E(aXbY) = aex bey, Var(aXbY) = a VarX b VarY provided X ad Y are idepedet. Normal distributios: (a) Z N(, ) (b) X N(µ,
More informationIntegrals of Functions of Several Variables
Itegrals of Fuctios of Several Variables We ofte resort to itegratios i order to deterie the exact value I of soe quatity which we are uable to evaluate by perforig a fiite uber of additio or ultiplicatio
More informationIntroduction There are two really interesting things to do in statistics.
ECON 497 Lecture Notes E Page 1 of 1 Metropolita State Uiversity ECON 497: Research ad Forecastig Lecture Notes E: Samplig Distributios Itroductio There are two really iterestig thigs to do i statistics.
More informationLecture Notes 15 Hypothesis Testing (Chapter 10)
1 Itroductio Lecture Notes 15 Hypothesis Testig Chapter 10) Let X 1,..., X p θ x). Suppose we we wat to kow if θ = θ 0 or ot, where θ 0 is a specific value of θ. For example, if we are flippig a coi, we
More information1036: Probability & Statistics
036: Probability & Statistics Lecture 0 Oe- ad Two-Sample Tests of Hypotheses 0- Statistical Hypotheses Decisio based o experimetal evidece whether Coffee drikig icreases the risk of cacer i humas. A perso
More informationInterval 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 informationStatistics 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 informationResampling 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 information6 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 informationClass 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700
Class 23 Daiel B. Rowe, Ph.D. Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 2017 by D.B. Rowe 1 Ageda: Recap Chapter 9.1 Lecture Chapter 9.2 Review Exam 6 Problem Solvig Sessio. 2
More informationStatistics. 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 informationSummer MA Lesson 13 Section 1.6, Section 1.7 (part 1)
Suer MA 1500 Lesso 1 Sectio 1.6, Sectio 1.7 (part 1) I Solvig Polyoial Equatios Liear equatio ad quadratic equatios of 1 variable are specific types of polyoial equatios. Soe polyoial equatios of a higher
More informationLESSON 20: HYPOTHESIS TESTING
LESSN 20: YPTESIS TESTING utlie ypothesis testig Tests for the mea Tests for the proportio 1 YPTESIS TESTING TE CNTEXT Example 1: supervisor of a productio lie wats to determie if the productio time of
More informationChapter 6 Sampling Distributions
Chapter 6 Samplig Distributios 1 I most experimets, we have more tha oe measuremet for ay give variable, each measuremet beig associated with oe radomly selected a member of a populatio. Hece we eed to
More informationA PROBABILITY PROBLEM
A PROBABILITY PROBLEM A big superarket chai has the followig policy: For every Euros you sped per buy, you ear oe poit (suppose, e.g., that = 3; i this case, if you sped 8.45 Euros, you get two poits,
More informationTopic 6 Sampling, hypothesis testing, and the central limit theorem
CSE 103: Probability ad statistics Fall 2010 Topic 6 Samplig, hypothesis testig, ad the cetral limit theorem 61 The biomial distributio Let X be the umberofheadswhe acoiofbiaspistossedtimes The distributio
More informationSuccessful HE applicants. Information sheet A Number of applicants. Gender Applicants Accepts Applicants Accepts. Age. Domicile
Successful HE applicats Sigificace tests use data from samples to test hypotheses. You will use data o successful applicatios for courses i higher educatio to aswer questios about proportios, for example,
More informationSampling Distributions, Z-Tests, Power
Samplig Distributios, Z-Tests, Power We draw ifereces about populatio parameters from sample statistics Sample proportio approximates populatio proportio Sample mea approximates populatio mea Sample variace
More informationTests 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 informationEstimation of a population proportion March 23,
1 Social Studies 201 Notes for March 23, 2005 Estimatio of a populatio proportio Sectio 8.5, p. 521. For the most part, we have dealt with meas ad stadard deviatios this semester. This sectio of the otes
More informationLecture 6 Simple alternatives and the Neyman-Pearson lemma
STATS 00: Itroductio to Statistical Iferece Autum 06 Lecture 6 Simple alteratives ad the Neyma-Pearso lemma Last lecture, we discussed a umber of ways to costruct test statistics for testig a simple ull
More informationBertrand s postulate Chapter 2
Bertrad s postulate Chapter We have see that the sequece of prie ubers, 3, 5, 7,... is ifiite. To see that the size of its gaps is ot bouded, let N := 3 5 p deote the product of all prie ubers that are
More informationFACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures
FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING Lectures MODULE 5 STATISTICS II. Mea ad stadard error of sample data. Biomial distributio. Normal distributio 4. Samplig 5. Cofidece itervals
More information5.6 Binomial Multi-section Matching Transformer
4/14/21 5_6 Bioial Multisectio Matchig Trasforers 1/1 5.6 Bioial Multi-sectio Matchig Trasforer Readig Assiget: pp. 246-25 Oe way to axiize badwidth is to costruct a ultisectio Γ f that is axially flat.
More informationENGI 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 informationOne-Sample Test for Proportion
Oe-Sample Test for Proportio Approximated Oe-Sample Z Test for Proportio CF Jeff Li, MD., PhD. November 1, 2005 c Jeff Li, MD., PhD. c Jeff Li, MD., PhD. Oe Sample Test for Proportio, 1 I DM-TKR Data,
More information