The Mplus modelling framework

Similar documents
CHAPTER 18 OUTPUT, SAVEDATA, AND PLOT COMMANDS

CHAPTER 11 EXAMPLES: MISSING DATA MODELING AND BAYESIAN ANALYSIS

CHAPTER 13 EXAMPLES: SPECIAL FEATURES

CHAPTER 16 ANALYSIS COMMAND

CHAPTER 7 EXAMPLES: MIXTURE MODELING WITH CROSS- SECTIONAL DATA

Study Guide. Module 1. Key Terms

Introduction to Mplus

Binary IFA-IRT Models in Mplus version 7.11

Generalized least squares (GLS) estimates of the level-2 coefficients,

PSY 9556B (Jan8) Design Issues and Missing Data Continued Examples of Simulations for Projects

CHAPTER 1 INTRODUCTION

Performance of Latent Growth Curve Models with Binary Variables

Appendices for Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus. Tihomir Asparouhov and Bengt Muthén

Last updated January 4, 2012

STATISTICS FOR PSYCHOLOGISTS

Comparison of computational methods for high dimensional item factor analysis

Introduction to Factor Analysis for Marketing

MODERN FACTOR ANALYSIS

Multiple Imputation with Mplus

LISREL 10.1 RELEASE NOTES 2 1 BACKGROUND 2 2 MULTIPLE GROUP ANALYSES USING A SINGLE DATA FILE 2

How to run a multiple indicator RI-CLPM with Mplus

1 SIMPLIS Syntax... 3

A Beginner's Guide to. Randall E. Schumacker. The University of Alabama. Richard G. Lomax. The Ohio State University. Routledge

THE ANALYSIS OF CONTINUOUS DATA FROM MULTIPLE GROUPS

STATA November 2000 BULLETIN ApublicationtopromotecommunicationamongStatausers

Introduction to Mixed Models: Multivariate Regression

PSY 9556B (Feb 5) Latent Growth Modeling

Missing Data Missing Data Methods in ML Multiple Imputation

Supplementary Notes on Multiple Imputation. Stephen du Toit and Gerhard Mels Scientific Software International

ANNOUNCING THE RELEASE OF LISREL VERSION BACKGROUND 2 COMBINING LISREL AND PRELIS FUNCTIONALITY 2 FIML FOR ORDINAL AND CONTINUOUS VARIABLES 3

Estimating DCMs Using Mplus. Chapter 9 Example Data

Assignments Fill out this form to do the assignments or see your scores.

Brief Guide on Using SPSS 10.0

CHAPTER 12 ASDA ANALYSIS EXAMPLES REPLICATION-MPLUS 5.21 GENERAL NOTES ABOUT ANALYSIS EXAMPLES REPLICATION

Estimation of Item Response Models

Estimation of a hierarchical Exploratory Structural Equation Model (ESEM) using ESEMwithin-CFA

Using HLM for Presenting Meta Analysis Results. R, C, Gardner Department of Psychology

PRI Workshop Introduction to AMOS

Monte Carlo 1. Appendix A

SAS Structural Equation Modeling 1.3 for JMP

Introduction. About this Document. What is SPSS. ohow to get SPSS. oopening Data

Motivating Example. Missing Data Theory. An Introduction to Multiple Imputation and its Application. Background

Implementing a Simulation Study Using Multiple Software Packages for Structural Equation Modeling

lavaan: an R package for structural equation modeling

Minitab 17 commands Prepared by Jeffrey S. Simonoff

Our Strategy for Learning Fortran 90

can be used when running the LCVSEM macro from other macros to control the notes generated in the log area

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition

Package EFAutilities

Subset Selection in Multiple Regression

lavaan: an R package for structural equation modeling and more Version (BETA)

Using Mplus Monte Carlo Simulations In Practice: A Note On Non-Normal Missing Data In Latent Variable Models

Chapter 1. Using the Cluster Analysis. Background Information

Example Using Missing Data 1

