wjakethompson / measr

R package for the Bayesian estimation of diagnostic classification models using Stan
https://measr.info
GNU General Public License v3.0
8 stars 3 forks source link

Add model fit functionality #9

Closed wjakethompson closed 1 year ago

wjakethompson commented 1 year ago

Add M2 and PPMC functionality.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 97.40% and project coverage change: +3.13 :tada:

Comparison is base (b4ad6a5) 93.62% compared to head (da92e50) 96.75%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9 +/- ## ========================================== + Coverage 93.62% 96.75% +3.13% ========================================== Files 20 24 +4 Lines 1381 1851 +470 ========================================== + Hits 1293 1791 +498 + Misses 88 60 -28 ``` | [Impacted Files](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) | Coverage Δ | | |---|---|---| | [R/fit-dcm.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9maXQtZGNtLlI=) | `89.83% <0.00%> (-0.34%)` | :arrow_down: | | [R/measrfit-class.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9tZWFzcmZpdC1jbGFzcy5S) | `100.00% <ø> (ø)` | | | [R/methods.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9tZXRob2RzLlI=) | `98.43% <ø> (ø)` | | | [R/priors.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9wcmlvcnMuUg==) | `100.00% <ø> (ø)` | | | [R/reliability.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9yZWxpYWJpbGl0eS5S) | `99.20% <ø> (ø)` | | | [R/utils-fit.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui91dGlscy1maXQuUg==) | `47.69% <0.00%> (+3.57%)` | :arrow_up: | | [R/model-evaluation.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9tb2RlbC1ldmFsdWF0aW9uLlI=) | `94.11% <94.11%> (ø)` | | | [R/utils.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui91dGlscy5S) | `96.25% <98.14%> (+3.94%)` | :arrow_up: | | [R/ppmc.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9wcG1jLlI=) | `99.26% <99.26%> (ø)` | | | [R/data-checks.R](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9kYXRhLWNoZWNrcy5S) | `100.00% <100.00%> (+5.08%)` | :arrow_up: | | ... and [9 more](https://codecov.io/gh/wjakethompson/measr/pull/9?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) | | ... and [1 file with indirect coverage changes](https://codecov.io/gh/wjakethompson/measr/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.