SEM Day 3 Lab Exercises SPIDA 2007 Dave Flora

Size: px
Start display at page:

Download "SEM Day 3 Lab Exercises SPIDA 2007 Dave Flora"

Transcription

1 SEM Day 3 Lab Exercises SPIDA 2007 Dave Flora 1 Today we will see how to estimate SEM conditional latent trajectory models and interpret output using both SAS and LISREL. Exercise 1 Using SAS PROC CALIS, reproduce the conditional linear latent trajectory model presented in today s lecture, where the math achievement latent growth factors were regressed on gender. This SAS code will do it. Note that math.dat is already in wide format. proc calis data=home.math ucov aug pshort stderr; lineqs math2 = 1f1 + 0f2 + e1, math3 = 1f1 + 1f2 + e2, math4 = 1f1 + 2f2 + e3, math5 = 1f1 + 3f2 + e4, f1 = al1 intercept + ga11 female + d1, f2 = al2 intercept + ga21 female + d2; std d1 d2 = ps11 ps22, e1 e2 e3 e4 = te11 te22 te33 te44; cov d1 d2 = ps21; run; Note that this CALIS code is nearly identical to the code used yesterday for the unconditional model; except now, we have added the female dummy code, multiplied by the gamma regression coefficients, to the LINEQS for the between-persons model. Examine the output. What is the value of the regression coefficient (gamma-11) relating gender to the intercept factor? How would you interpret this value conceptually? Is it significant? What is the value of the regression coefficient (gamma-21) relating gender to the slope factor? How would you interpret this value conceptually? Is it significant? How would you interpret the values for the intercept terms in the between-persons equations? Is the simple slope for males significant? With gender included in the model, is there significant residual heterogeneity in the intercept and slope factors? Exercise 2 Just as you did yesterday for the unconditional model, re-parameterize the conditional model so that the intercept factor represents math achievement at Grade 3 rather than Grade 2. Which parameter estimates have changed? Does this make sense?

2 Exercise 3 2 Following from the lecture notes, probe the interaction between gender and time by reverse-coding the female dummy code to be a male dummy code. You will need to do so inside a simple SAS data step. For example, here is one of several possible ways to do it: data math2; set home.math; if female = 0 then male = 1; else male = 0; run; Re-estimate the model from either Exercise 1 or Exercise 2, but using the male dummy code instead of the female dummy code. Remember to change the data option in your PROC CALIS statement: proc calis data=math2... Which parameter estimates have changed? Does this make sense? Is the simple slope for females significant? NOW for LISREL

3 Exercise 4 3 Using LISREL, reproduce the conditional linear trajectory model you estimated in Exercise 1 using PROC CALIS. You can easily do so by expanding yesterday s LISREL code for the unconditional model: Linear Conditional LTM for Math Achievement DA NI=8 NO=300 MA=CM LA math2 math3 math4 math5 female black hisp retain RA FI=' h:\courses\spida\sem \math.dat' SE / MO NY=4 NE=2 NX=1 NK=1 LY=FU,FI LX=FU,FI PS=SY,FR TE=SY,FI TD=FI TY=FU,FI AL=FR GA=FI KA=FR LE int slp LK gender VA 1.0 LY(1,1) LY(2,1) LY(3,1) LY(4,1) VA 0.0 LY(1,2) VA 1.0 LY(2,2) VA 2.0 LY(3,2) VA 3.0 LY(4,2) VA 1.0 LX(1,1) FR TE(1,1) TE(2,2) TE(3,3) TE(4,4) FR GA(1,1) GA(2,1) PD OU Notice that the SE line now selects the first 5 variables in the data file, where the 5 th is female Following from today s lecture, we have to create a phantom latent independent variable, which is perfectly measured by the observed variable female : NK=1 tells LISREL that there will be one ksi, ξ, or latent independent variable. LX=FU,FI tells LISREL to set up a lambda-x matrix. TD=FI tells LISREL that the theta-delta, Θ δ, matrix will be fixed to have values of zero. KA=FR tells LISREL that the latent independent variable has a non-zero mean (where KA stands for kappa, κ, the vector of means for ξ). LK gender indicates that the label of this ksi latent variable is gender. VA 1.0 LX(1,1) assigns a factor loading of value 1.0 to represent the relationship between the observed female variable and the latent gender variable. Thus, by giving female a factor loading (i.e., lambda) value of one and allowing zero residual measurement variance (i.e., by leaving theta-delta as fixed to zero), we establish the gender latent variable as perfectly measured by female. To include the relationships between gender and the latent growth factors, we tell LISREL to set up a gamma matrix with GA=FI. The elements of this matrix that relate gender to the growth factors are then freed with FR GA(1,1) GA(2,1). These correspond to the ga11 and ga21 parameters in the PROC CALIS code given above. Examine the output. Are the relationships between gender and the growth factors the same as you found with SAS? Are the residual variances of the growth factors the same as you found with SAS?