Quick Start Guide Jacob Stolk PhD Simone Stolk MPH November 2018

Also, for all analyses, two other files are produced upon program completion.

Excel Assignment 4: Correlation and Linear Regression (Office 2016 Version)

JMP Chong Ho

Predict Outcomes and Reveal Relationships in Categorical Data

MODELING FORCED-CHOICE DATA USING MPLUS 1

An introduction to SPSS

Minitab detailed

1 DATA PREPARATION BILOG-MG File menu Edit menu Setup menu Data menu...

Mplus Short Courses Topic 8. Multilevel Modeling With Latent Variables Using Mplus: Longitudinal Analysis

TABEL DISTRIBUSI DAN HUBUNGAN LENGKUNG RAHANG DAN INDEKS FASIAL N MIN MAX MEAN SD

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands.

WebSEM: Structural Equation Modeling Online

Math 263 Excel Assignment 3

Bivariate (Simple) Regression Analysis

Multiple imputation using chained equations: Issues and guidance for practice

Dr. Barbara Morgan Quantitative Methods

About Me. Mplus: A Tutorial. Today. Contacting Me. Today. Today. Hands-on training. Intermediate functions

Show how the LG-Syntax can be generated from a GUI model. Modify the LG-Equations to specify a different LC regression model

Unified Visualizations of Structural Equation Models

Mplus: A Tutorial. About Me

Minitab Study Card J ENNIFER L EWIS P RIESTLEY, PH.D.

The lavaan tutorial. Yves Rosseel Department of Data Analysis Ghent University (Belgium) December 18, 2017

SEM 1: Confirmatory Factor Analysis

NCSS Statistical Software. Robust Regression

SEM 1: Confirmatory Factor Analysis

Conducting a Path Analysis With SPSS/AMOS

SEM 1: Confirmatory Factor Analysis

Latent Variable Modeling Using Mplus: Day 1

GETTING STARTED WITH THE STUDENT EDITION OF LISREL 8.51 FOR WINDOWS

A Simple Guide to Using SPSS (Statistical Package for the. Introduction. Steps for Analyzing Data. Social Sciences) for Windows

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures

CHAPTER 2. GENERAL PROGRAM STRUCTURE

Correctly Compute Complex Samples Statistics

Excel 2010 with XLSTAT

1 Introduction Motivation and Aims Functional Imaging Computational Neuroanatomy... 12

Correctly Compute Complex Samples Statistics

Applied Regression Modeling: A Business Approach

Chapter 1 Introduction. Chapter Contents

Ronald H. Heck 1 EDEP 606 (F2015): Multivariate Methods rev. November 16, 2015 The University of Hawai i at Mānoa

Introduction to Practical Bayesian Data Analysis

- 1 - Fig. A5.1 Missing value analysis dialog box

Statistical Package for the Social Sciences INTRODUCTION TO SPSS SPSS for Windows Version 16.0: Its first version in 1968 In 1975.

Using the DATAMINE Program

Mplus Short Courses Topic 8. Multilevel Modeling With Latent Variables Using Mplus: Longitudinal Analysis

Objectives. Chapter 2: Basic Elements of C++ Introduction. Objectives (cont d.) A C++ Program (cont d.) A C++ Program

Transcription:

The Mplus modelling framework Continuous variables Categorical variables 1

Mplus syntax structure TITLE: a title for the analysis (not part of the syntax) DATA: (required) information about the data set VARIABLE: (required) information about the variables in the data set DEFINE: transform existing variables and create new variables ANALYSIS: technical details of the analysis MODEL: describe the model to be estimated OUTPUT: request additional output SAVEDATA: save the analysis data, auxiliary data, and results PLOT: request graphical displays of observed data and results MONTECARLO: details of a simulation study 2

Some conventions Order of syntax sections can be any The records in the input setup must be no longer than 90 characters Each command finishes with ; Not case sensitive (but capital letters are often used for readability) A comment is anything followed by an exclamation mark, like this! This is a comment Clever with expanding names: item1-item100 is understood to be item1 item2 item100 3

