wjakethompson / measr

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

Update interaction constraints #21

Closed wjakethompson closed 1 year ago

wjakethompson commented 1 year ago

Interactions are currently only constrained based on the model parameters one level below (i.e., 3-way interactions are constrained only based on the values of the 2-way interactions). This PR updates constraints to be based on the full probabilities (i.e., including main effects and other lower level interactions) to ensure monotonicity constraints for the LCDM are met.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (464d825) 96.61% compared to head (133646c) 96.62%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #21 +/- ## ======================================= Coverage 96.61% 96.62% ======================================= Files 31 31 Lines 2186 2191 +5 ======================================= + Hits 2112 2117 +5 Misses 74 74 ``` | [Impacted Files](https://app.codecov.io/gh/wjakethompson/measr/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) | Coverage Δ | | |---|---|---| | [R/stan-lcdm.R](https://app.codecov.io/gh/wjakethompson/measr/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9zdGFuLWxjZG0uUg==) | `100.00% <ø> (ø)` | | | [R/stan-utils.R](https://app.codecov.io/gh/wjakethompson/measr/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9zdGFuLXV0aWxzLlI=) | `85.45% <100.00%> (+1.29%)` | :arrow_up: |

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