Statistics - Lecture 05
|
|
- Clarence Gallagher
- 5 years ago
- Views:
Transcription
1 Statistics - Lecture 05 Nicodème Paul Faculté de médecine, Université de Strasbourg 1/47
2 Descriptive statistics and probability Data description and graphical representation Mean, median, quartiles, standard deviation, interquartile range (IQR) Barplot, histogram and boxplot Decisions are based on probability calculation Notion of random variables and distributions Binomial and normal distributions 2/47 2/47
3 Estimation μ σ 2 Notion of parameters (, ) Di erence between estimate and estimator Xˉ S 2 The sample mean and the sample variance are estimators The Central Limit Theorem and sampling distribution Interval estimate or con dence interval 3/47 3/47
4 Hypothesis testing Parametric tests and test procedure Notion of null and alternative hypotheses Test statistic and its sampling distribution Critical values and critical regions P-values 4/47 4/47
5 Relation between variables and goodness of t Notion of correlation Non parametric tests and goodness of t Notion of association between categorical variables The χ 2 test The Fisher exact test 5/47 5/47
6 Examples You have been assigned 12 consenting experimental subjects, each of whom has a brain tumour of the same size and type. Four are allocated at random to an untreated control group, four are treated with the drug Tumostat and four more with the drug Inhibin 4. After two months of treatment, the diameter of each tumour is remeasured. Survival times in ve human cancer (stomach, bronchus, colon, ovary, breast). Cameron, E. and Pauling, L. (1978) Supplemental ascorbate in the supportive treatment of cancer: re-evaluation of prolongation of survival times in terminal human cancer. Proceedings of the National Academy of Science USA, 75, Comparison of 5 pretreated patches to reduce mosquito human contact. Bhatnagar, A and Mehta, VK (2007) E cacy of Deltamethrin and Cy uthrin Impregnated Cloth over Uniform against Mosquito Bites. Medical Journal Armed Forces India, 63, /47 6/47
7 Question You have been assigned 12 consenting experimental subjects, each of whom has a brain tumour of the same size and type. Four are allocated at random to an untreated control group, four are treated with the drug Tumostat and four more with the drug Inhibin 4. After two months of treatment, the diameter of each tumour is remeasured. What would be the appropriate test here? Parametric test Non parametric test Submit Show Hint Show Answer Clear 7/47 7/47
8 ANOVA: Analysis Of Variance ( μ 1, σ1 2 ) ( X 11, X 12,..., X 1,n1 ) (, ) Population 1: Sample 1: Population 2: Sample 2: Population k: Sample k: Xˉ1 S 2 1 ( μ 2, σ2 2 ) ( X 21, X 22,..., X 2,n2 ) (, ) Xˉ2 S 2 2 ( μ k, σ 2 ) ( X,,..., ) k k1 X k2 X k,nk (, ) Xˉk S 2 k Objective: Comparing the means of multiple populations 8/47 8/47
9 ANOVA assumption and objectives Each of the k population or treatment response distributions is normal σ 1 = σ 2 =... = σ k (The k normal distributions have identical standard deviations) The observations in the sample from any particular one of the k populations or treatments are independent of one another When comparing population means, the k random samples are selected independently of one another μ 1 μ 2 μ k H 0 : = =... = H 1 μ : At least two of the s are di erent Estimation of simultaneous con dence intervals for the mean di erences μ i i, j = 1,..., k and i j μ j for 9/47 9/47
10 Example You have been assigned 12 consenting experimental subjects, each of whom has a brain tumour of the same size and type. Four are allocated at random to an untreated control group, four are treated with the drug Tumostat and four more with the drug Inhibin 4. After two months of treatment, the diameter of each tumour is remeasured. Population parameters: - μ 1 : population mean of the control group - μ 2 : population mean of the Neurohib group - μ 3 : population mean of the Tumostop group. H 0 : There is no di erence in mean tumour diameter among the treatments H 1 μ : There is a di erence in mean tumour diameter among the treatments. At least two of the s are di erent = = μ 1 μ 2 μ /47 10/47
11 Data x ij i j is the th observation resulting from th treatment = T.j n j : total of th treatment. : mean of the th treatment xˉ.j T.j i=1 x ij j = n j j T.. = k j=1 T.j = k j=1 n j i=1 x ij : total of all observations T xˉ.. =.. N : the grand mean where N = k j=1 n j 11/47 11/47
12 Example 1 xˉ.1 = ( ) = xˉ.2 = ( ) = xˉ.3 = ( ) = xˉ.. = ( ) = /47 12/47
13 Within groups sum of squares Variation within group: ssw = 3 j=1 4 i=1( x ij xˉ.j ) 2 ssw = ( ) + ( ) + ( ) = /47 13/47
14 Between groups sum of squares Variation between groups: ssb = 3 j=1 4( xˉ.j xˉ.. ) 2 ssb = = /47 14/47
15 Total sum of squares Variation between groups: sst = 3 i=1 4 i=1( x ij xˉ.. ) 2 sst = ( ) + ( ) + ( ) = 102 sst = ssw + ssb = = /47 15/47
16 Check yourself Under the null hypothesis, the ratio should be close to 1. True False Submit Show Hint Show Answer Clear ssb ssw 16/47 16/47
17 Test for equal means The hypotheses are: H 0 : H 1 : μ 1 = μ 2 =... = μ k some means are different If the null hypothesis is true, we combine k samples to estimate overall mean and the sample mean for the group as: i Xˉ.. k i=1 n j X ij Xˉ.j 1 = = N j=1 n 1 j X i,j n j i=1 SST = k j=1 n j ( sum of squares within groups and groups i=1 X ij Xˉ..) 2 Total sum of squares, SSW = ( We can show that: SST = SSW + SSB k j=1 n j i=1 X ij Xˉ.j) 2 SSB = k j=1 n j( Xˉ.j Xˉ..) 2 sum of squares between 17/47 17/47
18 Check yourself X 1, X 2,..., X n N (μ, σ 2 ) μ σ S 2 = 1 ( n 1 n i=1 X i Xˉ) 2 Let with and unknown. Let. What is the distribution of? σ N (μ; 2 ) n t n 1 χ 2 1 n 1 S 2 σ 2 χ 2 n 1 χ 2 n Submit Show Hint Show Answer Clear 18/47 18/47
19 Check yourself In the anova framework, we de ned SSW Let n 1 n 2 n k, what is the distribution of? N = SSW = k j=1 n j i=1( X ij Xˉ.j) 2 σ 2 as the sum of squares within group. χ 2 1 χ 2 k χ 2 k 1 χ 2 N χ 2 N 1 χ 2 N k χ 2 N k 1 Submit Show Hint Show Answer Clear 19/47 19/47
20 Parameter estimation Comparing means from multiple populations assuming the variances are the same and equal to σ 2 Pooled variance estimator: S 2 pool k j=1( 1) = n j S 2 j = k j=1( n j 1) k j=1 n j i=1( X ij Xˉ.j) 2 N k N = n 1 + n n k = where, and Xˉ.j 1 n j n j i=1 X i,j S 2 1 j = n j i=1( X ij Xˉ.j) 2 n j 1 Notice that: S 2 pool ( n 1 1) S1 2 ( n 2 1) S2 2 ( n k 1) S 2 k = σ 2 σ 2 σ 2 σ 2 χ 2 N k j = 1, 2,..., k As for, ( n j 1) S 2 j σ 2 χ 2 1 n j 20/47 20/47
21 Parameter estimation = Xˉ.j 1 n j n j is an estimator of i=1 X ij μ j As,,..., N (, ), then X 1j X 2j X nj j μ j σ 2 N (, ) Xˉ.j μ j σ 2 n j Xˉ.j μ j 1 S pool nj t N k (1 α) con dence intervals for population means are: = [, + ] 1 α xˉ.j t N k 2 n 1 α j 2 n j I α xˉ.j t N k s pool s pool 21/47 21/47
22 Example A 95% con dence interval for respectively μ control, μ neurohib and μ mitostop is: - [ /9 1/2; /9 1/2] = [6.935; ] - [ /9 1/2; /9 1/2] = [3.935; 8.065] - [ /9 1/2; /9 1/2] = [0.935; 5.065] 22/47 22/47
23 Check yourself In the anova framework, we de ned SST distribution of? σ 2 SST = k j=1 n j ( i=1 X ij Xˉ..) 2 as the sum of total squares. What is the χ 2 1 χ 2 k χ 2 N 1 χ 2 N χ 2 N k Submit Show Hint Show Answer Clear 23/47 23/47
24 Check yourself In the anova framework, we de ned SSB What is the distribution of? σ 2 SSB = k j=1 n j( Xˉ.j Xˉ..) 2 as the sum of squares between groups. χ 2 1 χ 2 k χ 2 N 1 χ 2 N k χ 2 k 1 Submit Show Hint Show Answer Clear 24/47 24/47
25 Test for equal means SST σ 2 SSW σ 2 X ij = k j=1 n j Xˉ.. i=1( ) 2 χ 2 σ N 1 k j=1 n j X ij Xˉ.j = i=1( ) 2 χ 2 σ N k = ( σ ) 2 χ 2 k 1 SSB k σ 2 j=1 Xˉ.j Xˉ.. n j 25/47 25/47
26 Test for equal means De nition: Let Y and W be independent random variables such that Y has the χ 2 m distribution with m degrees of freedom and has the distribution with n degrees of freedom, where m and n are given positive integers. The random variable T de ned as follows: T F m,n Then the distribution of is, the F distribution with m and n degrees of freedom. W T = Y /m W/n χ 2 n Under the null hypothesis, the random variable: T = SSB/(k 1) SSW/(N k) F k 1,N k k 1 N k has a distribution with and degrees of freedom. 26/47 26/47
27 Test for equal means α f To test with a signi cant level, we calculate the value of the test statistic from the samples H 0 f > f 1 α Reject the null distribution if where is the critical value. The p value for the test is: k 1,N k f 1 α k 1,N k p value = P(T > f) where T F k 1,N k If the null hypothesis is rejected, what next? - - Tests for contrasts Pairwise comparison 27/47 27/47
28 Example 72/2 k 1 = 2 N k = 9 f = = 10.8 We have:,,, and. 30/9 2,9 = p value = f 0.95 We reject the null hypothesis of equal mean of tumour diameters 28/47 28/47
29 Example: Comparison of 5 pretreated patches to reduce mosquito human contact Reference: Bhatnagar, A and Mehta, VK (2007) E cacy of Deltamethrin and Cy uthrin Impregnated Cloth over Uniform against Mosquito Bites. Medical Journal Armed Forces India, 63, /47 29/47
30 Example: parameter estimation model01 = aov(measure~treatment, data=bites) model.tables(model01, type="means") Tables of means Grand mean Treatment Treatment C+O Cyfluthrin Deltamethrin D+O Odomos xˉ = xˉc = xˉd = xˉo = xˉc+o = xˉd+o = /47 30/47
31 Example: test summary(model01) Df Sum Sq Mean Sq F value Pr(>F) Treatment ** Residuals Signif. codes: 0 '***' '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 We have: If then, we reject the null hypothesis of equal mean mosquito bite rates. k 1 = 4 SSB = N k = 145 SSW = f = 4.48 p value = f4,145 1 α α = 0.05 = /47 31/47
32 Example: Survival times in terminal human cancer Reference: Cameron, E. and Pauling, L. (1978) Supplemental ascorbate in the supportive treatment of cancer: reevaluation of prolongation of survival times in terminal human cancer. Proceedings of the National Academy of Science USA, 75, STOMACH BRONCHUS COLON OVARY BREAST /47 32/47
33 Example: Survival times in terminal human cancer 33/47 33/47
34 Example: Survival times in terminal human cancer 34/47 34/47
35 Example: parameter estimation model02 = aov(survival~type, data=cdat) model.tables(model02, type="means") Tables of means Grand mean Type stomach bronchus colon ovary breast rep xˉ = xˉs = xˉb = xˉc = xˉo = xˉb = /47 35/47
36 Example: test summary(model02) Df Sum Sq Mean Sq F value Pr(>F) Type ** Residuals Signif. codes: 0 '***' '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 We have: f4,59 1 α α = 0.05 = k 1 = 4 SSB = N k = 59 SSW = f = p value = If then, we reject the null hypothesis of equal mean survival days. 36/47 36/47
37 Contrasts A contrast is any linear combination of the population means k i=1 c i = 0 such that and integer. μ 1, μ 2,..., μ 5 k = 5 c i C = c 1 μ 1 + c 2 μ c k μ k If are means of populations, some examples of contrasts are: - μ 1 μ 2-2μ 1 μ 3 μ 4 - μ 1 + μ 2 + μ 3 μ 4 2μ /47 37/47
38 Check yourself You want to test: 1 H 0 : μ 1 ( ) = 0 : + ( ) 0 4 μ 1 2 μ 3 μ 4 μ 5 H 1 μ 1 4 μ 2 μ 3 μ 4 μ 5 What would be the contrast: 1 μ 1 ( ) 4 μ 2 μ 3 μ 4 μ 5 4 μ 1 μ 2 μ 3 μ 4 μ 5 5 μ 1 μ 2 μ 3 μ 4 μ 5 Submit Show Hint Show Answer Clear 38/47 38/47
39 Test for a contrast The hypotheses: H 0 k k : c j μ j = 0 versus H 1 : c j μ j 0 j=1 j=1 S w Note = SSW/(N k), the test statistic: T = k j=1 c jxˉ.j S w k j=1 c 2 j n j has a t-distribution with N k degrees of freedom. The (1 α) 100% con dence interval for the contrast is: k c 2 k c 2 [ t N k j ; + t N k j ] k j=1 c j xˉ.j 1 α 2 s w j=1 n j k j=1 c j xˉ.j 1 α 2 s w j=1 n j 39/47 39/47
40 Check yourself In the anova framework with k conditions or treatments, when you reject the null hypothesis how many comparisons would you do to compare the means? k 1 k k 2 k(k+1) 2 k(k 1) 2 Submit Show Hint Show Answer Clear 40/47 40/47
41 Pairwise comparisons There are k(k 1) 2 pairwise comparisons or tests Recall that when testing a single hypothesis H 0, a type I error is made if it is rejected, even if it is actually true. The probability of making a type I error in a test is usually controlled to be smaller than a α certain level of, typically equal to 0.05 H 01 H 02 H 0m α When there are several null hypotheses,,,...,, and all of them are tested simultaneously, one may want to control the type I error at some level. A type I error is then made if at least one true hypothesis in the family of hypotheses being tested is rejected. This signi cance level is called the familywise error rate (FWER). If the hypotheses in the family are independent, then: α i i = 1, 2,..., m FWER = 1 (1 α i ) m where for are individual signi cance levels. 41/47 41/47
42 Pairwise comparisons FWER α H 0i H 01, H 02,..., p-value is less than α/m. H 0m Bonferroni: To control, reject all among for which the Studentized range distribution (Tukey) procedure: - Rank the k sample means - Two population means μ i and μ j are declared signi cantly di erent if the (1 α)100 μ i μ j con dence interval of : xˉi xˉj ± q N k,k,1 α s w ( + ) 2 n i n j q N k,k,1 α populations. is the upper-tail critical value of the Studentized range for comparing k di erent 42/ /47
43 Comparison of 5 pretreated patches Tukey multiple comparisons of means 95% family-wise confidence level factor levels have been ordered Fit: aov(formula = Measure ~ Treatment, data = bites) $Treatment diff lwr upr p adj D+O-C+O Odomos-C+O Cyfluthrin-C+O Deltamethrin-C+O Odomos-D+O Cyfluthrin-D+O Deltamethrin-D+O Cyfluthrin-Odomos Deltamethrin-Odomos Deltamethrin-Cyfluthrin /47 43/47
44 Comparison of 5 pretreated patches Cy uthrin patches when applied in presence of odomos were found to have much more repellent action as compared to only odomos. The di erence in the repellent action was very highly signi cant (p < 0.01). Thus it can be inferred that signi cant bene t is achieved in reducing man-mosquito contact when cy uthrin patches are applied over the uniform by the troops in addition to using odomos as compared to those using odomos only 44/47 44/47
45 Survival times in terminal human cancer Tukey multiple comparisons of means 95% family-wise confidence level factor levels have been ordered Fit: aov(formula = Survival ~ Type, data = cdat) $Type diff lwr upr p adj stomach-bronchus colon-bronchus ovary-bronchus breast-bronchus colon-stomach ovary-stomach breast-stomach ovary-colon breast-colon breast-ovary /47 45/47
46 Survival times in terminal human cancer is signi cantly di erent to 0. In fact, ascorbate, when used with the treatment, seems to improve survival times better in breast cancer than in bronchus cancer. μ breast log( ) log( ) μ breast μ bronchus μ stomach log( ) log( ) is also signi cantly di erent to 0, showing a signi cant improvement of survival in breast cancer compared to stomach cancer when ascorbate supplement is used in the treatment. 46/47 46/47
47 See you next time 47/47 47/47
Statistics - Lecture 04
Statistics - Lecture 04 Nicodème Paul Faculté de médecine, Université de Strasbourg file:///users/home/npaul/enseignement/esbs/2018-2019/cours/04/index.html#40 1/40 Correlation In many situations the objective
More informationBiostatistics for physicists fall Correlation Linear regression Analysis of variance
Biostatistics for physicists fall 2015 Correlation Linear regression Analysis of variance Correlation Example: Antibody level on 38 newborns and their mothers There is a positive correlation in antibody
More informationMultiple Pairwise Comparison Procedures in One-Way ANOVA with Fixed Effects Model
Biostatistics 250 ANOVA Multiple Comparisons 1 ORIGIN 1 Multiple Pairwise Comparison Procedures in One-Way ANOVA with Fixed Effects Model When the omnibus F-Test for ANOVA rejects the null hypothesis that
More informationMAT3378 (Winter 2016)
MAT3378 (Winter 2016) Assignment 2 - SOLUTIONS Total number of points for Assignment 2: 12 The following questions will be marked: Q1, Q2, Q4 Q1. (4 points) Assume that Z 1,..., Z n are i.i.d. normal random
More informationStatistics. Nicodème Paul Faculté de médecine, Université de Strasbourg. 9/5/2018 Statistics
Statistics Nicodème Paul Faculté de médecine, Université de Strasbourg file:///users/home/npaul/enseignement/esbs/2018-2019/cours/01/index.html#21 1/62 Course logistics Statistics Course website: http://statnipa.appspot.com/
More informationANOVA: Analysis of Variation
ANOVA: Analysis of Variation The basic ANOVA situation Two variables: 1 Categorical, 1 Quantitative Main Question: Do the (means of) the quantitative variables depend on which group (given by categorical
More informationGarvan Ins)tute Biosta)s)cal Workshop 16/7/2015. Tuan V. Nguyen. Garvan Ins)tute of Medical Research Sydney, Australia
Garvan Ins)tute Biosta)s)cal Workshop 16/7/2015 Tuan V. Nguyen Tuan V. Nguyen Garvan Ins)tute of Medical Research Sydney, Australia Analysis of variance Between- group and within- group varia)on explained
More informationStatistics for EES Factorial analysis of variance
Statistics for EES Factorial analysis of variance Dirk Metzler June 12, 2015 Contents 1 ANOVA and F -Test 1 2 Pairwise comparisons and multiple testing 6 3 Non-parametric: The Kruskal-Wallis Test 9 1 ANOVA
More informationMath 141. Lecture 16: More than one group. Albyn Jones 1. jones/courses/ Library 304. Albyn Jones Math 141
Math 141 Lecture 16: More than one group Albyn Jones 1 1 Library 304 jones@reed.edu www.people.reed.edu/ jones/courses/141 Comparing two population means If two distributions have the same shape and spread,
More informationANOVA: Analysis of Variance
ANOVA: Analysis of Variance Marc H. Mehlman marcmehlman@yahoo.com University of New Haven The analysis of variance is (not a mathematical theorem but) a simple method of arranging arithmetical facts so
More information1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College
1-Way ANOVA MATH 143 Department of Mathematics and Statistics Calvin College Spring 2010 The basic ANOVA situation Two variables: 1 Categorical, 1 Quantitative Main Question: Do the (means of) the quantitative
More informationStatistics. Nicodème Paul Faculté de médecine, Université de Strasbourg
Statistics Nicodème Paul Faculté de médecine, Université de Strasbourg Course logistics Statistics & Experimental plani cation Course website: http://statnipa.appspot.com/ (http://statnipa.appspot.com/)
More informationAnalysis of Variance (ANOVA) Cancer Research UK 10 th of May 2018 D.-L. Couturier / R. Nicholls / M. Fernandes
Analysis of Variance (ANOVA) Cancer Research UK 10 th of May 2018 D.-L. Couturier / R. Nicholls / M. Fernandes 2 Quick review: Normal distribution Y N(µ, σ 2 ), f Y (y) = 1 2πσ 2 (y µ)2 e 2σ 2 E[Y ] =
More informationOne-Way Analysis of Variance: ANOVA
One-Way Analysis of Variance: ANOVA Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Background to ANOVA Recall from
More informationReview for Final. Chapter 1 Type of studies: anecdotal, observational, experimental Random sampling
Review for Final For a detailed review of Chapters 1 7, please see the review sheets for exam 1 and. The following only briefly covers these sections. The final exam could contain problems that are included
More informationInference for Regression
Inference for Regression Section 9.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 13b - 3339 Cathy Poliak, Ph.D. cathy@math.uh.edu
More informationSCHOOL OF MATHEMATICS AND STATISTICS
RESTRICTED OPEN BOOK EXAMINATION (Not to be removed from the examination hall) Data provided: Statistics Tables by H.R. Neave MAS5052 SCHOOL OF MATHEMATICS AND STATISTICS Basic Statistics Spring Semester
More informationANOVA: Analysis of Variance
ANOVA: Analysis of Variance Marc H. Mehlman marcmehlman@yahoo.com University of New Haven The analysis of variance is (not a mathematical theorem but) a simple method of arranging arithmetical facts so
More information2 Hand-out 2. Dr. M. P. M. M. M c Loughlin Revised 2018
Math 403 - P. & S. III - Dr. McLoughlin - 1 2018 2 Hand-out 2 Dr. M. P. M. M. M c Loughlin Revised 2018 3. Fundamentals 3.1. Preliminaries. Suppose we can produce a random sample of weights of 10 year-olds
More informationLecture 7: Hypothesis Testing and ANOVA
Lecture 7: Hypothesis Testing and ANOVA Goals Overview of key elements of hypothesis testing Review of common one and two sample tests Introduction to ANOVA Hypothesis Testing The intent of hypothesis
More informationSTAT22200 Spring 2014 Chapter 5
STAT22200 Spring 2014 Chapter 5 Yibi Huang April 29, 2014 Chapter 5 Multiple Comparisons Chapter 5-1 Chapter 5 Multiple Comparisons Note the t-tests and C.I. s are constructed assuming we only do one test,
More informationANOVA Situation The F Statistic Multiple Comparisons. 1-Way ANOVA MATH 143. Department of Mathematics and Statistics Calvin College
1-Way ANOVA MATH 143 Department of Mathematics and Statistics Calvin College An example ANOVA situation Example (Treating Blisters) Subjects: 25 patients with blisters Treatments: Treatment A, Treatment
More informationUNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S. Duration - 3 hours. Aids Allowed: Calculator
UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL - MAY 2005 EXAMINATIONS STA 248 H1S Duration - 3 hours Aids Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: There are 17 pages including
More informationChapter Seven: Multi-Sample Methods 1/52
Chapter Seven: Multi-Sample Methods 1/52 7.1 Introduction 2/52 Introduction The independent samples t test and the independent samples Z test for a difference between proportions are designed to analyze
More informationChapter 11 - Lecture 1 Single Factor ANOVA
April 5, 2013 Chapter 9 : hypothesis testing for one population mean. Chapter 10: hypothesis testing for two population means. What comes next? Chapter 9 : hypothesis testing for one population mean. Chapter
More informationBIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES
BIOL 458 - Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES PART 1: INTRODUCTION TO ANOVA Purpose of ANOVA Analysis of Variance (ANOVA) is an extremely useful statistical method
More information4.1. Introduction: Comparing Means
4. Analysis of Variance (ANOVA) 4.1. Introduction: Comparing Means Consider the problem of testing H 0 : µ 1 = µ 2 against H 1 : µ 1 µ 2 in two independent samples of two different populations of possibly
More informationStatistical methods for comparing multiple groups. Lecture 7: ANOVA. ANOVA: Definition. ANOVA: Concepts
Statistical methods for comparing multiple groups Lecture 7: ANOVA Sandy Eckel seckel@jhsph.edu 30 April 2008 Continuous data: comparing multiple means Analysis of variance Binary data: comparing multiple
More informationStatistics for Managers Using Microsoft Excel Chapter 10 ANOVA and Other C-Sample Tests With Numerical Data
Statistics for Managers Using Microsoft Excel Chapter 10 ANOVA and Other C-Sample Tests With Numerical Data 1999 Prentice-Hall, Inc. Chap. 10-1 Chapter Topics The Completely Randomized Model: One-Factor
More information3. Design Experiments and Variance Analysis
3. Design Experiments and Variance Analysis Isabel M. Rodrigues 1 / 46 3.1. Completely randomized experiment. Experimentation allows an investigator to find out what happens to the output variables when
More informationIntroduction to Statistical Inference Lecture 10: ANOVA, Kruskal-Wallis Test
Introduction to Statistical Inference Lecture 10: ANOVA, Kruskal-Wallis Test la Contents The two sample t-test generalizes into Analysis of Variance. In analysis of variance ANOVA the population consists
More informationHypothesis testing: Steps
Review for Exam 2 Hypothesis testing: Steps Repeated-Measures ANOVA 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region
More informationWeek 14 Comparing k(> 2) Populations
Week 14 Comparing k(> 2) Populations Week 14 Objectives Methods associated with testing for the equality of k(> 2) means or proportions are presented. Post-testing concepts and analysis are introduced.
More informationThe One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)
The One-Way Repeated-Measures ANOVA (For Within-Subjects Designs) Logic of the Repeated-Measures ANOVA The repeated-measures ANOVA extends the analysis of variance to research situations using repeated-measures
More informationFinansiell Statistik, GN, 15 hp, VT2008 Lecture 12::(1) Analysis of Variance (2) Chi-Square Tests for Independence and for Goodness-of- t
Finansiell Statistik, GN, 15 hp, VT2008 Lecture 12::(1) Analysis of Variance (2) Chi-Square Tests for Independence and for Goodness-of- t Gebrenegus Ghilagaber, PhD, Associate Professor 1 1 Introduction
More informationHypothesis testing: Steps
Review for Exam 2 Hypothesis testing: Steps Exam 2 Review 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region 3. Compute
More informationAnalysis of variance (ANOVA) Comparing the means of more than two groups
Analysis of variance (ANOVA) Comparing the means of more than two groups Example: Cost of mating in male fruit flies Drosophila Treatments: place males with and without unmated (virgin) females Five treatments
More informationSTAT 135 Lab 9 Multiple Testing, One-Way ANOVA and Kruskal-Wallis
STAT 135 Lab 9 Multiple Testing, One-Way ANOVA and Kruskal-Wallis Rebecca Barter April 6, 2015 Multiple Testing Multiple Testing Recall that when we were doing two sample t-tests, we were testing the equality
More informationANOVA: Comparing More Than Two Means
ANOVA: Comparing More Than Two Means Chapter 11 Cathy Poliak, Ph.D. cathy@math.uh.edu Office Fleming 11c Department of Mathematics University of Houston Lecture 25-3339 Cathy Poliak, Ph.D. cathy@math.uh.edu
More informationThe One-Way Independent-Samples ANOVA. (For Between-Subjects Designs)
The One-Way Independent-Samples ANOVA (For Between-Subjects Designs) Computations for the ANOVA In computing the terms required for the F-statistic, we won t explicitly compute any sample variances or
More informationBooklet of Code and Output for STAC32 Final Exam
Booklet of Code and Output for STAC32 Final Exam December 12, 2015 List of Figures in this document by page: List of Figures 1 Time in days for students of different majors to find full-time employment..............................
More informationTwo (or more) factors, say A and B, with a and b levels, respectively.
Factorial Designs ST 516 Two (or more) factors, say A and B, with a and b levels, respectively. A factorial design uses all ab combinations of levels of A and B, for a total of ab treatments. When both
More informationFinansiell Statistik, GN, 15 hp, VT2008 Lecture 10-11: Statistical Inference: Hypothesis Testing
Finansiell Statistik, GN, 15 hp, VT008 Lecture 10-11: Statistical Inference: Hypothesis Testing Gebrenegus Ghilagaber, PhD, Associate Professor April 1, 008 1 1 Statistical Inferences: Introduction Recall:
More informationFACTORIAL DESIGNS and NESTED DESIGNS
Experimental Design and Statistical Methods Workshop FACTORIAL DESIGNS and NESTED DESIGNS Jesús Piedrafita Arilla jesus.piedrafita@uab.cat Departament de Ciència Animal i dels Aliments Items Factorial
More informationLecture 5: ANOVA and Correlation
Lecture 5: ANOVA and Correlation Ani Manichaikul amanicha@jhsph.edu 23 April 2007 1 / 62 Comparing Multiple Groups Continous data: comparing means Analysis of variance Binary data: comparing proportions
More informationDisadvantages of using many pooled t procedures. The sampling distribution of the sample means. The variability between the sample means
Stat 529 (Winter 2011) Analysis of Variance (ANOVA) Reading: Sections 5.1 5.3. Introduction and notation Birthweight example Disadvantages of using many pooled t procedures The analysis of variance procedure
More informationDETAILED CONTENTS PART I INTRODUCTION AND DESCRIPTIVE STATISTICS. 1. Introduction to Statistics
DETAILED CONTENTS About the Author Preface to the Instructor To the Student How to Use SPSS With This Book PART I INTRODUCTION AND DESCRIPTIVE STATISTICS 1. Introduction to Statistics 1.1 Descriptive and
More informationCOMPARISON OF MEANS OF SEVERAL RANDOM SAMPLES. ANOVA
Experimental Design and Statistical Methods Workshop COMPARISON OF MEANS OF SEVERAL RANDOM SAMPLES. ANOVA Jesús Piedrafita Arilla jesus.piedrafita@uab.cat Departament de Ciència Animal i dels Aliments
More information1 Introduction to One-way ANOVA
Review Source: Chapter 10 - Analysis of Variance (ANOVA). Example Data Source: Example problem 10.1 (dataset: exp10-1.mtw) Link to Data: http://www.auburn.edu/~carpedm/courses/stat3610/textbookdata/minitab/
More informationOne-Way Analysis of Variance. With regression, we related two quantitative, typically continuous variables.
One-Way Analysis of Variance With regression, we related two quantitative, typically continuous variables. Often we wish to relate a quantitative response variable with a qualitative (or simply discrete)
More informationFactorial and Unbalanced Analysis of Variance
Factorial and Unbalanced Analysis of Variance Nathaniel E. Helwig Assistant Professor of Psychology and Statistics University of Minnesota (Twin Cities) Updated 04-Jan-2017 Nathaniel E. Helwig (U of Minnesota)
More informationThe entire data set consists of n = 32 widgets, 8 of which were made from each of q = 4 different materials.
One-Way ANOVA Summary The One-Way ANOVA procedure is designed to construct a statistical model describing the impact of a single categorical factor X on a dependent variable Y. Tests are run to determine
More informationIn ANOVA the response variable is numerical and the explanatory variables are categorical.
1 ANOVA ANOVA means ANalysis Of VAriance. The ANOVA is a tool for studying the influence of one or more qualitative variables on the mean of a numerical variable in a population. In ANOVA the response
More informationSEVERAL μs AND MEDIANS: MORE ISSUES. Business Statistics
SEVERAL μs AND MEDIANS: MORE ISSUES Business Statistics CONTENTS Post-hoc analysis ANOVA for 2 groups The equal variances assumption The Kruskal-Wallis test Old exam question Further study POST-HOC ANALYSIS
More informationANOVA Analysis of Variance
ANOVA Analysis of Variance ANOVA Analysis of Variance Extends independent samples t test ANOVA Analysis of Variance Extends independent samples t test Compares the means of groups of independent observations
More informationCh. 1: Data and Distributions
Ch. 1: Data and Distributions Populations vs. Samples How to graphically display data Histograms, dot plots, stem plots, etc Helps to show how samples are distributed Distributions of both continuous and
More information22s:152 Applied Linear Regression. Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA)
22s:152 Applied Linear Regression Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA) We now consider an analysis with only categorical predictors (i.e. all predictors are
More information13: Additional ANOVA Topics. Post hoc Comparisons
13: Additional ANOVA Topics Post hoc Comparisons ANOVA Assumptions Assessing Group Variances When Distributional Assumptions are Severely Violated Post hoc Comparisons In the prior chapter we used ANOVA
More informationComparing Several Means
Comparing Several Means Some slides from R. Pruim STA303/STA1002: Methods of Data Analysis II, Summer 2016 Michael Guerzhoy The Dating World of Swordtail Fish In some species of swordtail fish, males develop
More information1 The Randomized Block Design
1 The Randomized Block Design When introducing ANOVA, we mentioned that this model will allow us to include more than one categorical factor(explanatory) or confounding variables in the model. In a first
More informationOne-Way ANOVA Cohen Chapter 12 EDUC/PSY 6600
One-Way ANOVA Cohen Chapter 1 EDUC/PSY 6600 1 It is easy to lie with statistics. It is hard to tell the truth without statistics. -Andrejs Dunkels Motivating examples Dr. Vito randomly assigns 30 individuals
More informationBooklet of Code and Output for STAC32 Final Exam
Booklet of Code and Output for STAC32 Final Exam December 7, 2017 Figure captions are below the Figures they refer to. LowCalorie LowFat LowCarbo Control 8 2 3 2 9 4 5 2 6 3 4-1 7 5 2 0 3 1 3 3 Figure
More informationMultiple comparisons - subsequent inferences for two-way ANOVA
1 Multiple comparisons - subsequent inferences for two-way ANOVA the kinds of inferences to be made after the F tests of a two-way ANOVA depend on the results if none of the F tests lead to rejection of
More informationLecture 11 Analysis of variance
Lecture 11 Analysis of variance Dr. Wim P. Krijnen Lecturer Statistics University of Groningen Faculty of Mathematics and Natural Sciences Johann Bernoulli Institute for Mathematics and Computer Science
More informationIntroduction to Business Statistics QM 220 Chapter 12
Department of Quantitative Methods & Information Systems Introduction to Business Statistics QM 220 Chapter 12 Dr. Mohammad Zainal 12.1 The F distribution We already covered this topic in Ch. 10 QM-220,
More informationHomework 9 Sample Solution
Homework 9 Sample Solution # 1 (Ex 9.12, Ex 9.23) Ex 9.12 (a) Let p vitamin denote the probability of having cold when a person had taken vitamin C, and p placebo denote the probability of having cold
More informationAnalysis of Variance
Analysis of Variance Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 22 November 29, 2011 ANOVA 1 / 59 Cuckoo Birds Case Study Cuckoo birds have a behavior
More information22s:152 Applied Linear Regression. Take random samples from each of m populations.
22s:152 Applied Linear Regression Chapter 8: ANOVA NOTE: We will meet in the lab on Monday October 10. One-way ANOVA Focuses on testing for differences among group means. Take random samples from each
More informationStat 5102 Final Exam May 14, 2015
Stat 5102 Final Exam May 14, 2015 Name Student ID The exam is closed book and closed notes. You may use three 8 1 11 2 sheets of paper with formulas, etc. You may also use the handouts on brand name distributions
More informationStatistics For Economics & Business
Statistics For Economics & Business Analysis of Variance In this chapter, you learn: Learning Objectives The basic concepts of experimental design How to use one-way analysis of variance to test for differences
More informationComparing the means of more than two groups
Comparing the means of more than two groups Chapter 15 Analysis of variance (ANOVA) Like a t-test, but can compare more than two groups Asks whether any of two or more means is different from any other.
More information9 One-Way Analysis of Variance
9 One-Way Analysis of Variance SW Chapter 11 - all sections except 6. The one-way analysis of variance (ANOVA) is a generalization of the two sample t test to k 2 groups. Assume that the populations of
More information22s:152 Applied Linear Regression. There are a couple commonly used models for a one-way ANOVA with m groups. Chapter 8: ANOVA
22s:152 Applied Linear Regression Chapter 8: ANOVA NOTE: We will meet in the lab on Monday October 10. One-way ANOVA Focuses on testing for differences among group means. Take random samples from each
More informationPSYC 331 STATISTICS FOR PSYCHOLOGISTS
PSYC 331 STATISTICS FOR PSYCHOLOGISTS Session 4 A PARAMETRIC STATISTICAL TEST FOR MORE THAN TWO POPULATIONS Lecturer: Dr. Paul Narh Doku, Dept of Psychology, UG Contact Information: pndoku@ug.edu.gh College
More informationChapter 8 Student Lecture Notes 8-1. Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance
Chapter 8 Student Lecture Notes 8-1 Department of Economics Business Statistics Chapter 1 Chi-square test of independence & Analysis of Variance ECON 509 Dr. Mohammad Zainal Chapter Goals After completing
More informationChapter 10: Analysis of variance (ANOVA)
Chapter 10: Analysis of variance (ANOVA) ANOVA (Analysis of variance) is a collection of techniques for dealing with more general experiments than the previous one-sample or two-sample tests. We first
More informationMaster s Written Examination - Solution
Master s Written Examination - Solution Spring 204 Problem Stat 40 Suppose X and X 2 have the joint pdf f X,X 2 (x, x 2 ) = 2e (x +x 2 ), 0 < x < x 2
More informationBusiness Statistics. Lecture 10: Course Review
Business Statistics Lecture 10: Course Review 1 Descriptive Statistics for Continuous Data Numerical Summaries Location: mean, median Spread or variability: variance, standard deviation, range, percentiles,
More informationAMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015
AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking
More informationFactorial designs. Experiments
Chapter 5: Factorial designs Petter Mostad mostad@chalmers.se Experiments Actively making changes and observing the result, to find causal relationships. Many types of experimental plans Measuring response
More informationSummary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)
Summary of Chapter 7 (Sections 7.2-7.5) and Chapter 8 (Section 8.1) Chapter 7. Tests of Statistical Hypotheses 7.2. Tests about One Mean (1) Test about One Mean Case 1: σ is known. Assume that X N(µ, σ
More information1 Statistical inference for a population mean
1 Statistical inference for a population mean 1. Inference for a large sample, known variance Suppose X 1,..., X n represents a large random sample of data from a population with unknown mean µ and known
More informationExample: Four levels of herbicide strength in an experiment on dry weight of treated plants.
The idea of ANOVA Reminders: A factor is a variable that can take one of several levels used to differentiate one group from another. An experiment has a one-way, or completely randomized, design if several
More informationTopic 22 Analysis of Variance
Topic 22 Analysis of Variance Comparing Multiple Populations 1 / 14 Outline Overview One Way Analysis of Variance Sample Means Sums of Squares The F Statistic Confidence Intervals 2 / 14 Overview Two-sample
More informationDepartment of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance ECON 509. Dr.
Department of Economics Business Statistics Chapter 1 Chi-square test of independence & Analysis of Variance ECON 509 Dr. Mohammad Zainal Chapter Goals After completing this chapter, you should be able
More informationSampling Distributions: Central Limit Theorem
Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao Motivations for the ANOVA We defined the F-distribution, this is mainly used in
More informationLecture 6 Multiple Linear Regression, cont.
Lecture 6 Multiple Linear Regression, cont. BIOST 515 January 22, 2004 BIOST 515, Lecture 6 Testing general linear hypotheses Suppose we are interested in testing linear combinations of the regression
More informationStat 427/527: Advanced Data Analysis I
Stat 427/527: Advanced Data Analysis I Review of Chapters 1-4 Sep, 2017 1 / 18 Concepts you need to know/interpret Numerical summaries: measures of center (mean, median, mode) measures of spread (sample
More informationIntroduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs
Introduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs The Analysis of Variance (ANOVA) The analysis of variance (ANOVA) is a statistical technique
More information13: Additional ANOVA Topics
13: Additional ANOVA Topics Post hoc comparisons Least squared difference The multiple comparisons problem Bonferroni ANOVA assumptions Assessing equal variance When assumptions are severely violated Kruskal-Wallis
More informationTA: Sheng Zhgang (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan (W 1:20) / 346 (Th 12:05) FINAL EXAM
STAT 301, Fall 2011 Name Lec 4: Ismor Fischer Discussion Section: Please circle one! TA: Sheng Zhgang... 341 (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan... 345 (W 1:20) / 346 (Th
More informationUnit 27 One-Way Analysis of Variance
Unit 27 One-Way Analysis of Variance Objectives: To perform the hypothesis test in a one-way analysis of variance for comparing more than two population means Recall that a two sample t test is applied
More information16.3 One-Way ANOVA: The Procedure
16.3 One-Way ANOVA: The Procedure Tom Lewis Fall Term 2009 Tom Lewis () 16.3 One-Way ANOVA: The Procedure Fall Term 2009 1 / 10 Outline 1 The background 2 Computing formulas 3 The ANOVA Identity 4 Tom
More informationT.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS
ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS In our work on hypothesis testing, we used the value of a sample statistic to challenge an accepted value of a population parameter. We focused only
More informationy ˆ i = ˆ " T u i ( i th fitted value or i th fit)
1 2 INFERENCE FOR MULTIPLE LINEAR REGRESSION Recall Terminology: p predictors x 1, x 2,, x p Some might be indicator variables for categorical variables) k-1 non-constant terms u 1, u 2,, u k-1 Each u
More informationCHAPTER 13: F PROBABILITY DISTRIBUTION
CHAPTER 13: F PROBABILITY DISTRIBUTION continuous probability distribution skewed to the right variable values on horizontal axis are 0 area under the curve represents probability horizontal asymptote
More information22s:152 Applied Linear Regression. 1-way ANOVA visual:
22s:152 Applied Linear Regression 1-way ANOVA visual: Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 Y We now consider an analysis
More informationAnalysis of Variance
Analysis of Variance Blood coagulation time T avg A 62 60 63 59 61 B 63 67 71 64 65 66 66 C 68 66 71 67 68 68 68 D 56 62 60 61 63 64 63 59 61 64 Blood coagulation time A B C D Combined 56 57 58 59 60 61
More informationSociology 6Z03 Review II
Sociology 6Z03 Review II John Fox McMaster University Fall 2016 John Fox (McMaster University) Sociology 6Z03 Review II Fall 2016 1 / 35 Outline: Review II Probability Part I Sampling Distributions Probability
More information