Introduction the General Linear Model (GLM) l 2 quantitative variables l 3a  main effects model with no interaction l 3b  interaction model l 2 categorical.

Slides:



Advertisements
Similar presentations
Questions From Yesterday
Advertisements

Linear Equations Review. Find the slope and y intercept: y + x = -1.
Lecture Data Mining in R 732A44 Programming in R.
Part III The General Linear Model. Multiple Explanatory Variables Chapter 12 Multiple Regression.
Data set—2 columns in an excel spreadsheet: groupx How To Do It: An Example FYI group mean
Interactions: IVs = continuous & continuous IVs = continuous & categorical.
slopeGraph lines Direct var par. & perp Function Relations
Bellwork Find the slope of the line containing the points (-1,12) and (5,-6). Find the product of the slope and y-intercept for the line y=-5x+7. Write.
Creating Graphs on Saturn GOPTIONS DEVICE = png HTITLE=2 HTEXT=1.5 GSFMODE = replace; PROC REG DATA=agebp; MODEL sbp = age; PLOT sbp*age; RUN; This will.
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
Agenda Duality (quickly) Piecewise linearity Start chapter 4.
Regression Models w/ k-group & Quant Variables Sources of data for this model Variations of this model Main effects version of the model –Interpreting.
Introduction to the General Linear Model (GLM) l 1 quantitative variable & 1 2-group variable l 1a  main effects model with no interaction l 1b  interaction.
General Linear Models -- #2 2x2 – main effects 2x2 with interactions 2x3 – main effects 2x3 with interactions 3x3 – main effects 3x3 with interactions.
A 1 A 2 A 3 A 4 B B B
ANCOVA Workings of ANOVA & ANCOVA ANCOVA, Semi-Partial correlations, statistical control Using model plotting to think about ANCOVA & Statistical control.
Statistics 350 Lecture 16. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Multiple Linear Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Introduction the General Linear Model (GLM) l what “model,” “linear” & “general” mean l bivariate, univariate & multivariate GLModels l kinds of variables.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
1 BA 275 Quantitative Business Methods Simple Linear Regression Introduction Case Study: Housing Prices Agenda.
General Linear Models -- #1 things to remember b weight interpretations 1 quantitative predictor 1 quantitative predictor & non-linear component 1 2-group.
1 Chapter 1 Introduction Ray-Bing Chen Institute of Statistics National University of Kaohsiung.
An Introduction to Classification Classification vs. Prediction Classification & ANOVA Classification Cutoffs, Errors, etc. Multivariate Classification.
© Copyright 2000, Julia Hartman 1 An Interactive Tutorial for SPSS 10.0 for Windows © Analysis of Covariance (GLM Approach) by Julia Hartman Next.
Bivariate Linear Regression. Linear Function Y = a + bX +e.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation.
Lecture 6 Correlation and Regression STAT 3120 Statistical Methods I.
Outline Class Intros Overview of Course & Series Example Research Projects Beginning R.
 1.  2..27v-1.6=.32v-2. Slope-Intercept Form y = mx + b m = slope b = y-intercept Slope-Intercept Form y = mx + b m = slope b = y-intercept.
