Multilevel Linear Models Field, Chapter 19. Why use multilevel models? Meeting the assumptions of the linear model – Homogeneity of regression coefficients.

Slides:



Advertisements
Similar presentations
Chapter 12 Inference for Linear Regression
Advertisements

Objectives 10.1 Simple linear regression
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
© McGraw-Hill Higher Education. All Rights Reserved. Chapter 2F Statistical Tools in Evaluation.
Advanced Methods and Models in Behavioral Research – 2014 Been there / done that: Stata Logistic regression (……) Conjoint analysis Coming up: Multi-level.
Biostatistics-Lecture 10 Linear Mixed Model Ruibin Xi Peking University School of Mathematical Sciences.
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.
Copyright © 2008 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics, 9e Managerial Economics Thomas Maurice.
Chapter 10 Simple Regression.
Statistics: Data Analysis and Presentation Fr Clinic II.
The Simple Regression Model
This Week Continue with linear regression Begin multiple regression –Le 8.2 –C & S 9:A-E Handout: Class examples and assignment 3.
Longitudinal Data Analysis: Why and How to Do it With Multi-Level Modeling (MLM)? Oi-man Kwok Texas A & M University.
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Simple Linear Regression Analysis
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
Review Guess the correlation. A.-2.0 B.-0.9 C.-0.1 D.0.1 E.0.9.
T-tests and ANOVA Statistical analysis of group differences.
Lecture 5 Correlation and Regression
Introduction to Multilevel Modeling Using SPSS
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Chapter 11 Simple Regression
Overview of Meta-Analytic Data Analysis
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
Multiple Regression The Basics. Multiple Regression (MR) Predicting one DV from a set of predictors, the DV should be interval/ratio or at least assumed.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 4.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
April 4 Logistic Regression –Lee Chapter 9 –Cody and Smith 9:F.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Week 5: Logistic regression analysis Overview Questions from last week What is logistic regression analysis? The mathematical model Interpreting the β.
Regression Chapter 16. Regression >Builds on Correlation >The difference is a question of prediction versus relation Regression predicts, correlation.
BUSI 6480 Lecture 8 Repeated Measures.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Selecting Input Probability Distribution. Simulation Machine Simulation can be considered as an Engine with input and output as follows: Simulation Engine.
Latent Growth Modeling Byrne Chapter 11. Latent Growth Modeling Measuring change over repeated time measurements – Gives you more information than a repeated.
Political Science 30: Political Inquiry. Linear Regression II: Making Sense of Regression Results Interpreting SPSS regression output Coefficients for.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
The Single-Sample t Test Chapter 9. t distributions >Sometimes, we do not have the population standard deviation. (that’s actually really common). >So.
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
Logistic Regression Analysis Gerrit Rooks
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Tutorial I: Missing Value Analysis
1 Statistics 262: Intermediate Biostatistics Regression Models for longitudinal data: Mixed Models.
Introduction to Multilevel Analysis Presented by Vijay Pillai.
G Lecture 71 Revisiting Hierarchical Mixed Models A General Version of the Model Variance/Covariances of Two Kinds of Random Effects Parameter Estimation.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Stats Methods at IC Lecture 3: Regression.
Exploring Group Differences
An Introduction to Latent Curve Models
Chapter 4: Basic Estimation Techniques
Chapter 14 Introduction to Multiple Regression
BINARY LOGISTIC REGRESSION
Chapter 4 Basic Estimation Techniques
REGRESSION G&W p
REGRESSION (R2).
Basic Estimation Techniques
Political Science 30: Political Inquiry
Inference for Regression
Linear Mixed Models in JMP Pro
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Basic Estimation Techniques
G Lecture 6 Multilevel Notation; Level 1 and Level 2 Equations
Introduction to Logistic Regression
Simple Linear Regression
CHAPTER 12 More About Regression
Andrea Friese, Silvia Artuso, Danai Laina
Presentation transcript:

Multilevel Linear Models Field, Chapter 19

Why use multilevel models? Meeting the assumptions of the linear model – Homogeneity of regression coefficients – Independence of observations – Missing data More power (sort of)

Random intercepts Y i =(b 0 + u 0i ) + b 1 X 1i + ε i What are the coefficients? – b 0 : overall intercept – u 0 : individual deviation – b 1 : slope coefficient What does this look like? – To the board!

Random intercepts, continued What does u 0 represent, substantively? – Individual differences in signal rate change

Changes in -2LogLikelihood Why do this? – Test if random coefficients “improve” the model Generally applicable technique for a range of models Caveats – Need to use ML, not REML – New model needs to be nested within old

Writing the population model What’s the population model for the data we used last week? Fixed effects: – Y i =b 0 + b 1 Coil i + b 2 Accelerationx2 + b 3 Accelerationx3 + b 4 Resolution 3 + ε i Random intercept: Y i =(b 0 + u 0i ) + b 1 X 1i + b 2 Accelerationx2 + b 3 Accelerationx3 + b 3 Resolution 3 + ε i

Setting up the dataset Currently in wide format – multiple outcome variables per subject Need to go to long – multiple cases per subject (What’s the difference?) Before we start, take a snapshot of your data: you’ll need it later!

In SPSS Same dataset as last time Step 1: Data -> Restructure – Which option do we want?

In SPSS 2 Decide how many measurements are taken under each condition. – Which option do we want, and when might we choose differently?

In SPSS 3 Which variables are: ID, transposed, and fixed?

In SPSS 4 What are the conditions under which the outcome was measured in each subject? – coil and acceleration – choose two indices

In SPSS 5 Which variable is the major grouping variable? – Coil, because levels of acceleration are nested within levels of coil (only in the data set-up!)

In SPSS 6 Let’s no drop any information Paste the syntax, then run it Make sense of the syntax VARSTOCASES /MAKE trans1 FROM a0_12 a2_12 a3_12 a0_32 a2_32 a3_32 /INDEX=Index1 "coil"(2) Index2 "acceleration"(3) /KEEP=subj resolution /NULL=KEEP.

Starting the analysis Analyze -> Mixed Models -> Linear Select your variables

Identifying variables Select dependent variable, factors, and covariates

Fixed variables For now, we won't allow random intercepts Which variables have fixed effects?

Log Likelihood Which method should we use for estimation? – Maximum likelihood

Output Fit the model Interpret the estimated parameters: what’s surprising, and how do we explain it? – Take note of the -2LL

Refitting with random intercepts Fit the model again, this time with random intercepts Be sure to “include intercept”

Testing random intercepts Determine the change in -2LL, and the change in degrees of freedom Test to see if this is statistically significant – Change in -2LL near 17.5, change in df of 1 is highly significant (use Chi-Squared calculator or table) If there's time, try splitting the sample on coil and repeating the analysis