5nd meeting: Multilevel modeling: Summary & Extra’s Subjects for today:  How to do multilevel analysis: a 5-step-approach  Interaction, cross-level interactions,

Slides:



Advertisements
Similar presentations
Multilevel modelling short course
Advertisements

1 Interpreting a Model in which the slopes are allowed to differ across groups Suppose Y is regressed on X1, Dummy1 (an indicator variable for group membership),
Hierarchical Linear Modeling: An Introduction & Applications in Organizational Research Michael C. Rodriguez.
Regression and correlation methods
AMMBR from xtreg to xtmixed (+checking for normality, random slopes)
Statistics for the Social Sciences
Issues in factorial design
Topic 12 – Further Topics in ANOVA
SPSS Session 5: Association between Nominal Variables Using Chi-Square Statistic.
Nested Example Using SPSS David A. Kenny January 8, 2014.
Multiple Regression Fenster Today we start on the last part of the course: multivariate analysis. Up to now we have been concerned with testing the significance.
Advanced Methods and Models in Behavioral Research – 2014 Been there / done that: Stata Logistic regression (……) Conjoint analysis Coming up: Multi-level.
Econ 140 Lecture 151 Multiple Regression Applications Lecture 15.
Analysis of frequency counts with Chi square
Multiple Logistic Regression RSQUARE, LACKFIT, SELECTION, and interactions.
Statistics for Managers Using Microsoft® Excel 5th Edition
Econ 140 Lecture 131 Multiple Regression Models Lecture 13.
Discrim Continued Psy 524 Andrew Ainsworth. Types of Discriminant Function Analysis They are the same as the types of multiple regression Direct Discrim.
1 Qualitative Independent Variables Sometimes called Dummy Variables.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 7: Interactions in Regression.
Multiple Regression Models
1 Practicals, Methodology & Statistics II Laura McAvinue School of Psychology Trinity College Dublin.
Econ 140 Lecture 171 Multiple Regression Applications II &III Lecture 17.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Finding help. Stata manuals You have all these as pdf! Check the folder /Stata12/docs.
1 MA 1128: Lecture 09 – 6/08/15 Solving Systems of Linear Equations.
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Multiple Regression continued… STAT E-150 Statistical Methods.
Copyright ©2011 Pearson Education 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft Excel 6 th Global Edition.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
3nd meeting: Multilevel modeling: introducing level 1 (individual) and level 2 (contextual) variables + interactions Subjects for today:  Intra Class.
Introduction to Multilevel Modeling Using SPSS
Hypothesis testing – mean differences between populations
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft.
Modeling Possibilities
Moderation & Mediation
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2003 Thomson/South-Western Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Introduction Multilevel Analysis
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Dealing with data All variables ok? / getting acquainted Base model Final model(s) Assumption checking on final model(s) Conclusion(s) / Inference Better.
Correlation and Linear Regression. Evaluating Relations Between Interval Level Variables Up to now you have learned to evaluate differences between the.
Multilevel Linear Models Field, Chapter 19. Why use multilevel models? Meeting the assumptions of the linear model – Homogeneity of regression coefficients.
Multiple Regression 3 Sociology 5811 Lecture 24 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
1st meeting: Multilevel modeling: introduction Subjects for today:  Basic statistics (testing)  The difference between regression analysis and multilevel.
Multilevel Linear Modeling aka HLM. The Design We have data at two different levels In this case, 7,185 students (Level 1) Nested within 160 Schools (Level.
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 7 Logistic Regression I.
Statistically speaking…
Chapter 13 Multiple Regression
2nd meeting: Multilevel modeling: intra class correlation Subjects for today:  Multilevel data base construction  The difference between single level.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
Chapter 22: Building Multiple Regression Models Generalization of univariate linear regression models. One unit of data with a value of dependent variable.
Warsaw Summer School 2015, OSU Study Abroad Program Advanced Topics: Interaction Logistic Regression.
Multiple Logistic Regression STAT E-150 Statistical Methods.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Regression Analysis: Part 2 Inference Dummies / Interactions Multicollinearity / Heteroscedasticity Residual Analysis / Outliers.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
Example x y We wish to check for a non zero correlation.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Multiple Regression SECTIONS 10.1, 10.3 Multiple explanatory variables (10.1,
T-tests Chi-square Seminar 7. The previous week… We examined the z-test and one-sample t-test. Psychologists seldom use them, but they are useful to understand.
Beginners statistics Assoc Prof Terry Haines. 5 simple steps 1.Understand the type of measurement you are dealing with 2.Understand the type of question.
Stats Methods at IC Lecture 3: Regression.
Exploring Group Differences
Difference between two groups Two-sample t test
Nested Example Using SPSS
Multiple Regression Analysis and Model Building
Multiple Regression.
Exercise 1 Use Transform  Compute variable to calculate weight lost by each person Calculate the overall mean weight lost Calculate the means and standard.
Presentation transcript:

5nd meeting: Multilevel modeling: Summary & Extra’s Subjects for today:  How to do multilevel analysis: a 5-step-approach  Interaction, cross-level interactions, mean centering  Influential cases in multilevel modeling  New developments I: generalized multilevel models in SPSS 19  New developments II: Missing data substitution

During this course we discussed several steps in multilevel modeling. Here is a summary that may be followed: 1)Calculate the higher level variances (often level 2), the intra class correlation and test whether it is significant (in linear models use difference in -2 loglikelihood, in logistic models use t-test). 2)When there is level 2 variance, include relevant level 1 variables to test hypotheses on indidual level, but also to take into account compositional effects (notable as a change in the level 2 variance, which in many cases will decrease). 3)After including all relevant level 1 indicators you may include relevant level 2 variables (preferably not all at once but one by one or cluster by cluster). _____________________ 4)When you are after crosslevel interactions (you may think that level 1 effects are conditional upon level 2 variables or that level 2 effects are conditional upon level 1 variables), first set relevant level 1 variables random. 2