4 Exercise 5: Multiple Group Models 4 Use LISREL to reproduce the multiple-group analysis described in today s lecture. (Unfortunately, multiple-group modeling is not available in PROC CALIS.) Unlike the previous analyses, LISREL can t do this type of analysis by directly reading the text file of raw data. Instead, the input data needs to be separate sets of summary statistics (i.e., covariance matrix and vector of means) for the two groups (i.e., male and female). These statistics are easily produced in SAS, using PROC CORR. Because we need separate means and covariances by gender, we include the by statement in PROC CORR. However, it is important to sort the data by female first: proc sort data=home.math; by female; proc corr cov; by female; var math2-math5; run; The cov option tells SAS to produce the covariance matrix. (Or, alternatively, you could generate them by reading the raw data file into PRELIS; but doing it in SAS and pasting into LISREL is easy enough, if tedious.) The LISREL code to produce the first multiple-group model is on the next page. Note that you can copy-paste the means and covariance matrices directly from the file twogroup.txt.

5 Group 1: Male DA NG=2 NI=4 NO=136 MA=CM CM ME LA math2 math3 math4 math5 MO NY=4 NE=3 LY=FU,FI PS=SY,FR TE=SY,FI AL=FR TY=FI LE int slp quad VA 1.0 LY(1,1) LY(2,1) LY(3,1) LY(4,1) VA 0.0 LY(1,2) LY(1,3) VA 1.0 LY(2,2) LY(2,3) VA 2.0 LY(3,2) VA 3.0 LY(4,2) VA 4.0 LY(3,3) VA 9.0 LY(4,3) FR TE(2,2) TE(3,3) TE(4,4) OU 5 Group 2: Female DA NO=164 CM ME LA math2 math3 math4 math5 MO LY=IN PS=IN TE=SP AL=IN TY=FI LE int slp quad VA 0.0 TE(1,1) OU First, note that there is one set of code for each group, but both are typed into a single syntax file. After the first title ( Group 1: Male ), on the DA line, there is a new specification, NG=2, which tells LISREL that the number of groups is two (instead of the default one). Also on the DA line, note that we have given the male sample size, NO=136. Next, note that the input data for the male group is a covariance matrix (CM), followed by a list of means (ME). What follows is the same code for the quadratic model that we saw yesterday. Next comes the model specification for Group 2: Female. On the DA line, we only need to give the female sample size, NO=164. Then comes the covariance matrix and mean vector for the female group, and the labels of the observed variables. Now, we only need to tell LISREL which parts of the model are the same for the female group and which are different. On the MO line, LY=IN tells LISREL that the female lambda-y matrix is invariant relative to the male lambda-y matrix; thus, the same quadratic functional form of growth is specified for both groups. Similarly, PS=IN means that the psi matrix (variances and covariances among growth factors) is invariant, i.e., the same across groups.

6 6 However, by setting TE=SP, we are allowing the female theta-epsilon matrix (within-person residual variances) to have the same pattern as the male theta-epsilon matrix (i.e., symmetric), but to take on different estimated values. Finally, by setting AL=IN, we are also constraining alpha (the vector of growth factor means) to be equal, or invariant, across groups. (This model specification is actually slightly different from the first two-group model given in the lecture notes. Here, the complete Ψ matrix is constrained to be equal across groups, whereas in the lecture notes, the growth factor variances are equal across groups, but the covariances are not. Also, in the lecture notes, the residual variance for female Grade 5 math is constrained to zero, but not here.) Run the code and inspect the output. Find the mean and variance of the growth factors (intercept, linear component, quadratic component) for the male group and for the female group. Note how there is one chi-square value for the male group and a second chi-square value for the female group, and the sum of these two chi-squares equals the Global chi-square value given toward the end of the output. Record this global chi-square value (and corresponding degrees of freedom). You will need it for the next exercise. Exercise 6 Next, change the code above so that the growth factor means are allowed to vary across groups by changing AL=IN to AL=SP in the female group. Run the code and inspect the output. Be aware that this model specification creates an improper solution (Ψ is nonpositive definite). For the purposes of this exercise, ignore the problem. (But otherwise, it is something that should be fixed.) Again, find the mean and variance of the growth factors (intercept, linear component, quadratic component) for the male group and for the female group. How have these parameter estimates changed? Conduct the chi-square difference test to see whether freeing the factor means significantly improved model fit. Exercise 7 Now, change the code so that the growth factor variances (and covariances) are free to vary across groups. Conduct the chi-square difference test to see whether this modification significantly improved model fit. Exercise 8 Challenge: Following the lecture notes, modify the model specification so that the functional form of growth for females remains quadratic, but becomes linear for males. You will have to introduce several changes to both the alpha and psi matrices! (hint: In the male group, make alpha and psi fixed, and then free individual elements. In the female group, make psi and alpha completely free.)

7 Exercise 9 7 Using either SAS PROC CALIS or LISREL or (even better) both, estimate a conditional linear latent trajectory model for the ALCUSE variable in the alcohol1 data set you analyzed previously using multilevel modeling. Remember that you will need to reformat the data into wide format as described yesterday (unless you were wise enough to save the wide-format data set that you created). Regress the intercept and slope factors on the coa, male, and peer variables simultaneously. Which significantly predicts the intercept and slope factors? If any predictor is related to the slope factor, probe the relationship using methods described previously.

