Soc 3306a Lecture 11: Multivariate 4

Slides:



Advertisements
Similar presentations
Class 18 – Thursday, Nov. 11 Omitted Variables Bias
Advertisements

Research Support Center Chongming Yang
The Regression Equation  A predicted value on the DV in the bi-variate case is found with the following formula: Ŷ = a + B (X1)
Extension The General Linear Model with Categorical Predictors.
Factorial ANOVA More than one categorical explanatory variable.
Lecture 28 Categorical variables: –Review of slides from lecture 27 (reprint of lecture 27 categorical variables slides with typos corrected) –Practice.
Soc 3306a Lecture 6: Introduction to Multivariate Relationships Control with Bivariate Tables Simple Control in Regression.
Simple Logistic Regression
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
Summary of previous lecture Introduction of dummy variable
Chapter 17 Overview of Multivariate Analysis Methods
More on ANOVA. Overview ANOVA as Regression Comparison Methods.
January 6, afternoon session 1 Statistics Micro Mini Multiple Regression January 5-9, 2008 Beth Ayers.
Statistics 350 Lecture 16. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Lecture 23: Tues., April 6 Interpretation of regression coefficients (handout) Inference for multiple regression.
Introduction the General Linear Model (GLM) l what “model,” “linear” & “general” mean l bivariate, univariate & multivariate GLModels l kinds of variables.
Lecture 16 Psyc 300A. What a Factorial Design Tells You Main effect: The effect of an IV on the DV, ignoring all other factors in the study. (Compare.
Lecture 27 Polynomial Terms for Curvature Categorical Variables.
Analyzing quantitative data – section III Week 10 Lecture 1.
Statistics 350 Lecture 17. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Review for Final Exam Some important themes from Chapters 9-11 Final exam covers these chapters, but implicitly tests the entire course, because we use.
Leedy and Ormrod Ch. 11 Gray Ch. 14
Soc 3306a Lecture 10: Multivariate 3 Types of Relationships in Multiple Regression.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
Moderation & Mediation
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
ALISON BOWLING THE GENERAL LINEAR MODEL. ALTERNATIVE EXPRESSION OF THE MODEL.
Analysis of Covariance, ANCOVA (GLM2)
Soc 3306a Multiple Regression Testing a Model and Interpreting Coefficients.
Soc 3306a Lecture 9: Multivariate 2 More on Multiple Regression: Building a Model and Interpreting Coefficients.
Multiple Regression I KNNL – Chapter 6. Models with Multiple Predictors Most Practical Problems have more than one potential predictor variable Goal is.
Statistics 101: The 95% Rule David Newman, PhD. Levels of Data Nominal Ordinal Interval Ratio Binary--- The Magic Variable Categorical Continuous.
Lab 5 instruction.  a collection of statistical methods to compare several groups according to their means on a quantitative response variable  Two-Way.
Sociology 680 Multivariate Analysis: Analysis of Variance.
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
ANALYSIS OF VARIANCE By ADETORO Gbemisola Wuraola.
Slide 1 Mixed ANOVA (GLM 5) Chapter 15. Slide 2 Mixed ANOVA Mixed: – 1 or more Independent variable uses the same participants – 1 or more Independent.
Categorical Independent Variables STA302 Fall 2013.
ANCOVA. What is Analysis of Covariance? When you think of Ancova, you should think of sequential regression, because really that’s all it is Covariate(s)
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
9.1 Chapter 9: Dummy Variables A Dummy Variable: is a variable that can take on only 2 possible values: yes, no up, down male, female union member, non-union.
Chapter 7 – Binary or Zero/one or Dummy Variables.
Soc 3306a Lecture 7: Inference and Hypothesis Testing T-tests and ANOVA.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
29 October 2009 MRC CBU Graduate Statistics Lectures 4: GLM: The General Linear Model - ANOVA & ANCOVA1 MRC Cognition and Brain Sciences Unit Graduate.
Regression. Why Regression? Everything we’ve done in this class has been regression: When you have categorical IVs and continuous DVs, the ANOVA framework.
1. Refresher on the general linear model, interactions, and contrasts UCL Linguistics workshop on mixed-effects modelling in R May 2016.
REGRESSION G&W p
Decomposition of Sum of Squares
Advanced Quantitative Techniques
Dr. Siti Nor Binti Yaacob
B&A ; and REGRESSION - ANCOVA B&A ; and
Learning Objectives For models with dichotomous intendant variables, you will learn: Basic terminology from ANOVA framework How to identify main effects,
Analysis of Covariance, ANCOVA (GLM2)
Introduction to the General Linear Model (GLM)
Analysis of Covariance (ANCOVA)
Multiple Regression.
Regression.
Dr. Siti Nor Binti Yaacob
Analysis of Data Graphics Quantitative data
An Interactive Tutorial for SPSS 10.0 for Windows©
CHAPTER 29: Multiple Regression*
Body weight at harvest (g) Left kidney:body weight ratio (g/kg)
How to use a covariate to get a more sensitive analysis
Soc 3306a: ANOVA and Regression Models
Multivariate Analysis: Analysis of Variance
Regression and Categorical Predictors
How to use a covariate to get a more sensitive analysis
Decomposition of Sum of Squares
Multivariate Analysis: Analysis of Variance
Presentation transcript:

Soc 3306a Lecture 11: Multivariate 4 ANOVA and Regression Models Using GLM and Linear Regression

One-Way ANOVA (Figure 1) Used when model has a quantitative response variable (DV) and a categorical explanatory variable (IV) Actually special type of multiple regression. Need a post hoc test for more information (to tell you which groups different) Most common are the Tukey b test (displays group means) or the Bonferroni or the Tukey multiple comparison methods (confidence intervals)

Regression with Dummy Variable (Figure 2) Can get same result with regression model if create dummy variable Provides more information Advantage is that regression calculates slopes to use for prediction as well as standardized coefficients, plots, etc. With binary categorical variable can create dummy coded 1 and 0 But if categorical variable has 2+ categories, need to create K-1 dummies

Creating Dummy Variables for Race (1 White, 2 Black, 3 Other) Use Recode into Different Variable Code Dummy1 as White = 1, Else = 0 Code Dummy2 as Black = 1, Else = 0 Don’t need a dummy variable for last group Dummy Coding: Race Dummy1 Dummy2 White 1 0 Black 0 1 Other 0 0

Interpretation of Dummy Variable E(Y) = a + b1(Dummy1) + b2(Dummy2) For White: Dummy1 = 1, Dummy2 = 0 For Black: Dummy1 = 0, Dummy2 = 1 For Other: Dummy1 = 0, Dummy2 = 0 (See Agresti Table 12.5)

Regression Using 2 Dummies (Race and Sex) Figure 3 Dummysex coded Male=1 and Female=0 E(Y) = a + b1(Dummy1) + b2(Dummy2)+ b3(Dummysex) White Male: Dummy1 = 1, Dummy2 = 0, Dummysex = 1 Black Male: Dummy1 = 0, Dummy2 = 1, Dummysex = 1 Other Male: Dummy1 = 0, Dummy2 = 0, Dummysex = 1 White Female: Dummy1 = 1, Dummy2 = 0, Dummysex = 0 Black Female: Dummy1 = 0, Dummy2 = 1, Dummysex = 0 Other Female: Dummy1 = 0, Dummy2 = 0, Dummysex = 0

GLM and Two Way ANOVA Figure 4 Two way ANOVA, using GLM, handles 2 or more categorical predictors at the same time Recoding as dummies not needed Compares means of response variable (DV) for all combinations of 2+ categorical IV’s Can test main effects as well as interaction effects simultaneously

GLM vs Linear Regression Figure 5 GLM can be used for linear regression using both categorical and quantitative predictors. Categorical IV’s entered as fixed factors and quantitative IV’s are entered as covariates GLM Dummy coding not needed Interactions between categorical IV’s handled easily Need to ask for parameter estimates Linear regression Gives parameter estimates and standardized coefficients (i.e. to estimate causal models using path analysis)