UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

Mplus Textbook Examples
Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence
by Judith D. Singer and John B. Willett
Chapter 5:  Treating time more flexibly


Supplement 5.1 - Relaxing assumption of equality of variances across time.

This example uses the data file reading.datAGEGRPi-6.5 is used as a temporal predictor, called cagegrpi (i.e., cagegrp1, cagegrp2 and cagegrp3).  These were created before making the data file.

Title: 
  Table 5.2, Model A.
Data:  
  File is G:\currdata\alda\reading.dat ;
Variable: 
  Names are 
     id agegrp1 agegrp2 agegrp3 age1 age2 age3 piat1 piat2 piat3 cage1
     cage2 cage3 cagegrp1 cagegrp2 cagegrp3;
  Missing are all (-999999999) ; 
  Usevariables are
     piat1 piat2 piat3 cagegrp1 cagegrp2 cagegrp3;
  Tscores cagegrp1-cagegrp3 ;
Analysis: 
  Type = random ;
  estimator = ml;
Model:
  i s | piat1-piat3 at cagegrp1-cagegrp3 ;
  i with s;
  ! piat1-piat3 (1) ; ! By commenting this line, the variances are not constrained to be
                      ! the same across the 3 time points.  
------------------------------------------------------------------------------------------------
TESTS OF MODEL FIT

Loglikelihood
          H0 Value                        -906.176
Information Criteria
          Number of Free Parameters              8
          Akaike (AIC)                    1828.353
          Bayesian (BIC)                  1848.262
          Sample-Size Adjusted BIC        1823.015
            (n* = (n + 2) / 24)
MODEL RESULTS
                   Estimates     S.E.  Est./S.E.
 I        WITH
    S                 -3.156    2.644     -1.193
 Means
    I                 20.772    0.610     34.077
    S                  5.053    0.305     16.551 Intercepts
    PIAT1              0.000    0.000      0.000
    PIAT2              0.000    0.000      0.000
    PIAT3              0.000    0.000      0.000
 Variances
    I                 24.024    8.484      2.832
    S                  6.587    1.613      4.084
 Residual Variances
    PIAT1              7.279    7.920      0.919
    PIAT2             36.044    6.954      5.183
    PIAT3             11.791   15.240      0.774

How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California