Mplus VERSION 8
MUTHEN & MUTHEN
04/26/2018   5:58 AM

INPUT INSTRUCTIONS



  TITLE: Homework Achievement Latent curve in regression line?

  DATA:
    FILE IS HW latent 8-12.dat;
  VARIABLE:
       MISSING ARE ALL (-999);
           NAMES ARE
       bytxrstd
       bytxmstd
       bytxsstd
       bytxhstd
       parocc
       HW_10
       HW_12
       eng_12
       math_12
       sci_12
       ss_12
       Female
       byfaminc
       bypared
       Minority;



  USEVARIABLES ARE
      Minority
      BYPARED	
      BYFAMINC	
      PAROCC	
      BYTXRSTD	
      BYTXMSTD	
      BYTXSSTD	
      BYTXHSTD	
      HW_10	
      HW_12	
      ENG_12	
      MATH_12	
      SCI_12	
      SS_12;

  ANALYSIS:
      TYPE=RANDOM;
      ALGORITHM=INTEGRATION;

  MODEL:


      FAMBACK BY
          PAROCC
          BYPARED	
          BYFAMINC;	

      PREVACH BY
          BYTXRSTD	
          BYTXMSTD	
          BYTXSSTD	
          BYTXHSTD;	

      HW BY
          HW_10
          HW_12;	

      GRADES BY
          ENG_12	
          MATH_12	
          SCI_12	
          SS_12;

      BYTXRSTD	WITH ENG_12;
      BYTXMSTD	WITH MATH_12;	
      BYTXSSTD	WITH SCI_12;
      BYTXHSTD	WITH SS_12;	
      Minority    WITH FAMBACK;

      PREVACH ON FAMBACK Minority;
      GRADES ON PREVACH HW;
      HW ON PREVACH FAMBACK Minority;
      HW_Sq | HW XWITH HW;
      GRADES on HW_Sq;

      HW WITH HW_Sq;

  OUTPUT:  SAMPSTAT STDYX RESIDUAL TECH1 TECH8;


*** ERROR in MODEL command
  An interaction variable defined using XWITH can be used only on the
  right-hand side of an ON statement.
  Invalid reference in a WITH statement: HW_SQ


MUTHEN & MUTHEN
3463 Stoner Ave.
Los Angeles, CA  90066

Tel: (310) 391-9971
Fax: (310) 391-8971
Web: www.StatModel.com
Support: Support@StatModel.com

Copyright (c) 1998-2017 Muthen & Muthen