Correlation and Linear Regression INCM Correlation  Correlation coefficients assess strength of linear relationship between two quantitative variables.
Coding Multiple Category Variables for Inclusion in Multiple Regression More kinds of predictors for our multiple regression models Some review of interpreting.
Chapter 7 Relationships Among Variables What Correlational Research Investigates Understanding the Nature of Correlation Positive Correlation Negative.
Multivariate Models Analysis of Variance and Regression Using Dummy Variables.
Regression Models w/ 2 Quant Variables Sources of data for this model Variations of this model Main effects version of the model –Interpreting the regression.
Regression Models w/ 2-group & Quant Variables Sources of data for this model Variations of this model Main effects version of the model –Interpreting.
Plotting Linear Main Effects Models Interpreting 1 st order terms w/ & w/o interactions Coding & centering… gotta? oughta? Plotting single-predictor models.
Analysis of Covariance Combines linear regression and ANOVA Can be used to compare g treatments, after controlling for quantitative factor believed to.
Regression Models for Quantitative (Numeric) and Qualitative (Categorical) Predictors KNNL – Chapter 8.
5.5 Writing Equations in Point-Slope Form
Moderated Multiple Regression II Class 25. Regression Models Basic Linear Model Features: Intercept, one predictor Y = b 0 + b 1 + Error (residual) Do.
General Linear Model What is the General Linear Model?? A bit of history & our goals Kinds of variables & effects It’s all about the model (not the data)!!
Analysis of Covariance KNNL – Chapter 22. Analysis of Covariance Goal: To Compare treatments (1-Factor or Multiple Factors) after Controlling for Numeric.
The General Linear Model. Estimation -- The General Linear Model Formula for a straight line y = b 0 + b 1 x x y.
Week of March 23 Partial correlations Semipartial correlations
What happens if we graph a system of equations and the lines intersect? y = x-1 y = 2x-2.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
1 Experimental Statistics - week 11 Chapter 11: Linear Regression and Correlation.
Regression Overview. Definition The simple linear regression model is given by the linear equation where is the y-intercept for the population data, is.
Plotting Non-linear & Complex Main Effects Models
EXPLORATORY DATA ANALYSIS and DESCRIPTIVE STATISTICS
Introduction to the General Linear Model (GLM)
Linear vs. Non Linear:.
Analysis of Variance and Regression Using Dummy Variables
مبررات إدخال الحاسوب في رياض الأطفال
Quantitative Methods What lies beyond?.
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
Soc 3306a: ANOVA and Regression Models
Welcome to the class! set.seed(843) df <- tibble::data_frame(
Chapter 6 Section 2 Graphing Linear Equations and Inequalities in Two Variables Using Alterative Methods.
Graphing Equations TeacherTwins©2014.
Quantitative Methods What lies beyond?.
Soc 3306a Lecture 11: Multivariate 4
21twelveinteractive.com/ twitter.com/21twelveI/ facebook.com/21twelveinteractive/ linkedin.com/company/21twelve-interactive/ pinterest.com/21twelveinteractive/
Models, parameters and GLMs
Regression and Categorical Predictors
Cases. Simple Regression Linear Multiple Regression.
Analysis of Covariance
Models, parameters and GLMs
Graphing.
Presentation transcript:

Introduction the General Linear Model (GLM) l 2 quantitative variables l 3a  main effects model with no interaction l 3b  interaction model l 2 categorical variables l 4a  main effects model with no interaction l 4b  interaction model

Common kinds of GLModels #3a  2 centered quant vars y’ = b 0 + b 1 x 1 + b 2 x 2 “X 1 ” is a centered quantitative variable X 1  X 1 – X 1mean “X 2 ” is a centered quantitative variable X 1  X 1 – X 1mean

Common kinds of GLModels #3a  2 centered quant vars y’ = b 0 + b 1 x 1 + b 2 x 2 b 0  mean of those in Cz with X=0 (mean) b 1  slope of Y-X 1 regression - slope same for all values of X 2  no interaction b 2  slope of Y-X 2 regression - slope same for all values of X 1  no interaction

y’ = b 0 + b 1 X 1 + b 2 X 2 X 2 =0 +1 std X 2 -1 std X  X b 0 = ht of X 2mean line b 1 = slope of X 2mean line b 2 = htdifs among X 2 -lines X 2 -lines all have same slp (no interaction) 3a Xs are centered quant variables (both are standardized std = 1)

Common kinds of GLModels #3b  2 centered quant var & their product term/interaction y’ = b 0 + b 1 x 1 + b 2 x 2 + b 3 xz “X 1 ” is a centered quantitative variable X 1  X 1 – X 1mean “X 2 ” is a centered quantitative variable X 1  X 1 – X 1mean “XZ” represents the interaction of “X 1 ” and”X 2 ”

Common kinds of GLModels #3a  2 centered quant vars y’ = b 0 + b 1 x 1 + b 2 x 2 + b 3 xz b 0  mean of those in Cz with X=0 (mean) b 1  slope of Y-X 1 regression - slope same for all values of X 2  no interaction b 2  slope of Y-X 2 regression - slope same for all values of X 1  no interaction b 3  how slope of Y-X 1 reg lines change with X 2 value  how slope of Y-X 2 reg lines change with X 1 value

y’ = b 0 + b 1 X cen + b 2 Z cen + b 3 XZ b0b0 b1b1 -b 2 Z=0 +1 std Z -1 std Z b2b2 Z cen = Z – X mean 3b 2 quantitative predictors w/ interaction (both are standardized std = 1)  X cen a = ht of Z mean line b 1 = slope of Z mean line b 2 = htdifs among Z-lines X cen = X – X mean ZX = X cen * Z cen b3b3 b3b3 b 3 = slpdifs among Z-lines