Specifications for this HLM2 run



Similar documents
Illustration (and the use of HLM)

Introduction to Multilevel Modeling Using HLM 6. By ATS Statistical Consulting Group

HLM software has been one of the leading statistical packages for hierarchical

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

CHAPTER 9 EXAMPLES: MULTILEVEL MODELING WITH COMPLEX SURVEY DATA

Introduction to Data Analysis in Hierarchical Linear Models

Regression III: Advanced Methods

Construct the MDM file for a HLM2 model using SPSS file input

College Readiness LINKING STUDY

Εισαγωγή στην πολυεπίπεδη μοντελοποίηση δεδομένων με το HLM. Βασίλης Παυλόπουλος Τμήμα Ψυχολογίας, Πανεπιστήμιο Αθηνών

Use of deviance statistics for comparing models

STATISTICA Formula Guide: Logistic Regression. Table of Contents

Introduction to Longitudinal Data Analysis

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Regression Analysis: A Complete Example

Univariate Regression

Confidence Intervals for One Standard Deviation Using Standard Deviation

How To Check For Differences In The One Way Anova

1/27/2013. PSY 512: Advanced Statistics for Psychological and Behavioral Research 2

Multivariate Logistic Regression

DATA ANALYSIS. QEM Network HBCU-UP Fundamentals of Education Research Workshop Gerunda B. Hughes, Ph.D. Howard University

CHAPTER 3 EXAMPLES: REGRESSION AND PATH ANALYSIS

Multivariate Normal Distribution

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Analyzing Intervention Effects: Multilevel & Other Approaches. Simplest Intervention Design. Better Design: Have Pretest

Simple Linear Regression Inference

11. Analysis of Case-control Studies Logistic Regression

5. Linear Regression

One-Way Analysis of Variance

Power Calculation Using the Online Variance Almanac (Web VA): A User s Guide

Multilevel Modeling Tutorial. Using SAS, Stata, HLM, R, SPSS, and Mplus

Introduction to Regression and Data Analysis

One-Way ANOVA using SPSS SPSS ANOVA procedures found in the Compare Means analyses. Specifically, we demonstrate

Multivariate Analysis of Variance (MANOVA): I. Theory

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Simple Linear Regression

LAGUARDIA COMMUNITY COLLEGE CITY UNIVERSITY OF NEW YORK DEPARTMENT OF MATHEMATICS, ENGINEERING, AND COMPUTER SCIENCE

Penalized regression: Introduction

Comparison of Estimation Methods for Complex Survey Data Analysis

Confidence Intervals for the Difference Between Two Means

Stability of School Building Accountability Scores and Gains. CSE Technical Report 561. Robert L. Linn CRESST/University of Colorado at Boulder

LOGISTIC REGRESSION. Nitin R Patel. where the dependent variable, y, is binary (for convenience we often code these values as

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Ordinal Regression. Chapter

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

CONTENTS OF DAY 2. II. Why Random Sampling is Important 9 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

Part 2: Analysis of Relationship Between Two Variables

parent ROADMAP MATHEMATICS SUPPORTING YOUR CHILD IN HIGH SCHOOL

Basic Statistics and Data Analysis for Health Researchers from Foreign Countries

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE MATH 111H STATISTICS II HONORS

Simple Predictive Analytics Curtis Seare

Confidence Intervals for Cp

1. The parameters to be estimated in the simple linear regression model Y=α+βx+ε ε~n(0,σ) are: a) α, β, σ b) α, β, ε c) a, b, s d) ε, 0, σ

Module 3: Correlation and Covariance

Estimating Multilevel Models using SPSS, Stata, SAS, and R. JeremyJ.Albright and Dani M. Marinova. July 14, 2010

Overview Classes Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7)

2. Simple Linear Regression

How To Run Statistical Tests in Excel

STATISTICS AND DATA ANALYSIS IN GEOLOGY, 3rd ed. Clarificationof zonationprocedure described onpp

MULTIPLE LINEAR REGRESSION ANALYSIS USING MICROSOFT EXCEL. by Michael L. Orlov Chemistry Department, Oregon State University (1996)

