MplusAutomation icon indicating copy to clipboard operation
MplusAutomation copied to clipboard

MLR residual extraction for categorical items

Open michaelhallquist opened this issue 4 years ago • 0 comments

The residual parser cannot extract residuals from MLR-type outputs when items are categorical. The section is rather different:

     UNIVARIATE DISTRIBUTION FIT

     Variable          Observed      Estimated      Residual (Obs.-Est.)    Stand. Residual
     Q16_01
       Category 1        0.021          0.018                  0.003                0.854
       Category 2        0.045          0.044                  0.001                0.222
       Category 3        0.113          0.118                 -0.005               -0.705
       Category 4        0.821          0.820                  0.002                0.178

and

     BIVARIATE DISTRIBUTIONS FIT

     Variable       Variable          Observed     Estimated    Residual (Obs.-Est.)  Stand. Residua
     Q16_01         Q16_02
       Category 1     Category 1        0.005       0.006            -0.001           -0.418
       Category 1     Category 2        0.002       0.003            -0.001           -0.729
       Category 1     Category 3        0.002       0.004            -0.002           -1.602
       Category 1     Category 4        0.002       0.005            -0.003           -2.062
       Category 2     Category 1        0.007       0.012            -0.005           -2.077
       Category 2     Category 2        0.005       0.008            -0.003           -1.373
       Category 2     Category 3        0.005       0.010            -0.006           -2.444
       Category 2     Category 4        0.010       0.014            -0.004           -1.529
       Category 3     Category 1        0.013       0.019            -0.007           -2.225
       Category 3     Category 2        0.017       0.018            -0.001           -0.253
       Category 3     Category 3        0.030       0.030             0.000            0.102
       Category 3     Category 4        0.044       0.051            -0.008           -1.570
       Category 4     Category 1        0.022       0.032            -0.009           -2.373
       Category 4     Category 2        0.032       0.044            -0.012           -2.610
       Category 4     Category 3        0.103       0.115            -0.012           -1.682
       Category 4     Category 4        0.702       0.629             0.073            6.719

MLR_doesnt_work.txt

michaelhallquist avatar Apr 11 '20 15:04 michaelhallquist