Closed alexander-held closed 1 year ago
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
a7216b4
) compared to base (4181499
). Patch coverage: 100.00% of modified lines in pull request are covered.:exclamation: Current head a7216b4 differs from pull request most recent head 236c1d4. Consider uploading reports for the commit 236c1d4 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The evaluation of the constraint term in the saturated likelihood for goodness-of-fit testing previously used the suggested parameter values for a given model. Those maximize the constraint term only if the auxiliary data used in the fit for which the GOF is being evaluated corresponds to the default
model.config.auxdata
.This fixes the construction of the parameter values used in the constraint term evaluation to ensure the saturated likelihood is correctly evaluated. Parameter values can be picked up from auxiliary data if they correspond to modifiers with associated constraints, with scaling required for Poisson terms. Other parameter values (corresponding to free-floating parameters) can be picked up from
model.config.suggested_init()
, but do not matter for the constraint term likelihood regardless.This requires #380 for CI to pass due to #379.
resolves #377