The Big Picture. Correlation. Scatter Plots. Data

E(y i ) = x T i β. yield of the refined product as a percentage of crude specific gravity vapour pressure ASTM 10% point ASTM end point in degrees F

Statistics in Retail Finance. Chapter 6: Behavioural models

CS 147: Computer Systems Performance Analysis

Module 5: Introduction to Multilevel Modelling SPSS Practicals Chris Charlton 1 Centre for Multilevel Modelling

STA-201-TE. 5. Measures of relationship: correlation (5%) Correlation coefficient; Pearson r; correlation and causation; proportion of common variance

Introduction to Hierarchical Linear Modeling with R

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION

Data Analysis Tools. Tools for Summarizing Data

Recall this chart that showed how most of our course would be organized:

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

Multiple Regression in SPSS This example shows you how to perform multiple regression. The basic command is regression : linear.

Section Format Day Begin End Building Rm# Instructor. 001 Lecture Tue 6:45 PM 8:40 PM Silver 401 Ballerini

Answer: C. The strength of a correlation does not change if units change by a linear transformation such as: Fahrenheit = 32 + (5/9) * Centigrade

Simple Linear Regression, Scatterplots, and Bivariate Correlation

Chapter 7. One-way ANOVA

Least Squares Estimation

Pearson's Correlation Tests

Module 4 - Multiple Logistic Regression

8. Time Series and Prediction

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

Schools Value-added Information System Technical Manual

Generalized Linear Models

Logs Transformation in a Regression Equation

Factors affecting online sales

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

Normality Testing in Excel

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

STAT 2300: BUSINESS STATISTICS Section 002, Summer Semester 2009

COMP6053 lecture: Relationship between two variables: correlation, covariance and r-squared.

Curriculum Map Statistics and Probability Honors (348) Saugus High School Saugus Public Schools

Degrees of freedom in HLM models

1.5 Oneway Analysis of Variance

Poisson Models for Count Data

MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS

Transcription:

One way ANOVA model 1. How much do U.S. high schools vary in their mean mathematics achievement? 2. What is the reliability of each school s sample mean as an estimate of its true population mean? 3. Do schools vary significantly from each other? Module: HLM2 (7.00) Date: Jun 15, 2011 Time: 05:47:00 Specifications for this HLM2 run Problem Title: One Way ANOVA The data source for this run = HSB.mdm The command file for this run = C:\Documents and Settings\manningma\Dropbox\Teaching\HLM Workshop 2011\HSB\One Way ANOVA.hlm Output file name = One Way ANOVA.html The maximum number of level-1 units = 7185 The maximum number of level-2 units = 160 The maximum number of iterations = 1000 Method of estimation: full maximum likelihood The outcome variable is MATHACH Summary of the model specified Level-1 Model MATHACH ij = β 0j + r ij Level-2 Model β 0j = γ 00 + u 0j Mixed Model MATHACH ij = γ 00 + u 0j + r ij Final Results - Iteration 4

Iterations stopped due to small change in likelihood function σ 2 = 39.14838 of σ 2 = 0.66054 τ INTRCPT1,β 0 8.55379 of τ INTRCPT1,β 0 1.06124 Random level-1 coefficient Reliability estimate INTRCPT1,β 0 0.901 The value of the log-likelihood function at iteration 4 = -2.355699E+004 Final estimation of fixed effects: INTRCPT2, γ 00 12.637067 0.243638 51.868 159 <0.001 γ 00 : Mean math ach (nothing is predicting it at either level) and associated SE. You can use this to get a mean and confidence interval around that mean. Final estimation of fixed effects (with robust standard s) INTRCPT2, γ 00 12.637067 0.243617 51.873 159 <0.001 Final estimation of variance components Random Effect Variance Deviation Component χ 2 INTRCPT1, u 0 2.92469 8.55379 159 1660.22552 <0.001 level-1, r 6.25687 39.14838

