A Two-Factor Structural Model: Bullying Victimazation Predicts Alcohol Use

A Two-Factor Structural Model: Bullying Victimazation Predicts Alcohol Use
Tags:

2019-02-06
Abstract:
Table of Contents
1 The lavaan Example
2 TITLE Command
TITLE: Example 7 Health Behavior in School Children A Two-Factor Structural Model with Continuous Data using MLR with Listwise Deletion Bulling Victimization Predicts Alcohol Use;
3 DATA Command
DATA: FILE IS "../../../data/hbsc-subset2/hbsc-subset2.dat"; LISTWISE = ON;
4 VARIABLE Command
VARIABLE: NAMES ARE stud_id schl_id Gender Age Grade body1r body2 body3r body4 body5r phyhlth1 phyhlth2 phyhlth3 phyhlth4 phyhlth5 phyhlth6 phyhlth7 phyhlth8 Depress1 Depress2 Depress3 Depress4 Depress5 Depress6 Bullied1 Bullied2 Bullied3 Bullied4 Bullied5 Bullied6 Bullied7 Bullied8 Bullied9 Bullier1 Bullier2 Bullier3 Bullier4 Bullier5 Bullier6 Bullier7 Bullier8 Bullier9 Alc1 Alc2 Alc3 Alc4 Alc5; USEVARIABLES ARE Bullied1-Bullied9 Alc1-Alc5 Depress1-Depress6; USEOBSERVATIONS ARE (Grade == 6 OR Grade == 7); MISSING ARE all(-999);
5 ANALYSIS Command
ANALYSIS: ESTIMATOR = MLR;
6 MODEL Command
MODEL: Bullied BY Bullied1* Bullied2 Bullied3 Bullied4 Bullied5 Bullied6 Bullied7 Bullied8 Bullied9; Bullied@1.0; Alcohol BY Alc1* Alc2 Alc3 Alc4 Alc5; Alcohol@1.0; Alcohol ON Bullied;
7 OUTPUT Command
OUTPUT: SAMPSTAT; TECH1; STANDARDIZED;
8 Run the Model
mplus sem-01-mlr-listwise.inp
Mplus VERSION 8.2 (Linux) MUTHEN & MUTHEN Running input file 'sem-01-mlr-listwise.inp'... Beginning Time: 09:23:51 Ending Time: 09:23:52 Elapsed Time: 00:00:01 Refer to 'sem-01-mlr-listwise.out' for warning(s).
9 Review the Results
Click sem-01-mlr-listwise.out to see the output.