Skip to contents

Show the model results

Usage

mplus.print.model.results(file, invariance = 0)

Arguments

file

the quoted name of an existing H5 file

invariance

model invariance

* `0`: (the default): not invariance model

* `1`: configural invariance

* `2`: metric invariance

* `3`: scalar invariance

Value

A data frame containing the model results

Examples


ex3_1 <- system.file("extdata", "ex3_1.h5", package = "mplush5")
results <- mplus.print.model.results(ex3_1)
results
#>              Section Statement  Estimate       S.E. Estimate/S.E.
#> 1                     Y1 ON X1 0.9694732 0.04150770      23.35646
#> 2                     Y1 ON X3 0.6490355 0.04437483      14.62621
#> 3         Intercepts        Y1 0.5109621 0.04342922      11.76540
#> 4 Residual Variances        Y1 0.9412942 0.05953521      15.81072
#>   Two-Tailed P-Value
#> 1                  0
#> 2                  0
#> 3                  0
#> 4                  0
ex5_5 <- system.file("extdata", "ex5_5.h5", package = "mplush5")
results <- mplus.print.model.results(ex5_5)
results
#>       Section Statement   Estimate       S.E. Estimate/S.E. Two-Tailed P-Value
#> 1               F BY U1  1.0255562 0.15182590      6.754817       1.430167e-11
#> 2               F BY U2  1.0618978 0.15662956      6.779677       1.204459e-11
#> 3               F BY U3  0.9162195 0.14133750      6.482494       9.021872e-11
#> 4               F BY U4  1.1551850 0.16066955      7.189819       6.488143e-13
#> 5               F BY U5  0.9798059 0.15140507      6.471421       9.708567e-11
#> 6               F BY U6  0.5185789 0.12065119      4.298167       1.722166e-05
#> 7               F BY U7  1.1276879 0.15916419      7.085061       1.389777e-12
#> 8               F BY U8  1.0433395 0.14799158      7.049992       1.789235e-12
#> 9               F BY U9  1.0207464 0.14950831      6.827355       8.649526e-12
#> 10             F BY U10  0.9689941 0.14140780      6.852479       7.257972e-12
#> 11             F BY U11  1.2351886 0.16504678      7.483870       7.216450e-14
#> 12             F BY U12  0.9815799 0.14759488      6.650501       2.920975e-11
#> 13             F BY U13  1.0067405 0.14590824      6.899819       5.206946e-12
#> 14             F BY U14  0.7595108 0.12680639      5.989531       2.104470e-09
#> 15             F BY U15  0.7913234 0.12756564      6.203264       5.530387e-10
#> 16             F BY U16  0.9499195 0.14095210      6.739307       1.591438e-11
#> 17             F BY U17  1.1443266 0.16074613      7.118844       1.088463e-12
#> 18             F BY U18  1.1250384 0.15363531      7.322785       2.429168e-13
#> 19             F BY U19  0.7808563 0.13141532      5.941897       2.817426e-09
#> 20             F BY U20  1.0942031 0.15148200      7.223321       5.073719e-13
#> 21 Thresholds      U1$1 -0.3682258 0.11086653     -3.321343       8.958546e-04
#> 22 Thresholds      U2$1 -0.4431183 0.11358640     -3.901156       9.573436e-05
#> 23 Thresholds      U3$1 -0.3266692 0.10706556     -3.051114       2.279943e-03
#> 24 Thresholds      U4$1 -0.3330125 0.11542539     -2.885088       3.913037e-03
#> 25 Thresholds      U5$1 -0.4414096 0.11102904     -3.975623       7.019522e-05
#> 26 Thresholds      U6$1 -0.4317245 0.09753528     -4.426342       9.584431e-06
#> 27 Thresholds      U7$1 -0.4527805 0.11544023     -3.922208       8.774126e-05
#> 28 Thresholds      U8$1 -0.4203759 0.11158919     -3.767174       1.651059e-04
#> 29 Thresholds      U9$1 -0.4372447 0.11185864     -3.908904       9.271586e-05
#> 30 Thresholds     U10$1 -0.4497482 0.11017483     -4.082132       4.462437e-05
#> 31 Thresholds     U11$1  0.5934653 0.12190475      4.868270       1.125795e-06
#> 32 Thresholds     U12$1  0.5519968 0.11212360      4.923110       8.517954e-07
#> 33 Thresholds     U13$1  0.4649681 0.11141099      4.173450       3.000222e-05
#> 34 Thresholds     U14$1  0.2782835 0.10201589      2.727844       6.374970e-03
#> 35 Thresholds     U15$1  0.2804354 0.10288785      2.725642       6.417657e-03
#> 36 Thresholds     U16$1  0.3988353 0.10873766      3.667867       2.445824e-04
#> 37 Thresholds     U17$1  0.5993126 0.11864100      5.051479       4.384014e-07
#> 38 Thresholds     U18$1  0.4598739 0.11587387      3.968746       7.225193e-05
#> 39 Thresholds     U19$1  0.6584928 0.10760006      6.119818       9.368217e-10
#> 40 Thresholds     U20$1  0.4764680 0.11480919      4.150086       3.323505e-05
#> 41  Variances         F  1.0000000 0.00000000    999.000000       9.990000e+02