u 0: Variance in mean MATHACH between schools. The variance between schools is significant, χ 2 (159) = 1660.23. Schools vary significantly from each other. r ij : Variance in means within school. The total variance around mean math ach is level-1 (within-school) variance + level-2 (between-school) variance. The Intra-class Correlation (ICC) is the proportion of the total variance in math ach that is between groups. This is exactly the same as For the current data, ICC = 8.55/(8.55+39.15) = 0.18. Eighteen percent of the variance in math achievement is between-schools. Statistics for the current model Deviance = 47113.972342 Number of estimated parameters = 3

Means as outcome model Predicting the school mean from school SES (MEANSES) 1. Do schools with high MEAN SES also have high math achievement? 2. What amount of between-school variance in math achievement is accounted for by the model with MEAN SES? 3. Do school achievement means vary significantly once MEAN SES is controlled? Module: HLM2 (7.00) Date: Jun 15, 2011 Time: 05:48:22 Specifications for this HLM2 run Problem Title: Means as Outcome The data source for this run = HSB.mdm The command file for this run = C:\Documents and Settings\manningma\Dropbox\Teaching\HLM Workshop 2011\HSB\Means as Outcome.hlm Output file name = Means as Outcome.html The maximum number of level-1 units = 7185 The maximum number of level-2 units = 160 The maximum number of iterations = 1000 Method of estimation: full maximum likelihood The outcome variable is MATHACH Summary of the model specified Level-1 Model MATHACH ij = β 0j + r ij Level-2 Model β 0j = γ 00 + γ 01 *(MEANSES j ) + u 0j Mixed Model MATHACH ij = γ 00 + γ 01 *MEANSES j + u 0j + r ij Final Results - Iteration 6

Iterations stopped due to small change in likelihood function σ 2 = 39.15731 of σ 2 = 0.66065 τ INTRCPT1,β 0 2.59327 of τ INTRCPT1,β 0 0.39249 Random level-1 coefficient Reliability estimate INTRCPT1,β 0 0.737 The value of the log-likelihood function at iteration 6 = -2.347864E+004 Final estimation of fixed effects: INTRCPT2, γ 00 12.649740 0.148322 85.286 158 <0.001 MEANSES, γ 01 5.862924 0.359134 16.325 158 <0.001 γ 00 : Mean Math ach when MEANSES = 0. γ 01: Effect on Math Ach of a one unit change in MEANSES Final estimation of fixed effects (with robust standard s) INTRCPT2, γ 00 12.649740 0.148357 85.265 158 <0.001 MEANSES, γ 01 5.862924 0.320231 18.308 158 <0.001 Final estimation of variance components Variance Random Effect χ Deviation Component 2 INTRCPT1, u 0 1.61036 2.59327 158 633.50130 <0.001

level-1, r 6.25758 39.15731 Note the reduction in between school variance, u 0, now that we are accounting for some of it with MEANSES. At the between-school level, β 0, or mean MATHACH, is equal to some initial value plus an effect of MEANSES, or in equation form: β 0 = γ 00 + γ 01 MeanSES + u 0 We are accounting for some of the between-school unknown variance, u 0, with MEANSES. To calculate just how much of that unknown variance we are accounting for, we calculate the proportion by which the initial variance was reduced when we added MEANSES. Initial /unknown variance from previous model = 8.55 Unknown variance when MEANSES is in the model = 2.59 Reduction in variance = 8.55 2.59 = 5.96 Proportion reduction in variance = 5.96/8.55 =.697 MEANSES accounted for 69.7% of the variance in mean MATHACH (β 0 ) It is important to be clear and recall that 18% of the TOTAL variance was at the between-school level (see calculation of ICC above). In other words, recall that u 0 accounted for 18% of the total variance. So we are accounting for 69.7% of that 18% with MEANSES. Statistics for the current model Deviance = 46957.270646 Number of estimated parameters = 4 Model comparison test χ 2 statistic = 156.70170 Degrees of freedom = 1 = <0.001 The model comparison test (difference between deviance in current model and previous model) indicates that this is a better fitting model than the previous one.