Data files Individual data (default) Data must be in external ASCII file No more than 500 variables The maximum record length is 5000 Each case starts on new line Free format (default) Data values separated by <tab> <space> or comma Note: do not use blanks to indicate missing values, or commas to indicate decimal points! Fixed format (FORTRAN-like, e.g. 5F4.0, 10x, 6F1.0;) Matrix input Sequence is means, standard deviations, correlations Default is lower triangle only for correlations 4

DATA command (basic) DATA: FILE IS filename; full path or just name if in the same folder, in if contains spaces FORMAT IS 5F4.0, 10x, 6F1.0; not needed if free TYPE IS covariance; Or corr, or means etc. not needed if individual NOBSERVATIONS ARE 581; only needed for summary data With summary data means come first, then SDs, and then entries of the lower triangular correlation matrix Note that IS, ARE and = can be used interchangeably (apart from using = in arithmetic operations) 5

VARIABLE command VARIABLE: NAMES ARE names of variables in the data set USEVARIABLES ARE names of analysis variables; default is all variables in NAMES USEOBSERVATIONS ARE conditional statement to select observations, default is all MISSING ARE variable (#); or. ; * ; BLANK; And many more commands declaring type of variables, e.g. CATEGORICAL ARE binary and ordinal dependent variables; 6

ANALYSIS command ANALYSIS: TYPE = GENERAL; (default, classical SEM) BASIC; (compute basic statistics) MEANSTRUCTURE; (default, models with means) MISSING, H1; (default, MAR analysis incomplete data) COMPLEX; (complex data) EFA; (exploratory factor analysis) Combinations apply, e.g. TYPE = COMPLEX MISSING; ESTIMATOR = Choice of estimator depends on type of data and model Usually Maximum Likelihood (ML) or robust ML (MLR/MLM/MLMV) Also limited information ULS or DWLS (in Mplus ULSMV, WLS, WLSM, WLSMV) Bayes 7

ANALYSIS command (EFA) ANALYSIS: TYPE = EFA # #; ROTATION = GEOMIN;! (OBLIQUE) - default or (ORTHOGONAL) QUARTIMIN!oblique only CF-VARIMAX CF-QUARTIMAX CF-EQUAMAX CF-PARSIMAX CF-FACPARSIM CRAWFER OBLIMIN PROMAX!oblique only VARIMAX!orthogonal only TARGET 8

MODEL command MODEL: <specification> This is where the SEM model is specified Important keywords are BY, ON, WITH <factor> Measured BY <indicator> <outcome> Regressed ON <predictor> <(latent) variable> Correlated WITH <(latent) variable> @ fix parameter (specify a constraint) * free up parameter (if previously constrained) 9

Example CFA syntax TITLE: CFA of Thurstone s correlation matrix DATA: FILE IS THURSTONE.dat; TYPE IS CORRELATION; NOBSERVATIONS = 215; VARIABLE: NAMES ARE subtest1-subtest9; ANALYSIS:!defaults are ok MODEL: test1 BY subtest1-subtest3*; test2 BY subtest4-subtest6*; test3 BY subtest7-subtest9*; test1-test3@1; OUTPUT: RES; PLOT: TYPE=PLOT2; 10

OUTPUT command OUTPUT: SAMPSTAT; (sample statistics) STANDARDIZED; (standardized solution) RESIDUAL; (residuals) MODINDICES; (modification indices > 10) MODINDICES (#); (modification indices > #) CINTERVAL; (confidence interval) CINTERVAL (BOOTSTRAP / BCBOOTSTRAP); FSCOEFFICIENT; (factor score coefficients) TECH#; (various technical outputs, often used for finding problems) 11

Modification Indices Useful to guide modification of the model Modification index (M.I.) is the value by which chi-square will drop if the parameter currently fixed or constrained was freely estimated To request modification indices OUTPUT: MOD (<min.value>); E.P.C. is expected parameter change index Expected value of the parameter if it was freely estimated 12