SEM Day 1 Lab Exercises SPIDA 2007 Dave Flora

SEM Day 1 Lab Exercises SPIDA 2007 Dave Flora SEM Day 1 Lab Exercises SPIDA 2007 Dave Flora 1 Today we will see how to estimate CFA models and interpret output using both SAS and LISREL. In SAS, commands for specifying SEMs are given using linear

More information

RESMA course Introduction to LISREL. Harry Ganzeboom RESMA Data Analysis & Report #4 February

RESMA course Introduction to LISREL. Harry Ganzeboom RESMA Data Analysis & Report #4 February RESMA course Introduction to LISREL Harry Ganzeboom RESMA Data Analysis & Report #4 February 17 2009 LISREL SEM: Simultaneous [Structural] Equations Model: A system of linear equations ( causal model )

More information

SC705: Advanced Statistics Instructor: Natasha Sarkisian Class notes: Model Building Strategies

SC705: Advanced Statistics Instructor: Natasha Sarkisian Class notes: Model Building Strategies SC705: Advanced Statistics Instructor: Natasha Sarkisian Class notes: Model Building Strategies Model Diagnostics The model diagnostics and improvement strategies discussed here apply to both measurement

More information

Appendix A (Note: this material is to be place on web, not intended for print version)

Appendix A (Note: this material is to be place on web, not intended for print version) RESIDUAL CENTERING ONLINE APPENDIX 1 Appendix A (Note: this material is to be place on web, not intended for print version) SAS Syntax for Basic Residual Centering PROC IMPORT DATAFI='.\GRADE7.DAT' OUT=BASIC

More information

DATE: 9/ L I S R E L 8.80

DATE: 9/ L I S R E L 8.80 98 LAMPIRAN 3 STRUCTURAL EQUATION MODEL ONE CONGINERIC Use of this program is subject to the terms specified in the Convention. Universal Copyright 9/2017 DATE: 9/ TIME: 20:22 Website: www.ssicentral.com

More information

Preface. List of examples

Preface. List of examples Contents Preface List of examples i xix 1 LISREL models and methods 1 1.1 The general LISREL model 1 Assumptions 2 The covariance matrix of the observations as implied by the LISREL model 3 Fixed, free,

More information

Lecture notes I: Measurement invariance 1

Lecture notes I: Measurement invariance 1 Lecture notes I: Measurement Invariance (RM20; Jelte Wicherts). 1 Lecture notes I: Measurement invariance 1 Literature. Mellenbergh, G. J. (1989). Item bias and item response theory. International Journal

More information

Structural Equation Modeling Lab 5 In Class Modification Indices Example

Structural Equation Modeling Lab 5 In Class Modification Indices Example Structural Equation Modeling Lab 5 In Class Modification Indices Example. Model specifications sntax TI Modification Indices DA NI=0 NO=0 MA=CM RA FI='E:\Teaching\SEM S09\Lab 5\jsp6.psf' SE 7 6 5 / MO

More information

Specifying Latent Curve and Other Growth Models Using Mplus. (Revised )

Specifying Latent Curve and Other Growth Models Using Mplus. (Revised ) Ronald H. Heck 1 University of Hawai i at Mānoa Handout #20 Specifying Latent Curve and Other Growth Models Using Mplus (Revised 12-1-2014) The SEM approach offers a contrasting framework for use in analyzing

More information

Regression without measurement error using proc calis

Regression without measurement error using proc calis Regression without measurement error using proc calis /* calculus2.sas */ options linesize=79 pagesize=500 noovp formdlim='_'; title 'Calculus 2: Regression with no measurement error'; title2 ''; data

More information

UNIVERSITY OF TORONTO MISSISSAUGA April 2009 Examinations STA431H5S Professor Jerry Brunner Duration: 3 hours

UNIVERSITY OF TORONTO MISSISSAUGA April 2009 Examinations STA431H5S Professor Jerry Brunner Duration: 3 hours Name (Print): Student Number: Signature: Last/Surname First /Given Name UNIVERSITY OF TORONTO MISSISSAUGA April 2009 Examinations STA431H5S Professor Jerry Brunner Duration: 3 hours Aids allowed: Calculator

More information

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA Topics: Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA What are MI and DIF? Testing measurement invariance in CFA Testing differential item functioning in IRT/IFA

More information

SAS Example 3: Deliberately create numerical problems

SAS Example 3: Deliberately create numerical problems SAS Example 3: Deliberately create numerical problems Four experiments 1. Try to fit this model, failing the parameter count rule. 2. Set φ 12 =0 to pass the parameter count rule, but still not identifiable.

More information

THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES

THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES I. Specification: A full structural equation model with latent variables consists of two parts: a latent variable model (which specifies the relations

More information

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Multilevel Models in Matrix Form Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Today s Lecture Linear models from a matrix perspective An example of how to do

More information

Instrumental variables regression on the Poverty data

Instrumental variables regression on the Poverty data Instrumental variables regression on the Poverty data /********************** poverty2.sas **************************/ options linesize=79 noovp formdlim='-' nodate; title 'UN Poverty Data: Instrumental

More information

A Re-Introduction to General Linear Models (GLM)

A Re-Introduction to General Linear Models (GLM) A Re-Introduction to General Linear Models (GLM) Today s Class: You do know the GLM Estimation (where the numbers in the output come from): From least squares to restricted maximum likelihood (REML) Reviewing

More information

An Introduction to Path Analysis

An Introduction to Path Analysis An Introduction to Path Analysis PRE 905: Multivariate Analysis Lecture 10: April 15, 2014 PRE 905: Lecture 10 Path Analysis Today s Lecture Path analysis starting with multivariate regression then arriving

More information

The Role of Leader Motivating Language in Employee Absenteeism (Mayfield: 2009)

The Role of Leader Motivating Language in Employee Absenteeism (Mayfield: 2009) DATE: 12/15/2009 TIME: 5:50 Page 1 LISREL 8.80 (STUDENT EDITION) BY Karl G. J reskog & Dag S rbom This program is published exclusively by Scientific Software International, Inc. 7383 N. Lincoln Avenue,

More information

Lab 11. Multilevel Models. Description of Data

Lab 11. Multilevel Models. Description of Data Lab 11 Multilevel Models Henian Chen, M.D., Ph.D. Description of Data MULTILEVEL.TXT is clustered data for 386 women distributed across 40 groups. ID: 386 women, id from 1 to 386, individual level (level

More information

Copyright 2013 The Guilford Press

Copyright 2013 The Guilford Press This is a chapter excerpt from Guilford Publications. Longitudinal Structural Equation Modeling, by Todd D. Little. Copyright 2013. Purchase this book now: www.guilford.com/p/little 7 Multiple-Group Models

More information

Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model

Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 1: August 22, 2012

More information

Longitudinal Data Analysis of Health Outcomes

Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis Workshop Running Example: Days 2 and 3 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development

More information

Simple, Marginal, and Interaction Effects in General Linear Models: Part 1

Simple, Marginal, and Interaction Effects in General Linear Models: Part 1 Simple, Marginal, and Interaction Effects in General Linear Models: Part 1 PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 2: August 24, 2012 PSYC 943: Lecture 2 Today s Class Centering and

More information

Introduction to Machine Learning Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Introduction to Machine Learning Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Introduction to Machine Learning Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Module 2 Lecture 05 Linear Regression Good morning, welcome

More information

Latent Growth Models 1

Latent Growth Models 1 1 We will use the dataset bp3, which has diastolic blood pressure measurements at four time points for 256 patients undergoing three types of blood pressure medication. These are our observed variables:

More information

Path Analysis. PRE 906: Structural Equation Modeling Lecture #5 February 18, PRE 906, SEM: Lecture 5 - Path Analysis

Path Analysis. PRE 906: Structural Equation Modeling Lecture #5 February 18, PRE 906, SEM: Lecture 5 - Path Analysis Path Analysis PRE 906: Structural Equation Modeling Lecture #5 February 18, 2015 PRE 906, SEM: Lecture 5 - Path Analysis Key Questions for Today s Lecture What distinguishes path models from multivariate

More information

An Introduction to Mplus and Path Analysis

An Introduction to Mplus and Path Analysis An Introduction to Mplus and Path Analysis PSYC 943: Fundamentals of Multivariate Modeling Lecture 10: October 30, 2013 PSYC 943: Lecture 10 Today s Lecture Path analysis starting with multivariate regression

More information

Class Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement

Class Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement Class Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement Introduction to Structural Equation Modeling Lecture #1 January 11, 2012 ERSH 8750: Lecture 1 Today s Class Introduction

More information

Lecture 11 Multiple Linear Regression

Lecture 11 Multiple Linear Regression Lecture 11 Multiple Linear Regression STAT 512 Spring 2011 Background Reading KNNL: 6.1-6.5 11-1 Topic Overview Review: Multiple Linear Regression (MLR) Computer Science Case Study 11-2 Multiple Regression

More information

Using Structural Equation Modeling to Conduct Confirmatory Factor Analysis

Using Structural Equation Modeling to Conduct Confirmatory Factor Analysis Using Structural Equation Modeling to Conduct Confirmatory Factor Analysis Advanced Statistics for Researchers Session 3 Dr. Chris Rakes Website: http://csrakes.yolasite.com Email: Rakes@umbc.edu Twitter:

More information

Please note, you CANNOT petition to re-write an examination once the exam has begun. Qn. # Value Score

Please note, you CANNOT petition to re-write an examination once the exam has begun. Qn. # Value Score NAME (PRINT): STUDENT #: Last/Surname First /Given Name SIGNATURE: UNIVERSITY OF TORONTO MISSISSAUGA APRIL 2015 FINAL EXAMINATION STA431H5S Structural Equation Models Jerry Brunner Duration - 3 hours Aids:

More information

Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model

Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model Course Introduction and Overview Descriptive Statistics Conceptualizations of Variance Review of the General Linear Model EPSY 905: Multivariate Analysis Lecture 1 20 January 2016 EPSY 905: Lecture 1 -

More information

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 An Introduction to Multilevel Models PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 Today s Class Concepts in Longitudinal Modeling Between-Person vs. +Within-Person

More information

4. Path Analysis. In the diagram: The technique of path analysis is originated by (American) geneticist Sewell Wright in early 1920.

4. Path Analysis. In the diagram: The technique of path analysis is originated by (American) geneticist Sewell Wright in early 1920. 4. Path Analysis The technique of path analysis is originated by (American) geneticist Sewell Wright in early 1920. The relationships between variables are presented in a path diagram. The system of relationships

More information

STRUCTURAL EQUATION MODELING. Khaled Bedair Statistics Department Virginia Tech LISA, Summer 2013

STRUCTURAL EQUATION MODELING. Khaled Bedair Statistics Department Virginia Tech LISA, Summer 2013 STRUCTURAL EQUATION MODELING Khaled Bedair Statistics Department Virginia Tech LISA, Summer 2013 Introduction: Path analysis Path Analysis is used to estimate a system of equations in which all of the

More information

ADVANCED C. MEASUREMENT INVARIANCE SEM REX B KLINE CONCORDIA

ADVANCED C. MEASUREMENT INVARIANCE SEM REX B KLINE CONCORDIA ADVANCED SEM C. MEASUREMENT INVARIANCE REX B KLINE CONCORDIA C C2 multiple model 2 data sets simultaneous C3 multiple 2 populations 2 occasions 2 methods C4 multiple unstandardized constrain to equal fit

More information

Ron Heck, Fall Week 3: Notes Building a Two-Level Model

Ron Heck, Fall Week 3: Notes Building a Two-Level Model Ron Heck, Fall 2011 1 EDEP 768E: Seminar on Multilevel Modeling rev. 9/6/2011@11:27pm Week 3: Notes Building a Two-Level Model We will build a model to explain student math achievement using student-level

More information

Additional Notes: Investigating a Random Slope. When we have fixed level-1 predictors at level 2 we show them like this:

Additional Notes: Investigating a Random Slope. When we have fixed level-1 predictors at level 2 we show them like this: Ron Heck, Summer 01 Seminars 1 Multilevel Regression Models and Their Applications Seminar Additional Notes: Investigating a Random Slope We can begin with Model 3 and add a Random slope parameter. If

More information

Online Appendices for: Modeling Latent Growth With Multiple Indicators: A Comparison of Three Approaches

Online Appendices for: Modeling Latent Growth With Multiple Indicators: A Comparison of Three Approaches Online Appendices for: Modeling Latent Growth With Multiple Indicators: A Comparison of Three Approaches Jacob Bishop and Christian Geiser Utah State University David A. Cole Vanderbilt University Contents

More information

Investigating Models with Two or Three Categories

Investigating Models with Two or Three Categories Ronald H. Heck and Lynn N. Tabata 1 Investigating Models with Two or Three Categories For the past few weeks we have been working with discriminant analysis. Let s now see what the same sort of model might

More information

Review of CLDP 944: Multilevel Models for Longitudinal Data

Review of CLDP 944: Multilevel Models for Longitudinal Data Review of CLDP 944: Multilevel Models for Longitudinal Data Topics: Review of general MLM concepts and terminology Model comparisons and significance testing Fixed and random effects of time Significance

More information

Confirmatory Factor Analysis: Model comparison, respecification, and more. Psychology 588: Covariance structure and factor models

Confirmatory Factor Analysis: Model comparison, respecification, and more. Psychology 588: Covariance structure and factor models Confirmatory Factor Analysis: Model comparison, respecification, and more Psychology 588: Covariance structure and factor models Model comparison 2 Essentially all goodness of fit indices are descriptive,

More information

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1 CLDP 944 Example 3a page 1 From Between-Person to Within-Person Models for Longitudinal Data The models for this example come from Hoffman (2015) chapter 3 example 3a. We will be examining the extent to

More information

Description Remarks and examples Reference Also see

Description Remarks and examples Reference Also see Title stata.com example 38g Random-intercept and random-slope models (multilevel) Description Remarks and examples Reference Also see Description Below we discuss random-intercept and random-slope models

More information

A Re-Introduction to General Linear Models

A Re-Introduction to General Linear Models A Re-Introduction to General Linear Models Today s Class: Big picture overview Why we are using restricted maximum likelihood within MIXED instead of least squares within GLM Linear model interpretation

More information

CONFIRMATORY FACTOR ANALYSIS

CONFIRMATORY FACTOR ANALYSIS 1 CONFIRMATORY FACTOR ANALYSIS The purpose of confirmatory factor analysis (CFA) is to explain the pattern of associations among a set of observed variables in terms of a smaller number of underlying latent

More information

A Comparison of Linear and Nonlinear Factor Analysis in Examining the Effect of a Calculator Accommodation on Math Performance

A Comparison of Linear and Nonlinear Factor Analysis in Examining the Effect of a Calculator Accommodation on Math Performance University of Connecticut DigitalCommons@UConn NERA Conference Proceedings 2010 Northeastern Educational Research Association (NERA) Annual Conference Fall 10-20-2010 A Comparison of Linear and Nonlinear

More information

Review of the General Linear Model

Review of the General Linear Model Review of the General Linear Model EPSY 905: Multivariate Analysis Online Lecture #2 Learning Objectives Types of distributions: Ø Conditional distributions The General Linear Model Ø Regression Ø Analysis

More information

Walkthrough for Illustrations. Illustration 1

Walkthrough for Illustrations. Illustration 1 Tay, L., Meade, A. W., & Cao, M. (in press). An overview and practical guide to IRT measurement equivalence analysis. Organizational Research Methods. doi: 10.1177/1094428114553062 Walkthrough for Illustrations

More information

Description Remarks and examples Reference Also see

Description Remarks and examples Reference Also see Title stata.com example 20 Two-factor measurement model by group Description Remarks and examples Reference Also see Description Below we demonstrate sem s group() option, which allows fitting models in

More information

STA 431s17 Assignment Eight 1

STA 431s17 Assignment Eight 1 STA 43s7 Assignment Eight The first three questions of this assignment are about how instrumental variables can help with measurement error and omitted variables at the same time; see Lecture slide set

More information

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data Ronald Heck Class Notes: Week 8 1 Class Notes: Week 8 Probit versus Logit Link Functions and Count Data This week we ll take up a couple of issues. The first is working with a probit link function. While

More information

Multiple group models for ordinal variables

Multiple group models for ordinal variables Multiple group models for ordinal variables 1. Introduction In practice, many multivariate data sets consist of observations of ordinal variables rather than continuous variables. Most statistical methods

More information

Online Appendix for Sterba, S.K. (2013). Understanding linkages among mixture models. Multivariate Behavioral Research, 48,

Online Appendix for Sterba, S.K. (2013). Understanding linkages among mixture models. Multivariate Behavioral Research, 48, Online Appendix for, S.K. (2013). Understanding linkages among mixture models. Multivariate Behavioral Research, 48, 775-815. Table of Contents. I. Full presentation of parallel-process groups-based trajectory

More information

Introducing Generalized Linear Models: Logistic Regression

Introducing Generalized Linear Models: Logistic Regression Ron Heck, Summer 2012 Seminars 1 Multilevel Regression Models and Their Applications Seminar Introducing Generalized Linear Models: Logistic Regression The generalized linear model (GLM) represents and

More information

Statistical Distribution Assumptions of General Linear Models

Statistical Distribution Assumptions of General Linear Models Statistical Distribution Assumptions of General Linear Models Applied Multilevel Models for Cross Sectional Data Lecture 4 ICPSR Summer Workshop University of Colorado Boulder Lecture 4: Statistical Distributions

More information

Introduction to Random Effects of Time and Model Estimation

Introduction to Random Effects of Time and Model Estimation Introduction to Random Effects of Time and Model Estimation Today s Class: The Big Picture Multilevel model notation Fixed vs. random effects of time Random intercept vs. random slope models How MLM =

More information

General Linear Model (Chapter 4)

General Linear Model (Chapter 4) General Linear Model (Chapter 4) Outcome variable is considered continuous Simple linear regression Scatterplots OLS is BLUE under basic assumptions MSE estimates residual variance testing regression coefficients

More information

Using Mplus individual residual plots for. diagnostics and model evaluation in SEM

Using Mplus individual residual plots for. diagnostics and model evaluation in SEM Using Mplus individual residual plots for diagnostics and model evaluation in SEM Tihomir Asparouhov and Bengt Muthén Mplus Web Notes: No. 20 October 31, 2017 1 Introduction A variety of plots are available

More information

Application of Ghosh, Grizzle and Sen s Nonparametric Methods in. Longitudinal Studies Using SAS PROC GLM

Application of Ghosh, Grizzle and Sen s Nonparametric Methods in. Longitudinal Studies Using SAS PROC GLM Application of Ghosh, Grizzle and Sen s Nonparametric Methods in Longitudinal Studies Using SAS PROC GLM Chan Zeng and Gary O. Zerbe Department of Preventive Medicine and Biometrics University of Colorado

More information

Ron Heck, Fall Week 8: Introducing Generalized Linear Models: Logistic Regression 1 (Replaces prior revision dated October 20, 2011)

Ron Heck, Fall Week 8: Introducing Generalized Linear Models: Logistic Regression 1 (Replaces prior revision dated October 20, 2011) Ron Heck, Fall 2011 1 EDEP 768E: Seminar in Multilevel Modeling rev. January 3, 2012 (see footnote) Week 8: Introducing Generalized Linear Models: Logistic Regression 1 (Replaces prior revision dated October

More information

Chapter 19 Sir Migo Mendoza

Chapter 19 Sir Migo Mendoza The Linear Regression Chapter 19 Sir Migo Mendoza Linear Regression and the Line of Best Fit Lesson 19.1 Sir Migo Mendoza Question: Once we have a Linear Relationship, what can we do with it? Something

More information

Factor Analysis. Qian-Li Xue

Factor Analysis. Qian-Li Xue Factor Analysis Qian-Li Xue Biostatistics Program Harvard Catalyst The Harvard Clinical & Translational Science Center Short course, October 7, 06 Well-used latent variable models Latent variable scale

More information

A Simulation Paradigm for Evaluating. Approximate Fit. In Latent Variable Modeling.

A Simulation Paradigm for Evaluating. Approximate Fit. In Latent Variable Modeling. A Simulation Paradigm for Evaluating Approximate Fit In Latent Variable Modeling. Roger E. Millsap Arizona State University Talk given at the conference Current topics in the Theory and Application of

More information

Moderation 調節 = 交互作用

Moderation 調節 = 交互作用 Moderation 調節 = 交互作用 Kit-Tai Hau 侯傑泰 JianFang Chang 常建芳 The Chinese University of Hong Kong Based on Marsh, H. W., Hau, K. T., Wen, Z., Nagengast, B., & Morin, A. J. S. (in press). Moderation. In Little,

More information

Describing Change over Time: Adding Linear Trends

Describing Change over Time: Adding Linear Trends Describing Change over Time: Adding Linear Trends Longitudinal Data Analysis Workshop Section 7 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section

More information

Hypothesis Testing for Var-Cov Components

Hypothesis Testing for Var-Cov Components Hypothesis Testing for Var-Cov Components When the specification of coefficients as fixed, random or non-randomly varying is considered, a null hypothesis of the form is considered, where Additional output

More information

Simple, Marginal, and Interaction Effects in General Linear Models

Simple, Marginal, and Interaction Effects in General Linear Models Simple, Marginal, and Interaction Effects in General Linear Models PRE 905: Multivariate Analysis Lecture 3 Today s Class Centering and Coding Predictors Interpreting Parameters in the Model for the Means

More information

Supplementary File 3: Tutorial for ASReml-R. Tutorial 1 (ASReml-R) - Estimating the heritability of birth weight

Supplementary File 3: Tutorial for ASReml-R. Tutorial 1 (ASReml-R) - Estimating the heritability of birth weight Supplementary File 3: Tutorial for ASReml-R Tutorial 1 (ASReml-R) - Estimating the heritability of birth weight This tutorial will demonstrate how to run a univariate animal model using the software ASReml

More information

Introduction to Confirmatory Factor Analysis

Introduction to Confirmatory Factor Analysis Introduction to Confirmatory Factor Analysis Multivariate Methods in Education ERSH 8350 Lecture #12 November 16, 2011 ERSH 8350: Lecture 12 Today s Class An Introduction to: Confirmatory Factor Analysis

More information

Lecture 2. The Simple Linear Regression Model: Matrix Approach

Lecture 2. The Simple Linear Regression Model: Matrix Approach Lecture 2 The Simple Linear Regression Model: Matrix Approach Matrix algebra Matrix representation of simple linear regression model 1 Vectors and Matrices Where it is necessary to consider a distribution

More information

Categorical and Zero Inflated Growth Models

Categorical and Zero Inflated Growth Models Categorical and Zero Inflated Growth Models Alan C. Acock* Summer, 2009 *Alan C. Acock, Department of Human Development and Family Sciences, Oregon State University, Corvallis OR 97331 (alan.acock@oregonstate.edu).

More information

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models EPSY 905: Multivariate Analysis Spring 2016 Lecture #12 April 20, 2016 EPSY 905: RM ANOVA, MANOVA, and Mixed Models

More information

PRESENTATION TITLE. Is my survey biased? The importance of measurement invariance. Yusuke Kuroki Sunny Moon November 9 th, 2017

PRESENTATION TITLE. Is my survey biased? The importance of measurement invariance. Yusuke Kuroki Sunny Moon November 9 th, 2017 PRESENTATION TITLE Is my survey biased? The importance of measurement invariance Yusuke Kuroki Sunny Moon November 9 th, 2017 Measurement Invariance Measurement invariance: the same construct is being

More information

Measuring relationships among multiple responses

Measuring relationships among multiple responses Measuring relationships among multiple responses Linear association (correlation, relatedness, shared information) between pair-wise responses is an important property used in almost all multivariate analyses.

More information

Supplemental Materials. In the main text, we recommend graphing physiological values for individual dyad

Supplemental Materials. In the main text, we recommend graphing physiological values for individual dyad 1 Supplemental Materials Graphing Values for Individual Dyad Members over Time In the main text, we recommend graphing physiological values for individual dyad members over time to aid in the decision

More information

An Introduction to SEM in Mplus

An Introduction to SEM in Mplus An Introduction to SEM in Mplus Ben Kite Saturday Seminar Series Quantitative Training Program Center for Research Methods and Data Analysis Goals Provide an introduction to Mplus Demonstrate Mplus with

More information

Lecture 4 Multiple linear regression

Lecture 4 Multiple linear regression Lecture 4 Multiple linear regression BIOST 515 January 15, 2004 Outline 1 Motivation for the multiple regression model Multiple regression in matrix notation Least squares estimation of model parameters

More information

The use of structural equation modeling to examine consumption of pornographic materials in Chinese adolescents in Hong Kong

The use of structural equation modeling to examine consumption of pornographic materials in Chinese adolescents in Hong Kong The use of structural equation modeling to examine consumption of pornographic materials in Chinese adolescents in Hong Kong Appendix 1 Creating matrices and checking for normality!prelis SYNTAX: Can be

More information

Statistical methods. Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra

Statistical methods. Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra Statistical methods Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra Statistical methods Generating random numbers MATLAB has many built-in functions

More information

Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only)

Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only) CLDP945 Example 7b page 1 Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only) This example comes from real data