Contextual Effects Model (Grand Mean Centered) Module: HLM2 (7.00) Date: Jun 15, 2011 Time: 05:50:43 Specifications for this HLM2 run Problem Title: Contextual Effects Model (Grand Mean) The data source for this run = HSB.mdm The command file for this run = C:\Documents and Settings\manningma\Dropbox\Teaching\HLM Workshop 2011\HSB\Contextual Effects Model (Grand Mean).hlm Output file name = Contextual Effects Model (Grand Mean).html The maximum number of level-1 units = 7185 The maximum number of level-2 units = 160 The maximum number of iterations = 1000 Method of estimation: full maximum likelihood The outcome variable is MATHACH Summary of the model specified Level-1 Model MATHACH ij = β 0j + β 1j *(SES ij ) + r ij Level-2 Model β 0j = γ 00 + γ 01 *(MEANSES j ) + u 0j β 1j = γ 10 Note that we turned off the level-2 variance in the SES effect (the Slope). This is saying that the slope, or the effect of SES, is the same across all the schools. In other words, no matter what school you are in, a one unit change in individuals SES is equal to a 2.19 unit change in MATHACH (see fixed effects) SES has been centered around the grand mean. SES is centered around the mean for the entire sample of data; this means that it is zero at the mean for the entire sample. So the β 0j is now the mean math ach at mean individual SES for the sample (when SES = 0).

MEANSES has been centered around the grand mean. Likewise, MEANSES (each school s average SES) has been centered around the mean for the sample. So β 0j is mean math ach at the mean for schools SES. Mixed Model MATHACH ij = γ 00 + γ 01 *MEANSES j + γ 10 *SES ij + u 0j + r ij You can see it more clearly in the mixed model equation. β 0j which is γ 00 = mean Math Ach when MEANSES and SES are equal to 0. Final Results - Iteration 6 Iterations stopped due to small change in likelihood function σ 2 = 37.01402 of σ 2 = 0.62449 τ INTRCPT1,β 0 2.64700 of τ INTRCPT1,β 0 0.39306 Random level-1 coefficient Reliability estimate INTRCPT1,β 0 0.751 The value of the log-likelihood function at iteration 6 = -2.328098E+004 Final estimation of fixed effects: INTRCPT2, γ 00 12.661175 0.148413 85.310 158 <0.001 MEANSES, γ 01 3.674465 0.375431 9.787 158 <0.001 For SES slope, β 1 INTRCPT2, γ 10 2.191165 0.108660 20.165 7024 <0.001 The contextual effect with grand-mean centering of level-1 variable:

Let s take a look at the model. MATHACH = γ 00 + γ 01 MEANSES + γ 10 SES + u0+ r The effect of SES on math achievement is defined by two sources. A source at the individual level meant to represent his or her own individual circumstances (SES: family income, occupation, etc.), and a source at the school level meant to represent the resources of a particular school (MEANSES: mean of SES variable in each particular school). This SES effect is captured jointly by two coefficients in the model: γ 01 and γ 10. Despite that there are two coefficients in the model that capture the effect of SES, there are actually three effects to consider. There is the effect of the moving from a school with one SES to a school with a different SES, which is β b. But this effect is actually composed of the effect of individuals SES on math achievement (β w ) and the effect of schools, on the contexts, effects on math achievement (β c ). The coefficient for the variable at the individual level (γ 10 ), SES, is always going to be the β w effect. When we grand mean center SES, what we capture with γ 01 is the effect of schools mean SES on math achievement, controlling for the effect of individual SES. This coefficient γ 01 quantifies the effect of being in a particular context, namely a particular school with a particular mean SES. Thus, γ 01 IS the contextual effect when the individual level component of that effect is grand-mean centered. Together, both of these coefficients tell us about the effect of SES on math achievement in schools (the cumulative β b effect.) Sometimes, in using a grand mean centered approach, it can be a bit more intuitive to think about the effects of context controlling for the effects of individual. Finally, let s look exactly at what these coefficients tell us. If Kid A and Kid B are in the same school, and Kid A s SES is greater than Kid B s SES by one unit, then Kid A s MATHACH is greater than Kid B s MATHACH by 2.19 (γ 10 ). If Kid A and Kid B have the same individual SES, but Kid A is in a different school that is greater by one unit of MEANSES, then Kid A s MATHACH is 3.67 (γ 01 ) greater than Kid B s MATHACH. Final estimation of fixed effects (with robust standard s) INTRCPT2, γ 00 12.661175 0.148376 85.332 158 <0.001 MEANSES, γ 01 3.674465 0.353014 10.409 158 <0.001 For SES slope, β 1 INTRCPT2, γ 10 2.191165 0.129368 16.938 7024 <0.001