4)You may be are after crosslevel interactions. You may think/hypothesize that level 1 effects are conditional upon level 2 variables or that level 2 effects are conditional upon level 1 variables. First set relevant level 1 variables random. 5)Even when you find no random variantion I advice to test the cross-level interaction because random variance may be quite low and non-significant while a test on an interaction may very well be significant. So, include the interaction between X on level 1 and X on level 2 and test whether the interaction is significant (use level 2 df) For the interpretation of interaction mean centering may come in handy (also may prove benificial when model does not converge (see later slides). NEXT SLIDE: an example of a Table with steps

4

5 Interactions once more! DATA: again fake and stored in TOPGEAR.sav Why interactions? Because we like to test whether effects DIFFER ACROSS GROUPS or CATEGORIES Suppose we estimated the effect of education on watching Top Gear. This tv-show is about fast cars. Top Gear therefore might just be more interesting for men than for women. This eventually means that it might not be a very good idea to model the educational effect equal for men and women. So the regression model: Top Gear = a + b1 * education + e might be wrong here. Even Top Gear = a + b1 * education + b2 * gender + e is wrong because we only added to the model that women might differ in viewing Top Gear but the educational effect still is the same.

6 First solution: just split the file: sort cases by gender. split file by gender. REGRESSION /DEPENDENT topgear /METHOD=ENTER educat. split file off.

7

8 Second solution: just estimate one model so we can statistically test whether the educational effects differs between men and women: Top Gear = a + b1 * education + b2 * gender + b3 * gender * education Now for females (coded 0 on gender) the model can be re-written: Top Gear = a + b1 * education + b2 * 0 + b3 * 0 * education Top Gear = a + b1 * education For males (coded 1) we get: Top Gear = a + b1 * education + b2 * 1 + b3 * 1 * education Top Gear = a + b1 * education + b2 + b3 * education Top Gear = (a + b2) + ((b1 + b3) * education) So b2 is the increase of the intercept in case you are a man B3 is the ADDITIONAL effect for education when you are a man, which can be tested with a t-test

9

10

11 In multilevel we can incorporate interactions as well. Whenm they are on the same level then there is no difference with the previous slides If the interaction is between variables from different levels there something extra. Let us go back to the Math test and the relation with homework:

12 It helps when interpreting the main effects in an interaction model. Suppose you have homework * % black on a school.Then you get someting like this: Homework:.10 % blacks: -.20 Interaction homework * % blacks =.01. What does it say: 1) When % blacks = 0, the effect of homework is.10 2) When Homework = 0, the effect of % blacks is ) When % blacks =1, the effect of homework is.11 4) When homework =1, the effect of % blacks is -.19 So as % blacks increases in a classroom, the effect of homework becomes stronger As the hours spent on homework increase, the effect of % blacks is less strong

13 We know that the co-variance is at x=0 (the intercept) but if we mean center the variable homework the co-variance changes (let us substract 2 we get: 0 So the co-variance dependents upon where you put intercept! Is this important, well yes. 1) It helps in the estimation procedure (interation proces, converging problems

The problem of influential cases at higher levels (more at: at: % volunteers % church attendees 60 landen With the 3 datapoints (Uganda, Tanzania & Zimbabwe) correlation.43, Without these 3 countries it is.2!

15

Be aware of non-linear relations: The correlation is -.6, BUT it is far from being linear. When we log transform both variables we get

17 New developments I: generalized multilevel models in SPSS 19 * Since SPSS 19 there are multiple ways to link the dependent variable with x-variables in mixed models. New developments II: Missing data substitution * In MLwiN there is an additional add on called REAL COM to do miising data substition, a short manual is provided on this web site.