More information

Interactions among Continuous Predictors

Interactions among Continuous Predictors Interactions among Continuous Predictors Today s Class: Simple main effects within two-way interactions Conquering TEST/ESTIMATE/LINCOM statements Regions of significance Three-way interactions (and beyond

More information

Systematic error, of course, can produce either an upward or downward bias.

Systematic error, of course, can produce either an upward or downward bias. Brief Overview of LISREL & Related Programs & Techniques (Optional) Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 STRUCTURAL AND MEASUREMENT MODELS:

More information

MLMED. User Guide. Nicholas J. Rockwood The Ohio State University Beta Version May, 2017

MLMED. User Guide. Nicholas J. Rockwood The Ohio State University Beta Version May, 2017 MLMED User Guide Nicholas J. Rockwood The Ohio State University rockwood.19@osu.edu Beta Version May, 2017 MLmed is a computational macro for SPSS that simplifies the fitting of multilevel mediation and

More information

Mathematics Review Exercises. (answers at end)

Mathematics Review Exercises. (answers at end) Brock University Physics 1P21/1P91 Mathematics Review Exercises (answers at end) Work each exercise without using a calculator. 1. Express each number in scientific notation. (a) 437.1 (b) 563, 000 (c)

More information

df=degrees of freedom = n - 1

df=degrees of freedom = n - 1 One sample t-test test of the mean Assumptions: Independent, random samples Approximately normal distribution (from intro class: σ is unknown, need to calculate and use s (sample standard deviation)) Hypotheses:

More information

Answer Key: Problem Set 6

Answer Key: Problem Set 6 : Problem Set 6 1. Consider a linear model to explain monthly beer consumption: beer = + inc + price + educ + female + u 0 1 3 4 E ( u inc, price, educ, female ) = 0 ( u inc price educ female) σ inc var,,,

More information

THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES

THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES THE GENERAL STRUCTURAL EQUATION MODEL WITH LATENT VARIATES I. Specification: A full structural equation model with latent variables consists of two parts: a latent variable model (which specifies the relations

More information

SPSS LAB FILE 1

SPSS LAB FILE  1 SPSS LAB FILE www.mcdtu.wordpress.com 1 www.mcdtu.wordpress.com 2 www.mcdtu.wordpress.com 3 OBJECTIVE 1: Transporation of Data Set to SPSS Editor INPUTS: Files: group1.xlsx, group1.txt PROCEDURE FOLLOWED:

More information

Answer to exercise: Blood pressure lowering drugs

Answer to exercise: Blood pressure lowering drugs Answer to exercise: Blood pressure lowering drugs The data set bloodpressure.txt contains data from a cross-over trial, involving three different formulations of a drug for lowering of blood pressure:

More information

Econometric Modelling Prof. Rudra P. Pradhan Department of Management Indian Institute of Technology, Kharagpur

Econometric Modelling Prof. Rudra P. Pradhan Department of Management Indian Institute of Technology, Kharagpur Econometric Modelling Prof. Rudra P. Pradhan Department of Management Indian Institute of Technology, Kharagpur Module No. # 01 Lecture No. # 28 LOGIT and PROBIT Model Good afternoon, this is doctor Pradhan

More information

In Class Review Exercises Vartanian: SW 540

In Class Review Exercises Vartanian: SW 540 In Class Review Exercises Vartanian: SW 540 1. Given the following output from an OLS model looking at income, what is the slope and intercept for those who are black and those who are not black? b SE

More information

Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 2017, Chicago, Illinois

Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 2017, Chicago, Illinois Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 217, Chicago, Illinois Outline 1. Opportunities and challenges of panel data. a. Data requirements b. Control

More information

SPECIAL TOPICS IN REGRESSION ANALYSIS

SPECIAL TOPICS IN REGRESSION ANALYSIS 1 SPECIAL TOPICS IN REGRESSION ANALYSIS Representing Nominal Scales in Regression Analysis There are several ways in which a set of G qualitative distinctions on some variable of interest can be represented

More information

Some general observations.

Some general observations. Modeling and analyzing data from computer experiments. Some general observations. 1. For simplicity, I assume that all factors (inputs) x1, x2,, xd are quantitative. 2. Because the code always produces

More information

WISE Regression/Correlation Interactive Lab. Introduction to the WISE Correlation/Regression Applet

WISE Regression/Correlation Interactive Lab. Introduction to the WISE Correlation/Regression Applet WISE Regression/Correlation Interactive Lab Introduction to the WISE Correlation/Regression Applet This tutorial focuses on the logic of regression analysis with special attention given to variance components.

More information

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each participant, with the repeated measures entered as separate

More information

Generalized Linear Models for Non-Normal Data

Generalized Linear Models for Non-Normal Data Generalized Linear Models for Non-Normal Data Today s Class: 3 parts of a generalized model Models for binary outcomes Complications for generalized multivariate or multilevel models SPLH 861: Lecture

More information

Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015

Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 This lecture borrows heavily from Duncan s Introduction to Structural

More information