R Under development (unstable) (2023-07-17 r84702 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(IRTest) Thank you for using IRTest! Please cite the package as: Li, S. (2022). IRTest: Parameter estimation of item response theory with estimation of latent distribution (Version 1.0.0). R package. URL: https://CRAN.R-project.org/package=IRTest > > test_check("IRTest") Method = N, EM cycle = 1, Max-Change = 1.62731198346322 Method = N, EM cycle = 2, Max-Change = 0.118017495160595 Method = N, EM cycle = 1, Max-Change = 1.62731198346322 Method = N, EM cycle = 2, Max-Change = 0.118017495160595 Method = N, EM cycle = 1, Max-Change = 1.45598304965641 Method = N, EM cycle = 2, Max-Change = 0.168534075555801 Method = N, EM cycle = 1, Max-Change = 1.18398440980515 Method = N, EM cycle = 2, Max-Change = 2.79510007416985 Method = EHM, EM cycle = 1, Max-Change = 1.62731198346322 Method = EHM, EM cycle = 2, Max-Change = 0.119115668392686 Method = 2NM, EM cycle = 1, Max-Change = 1.62849136889456 Method = 2NM, EM cycle = 2, Max-Change = 0.118477387717885 Method = KDE, EM cycle = 1, Max-Change = 1.62731198346322 Method = KDE, EM cycle = 2, Max-Change = 0.121338364764018 Method = DC, EM cycle = 1, Max-Change = 1.62731198346322 Method = DC, EM cycle = 2, Max-Change = 0.118592396947372 Method = 2NM, EM cycle = 1, Max-Change = 0 Method = N, EM cycle = 1, Max-Change = 1.26684089050027 Method = N, EM cycle = 2, Max-Change = 0.312289481957458 Method = EHM, EM cycle = 1, Max-Change = 1.26684089050027 Method = EHM, EM cycle = 2, Max-Change = 0.29347246700301 Method = 2NM, EM cycle = 1, Max-Change = 1.26684089050027 Method = 2NM, EM cycle = 2, Max-Change = 0.312289481957458 Method = KDE, EM cycle = 1, Max-Change = 1.26684089050027 Method = KDE, EM cycle = 2, Max-Change = 0.292602687817502 Method = DC, EM cycle = 1, Max-Change = 1.26684089050027 Method = DC, EM cycle = 2, Max-Change = 0.311824456082362 Method = N, EM cycle = 1, Max-Change = 1.02814492975939 Method = N, EM cycle = 2, Max-Change = 0.253581110312634 Method = EHM, EM cycle = 1, Max-Change = 1.02814492975939 Method = EHM, EM cycle = 2, Max-Change = 0.275124946207597 Method = 2NM, EM cycle = 1, Max-Change = 1.02820432989481 Method = 2NM, EM cycle = 2, Max-Change = 0.267603621212512 Method = KDE, EM cycle = 1, Max-Change = 1.02814492975939 Method = KDE, EM cycle = 2, Max-Change = 0.266194772178014 Method = DC, EM cycle = 1, Max-Change = 1.02814492975939 Method = DC, EM cycle = 2, Max-Change = 0.272027646605761 Method = DC, EM cycle = 1, Max-Change = -Inf Method = EHM, EM cycle = 1, Max-Change = 1.62731198346322 Method = EHM, EM cycle = 2, Max-Change = 0.119115668392686 Method = 2NM, EM cycle = 1, Max-Change = 1.62849136889456 Method = 2NM, EM cycle = 2, Max-Change = 0.118477387717885 Method = N, EM cycle = 1, Max-Change = 1.62731198346322 Method = N, EM cycle = 2, Max-Change = 0.118017495160595Latent distribution is always normal distribution if "latent_dist = "Normal"" Method = EHM, EM cycle = 1, Max-Change = 1.30253457304149 Method = EHM, EM cycle = 2, Max-Change = 2.45550938517166Convergence: Convergence failed. The Latent Distribution Estimation Method: EHM Class: dich For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 1e-04 within 2 iterations. Model Fit: deviance 5546.448 AIC 5820.448 BIC 6397.85 The Number of Parameters: item 18 dist 119 total 137 The Number of Items: dichotomous 9 polyotomous 0 The Estimated Latent Distribution: method - EHM ---------------------------------------- . @ . . @ @ @ @ @ . . @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = 2NM, EM cycle = 1, Max-Change = 1.49504443299642 Method = 2NM, EM cycle = 2, Max-Change = 0.108263240914172Convergence: Convergence failed. The Latent Distribution Estimation Method: 2NM Class: dich For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 1e-04 within 2 iterations. Model Fit: deviance 5333.54 AIC 5359.54 BIC 5414.33 The Number of Parameters: item 10 dist 3 total 13 The Number of Items: dichotomous 9 polyotomous 0 The Estimated Latent Distribution: method - 2NM ---------------------------------------- . @ . . @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = N, EM cycle = 1, Max-Change = 1.49424303036809 Method = N, EM cycle = 2, Max-Change = 0.109452785694949 Method = N, EM cycle = 3, Max-Change = 0.0148087724359895 Method = N, EM cycle = 4, Max-Change = 0.00732154608208768 Method = N, EM cycle = 5, Max-Change = 0.00457043340216887 Method = N, EM cycle = 6, Max-Change = 0.00286083751341193 Method = N, EM cycle = 7, Max-Change = 0.00179064761512185 Method = N, EM cycle = 8, Max-Change = 0.00112079947869555 Method = N, EM cycle = 9, Max-Change = 0.000701531144467846Convergence: Successfully converged. The Latent Distribution Estimation Method: N Class: dich For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Successfully converged below the threshold of 0.001 on 9th iterations. Model Fit: deviance 5331.689 AIC 5351.689 BIC 5393.835 The Number of Parameters: item 10 dist 0 total 10 The Number of Items: dichotomous 9 polyotomous 0 The Estimated Latent Distribution: method - N ---------------------------------------- . . . @ @ @ @ @ . @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = KDE, EM cycle = 1, Max-Change = 1.49424303036809 Method = KDE, EM cycle = 2, Max-Change = 0.110057701334695Convergence: Convergence failed. The Latent Distribution Estimation Method: KDE Class: dich For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 1e-04 within 2 iterations. Model Fit: deviance 5333.138 AIC 5355.138 BIC 5401.499 The Number of Parameters: item 10 dist 1 total 11 The Number of Items: dichotomous 9 polyotomous 0 The Estimated Latent Distribution: method - KDE ---------------------------------------- . . . @ @ @ @ . . @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = DC, EM cycle = 1, Max-Change = 1.49424303036809 Method = DC, EM cycle = 2, Max-Change = 0.110065455368774Convergence: Convergence failed. The Latent Distribution Estimation Method: DC Class: dich For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 1e-04 within 2 iterations. Model Fit: deviance 5332.153 AIC 5358.153 BIC 5412.943 The Number of Parameters: item 10 dist 3 total 13 The Number of Items: dichotomous 9 polyotomous 0 The Estimated Latent Distribution: method - DC ---------------------------------------- . . . @ @ @ @ @ . @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ . @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = N, EM cycle = 1, Max-Change = 1.02814492975939 Method = N, EM cycle = 2, Max-Change = 0.253581110312634Convergence: Convergence failed. The Latent Distribution Estimation Method: N Class: poly For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 0.001 within 2 iterations. Model Fit: deviance 10287.54 AIC 10387.54 BIC 10598.27 The Number of Parameters: item 50 dist 0 total 50 The Number of Items: dichotomous 0 polyotomous 10 The Estimated Latent Distribution: method - N ---------------------------------------- . . . @ @ @ @ @ . @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 Method = N, EM cycle = 1, Max-Change = 1.26684089050027 Method = N, EM cycle = 2, Max-Change = 0.312289481957458Convergence: Convergence failed. The Latent Distribution Estimation Method: N Class: mix For more information; Use 1) "$" sign to directly access to the elements and/or 2) "summary" function for briefly summarized results. Convergence: Convergence failed to meet the threshold of 0.001 within 2 iterations. Model Fit: deviance 1824173 AIC 1824213 BIC 1824311 The Number of Parameters: item 20 dist 0 total 20 The Number of Items: dichotomous 5 polyotomous 5 The Estimated Latent Distribution: method - N ---------------------------------------- . . . @ @ @ @ @ . @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . +---------+---------+---------+---------+ -2 -1 0 1 2 [ FAIL 0 | WARN 19 | SKIP 1 | PASS 56 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-summary_n_print.R:1:1' [ FAIL 0 | WARN 19 | SKIP 1 | PASS 56 ] > > proc.time() user system elapsed 8.64 1.31 9.95