Final estimation of variance components Random Effect Variance Deviation Component χ 2 INTRCPT1, u 0 1.62696 2.64700 158 670.25160 <0.001 level-1, r 6.08391 37.01402 Statistics for the current model Deviance = 46561.966966 Number of estimated parameters = 5 Contextual Effects Model (Group Mean Centered) Module: HLM2 (7.00) Date: Jun 15, 2011 Time: 05:51:39 Specifications for this HLM2 run Problem Title: Contextual Effects Model (Group Mean) The data source for this run = HSB.mdm The command file for this run = C:\Documents and Settings\manningma\Dropbox\Teaching\HLM Workshop 2011\HSB\Contextual Effects Model (Group Mean).hlm Output file name = Contextual Effects Model (Group Mean).html The maximum number of level-1 units = 7185 The maximum number of level-2 units = 160 The maximum number of iterations = 1000 Method of estimation: full maximum likelihood The outcome variable is MATHACH Summary of the model specified Level-1 Model MATHACH ij = β 0j + β 1j *(SES ij ) + r ij

Level-2 Model β 0j = γ 00 + γ 01 *(MEANSES j ) + u 0j β 1j = γ 10 SES has been centered around the group mean. SES has been centered around the mean for each school. So SES is equal to 0 at the mean for each school. It might not be the same value for each school, but in the model it has the same meaning for each school. MEANSES has been centered around the grand mean. Mixed Model MATHACH ij = γ 00 + γ 01 *MEANSES j + γ 10 *SES ij + u 0j + r ij Final Results - Iteration 6 Iterations stopped due to small change in likelihood function σ 2 = 37.01402 of σ 2 = 0.62449 τ INTRCPT1,β 0 2.64694 of τ INTRCPT1,β 0 0.39306 Random level-1 coefficient Reliability estimate INTRCPT1,β 0 0.751 The value of the log-likelihood function at iteration 6 = -2.328098E+004 Final estimation of fixed effects: INTRCPT2, γ 00 12.647306 0.148410 85.218 158 <0.001 MEANSES, γ 01 5.865602 0.359360 16.322 158 <0.001 For SES slope, β 1 INTRCPT2, γ 10 2.191172 0.108660 20.165 7024 <0.001

The contextual effect with group-mean centering of level-1 variable: The model is exactly the same: MATHACH = γ 00 + γ 01 MEANSES + γ 10 SES + u0+ r The only thing that we have changed is how we choose to center the within-unit variable, SES. We have group mean centered it. When we group mean center, coefficient γ 01 is now the cumulative β b effect. So to get the effect of context, we subtract the individual level effect, γ 10, from γ 01. This underscores the fact that you have to be mindful of your choice of centering when it comes to introducing effects that exist at both the aggregate and the individual levels, and further underscores the care needed in interpreting your coefficients in these kinds of models. Final estimation of fixed effects (with robust standard s) INTRCPT2, γ 00 12.647306 0.148448 85.197 158 <0.001 MEANSES, γ 01 5.865602 0.320148 18.322 158 <0.001 For SES slope, β 1 INTRCPT2, γ 10 2.191172 0.129367 16.938 7024 <0.001 Final estimation of variance components Random Effect Variance Deviation Component χ 2 INTRCPT1, u 0 1.62694 2.64694 158 670.24237 <0.001 level-1, r 6.08391 37.01402 Statistics for the current model Deviance = 46561.964487 Number of estimated parameters = 5