Repository navigation
Conversation
Mirror the DDM/RDM RTLapseMixin p_outlier API on the static-choice LapseModel: p_lapse can be a fixed float (lapse on but NOT sampled) in addition to the default None (hierarchical per-subject rate). Lets hard prior-estimation geometries keep a lapse without a second funnel, and -- as for the RT models' contaminant -- lets you assume a small lapse rather than estimate a weakly identified rate. Default None preserves existing behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Superseded by the 0.6.1 release PR (re-applied on the current |
Contributor
Author
|
Included in 0.6.1 via #9. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the SSM
p_outlierAPI on the static-choiceLapseModel:p_lapsecan be a fixed float (lapse on but not sampled) in addition to the defaultNone(hierarchical per-subject rate).Why: on hard geometries (e.g. full-prior risk estimation) a free hierarchical lapse funnels/diverges; this lets you keep a small lapse without that cost — the choice-model analog of the RT models' fixed
p_outlier=0.05. DefaultNonepreserves existing behaviour; no default change.Note (re: design): base choice models (
RiskModel/RiskRegressionModel) still have no lapse by default — the lapse remains the explicit opt-inLapseModel, and the on-by-default contaminant stays an SSM (DDM/RDM) thing. This PR only makes the opt-in lapse fixable.🤖 Generated with Claude Code