Regression With a Categorical Independent Variable: Mean Comparisons
|
|
- Amice Baker
- 5 years ago
- Views:
Transcription
1 Regression With a Categorical Independent Variable: Mean Lecture 16 March 29, 2005 Applied Regression Analysis Lecture #16-3/29/2005 Slide 1 of 43
2 Today s Lecture comparisons among means. Today s Lecture Upcoming Schedule Post Hoc Planned comparisons - contrasts. Post hoc comparisons. Partitioning the sum of squares (again...this time for contrasts). A Priori in SPSS Lecture #16-3/29/2005 Slide 2 of 43
3 Upcoming Schedule 3/31 - categorical independent variables - Ch. 12. Today s Lecture Upcoming Schedule Post Hoc A Priori in SPSS 4/5 - Curvilinear regression analysis - Ch /7 - Continuous and categorical independent variables - Ch. 14 (homework handed out). 4/12, 4/14 - No class (AERA/NCME meetings). 4/19, 4/21 - ANCOVA - Ch. 14 and 15. 4/26 - Logistic regression - Ch /28 - SEM with latent variables, introduction to Confirmatory Factor Analysis - Ch. 19 (Final handed out - due 4pm May 10th). 5/3 - Path analysis - Ch /5 - Wrap-up (may be used for more in-depth coverage of previous topics). Lecture #16-3/29/2005 Slide 3 of 43
4 Just a Review Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS Recall (if you can) prior to spring break...we discussed techniques for incorporating categorical independent variables into a regression analysis using the general linear model. Categorical independent variables can be incorporated into a regression analysis via coding techniques. Dummy coding. Effect coding. Using either coding technique resulted in the same conclusions - estimates of the mean of the dependent variable (Y ) at each level of the categorical independent variable. Lecture #16-3/29/2005 Slide 4 of 43
5 Lecture #16-3/29/2005 Slide 5 of 43
6 Just a Review Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS The overall regression analysis using the coded variables gave us the same familiar partitioning of the sums of squares of the dependent variable: Sums of squares due to regression. Sums of squares due to error - not explained by the regression. The regression F-test found from these sums of squares provides information regarding the overall effect of the categorical independent variable. If the F-test was statistically significant, we could determine that: The categorical independent variable predicts Y above a chance level. There is a statistically significant difference between at least one pair of the means of each category level. Lecture #16-3/29/2005 Slide 6 of 43
7 Concerns Example Data Set Example Hypothesis Test General Types of For a categorical independent variable, a statistically significant R 2 means a rejection of the null hypothesis: H 0 : µ 1 = µ 2 =... = µ g Note that rejection simply means that at least one of the above = signs is truly a. To determine which means are not equal, one of the multiple comparison procedures must be applied. Post Hoc A Priori in SPSS Lecture #16-3/29/2005 Slide 7 of 43
8 Comparison Concerns Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS The topic of multiple comparisons brings up a wealth of concerns, both from philosophical and statistical points of view. Most concerns are centered around the potential for an exponential number of post-hoc comparisons, for g groups: ( ) g 2 The phrase capitalization on chance is frequently used to describe many concerns. Even with these concerns, most people still use multiple comparisons for information regarding their analysis. Like most other statistical techniques, know the limitations of a technique is often as important as knowing the results of a technique. Lecture #16-3/29/2005 Slide 8 of 43
9 Example Data Set Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS Neter (1996, p. 676). The Kenton Food Company wished to test four different package designs for a new breakfast cereal. Twenty stores, with approximately equal sales volumes, were selected as the experimental units. Each store was randomly assigned one of the package designs, with each package design assigned to five stores. The stores were chosen to be comparable in location and sales volume. Other relevant conditions that could affect sales, such as price, amount and location of shelf space, and special promotional efforts, were kept the same for all of the stores in the experiment. Lecture #16-3/29/2005 Slide 9 of 43
10 Cereal Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS Lecture #16-3/29/2005 Slide 10 of 43
11 Overall Hypothesis Test Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori F = R 2 /k (1 R 2 )/(N k 1) = 0.788/3 ( )/(20 3 1) = From Excel ( =fdist(19.803,3,16) ), p = If we used a Type-I error rate of 0.05, we would reject the null hypothesis, and conclude that at least one regression coefficient for this analysis would be significantly different from zero. Having a regression coefficient of zero means having zero difference between the mean of one category and the grand mean. in SPSS Lecture #16-3/29/2005 Slide 11 of 43
12 = Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS Imagine you would like to examine the difference between box type #1 and box type #2. You seek to test a null hypothesis of H 0 : µ 1 = µ 2 Notice, equivalently, that this null hypothesis could be expressed in a slightly different way: H 0 : µ 1 = µ 2 µ 1 µ 2 = 0 The expression at the right hand side indicates that the null hypothesis states that the difference between the two means is zero. Lecture #16-3/29/2005 Slide 12 of 43
13 = Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS Alternatively, consider a mathematical way of expressing a contrast (or linear combination) the entire set of category level means: L = C 1 Ȳ 1 + C 2 Ȳ C g Ȳ g This linear combination is called a contrast. The contrast can be used to construct any comparison of group means. From our example, to test the difference between the means of the first and second box type, our contrast would be: L = (1)(Ȳ1) + ( 1)(Ȳ2) + (0)(Ȳ3) + (0)(Ȳ4) = Ȳ1 Ȳ2 Lecture #16-3/29/2005 Slide 13 of 43
14 General Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori in SPSS can be used for comparisons beyond the equivalence of two means. For instance, if one wanted to contrast the average sales for box type #1 and box type #2 with that of the average sales of box type #3, the contrast would look like: L = ( ) ( ) 1 1 (Ȳ 1 )+ (Ȳ 2 )+( 1)(Ȳ 3 )+(0)(Ȳ 4 ) = Ȳ1 + Ȳ One could re-write this contrast, equivalently, as: Ȳ 3 L = (1)(Ȳ 1 ) + (1) (Ȳ 2 ) + ( 2)(Ȳ 3 ) + (0)(Ȳ 4 ) = Ȳ 1 + Ȳ 2 2Ȳ 3 Lecture #16-3/29/2005 Slide 14 of 43
15 Lecture #16-3/29/2005 Slide 15 of 43
16 Types of A classic distinction (that may be fading, presently), is made. Concerns Example Data Set Example Hypothesis Test General Types of Post Hoc A Priori planned prior to the overall analysis F-test are called planned or a priori contrasts. decided upon after running the overall F-test are called post hoc contrasts. Typically, post hoc contrasts have been thought of as a negative thing. Are they really that bad? Should they be treated any differently? in SPSS Lecture #16-3/29/2005 Slide 16 of 43
17 Post Hoc Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively In our textbook, Pedhazur indicates his belief that post hoc contrasts should be evaluated differently from a priori contrasts. To illustrate his suggestions, I will separate both for the remainder of the lecture. In reality, however, little difference exists between the two. A Priori in SPSS Lecture #16-3/29/2005 Slide 17 of 43
18 Scheffé s Method Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Many types of statistics can be computed to evaluate the null hypothesis behind many of the contrasts one can develop. One of the most conservative (in terms of Type I errors) is the method developed by Scheffé. This method allows for any type of contrast to be built, providing a test statistic for the contrast. One can calculate the cut-off point where the magnitude L of a contrast becomes statistically significant by using: S = kf α;k,n k 1 MSR g j=1 (C j ) 2 n j Lecture #16-3/29/2005 Slide 18 of 43
19 Scheffé s Method Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS The Scheffé test: S = kf α;k,n k 1 MSR g j=1 (C j ) 2 k is the number of coded vectors in the analysis - the number of category levels minus one. F α;k,n k 1 is the value of the F-statistic for a given Type I error rate α, with k and N k 1 degrees of freedom. MSR is the mean square of the residuals from the overall ANOVA table (overall regression hypothesis test). C j is the contrast coefficient for category level j. n j n j is the number of observations in category level j. Lecture #16-3/29/2005 Slide 19 of 43
20 Scheffé s Example Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Recall from our cereal box test example, the mean number of units sold for each box type: Box Type Mean N Also recall the MSR from the overall regression hypothesis test was 9.9. Using this information, we will construct two contrasts: L = (1)(Ȳ 1 ) + ( 1)(Ȳ 2 ) + (0)(Ȳ 3 ) + (0)(Ȳ 4 ) = Ȳ 1 Ȳ 2 L = ( ) 1 2 ( Ȳ 1 ) + ( ) 1 2 ( Ȳ 2 ) + ( 1)(Ȳ3) + (0)(Ȳ4) = Ȳ1+Ȳ 2 2 Ȳ3 Lecture #16-3/29/2005 Slide 20 of 43
21 Example Contrast #1 L = (1)(Ȳ 1 ) + ( 1)(Ȳ 2 ) + (0)(Ȳ 3 ) + (0)(Ȳ 4 ) = Ȳ 1 Ȳ 2 Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Null hypothesis: H 0 : µ 1 µ 2 = 0 Alternative hypothesis H A : µ 1 µ 2 0 Type I error rate: 0.05; k = 3; N = 20. F 0.05;3,16 = 3.24 L = = 1.2 S = kf α;k,n k 1 MSR g j=1 (C j ) 2 n j = [ ] ( 1)2 = Lecture #16-3/29/2005 Slide 21 of 43
22 Lecture #16-3/29/2005 Slide 22 of 43
23 Example Contrast #1 With L = 1.2 being less than S = 6.2, we conclude that the the contrast is not significantly different from zero, or that there is no difference between the mean sales of box type #1 and box type #2. Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Lecture #16-3/29/2005 Slide 23 of 43
24 Example Contrast #2 L = ( 1 2 ) (Ȳ1 ) + ( ) 1 2 (Ȳ2 ) + ( 1)(Ȳ 3 ) + (0)(Ȳ 4 ) = Ȳ1+Ȳ2 2 Ȳ 3 Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Null hypothesis: H 0 : Ȳ1+Ȳ2 2 Ȳ 3 = 0 Alternative hypothesis H A : Ȳ1+Ȳ2 2 Ȳ 3 0 Type I error rate: 0.05; k = 3; N = 20. F 0.05;3,16 = 3.24 L = = 5.5 = [ ] ( 2)2 = Lecture #16-3/29/2005 Slide 24 of 43
25 Example Contrast #2 With L = 5.5 being less than S = 9.3, we conclude that the the contrast is not significantly different from zero, or that there is no difference between the average mean sales of box type #1 and box type #2 with that of box type #3. Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Lecture #16-3/29/2005 Slide 25 of 43
26 Lecture #16-3/29/2005 Slide 26 of 43
27 Alternatively... Post Hoc Scheffé s Method Scheffé s Example Example Contrast #1 Example Contrast #2 Alternatively A Priori in SPSS Instead of constructing S, one can compute an F-statistic for each contrast, and then compare that statistic with a value given in an F-table: F = MSR L [ 2 g j=1 (C j ) 2 n j ] This F statistic has one degree of freedom for the numerator and N-k-1 degrees of freedom for the denominator. If this statistic exceeds kf α;k,n k 1, the null hypothesis is rejected. Lecture #16-3/29/2005 Slide 27 of 43
28 A Priori Pedhazur indicates that A Priori contrasts: Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal Clearly, such comparisons are preferable as they are focused on tests of hypotheses derived from theory or ones concerned with the relative effectiveness of treatments, programs, practices, and the like. (p. 376) Although thin on support for this claim, he suggests that A Priori contrasts be held to a different standard of evidence for suggesting when to reject a null hypothesis. The following slides show common types of A Priori contrasts and their hypothesis tests. in SPSS Lecture #16-3/29/2005 Slide 28 of 43
29 Orthogonal Two contrasts are orthogonal when the sum of the products of the coefficients for their respective elements is zero, or: C 1C 2 = 0 Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal in SPSS Here, C g represents a column vector (size g 1) of the coefficients for a given contrast. A result of this orthogonality is that the correlation between these two comparisons is zero. As you will see, having a zero correlation has implications for partitioning the sum of squares due to these contrasts. The maximum number of orthogonal contrasts that can be built is equal to the number of groups (category levels) minus one. Lecture #16-3/29/2005 Slide 29 of 43
30 Orthogonal Example Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal in SPSS To demonstrate orthogonal contrasts, consider the two example contrasts we constructed previously: L 1 = (1)(Ȳ1) + ( 1)(Ȳ2) + (0)(Ȳ3) + (0)(Ȳ4) = Ȳ1 Ȳ2 L 2 = ( ) 1 2 ( Ȳ 1 )+ ( ) 1 2 ( Ȳ 2 )+( 1)(Ȳ3)+(0)(Ȳ4) = Ȳ1+Ȳ 2 2 Ȳ3 Notice that multiplying the contrast coefficients for each contrast gives: (1 1 2 ) + ( 1 1 ) + (0 2) + (0 0) = 0 2 Therefore, L 1 and L 2 are orthogonal contrasts. Because there are four category levels, only one more orthogonal contrast can be made: L 3 = ( ) 1 3 (Ȳ1 )+ ( ) 1 3 (Ȳ2 )+ ( ) 1 3 (Ȳ3 )+( 3)(Ȳ 4 ) = Ȳ1+Ȳ2+Ȳ3 3 Ȳ 4 Lecture #16-3/29/2005 Slide 30 of 43
31 Orthogonal Coding Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal in SPSS Instead of wording contrasts as functions of the means of each category level, consider contrasts as yet another type of variable coding technique. One could create a set of new column vectors, with entries representing the coefficients of each contrast. Once these vectors were created, the GLM could be used to estimate the contrasts. The General Linear Model states that the estimated regression parameters are given by: b = (X X) 1 X y Lecture #16-3/29/2005 Slide 31 of 43
32 Lecture #16-3/29/2005 Slide 32 of 43
33 Orthogonal Coding Example Cereal example data: Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal in SPSS Y I O 1 O 2 O 3 Type Lecture #16-3/29/2005 Slide 33 of 43
34 Partitioning the Sum of Squares Post Hoc Recall from previous lectures that a regression model with uncorrelated predictor variables allows for additive increases in R 2 when variables are added to the model. Because of our orthogonal contrasts, the model R 2 can be decomposed into components that are due to each contrast: A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal Model R 2 SS reg I, O I, O I, O I, O 1, O 2, O in SPSS Lecture #16-3/29/2005 Slide 34 of 43
35 Partitioning the Sum of Squares The ANOVA table can then be written as: Source df SS M S F Regression O O O Residual Lecture #16-3/29/2005 Slide 35 of 43
36 Nonorthogonal Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal Orthogonal contrasts are not the only type of contrasts that can be made A Priori. Nonorthogonal contrasts can be decided upon and tested in a similar manner. Because overlap occurs in nonorthogonal contrasts, the R 2 will not be additive. Furthermore, this nonadditivity will result in the sum of the contrast sum of squares being greater than the sum of squares due to the regression. in SPSS Lecture #16-3/29/2005 Slide 36 of 43
37 Lecture #16-3/29/2005 Slide 37 of 43
38 Nonorthogonal Post Hoc A Priori Orthogonal Orthogonal Coding Partitioning the Sum of Squares Nonorthogonal in SPSS Estimation of planned nonorthogonal contrasts proceeds much as the contrasts described previously. Again, L must be computed. The only difference is that one must now control the overall Type I error rate. This procedure equates to dividing the overall α by the number of planned comparisons. This procedure is commonly referred to as the Bonferroni procedure. It equates to running multiple t-tests with the levels of significance being adjusted. Lecture #16-3/29/2005 Slide 38 of 43
39 in SPSS In SPSS, contrasts can be run in several different ways. Post Hoc A Priori Under Analyze...General Linear Model...Multivariate, there are two boxes to choose from:. Post hoc. in SPSS Post Hoc Lecture #16-3/29/2005 Slide 39 of 43
40 in SPSS Post Hoc A Priori in SPSS Post Hoc Lecture #16-3/29/2005 Slide 40 of 43
41 Post Hoc in SPSS Post Hoc A Priori in SPSS Post Hoc Lecture #16-3/29/2005 Slide 41 of 43
42 Final Thought Post Hoc A Priori in SPSS Final Thought Next Class Mean comparisons are no different than coded regression for categorical independent variables. Be sure to acknowledge whether a contrast was planned or developed post hoc. Everything for today was done with a single categorical independent variable. As we add independent variables, the model complexity increases, but the mathematics are the same. Lecture #16-3/29/2005 Slide 42 of 43
43 Next Time Midterm returned. Post Hoc A Priori Unequal sample sizes. categorical independent variables. Interactions between categorical independent variables. in SPSS Final Thought Next Class Lecture #16-3/29/2005 Slide 43 of 43
Regression With a Categorical Independent Variable
Regression With a Independent Variable Lecture 10 November 5, 2008 ERSH 8320 Lecture #10-11/5/2008 Slide 1 of 54 Today s Lecture Today s Lecture Chapter 11: Regression with a single categorical independent
More informationRegression With a Categorical Independent Variable
Regression With a Categorical Independent Variable Lecture 15 March 17, 2005 Applied Regression Analysis Lecture #15-3/17/2005 Slide 1 of 29 Today s Lecture» Today s Lecture» Midterm Note» Example Regression
More informationRegression With a Categorical Independent Variable
Regression ith a Independent Variable ERSH 8320 Slide 1 of 34 Today s Lecture Regression with a single categorical independent variable. Today s Lecture Coding procedures for analysis. Dummy coding. Relationship
More informationVariance Partitioning
Lecture 12 March 8, 2005 Applied Regression Analysis Lecture #12-3/8/2005 Slide 1 of 33 Today s Lecture Muddying the waters of regression. What not to do when considering the relative importance of variables
More informationThe legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.
1 Chapter 1: Research Design Principles The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 2 Chapter 2: Completely Randomized Design
More informationVariance Partitioning
Chapter 9 October 22, 2008 ERSH 8320 Lecture #8-10/22/2008 Slide 1 of 33 Today s Lecture Test review and discussion. Today s Lecture Chapter 9: Muddying the waters of regression. What not to do when considering
More informationChapter 8: Regression Models with Qualitative Predictors
Chapter 8: Regression Models with Qualitative Predictors Some predictors may be binary (e.g., male/female) or otherwise categorical (e.g., small/medium/large). These typically enter the regression model
More informationOHSU OGI Class ECE-580-DOE :Design of Experiments Steve Brainerd
Why We Use Analysis of Variance to Compare Group Means and How it Works The question of how to compare the population means of more than two groups is an important one to researchers. Let us suppose that
More informationApplied Regression Analysis
Applied Regression Analysis Lecture 2 January 27, 2005 Lecture #2-1/27/2005 Slide 1 of 46 Today s Lecture Simple linear regression. Partitioning the sum of squares. Tests of significance.. Regression diagnostics
More informationAnalysis of Variance (ANOVA)
Analysis of Variance (ANOVA) Two types of ANOVA tests: Independent measures and Repeated measures Comparing 2 means: X 1 = 20 t - test X 2 = 30 How can we Compare 3 means?: X 1 = 20 X 2 = 30 X 3 = 35 ANOVA
More informationProfile Analysis Multivariate Regression
Lecture 8 October 12, 2005 Analysis Lecture #8-10/12/2005 Slide 1 of 68 Today s Lecture Profile analysis Today s Lecture Schedule : regression review multiple regression is due Thursday, October 27th,
More informationAnalysis of Variance
Statistical Techniques II EXST7015 Analysis of Variance 15a_ANOVA_Introduction 1 Design The simplest model for Analysis of Variance (ANOVA) is the CRD, the Completely Randomized Design This model is also
More informationANALYTICAL COMPARISONS AMONG TREATMENT MEANS (CHAPTER 4)
ANALYTICAL COMPARISONS AMONG TREATMENT MEANS (CHAPTER 4) ERSH 8310 Fall 2007 September 11, 2007 Today s Class The need for analytic comparisons. Planned comparisons. Comparisons among treatment means.
More informationInferences for Regression
Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In
More informationAnalysis of Variance: Repeated measures
Repeated-Measures ANOVA: Analysis of Variance: Repeated measures Each subject participates in all conditions in the experiment (which is why it is called repeated measures). A repeated-measures ANOVA is
More informationSleep data, two drugs Ch13.xls
Model Based Statistics in Biology. Part IV. The General Linear Mixed Model.. Chapter 13.3 Fixed*Random Effects (Paired t-test) ReCap. Part I (Chapters 1,2,3,4), Part II (Ch 5, 6, 7) ReCap Part III (Ch
More informationTopic 1. Definitions
S Topic. Definitions. Scalar A scalar is a number. 2. Vector A vector is a column of numbers. 3. Linear combination A scalar times a vector plus a scalar times a vector, plus a scalar times a vector...
More informationTopic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model
Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is
More informationChapter 4: Regression Models
Sales volume of company 1 Textbook: pp. 129-164 Chapter 4: Regression Models Money spent on advertising 2 Learning Objectives After completing this chapter, students will be able to: Identify variables,
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 informationhttp://www.statsoft.it/out.php?loc=http://www.statsoft.com/textbook/ Group comparison test for independent samples The purpose of the Analysis of Variance (ANOVA) is to test for significant differences
More informationChapter 4. Regression Models. Learning Objectives
Chapter 4 Regression Models To accompany Quantitative Analysis for Management, Eleventh Edition, by Render, Stair, and Hanna Power Point slides created by Brian Peterson Learning Objectives After completing
More informationGroup comparison test for independent samples
Group comparison test for independent samples The purpose of the Analysis of Variance (ANOVA) is to test for significant differences between means. Supposing that: samples come from normal populations
More informationChapter 3 Multiple Regression Complete Example
Department of Quantitative Methods & Information Systems ECON 504 Chapter 3 Multiple Regression Complete Example Spring 2013 Dr. Mohammad Zainal Review Goals After completing this lecture, you should be
More information4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES
4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES FOR SINGLE FACTOR BETWEEN-S DESIGNS Planned or A Priori Comparisons We previously showed various ways to test all possible pairwise comparisons for
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 informationComparisons among means (or, the analysis of factor effects)
Comparisons among means (or, the analysis of factor effects) In carrying out our usual test that μ 1 = = μ r, we might be content to just reject this omnibus hypothesis but typically more is required:
More informationStatistical Foundations:
Statistical Foundations: t distributions, t-tests tests Psychology 790 Lecture #12 10/03/2006 Today sclass The t-distribution t ib ti in its full glory. Why we use it for nearly everything. Confidence
More informationOne-way between-subjects ANOVA. Comparing three or more independent means
One-way between-subjects ANOVA Comparing three or more independent means Data files SpiderBG.sav Attractiveness.sav Homework: sourcesofself-esteem.sav ANOVA: A Framework Understand the basic principles
More informationDifference in two or more average scores in different groups
ANOVAs Analysis of Variance (ANOVA) Difference in two or more average scores in different groups Each participant tested once Same outcome tested in each group Simplest is one-way ANOVA (one variable as
More informationOrthogonal, Planned and Unplanned Comparisons
This is a chapter excerpt from Guilford Publications. Data Analysis for Experimental Design, by Richard Gonzalez Copyright 2008. 8 Orthogonal, Planned and Unplanned Comparisons 8.1 Introduction In this
More informationTopic 28: Unequal Replication in Two-Way ANOVA
Topic 28: Unequal Replication in Two-Way ANOVA Outline Two-way ANOVA with unequal numbers of observations in the cells Data and model Regression approach Parameter estimates Previous analyses with constant
More informationCOMPARING SEVERAL MEANS: ANOVA
LAST UPDATED: November 15, 2012 COMPARING SEVERAL MEANS: ANOVA Objectives 2 Basic principles of ANOVA Equations underlying one-way ANOVA Doing a one-way ANOVA in R Following up an ANOVA: Planned contrasts/comparisons
More informationIntroduction To Logistic Regression
Introduction To Lecture 22 April 28, 2005 Applied Regression Analysis Lecture #22-4/28/2005 Slide 1 of 28 Today s Lecture Logistic regression. Today s Lecture Lecture #22-4/28/2005 Slide 2 of 28 Background
More informationSIMPLE REGRESSION ANALYSIS. Business Statistics
SIMPLE REGRESSION ANALYSIS Business Statistics CONTENTS Ordinary least squares (recap for some) Statistical formulation of the regression model Assessing the regression model Testing the regression coefficients
More informationVariance Estimates and the F Ratio. ERSH 8310 Lecture 3 September 2, 2009
Variance Estimates and the F Ratio ERSH 8310 Lecture 3 September 2, 2009 Today s Class Completing the analysis (the ANOVA table) Evaluating the F ratio Errors in hypothesis testing A complete numerical
More informationCategorical Predictor Variables
Categorical Predictor Variables We often wish to use categorical (or qualitative) variables as covariates in a regression model. For binary variables (taking on only 2 values, e.g. sex), it is relatively
More informationRegression Models. Chapter 4. Introduction. Introduction. Introduction
Chapter 4 Regression Models Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna 008 Prentice-Hall, Inc. Introduction Regression analysis is a very valuable tool for a manager
More informationKeppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means
Keppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means 4.1 The Need for Analytical Comparisons...the between-groups sum of squares averages the differences
More informationMathematics for Economics MA course
Mathematics for Economics MA course Simple Linear Regression Dr. Seetha Bandara Simple Regression Simple linear regression is a statistical method that allows us to summarize and study relationships between
More informationBasic Business Statistics, 10/e
Chapter 4 4- Basic Business Statistics th Edition Chapter 4 Introduction to Multiple Regression Basic Business Statistics, e 9 Prentice-Hall, Inc. Chap 4- Learning Objectives In this chapter, you learn:
More informationCourse Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model
Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model EPSY 905: Multivariate Analysis Lecture 1 20 January 2016 EPSY 905: Lecture 1 -
More informationSTA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information.
STA441: Spring 2018 Multiple Regression This slide show is a free open source document. See the last slide for copyright information. 1 Least Squares Plane 2 Statistical MODEL There are p-1 explanatory
More informationRegression Analysis. BUS 735: Business Decision Making and Research
Regression Analysis BUS 735: Business Decision Making and Research 1 Goals and Agenda Goals of this section Specific goals Learn how to detect relationships between ordinal and categorical variables. Learn
More informationWhile you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 12 1
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 12 1 Chapter 12 Analysis of Variance McGraw-Hill, Bluman, 7th ed., Chapter 12 2
More informationStatistical Distribution Assumptions of General Linear Models
Statistical Distribution Assumptions of General Linear Models Applied Multilevel Models for Cross Sectional Data Lecture 4 ICPSR Summer Workshop University of Colorado Boulder Lecture 4: Statistical Distributions
More informationSTAT 350: Geometry of Least Squares
The Geometry of Least Squares Mathematical Basics Inner / dot product: a and b column vectors a b = a T b = a i b i a b a T b = 0 Matrix Product: A is r s B is s t (AB) rt = s A rs B st Partitioned Matrices
More informationOne-way between-subjects ANOVA. Comparing three or more independent means
One-way between-subjects ANOVA Comparing three or more independent means ANOVA: A Framework Understand the basic principles of ANOVA Why it is done? What it tells us? Theory of one-way between-subjects
More information10.2: The Chi Square Test for Goodness of Fit
10.2: The Chi Square Test for Goodness of Fit We can perform a hypothesis test to determine whether the distribution of a single categorical variable is following a proposed distribution. We call this
More informationChapter 1 Statistical Inference
Chapter 1 Statistical Inference causal inference To infer causality, you need a randomized experiment (or a huge observational study and lots of outside information). inference to populations Generalizations
More informationSix Sigma Black Belt Study Guides
Six Sigma Black Belt Study Guides 1 www.pmtutor.org Powered by POeT Solvers Limited. Analyze Correlation and Regression Analysis 2 www.pmtutor.org Powered by POeT Solvers Limited. Variables and relationships
More informationMultiple Comparison Procedures Cohen Chapter 13. For EDUC/PSY 6600
Multiple Comparison Procedures Cohen Chapter 13 For EDUC/PSY 6600 1 We have to go to the deductions and the inferences, said Lestrade, winking at me. I find it hard enough to tackle facts, Holmes, without
More informationIndependent Samples ANOVA
Independent Samples ANOVA In this example students were randomly assigned to one of three mnemonics (techniques for improving memory) rehearsal (the control group; simply repeat the words), visual imagery
More informationCh 3: Multiple Linear Regression
Ch 3: Multiple Linear Regression 1. Multiple Linear Regression Model Multiple regression model has more than one regressor. For example, we have one response variable and two regressor variables: 1. delivery
More informationChapter 14 Student Lecture Notes 14-1
Chapter 14 Student Lecture Notes 14-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 14 Multiple Regression Analysis and Model Building Chap 14-1 Chapter Goals After completing this
More informationWe like to capture and represent the relationship between a set of possible causes and their response, by using a statistical predictive model.
Statistical Methods in Business Lecture 5. Linear Regression We like to capture and represent the relationship between a set of possible causes and their response, by using a statistical predictive model.
More informationCourse Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model
Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 1: August 22, 2012
More informationMORE ON MULTIPLE REGRESSION
DEPARTMENT OF POLITICAL SCIENCE AND INTERNATIONAL RELATIONS Posc/Uapp 816 MORE ON MULTIPLE REGRESSION I. AGENDA: A. Multiple regression 1. Categorical variables with more than two categories 2. Interaction
More informationST430 Exam 2 Solutions
ST430 Exam 2 Solutions Date: November 9, 2015 Name: Guideline: You may use one-page (front and back of a standard A4 paper) of notes. No laptop or textbook are permitted but you may use a calculator. Giving
More informationLecture 13 Extra Sums of Squares
Lecture 13 Extra Sums of Squares STAT 512 Spring 2011 Background Reading KNNL: 7.1-7.4 13-1 Topic Overview Extra Sums of Squares (Defined) Using and Interpreting R 2 and Partial-R 2 Getting ESS and Partial-R
More informationMultiple t Tests. Introduction to Analysis of Variance. Experiments with More than 2 Conditions
Introduction to Analysis of Variance 1 Experiments with More than 2 Conditions Often the research that psychologists perform has more conditions than just the control and experimental conditions You might
More informationSTAT 705 Chapter 16: One-way ANOVA
STAT 705 Chapter 16: One-way ANOVA Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 21 What is ANOVA? Analysis of variance (ANOVA) models are regression
More informationCh 2: Simple Linear Regression
Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component
More informationPLSC PRACTICE TEST ONE
PLSC 724 - PRACTICE TEST ONE 1. Discuss briefly the relationship between the shape of the normal curve and the variance. 2. What is the relationship between a statistic and a parameter? 3. How is the α
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 informationRepeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models
Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models EPSY 905: Multivariate Analysis Spring 2016 Lecture #12 April 20, 2016 EPSY 905: RM ANOVA, MANOVA, and Mixed Models
More informationModule 03 Lecture 14 Inferential Statistics ANOVA and TOI
Introduction of Data Analytics Prof. Nandan Sudarsanam and Prof. B Ravindran Department of Management Studies and Department of Computer Science and Engineering Indian Institute of Technology, Madras Module
More informationDr. Junchao Xia Center of Biophysics and Computational Biology. Fall /1/2016 1/46
BIO5312 Biostatistics Lecture 10:Regression and Correlation Methods Dr. Junchao Xia Center of Biophysics and Computational Biology Fall 2016 11/1/2016 1/46 Outline In this lecture, we will discuss topics
More informationpsyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests
psyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests last lecture: introduction to factorial designs next lecture: factorial between-ps ANOVA II: (effect sizes and follow-up tests) 1 general
More informationAnalytical Comparisons Among Treatment Means (Chapter 4) Analysis of Trend (Chapter 5) ERSH 8310 Fall 2009
Analytical Comparisons Among Treatment Means (Chapter 4) Analysis of Trend (Chapter 5) ERSH 8310 Fall 009 September 9, 009 Today s Class Chapter 4 Analytic comparisons The need for analytic comparisons
More informationReview. One-way ANOVA, I. What s coming up. Multiple comparisons
Review One-way ANOVA, I 9.07 /15/00 Earlier in this class, we talked about twosample z- and t-tests for the difference between two conditions of an independent variable Does a trial drug work better than
More informationChapter 7 Student Lecture Notes 7-1
Chapter 7 Student Lecture Notes 7- Chapter Goals QM353: Business Statistics Chapter 7 Multiple Regression Analysis and Model Building After completing this chapter, you should be able to: Explain model
More informationWhat Is ANOVA? Comparing Groups. One-way ANOVA. One way ANOVA (the F ratio test)
What Is ANOVA? One-way ANOVA ANOVA ANalysis Of VAriance ANOVA compares the means of several groups. The groups are sometimes called "treatments" First textbook presentation in 95. Group Group σ µ µ σ µ
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 informationAMS 7 Correlation and Regression Lecture 8
AMS 7 Correlation and Regression Lecture 8 Department of Applied Mathematics and Statistics, University of California, Santa Cruz Suumer 2014 1 / 18 Correlation pairs of continuous observations. Correlation
More informationNotes for Week 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1
Notes for Wee 13 Analysis of Variance (ANOVA) continued WEEK 13 page 1 Exam 3 is on Friday May 1. A part of one of the exam problems is on Predictiontervals : When randomly sampling from a normal population
More informationChapter 10. Design of Experiments and Analysis of Variance
Chapter 10 Design of Experiments and Analysis of Variance Elements of a Designed Experiment Response variable Also called the dependent variable Factors (quantitative and qualitative) Also called the independent
More informationComparing Several Means: ANOVA
Comparing Several Means: ANOVA Understand the basic principles of ANOVA Why it is done? What it tells us? Theory of one way independent ANOVA Following up an ANOVA: Planned contrasts/comparisons Choosing
More informationLongitudinal Data Analysis of Health Outcomes
Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis Workshop Running Example: Days 2 and 3 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development
More informationAn Introduction to Mplus and Path Analysis
An Introduction to Mplus and Path Analysis PSYC 943: Fundamentals of Multivariate Modeling Lecture 10: October 30, 2013 PSYC 943: Lecture 10 Today s Lecture Path analysis starting with multivariate regression
More informationOne-Way ANOVA. Some examples of when ANOVA would be appropriate include:
One-Way ANOVA 1. Purpose Analysis of variance (ANOVA) is used when one wishes to determine whether two or more groups (e.g., classes A, B, and C) differ on some outcome of interest (e.g., an achievement
More informationANCOVA. Lecture 9 Andrew Ainsworth
ANCOVA Lecture 9 Andrew Ainsworth What is ANCOVA? Analysis of covariance an extension of ANOVA in which main effects and interactions are assessed on DV scores after the DV has been adjusted for by the
More informationAnalysis of Covariance. The following example illustrates a case where the covariate is affected by the treatments.
Analysis of Covariance In some experiments, the experimental units (subjects) are nonhomogeneous or there is variation in the experimental conditions that are not due to the treatments. For example, a
More informationAn Old Research Question
ANOVA An Old Research Question The impact of TV on high-school grade Watch or not watch Two groups The impact of TV hours on high-school grade Exactly how much TV watching would make difference Multiple
More informationThe simple linear regression model discussed in Chapter 13 was written as
1519T_c14 03/27/2006 07:28 AM Page 614 Chapter Jose Luis Pelaez Inc/Blend Images/Getty Images, Inc./Getty Images, Inc. 14 Multiple Regression 14.1 Multiple Regression Analysis 14.2 Assumptions of the Multiple
More informationWELCOME! Lecture 13 Thommy Perlinger
Quantitative Methods II WELCOME! Lecture 13 Thommy Perlinger Parametrical tests (tests for the mean) Nature and number of variables One-way vs. two-way ANOVA One-way ANOVA Y X 1 1 One dependent variable
More informationAn Introduction to Path Analysis
An Introduction to Path Analysis PRE 905: Multivariate Analysis Lecture 10: April 15, 2014 PRE 905: Lecture 10 Path Analysis Today s Lecture Path analysis starting with multivariate regression then arriving
More informationA Introduction to Matrix Algebra and the Multivariate Normal Distribution
A Introduction to Matrix Algebra and the Multivariate Normal Distribution PRE 905: Multivariate Analysis Spring 2014 Lecture 6 PRE 905: Lecture 7 Matrix Algebra and the MVN Distribution Today s Class An
More informationMultilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2
Multilevel Models in Matrix Form Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Today s Lecture Linear models from a matrix perspective An example of how to do
More information(ii) Scan your answer sheets INTO ONE FILE only, and submit it in the drop-box.
FINAL EXAM ** Two different ways to submit your answer sheet (i) Use MS-Word and place it in a drop-box. (ii) Scan your answer sheets INTO ONE FILE only, and submit it in the drop-box. Deadline: December
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 informationCorrelation Analysis
Simple Regression Correlation Analysis Correlation analysis is used to measure strength of the association (linear relationship) between two variables Correlation is only concerned with strength of the
More informationLinear models and their mathematical foundations: Simple linear regression
Linear models and their mathematical foundations: Simple linear regression Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/21 Introduction
More informationLecture 10 Multiple Linear Regression
Lecture 10 Multiple Linear Regression STAT 512 Spring 2011 Background Reading KNNL: 6.1-6.5 10-1 Topic Overview Multiple Linear Regression Model 10-2 Data for Multiple Regression Y i is the response variable
More information26:010:557 / 26:620:557 Social Science Research Methods
26:010:557 / 26:620:557 Social Science Research Methods Dr. Peter R. Gillett Associate Professor Department of Accounting & Information Systems Rutgers Business School Newark & New Brunswick 1 Overview
More informationContrasts and Multiple Comparisons Supplement for Pages
Contrasts and Multiple Comparisons Supplement for Pages 302-323 Brian Habing University of South Carolina Last Updated: July 20, 2001 The F-test from the ANOVA table allows us to test the null hypothesis
More informationMORE ON SIMPLE REGRESSION: OVERVIEW
FI=NOT0106 NOTICE. Unless otherwise indicated, all materials on this page and linked pages at the blue.temple.edu address and at the astro.temple.edu address are the sole property of Ralph B. Taylor and
More informationApplied Multivariate Statistical Modeling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur
Applied Multivariate Statistical Modeling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur Lecture - 29 Multivariate Linear Regression- Model
More informationGroup comparison test for independent samples
Group comparison test for independent samples Samples come from normal populations with possibly different means but a common variance Two independent samples: z or t test on difference between means Three,
More informationMultiple Comparisons
Multiple Comparisons Error Rates, A Priori Tests, and Post-Hoc Tests Multiple Comparisons: A Rationale Multiple comparison tests function to tease apart differences between the groups within our IV when
More information