General Linear Model Introduction to ANOVA.

Slides:



Advertisements
Similar presentations
Multiple-choice question
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Chapter 5 Introduction to Inferential Statistics.
Chapter 10 Simple Regression.
Simple Linear Regression
ANOVA Analysis of Variance: Why do these Sample Means differ as much as they do (Variance)? Standard Error of the Mean (“variance” of means) depends upon.
Regression and Correlation
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
PSY 307 – Statistics for the Behavioral Sciences
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Linear Regression and Correlation Analysis
Review: The Logic Underlying ANOVA The possible pair-wise comparisons: X 11 X 12. X 1n X 21 X 22. X 2n Sample 1Sample 2 means: X 31 X 32. X 3n Sample 3.
REGRESSION AND CORRELATION
Basic Statistical Concepts Part II Psych 231: Research Methods in Psychology.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Introduction to Analysis of Variance (ANOVA)
Basic Analysis of Variance and the General Linear Model Psy 420 Andrew Ainsworth.
Regression and Correlation Methods Judy Zhong Ph.D.
Regression Analysis What is regression ?What is regression ? Best-fit lineBest-fit line Least squareLeast square What is regression ?What is regression.
Introduction to Linear Regression and Correlation Analysis
Correlation and Linear Regression
MAT 254 – Probability and Statistics Sections 1,2 & Spring.
Introduction to Regression Analysis. Two Purposes Explanation –Explain (or account for) the variance in a variable (e.g., explain why children’s test.
Ch4 Describing Relationships Between Variables. Pressure.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Introduction to Linear Regression
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Chapter 9 Analyzing Data Multiple Variables. Basic Directions Review page 180 for basic directions on which way to proceed with your analysis Provides.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Ch4 Describing Relationships Between Variables. Section 4.1: Fitting a Line by Least Squares Often we want to fit a straight line to data. For example.
Multivariate Analysis. One-way ANOVA Tests the difference in the means of 2 or more nominal groups Tests the difference in the means of 2 or more nominal.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Warsaw Summer School 2015, OSU Study Abroad Program Regression.
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
Chapter 13 Multiple Regression
General Linear Model 2 Intro to ANOVA.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
General Linear Model.
Estimators and estimates: An estimator is a mathematical formula. An estimate is a number obtained by applying this formula to a set of sample data. 1.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
IE241: Introduction to Design of Experiments. Last term we talked about testing the difference between two independent means. For means from a normal.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Monday, September 27 More basics.. _ “Life is a series of samples, you can infer the truth from the samples but you never see the truth.”
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Chapter 13 Simple Linear Regression
The simple linear regression model and parameter estimation
REGRESSION G&W p
CHAPTER 13 Design and Analysis of Single-Factor Experiments:
Kin 304 Regression Linear Regression Least Sum of Squares
Ch12.1 Simple Linear Regression
BPK 304W Regression Linear Regression Least Sum of Squares
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
LESSON 21: REGRESSION ANALYSIS
Statistics for the Social Sciences
Simple Regression Mary M. Whiteside, PhD.
Introduction to ANOVA.
Introduction to Regression
Linear Regression and Correlation
Linear Regression and Correlation
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
One-way Analysis of Variance
Presentation transcript:

General Linear Model Introduction to ANOVA

Questions (1) What does it mean to pick parameter estimates by least squares? Why are least squares estimates desirable, that is, in what sense are they good from an estimation or decision standpoint? What is a treatment effect in ANOVA? (write the equation and explain the terms) What is a fixed-effects model?

Questions (2) What is error in a fixed-effects ANOVA model? Describe in words the partitioning of variance in a one-way ANOVA.

Linear models Line Y = a+bX or Y =mX+b Or y=a0x0+a1x1+…+anxn+e X can take on values or just indicate group membership (0,1) ANOVA model if group membership Regression model if X takes on scale values X and Y are variables; a and b are coefficients to be estimated.

ANOVA models People X0 X1 X2 X3 Compositon - effects 1 Y1=a0+a1+e1 2 Y1=a0+a1+e1 2 Y2=a0+a1+e2 3 Y3=a0+a2+e3 4 Y4=a0+a2+e4 5 Y5=a0+a3+e5 Shows group membership – IVs in ANOVA

Effects & Least Squares (1) Linear model applies to everyone. How to pick the best weights? Minimize the errors. Make the error variance small. Find the least squared error. Suppose we pick for each cell the value of the mean as the weight aj. Then the errors within each cell will be deviations from the cell mean. The average of the errors (deviations) within cells will be zero, and the variance of the deviations will be minimum.

Population Effects Make it Greek. Sample Population Population effect of treatment j= If there is no effect of a treatment, If there is no effect, then Absence of treatment effects is equivalent to equality of all population means. ANOVA is used to test for differences in means.

Fixed vs. Random Effects Fixed: Treatments in the study are the only ones of interest. Computer tutor vs. control. 4 types of psychotherapy. 3 antidepressant drugs. Treatment is fixed in that it is whole and presented to all. Random: Treatments selected to represent larger population of treatments. Presentation order on Rorschach. Representative drug dosages, therapies, or antidepressant drugs. Schools as stimuli. Random in that treatment is sampled from a population of treatments.

Fixed Effects Model Cell 1 Cell 2 Cell 3 40-2+5=43 40+6-5=41 40-4+3=39 Population model: 3 treatments: pop data: Sample (Observed) Data Cell 1 Cell 2 Cell 3 40-2+5=43 40+6-5=41 40-4+3=39 40-2+2=40 40+6+1=47 40-4-2=34 40-2-3=35 40+6+8=54 40-4+1=37 = 39.3 =47.3 =36.7

Fixed Effects Model (2) The graph shows the terms in the equation. There are three cells or levels in this study. The IV effect and error for the highest scoring cell is shown.

Review What does it mean to pick parameter estimates by least squares? What is a treatment effect in ANOVA? (write the equation and explain the terms) What is a fixed-effects model? Describe a fixed-effects study. Describe a Random-effects study.

Partition of the Sum of Squares (SS) We are interested in variance, but can often work with SS because N cancels out. Bottom Line: SS total = SS within + SS between Deviation of a score from the grand mean: Deviation made of two parts: Deviation = treatment+error Total variance = treatment variance+error variance

SS 2 Add the squared deviations over people and treatment groups. With a little algebra, we can show : SS total = SS within cells + SS between cells. SS total = SS error + SS treatment. Variance is additive. We break the total variance into components or analyze the variance, hence ANOVA

Numerical Example Cell 1 4 9 2 3 5 6 7 Total 28 24 Total = within + between Cell 1 4 9 2 3 5 6 7 Total 28 24

Review What is error in a fixed-effects ANOVA model? What is a treatment effect in fixed-effects ANOVA? Describe in words the partitioning of variance in a one-way ANOVA.