Stat 414 – Day 19.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Kin 304 Regression Linear Regression Least Sum of Squares
CORRELATION. Overview of Correlation u What is a Correlation? u Correlation Coefficients u Coefficient of Determination u Test for Significance u Correlation.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
Chapter 13 Multiple Regression
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
Psychology 202b Advanced Psychological Statistics, II February 1, 2011.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Chapter 12 Multiple Regression
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
So are how the computer determines the size of the intercept and the slope respectively in an OLS regression The OLS equations give a nice, clear intuitive.
Lecture 5 Correlation and Regression
Correlation and regression 1: Correlation Coefficient
Chapter 12 Correlation & Regression
Lecture 22 Dustin Lueker.  The sample mean of the difference scores is an estimator for the difference between the population means  We can now use.
Introduction Multilevel Analysis
Regression Maarten Buis Outline Recap Estimation Goodness of Fit Goodness of Fit versus Effect Size transformation of variables and effect.
Chapter 17 Partial Correlation and Multiple Regression and Correlation.
1 Prices of Antique Clocks Antique clocks are sold at auction. We wish to investigate the relationship between the age of the clock and the auction price.
Regression. Population Covariance and Correlation.
Part IV Significantly Different: Using Inferential Statistics
Introduction to regression 3D. Interpretation, interpolation, and extrapolation.
MGS3100_04.ppt/Sep 29, 2015/Page 1 Georgia State University - Confidential MGS 3100 Business Analysis Regression Sep 29 and 30, 2015.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
Scatterplots & Regression Week 3 Lecture MG461 Dr. Meredith Rolfe.
Analysis of Covariance (ANCOVA)
Political Science 30: Political Inquiry. Linear Regression II: Making Sense of Regression Results Interpreting SPSS regression output Coefficients for.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Lecture 10: Correlation and Regression Model.
Environmental Modeling Basic Testing Methods - Statistics III.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
General Linear Model.
Multiple Regression Analysis Regression analysis with two or more independent variables. Leads to an improvement.
The coefficient of determination, r 2, is The fraction of the variation in the value of y that is explained by the regression line and the explanatory.
Module II Lecture 1: Multiple Regression
Lecture 6 Feb. 2, 2015 ANNOUNCEMENT: Lab session will go from 4:20-5:20 based on the poll. (The majority indicated that it would not be a problem to chance,
Multiple Regression.
Chapter 14 Introduction to Multiple Regression
Simple Bivariate Regression
Simple Linear Regression
Inference for Least Squares Lines
Regression 10/29.
Section 11.1 Day 2.
Kin 304 Regression Linear Regression Least Sum of Squares
Political Science 30: Political Inquiry
Multiple Regression Analysis and Model Building
Multiple Regression.
BPK 304W Regression Linear Regression Least Sum of Squares
Chapter 15 Linear Regression
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
BPK 304W Correlation.
11. Multiple Regression y – response variable
G Lecture 6 Multilevel Notation; Level 1 and Level 2 Equations
Multiple Regression.
Stat 414 – Day 20.
Simple Linear Regression
Two Quantitative Variables: Linear Regression
Multiple Regression Models
The Weather Turbulence
STA 291 Summer 2008 Lecture 23 Dustin Lueker.
Correlation and Regression
y = mx + b Linear Regression line of best fit REMEMBER:
Correlation A measure of the strength of the linear association between two numerical variables.
Ch 4.1 & 4.2 Two dimensions concept
STA 291 Spring 2008 Lecture 23 Dustin Lueker.
MGS 3100 Business Analysis Regression Feb 18, 2016
Presentation transcript:

Stat 414 – Day 19

Last Time – Random coefficients JMP and R output no longer agreeing Example 5.1 Is variation between slopes large? Interpretation of intercept Interpretation of negative correlation between slopes and intercepts Classes with a higher performance for a pupil of average intelligence (higher intercept) have a lower within-class effect of intelligence (lower slope). So their high intercept coming from high performance of lower IQ students and less by higher performance of higher IQ students.

Case Study - Musicians Looking at “na” – negative affect (anxiety) before each performance Null model na ~ 1 + (1 | id) 18% of variation in anxiety is at the musician level (correlation of responses by same individual) With random effect Without random effect

Case Study – Musicians Random intercepts & slopes Subjects with greater intercepts tend to have steeper negative slopes Random intercepts & slopes na ~ large + (large | id) 16.7=  mean performance anxiety level before solos and small perfs. -1.7= the mean decrease in performance anxiety before large perfs. 21.8= perf-to-perf variation within musician. 5.5 (6.3)= the between-person variance in performance anxiety scores with small performances 0.7 = the between-person variance in increases (or decreases) in scores before large ensembles. subjects with higher levels of performance anxiety before solos and small ensembles tend to have smaller increases (or greater decreases) in performance anxiety before large ensembles; those with higher levels of performance anxiety before solos and small ensembles have more opportunity for decreases before large ensembles.

Multiple random slopes Consideration of whether or not want the random effects to be associated

Level 2 Covariate Composite model Orch, Large, Orch*Large, random intercepts and random slopes for Large na ~ orch + large + orch:large + (large | id) 15.9. estimated mean performance anxiety for small ensembles (Large=0) for keyboard players and vocalists (Orch=0) 0.9. Estimated mean decrease in anxiety for keyboard players and vocalists (Orch = 0) when playing in large instead of small 1.7. Orchestral instrumentalists have an estimated mean performance anxiety for small ensembles (Large = 0) 1.7 points higher than keyboard players and vocalists. -1.4: Estimated mean decrease in anxiety for orch when playing in large instead of small is -.9 – 1.4 = -2.3

Level 2 Covariate Composite model Orch, Large, Orch*Large, random intercepts and random slopes for Large na ~ orch + large + orch:large + (large | id) 5.7: Estimated variance of na for small ensembles, after controlling for instrument played. 0.4: The estimated variance of differences in performance anxiety levels between large ensembles and small, after controlling for instrument 21.8: Estimated variation in residuals for the individual regression models

Level 2 Covariate Composite model Orch, Large, Orch*Large, random intercepts and random slopes for Large na ~ orch + large + orch:large + (large | id) Negative covariation between intercepts and slopes: After controlling for instrument played, those subjects with higher performance anxiety scores for solos and small ensembles tend to have greater decreases in performance anxiety for large ensemble performances.

Example 5.2 IQ and mean IQ in text Coefficient of IQ_verb in a school: 2.469 - 0.1881meanIQ + random slope effect A negative mean IQ means the effect of individual IQ on language test is much larger

Interactions Random slopes – interaction with level 2 grouping variable Interactions Within level Cross level – including Level 2 covariates to explain variation in intercepts, slopes

To Do HW 4 Next project report