Data Analytics report

Temporally Persistent Strategy Arbitration in Human Perceptual Inference

Layered teaching and technical report for the Hidden Markov Switching Observer reanalysis.

A layered teaching and technical report on the four-prior motion-direction experiment.

How to read this study

Start with the one-minute explanation, then use each figure's Question / How to read / Takeaway / Caveat box. Terms and metrics are defined before they are used. Technical readers can open the collapsed mathematical derivations; no mathematics is required to follow the visible result narrative.

Evidence labels. Original-paper finding describes Laquitaine and Gardner's published interpretation. This reanalysis describes calculations performed here. Mathematical interpretation explains what a parameter means under a model. Supported conclusion is limited to results with held-out or uncertainty evidence. Unresolved limitation marks what these data cannot establish.

One-minute explanation

People viewed a noisy field of moving dots and reported its direction. Directions were drawn around a stable learned center, so a response could follow the current visual evidence or the learned prior. The original paper showed that full response distributions can contain both sensory-centered and prior-centered peaks, motivating a Switching Observer.

This reanalysis asks a new question: are those response strategies chosen independently on every trial, or do they persist in runs? The best held-out predictor was the Covariate HMM at -0.8133 LL/trial. Relative to independent Switching, the static HMM improved predictive density by a geometric-average factor of 1.064 per response, and the covariate HMM by 1.096. Sensory and prior self-transition probabilities were 0.937 and 0.964.

Critical qualification: winning a relative prediction comparison does not mean a model is absolutely adequate. Across 100 complete replicated datasets per model, Covariate HMM covered 19/60 condition-metric cells; Static HMM covered 2/60 condition-metric cells. The covariate HMM improved coverage from 2/60 to 19/60 selected condition-metric cells.

Technical summary

Status. The completed 25-restart publication run passed the convergence and completeness gate.

Prediction. Covariate HMM had the highest mean held out log likelihood per trial (-0.8133).

Static HMM. Static HMM difference: 0.0621 LL per trial; 95% interval 0.0498 to 0.0756.

Persistence. Across 12 subjects, mean self transition probabilities were 0.867 for sensory reliance and 0.839 for prior reliance.

Adequacy. PPC coverage by metric was Covariate HMM circular_std_error_deg: 3/12; Covariate HMM mean_abs_error_deg: 3/12; Covariate HMM mean_cos_error: 4/12; Covariate HMM median_abs_error_deg: 4/12; Covariate HMM prior_like_rate: 5/12; Static HMM circular_std_error_deg: 1/12; Static HMM mean_abs_error_deg: 0/12; Static HMM mean_cos_error: 1/12; Static HMM median_abs_error_deg: 0/12; Static HMM prior_like_rate: 0/12. Relative predictive superiority and absolute model adequacy are separate questions.

What comes from where

Original paper. The task, behavioral motivation, Basic Bayesian observer, and condition-dependent Switching observer are attributed to Laquitaine and Gardner (2018).

This reanalysis. Circular preprocessing, run-sequence construction, independent and serial baselines, static/covariate HMMs, held-out comparisons, bootstrap intervals, subject fits, and posterior predictive checks were produced by this package.

Context-only models. Basic Bayesian and original condition-dependent Switching are fully explained below but were not refitted and do not appear in the authoritative numerical ranking.

Evidence scope. All numerical claims come from outputs/full_run; this renderer reads final tables and never refits a model.

Experimental design: what participants actually did

Original-paper procedure. Twelve participants completed at least five computerized sessions. A session contained about four to five blocks, and a block about 200 trials. On each trial, participants fixated for about 1 second, viewed a random-dot motion stimulus for about 300 ms, rotated a line to report perceived direction, confirmed the response, and saw the true direction as feedback. Motion coherence varied trial by trial at 6%, 12%, or 24%; larger coherence supplied more reliable visual motion.

Each block drew directions around a fixed 225-degree center with one of four widths: 10, 20, 40, or 80 degrees. The apparatus therefore combined a random-dot display with an adjustable direction-report line and trial feedback. Participants were instructed to respond accurately and quickly, but were not told the Bayesian or Switching hypothesis and had no separate explicit prior-training phase. Instead, repeated directions and feedback let them learn the stable center and adapt to block-specific width implicitly.

The analyzed hierarchy contains 81 sessions and 388 run/block sequences. Runs, rather than arbitrary stretches of rows, are the temporal units.

How to read: Experiment schematic

Question. What happened on each trial and how are trials nested?

Axes and layout. Left-to-right task stages and dataset counts

Marks and colors. Pastel boxes are trial phases; arrows indicate order

Uncertainty. No uncertainty is shown

Result. The analysis preserves run-level temporal order

Caution. This is a redraw from the paper's methods, not original artwork

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

From CSV coordinates to analysis-ready sequences

The raw file has 83,213 rows. The loader requires the two response-vector coordinates and the experimental condition fields; it dropped exactly 3 rows with missing response coordinates, leaving 83,210 trials. Response angle is recovered from those coordinates with the two-argument arctangent and wrapped from 0 inclusive to 360 exclusive degrees. Every difference between two angles uses the shortest signed arc, wrapped from minus 180 inclusive to 180 exclusive degrees, so 359 and 1 degrees differ by 2 rather than 358 degrees.

Rows are sorted by subject, session, run, and trial index. Each subject-session-run group becomes one sequence; previous-trial variables are reset at its first trial. This prevents a previous response from the end of one block leaking into the next. The 12 coherence-by-prior-width cells contain 2,324 to 16,663 trials.

For covariate HMM cross-validation, means and standard deviations are learned on training sequences only, then reused on the held-out fold. Thus the contrast between plus one and minus one training standard deviation is defined by the training data and does not inspect held-out outcomes.

Analysis pipeline

Source: Generated analysis pipelineTable: read_csv_auto

Loads the reviewed rows from Generated analysis pipeline.

Analysis pipeline
StepStageInputOperationOutput
1Source: Generated analysis pipelineTable: read_csv_autoLoad and validateRaw direction CSVDrop rows missing required response/condition fields; recover circular response angleDataBundle
2Source: Generated analysis pipelineTable: read_csv_autoPreserve sequencesSubject, session, run, trial orderSort trials and define each subject-session-run as one sequence388 sequences
3Source: Generated analysis pipelineTable: read_csv_autoConstruct featuresCircular responses and conditionsCompute circular errors, conflicts, previous-trial covariates, and condition indicesModel arrays
4Source: Generated analysis pipelineTable: read_csv_autoSplit for predictionRun-level sequencesFour-fold stratification by subject and prior widthTrain/test sequence sets
5Source: Generated analysis pipelineTable: read_csv_autoFit modelsTraining sequences onlyFixed-seed multistart optimization; retain maximum training likelihoodSelected fold fits
6Source: Generated analysis pipelineTable: read_csv_autoScore held-out trialsTest sequencesEvaluate predictive log density without refittingLL/trial and per-sequence LL
7Source: Generated analysis pipelineTable: read_csv_autoQuantify uncertaintyPaired sequence resultsResample sequences 1,000 times and recompute model differencesBootstrap intervals
8Source: Generated analysis pipelineTable: read_csv_autoFit final modelsAll usable sequencesEstimate final parameters, posterior states, subject fits, and covariate effectsFinal tables
9Source: Generated analysis pipelineTable: read_csv_autoCheck adequacyFinal static and covariate HMM checkpointsSimulate 100 complete datasets from each final HMM and compare metrics, histograms, and run lengthsModel-labelled PPC tables and figures
10Source: Generated analysis pipelineTable: read_csv_autoCheck decoded S/P sensitivityExisting PPC responses and final checkpointsRe-decode observed and simulated sequences with forward-backward smoothing, exclude marginal-MAP lapse trials symmetrically, and recompute response metrics without resimulationConditional PPC, retention, and classification tables
11Source: Generated analysis pipelineTable: read_csv_autoRender reportCompleted output tablesGenerate narrative, figures, provenance, and portable HTML without fittingSelf-contained report

Data dictionary

Source: Generated data dictionaryTable: read_csv_auto

Loads the reviewed rows from Generated data dictionary.

Data dictionary
FieldOriginMeaningUnitAnalysis role
estimate_xCSVHorizontal component of the response direction vectorunitlessUsed with estimate_y to recover the reported angle
estimate_yCSVVertical component of the response direction vectorunitlessUsed with estimate_x to recover the reported angle
estimate_degderivedReported motion directiondegrees from 0 inclusive to 360 exclusiveTwo-argument arctangent of the response coordinates, wrapped to the circle
motion_directionCSVTrue coherent motion direction on the trialdegreesSensory-state emission center
motion_coherenceCSVFraction of dots moving coherentlyproportion0.06, 0.12, or 0.24; controls sensory reliability
prior_meanCSVCenter of the block direction distributiondegreesFixed at 225 degrees in the analyzed experiment
prior_stdCSVWidth of the block direction distributiondegrees10, 20, 40, or 80 degrees; smaller means a sharper prior
subject_idCSVParticipant identifieridentifier12 participants
session_idCSVExperimental session identifieridentifierSessions occurred on separate days in the original experiment
run_idCSVBlock/run identifieridentifierDefines the temporal sequence boundary
trial_indexCSVWithin-run trial ordercountPreserves temporal ordering for sequential models
response_errorderivedShortest signed response minus stimulus angleradians or degreesAlways wrapped from minus 180 inclusive to 180 exclusive degrees
conflictderivedShortest absolute stimulus-prior separationradians or degreesCurrent prior-sensory disagreement
previous_errorderivedAbsolute response error on the preceding trial in the same runradiansNever crosses a run boundary
previous_conflictderivedStimulus-prior conflict on the preceding trial in the same runradiansNever crosses a run boundary

16 results ยท Showing first 15

Why circular statistics are necessary

Directions live on a circle, so ordinary subtraction and Gaussian error can be wrong near zero degrees. The analysis uses wrapped differences, circular means, resultant lengths, and von Mises densities. The von Mises distribution is the circular analogue of a normal density: its center is an angle and its concentration controls width.

Behavioral replication and response distributions

Original-paper finding. Mean and variance can look compatible with Bayesian integration even when the full distribution is bimodal, with one peak near the current stimulus and another near the learned prior.

This reanalysis. For each of 12 condition cells, the report computes signed and absolute circular error, circular spread, cosine accuracy, the fraction of responses closer to the prior than the stimulus, and histograms aligned separately to stimulus and prior. Higher coherence narrows stimulus-centered responses. Narrower priors increase prior-centered structure. These are descriptive observations; a prior-like trial is not automatically a recovered prior state.

How to read: Responses relative to the stimulus

Question. How tightly did reports cluster around the true direction?

Axes and layout. Columns are prior widths; rows are coherence; x is response minus stimulus

Marks and colors. Blue lines are observed proportions; zero marks the stimulus

Uncertainty. Descriptive histograms

Result. Higher coherence produces narrower stimulus-centered responses

Caution. Distribution shape alone does not identify latent states

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Responses relative to the prior

Question. How strongly did reports cluster around the learned prior?

Axes and layout. Columns are prior widths; rows are coherence; x is response minus prior

Marks and colors. Blue lines are observed proportions; zero marks the prior

Uncertainty. Descriptive histograms

Result. Narrow priors and weak sensory evidence increase prior-centered responses

Caution. Prior-centered responses need not imply deliberate prior choice

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Model roadmap: what each comparison asks

All fitted models use the same circular responses and condition indexing. They differ in how they generate sensory-centered, prior-centered, and lapse responses, and whether trial history affects the latent choice. Independent Switching is the key baseline because it has the same three emission sources as the HMM but no temporal persistence. Serial baselines ask whether a single previous stimulus or response shifts the next report. Static and covariate HMMs allow latent states to persist.

Model catalog and run status

Source: Generated model catalogTable: read_csv_auto

Loads the reviewed rows from Generated model catalog.

Model catalog and run status
ModelTemporal structureMechanismFittingParametersStatus
Basic Bayesian observerNoMultiplies likelihood and prior, then reads out a posteriorGrid-based likelihood optimizationnot counted in authoritative runcontext only; not refitted
Original condition-dependent Switching observerNoChooses prior or sensory report from relative precisionGrid-based likelihood optimizationnot counted in authoritative runcontext only; not refitted
Independent Switching mixtureNoThree trial-independent sensory/prior/lapse componentsEM with deterministic multistart9fitted
Serial stimulus baselineOne-back center shiftIndependent mixture plus previous-stimulus attractionL-BFGS-B multistart10fitted
Serial response baselineOne-back center shiftIndependent mixture plus previous-response attractionL-BFGS-B multistart10fitted
Serial stimulus + response baselineOne-back center shiftIndependent mixture plus both attraction termsL-BFGS-B multistart11fitted
Static Hidden Markov Switching ObserverMarkovThree emissions connected by one transition matrixBaum-Welch EM with deterministic multistart15fitted
Covariate-dependent HMMCovariate-dependent MarkovTransition probabilities vary with current and previous-trial variablesEM plus regularized multinomial transition M-step51fitted
Subject-level static HMMMarkov within subjectOne separately fitted static HMM per participantBaum-Welch EM; empirical-Bayes group summarynot counted in authoritative runfitted

Basic Bayesian observer: integrate evidence into one posterior

A noisy internal measurement supplies a likelihood over directions; the learned environmental distribution supplies a prior. Their product, after normalization, is a posterior. A mode, circular mean, or random posterior sample becomes the intended report, then motor noise and lapse probability broaden the response. This is a contextual model from the original framing and was not refitted here.

Original condition-dependent Switching observer: choose one source

Instead of averaging prior and likelihood into one posterior response, this observer chooses a sensory-like or prior-like response source. Choice probability changes with their relative precision. That mechanism explains how two response peaks can coexist. It is explained for scientific context but was not refitted and is not ranked in this run.

Independent Switching: same emissions, no memory

Every trial independently receives one of three components: sensory, prior, or lapse. The component weights do not depend on the preceding trial. This makes it the cleanest control for the HMM: any held-out HMM improvement cannot be attributed merely to adding sensory/prior/lapse response shapes.

Serial baselines: one-back attraction without latent persistence

These models shift the sensory response center toward the preceding stimulus, the preceding response, or both. Separate previous-stimulus and previous-response coefficients quantify attraction; zero means no shift. Arrays reset at run boundaries. They test a specific one-back explanation, not arbitrary long history.

Static HMM: a persistent hidden strategy sequence

The state on the current trial depends on the state on the immediately preceding trial. A 3 by 3 transition matrix governs switching among sensory, prior, and lapse states; the emission model maps each state to a circular response density. Forward-backward inference sums over every possible hidden path, and Baum-Welch EM alternates posterior state inference with parameter updates.

Covariate HMM: persistence can change with conditions

The static transition matrix is replaced by a row-wise softmax regression. Current coherence, prior precision, conflict, previous error, previous conflict, previous coherence, and within-run trial position can alter transition probabilities. Covariates are standardized using the training fold only, coefficients are L2-regularized, and one destination category is fixed as the identifiability reference.

Subject-level models: heterogeneity, not a full hierarchy

A separate static HMM is fit to each participant. Group means and dispersions summarize those estimates, and self-transition is compared with that subject chain's stationary-state probability. This is an empirical-Bayes style summary of separate fits, not a joint hierarchical posterior with shrinkage and propagated group uncertainty.

How model quality and uncertainty are defined

Primary criterion: held-out log likelihood per trial. Models are trained on three folds of complete run sequences and asked to assign probability density to responses in the fourth. Higher, meaning less negative, is better. Exponentiating the per-trial log-likelihood difference gives the geometric-average factor by which one model increases density at each observed response.

Paired uncertainty. The same 388 test sequences are scored by every model. Sequence bootstrap resamples those units 1,000 times and recomputes the paired difference. Its tail proportion is the fraction of resamples at or below zero, not a conventional independently derived hypothesis-test p-value.

Secondary criteria. AIC and BIC penalize in-sample likelihood by the number of free parameters. Restart diagnostics expose local optima and convergence. Posterior predictive checks assess absolute adequacy by simulating complete datasets separately from the final static and covariate HMMs and comparing observed summaries with model-specific simulation intervals.

How model quality is measured

Source: Generated metric dictionaryTable: read_csv_auto

Loads the reviewed rows from Generated metric dictionary.

How model quality is measured
MetricDefinitionHow to read itCaveat
Held-out LL/trialAverage log predictive density assigned to held-out responsesHigher, or less negative, is betterPrimary predictive comparison
Predictive-density ratioExponential of the per-trial log-likelihood differenceAbove 1 favors the comparison modelGeometric average density ratio, not percent accuracy
AICTwice the parameter count minus twice the in-sample log likelihoodLower is betterIn-sample fit penalized by 2 per free parameter
BICLog sample size times parameter count minus twice the in-sample log likelihoodLower is betterStronger sample-size-dependent complexity penalty
Sequence-bootstrap CI2.5th and 97.5th percentiles after resampling run sequencesExcluding zero supports a stable directionPreserves the temporal clustering unit
Bootstrap nonpositive tail proportionFraction of bootstrap differences at or below zeroSmaller means fewer resamples reverse the effectDirectional bootstrap tail proportion, not a standalone classical p-value
Self-transitionDiagonal entry of the fitted transition matrixCloser to 1 means greater state persistenceCompare with the chain's stationary probability
Implied run lengthReciprocal of one minus self-transition probabilityExpected trials in a homogeneous geometric runA teaching translation, not the posterior MAP run statistic
Prior-like rateFraction of responses closer to the prior center than to the current stimulusLarger means more responses lie closer to the priorDescriptive classification, not a recovered latent state
PPC interval2.5th to 97.5th percentile across complete simulated datasetsCoverage indicates compatibility with simulated variabilityIntervals use 100 complete simulated datasets per model
Decoded S/P-only PPCPPC metrics after symmetrically excluding smoothed marginal-MAP lapse classificationsCompare with the complete-model PPC rather than reading it aloneUses the complete response sequence, is not Viterbi decoding or an online lapse detector, and does not replace the all-trial PPC

Held-out model comparison: temporal structure improves prediction

The Covariate HMM achieved -0.8133 held-out LL/trial. The static HMM improved by 0.0621 LL/trial (95% sequence-bootstrap interval 0.0498 to 0.0756), equivalent to 1.064 times the predictive density per response. The covariate HMM improved by 0.0919 (interval 0.0810 to 0.1039), or 1.096 times the density. Both intervals exclude zero in the positive direction.

How to read: Absolute held-out performance

Question. Which model best predicts unseen run sequences?

Axes and layout. Y lists models; x is mean held-out LL/trial

Marks and colors. Longer bars toward zero are better

Uncertainty. Fold standard errors appear in the publication figure

Result. Covariate HMM is best at -0.8133Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration LL/trial

Caution. Absolute LL values depend on response-density units; compare models on the same trials

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Held out model performance
Held out model performance data
ModelMean held out LL/trial
Covariate HMM-0.81
Static HMM-0.84
Serial stimulus + response-0.91
Serial response-0.91
Independent Switching-0.91
Serial stimulus-0.91

How to read: Paired model differences

Question. How much does each model improve on independent Switching?

Axes and layout. X is the paired per-trial log-likelihood difference; zero means no advantage

Marks and colors. Positive marks favor the comparison model

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration sequence-bootstrap intervals are in the exact table

Result. Static HMM density ratio 1.064Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration; covariate HMM ratio 1.096Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Caution. A density ratio is not classification accuracy

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Model differences versus independent Switching
Model differences versus independent Switching data
ModelDifference in LL/trial
Covariate HMM0.09
Static HMM0.06
Serial stimulus + response0
Serial response0
Serial stimulus-0

Paired model differences

Source: Sequence-bootstrap model differencesTable: read_csv_auto

Loads the reviewed rows from Sequence-bootstrap model differences.

Paired model differences
ModelDifference LL/trialCI lowCI highNonpositive tail proportion
Covariate HMM0.09Source: Sequence-bootstrap model differencesTable: read_csv_auto0.08Source: Sequence-bootstrap model differencesTable: read_csv_auto0.1Source: Sequence-bootstrap model differencesTable: read_csv_auto0Source: Sequence-bootstrap model differencesTable: read_csv_auto
Static HMM0.06Source: Sequence-bootstrap model differencesTable: read_csv_auto0.05Source: Sequence-bootstrap model differencesTable: read_csv_auto0.08Source: Sequence-bootstrap model differencesTable: read_csv_auto0Source: Sequence-bootstrap model differencesTable: read_csv_auto
Serial stimulus + response0Source: Sequence-bootstrap model differencesTable: read_csv_auto-0Source: Sequence-bootstrap model differencesTable: read_csv_auto0Source: Sequence-bootstrap model differencesTable: read_csv_auto0.11Source: Sequence-bootstrap model differencesTable: read_csv_auto
Serial response0Source: Sequence-bootstrap model differencesTable: read_csv_auto-0Source: Sequence-bootstrap model differencesTable: read_csv_auto0Source: Sequence-bootstrap model differencesTable: read_csv_auto0.27Source: Sequence-bootstrap model differencesTable: read_csv_auto
Serial stimulus-0Source: Sequence-bootstrap model differencesTable: read_csv_auto-0Source: Sequence-bootstrap model differencesTable: read_csv_auto0Source: Sequence-bootstrap model differencesTable: read_csv_auto0.6Source: Sequence-bootstrap model differencesTable: read_csv_auto

Latent-state persistence and emission meaning

The sensory self-transition probability is 0.937: conditional on a sensory state, the next trial remains sensory with about 93.7% probability. Under a homogeneous geometric-run interpretation this corresponds to 16.0 trials. The prior self-transition probability is 0.964 and similarly implies 27.5 trials. These translations explain the transition parameters; posterior MAP run lengths are separate empirical diagnostics.

State labels are also checked through emissions. Sensory concentration rises with motion coherence, while prior concentration declines as prior width grows. Larger concentration means a narrower circular density, not a larger state probability.

How to read: Static HMM transition matrix

Question. Do inferred states persist across adjacent trials?

Axes and layout. Rows are previous state; columns are next state

Marks and colors. Darker cells indicate larger transition probabilities

Uncertainty. Point estimates from the final all-data fit

Result. Sensory self-transition 0.937Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration; prior self-transition 0.964Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Caution. States are inferred computational labels, not directly observed mental states

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Static HMM transition matrix
Static HMM transition matrix data
Next stateProbabilityPrevious state
S_sensory0.94S_sensory
P_prior0.02S_sensory
L_lapse0.04S_sensory
S_sensory0.04P_prior
P_prior0.96P_prior
L_lapse0P_prior
S_sensory0.32L_lapse
P_prior0L_lapse
L_lapse0.68L_lapse

How to read: Emission concentration

Question. Do fitted state labels behave as sensory and prior states should?

Axes and layout. X lists coherence/prior-width conditions; y is von Mises concentration

Marks and colors. Blue is sensory; orange is prior

Uncertainty. Point estimates from the final static HMM

Result. Sensory precision rises with coherence and prior precision falls with prior width

Caution. Concentration is not a probability and should be translated to circular spread

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
HMM emission concentration parameters
HMM emission concentration parameters data
ConditionConcentrationEmission family
Coherence 0.061.7Sensory
Coherence 0.124.84Sensory
Coherence 0.2413.83Sensory
Prior SD 1022.35Prior
Prior SD 2012.67Prior
Prior SD 406.84Prior
Prior SD 802.45Prior

Emission concentration translated to circular spread

Source: Generated emission interpretationTable: read_csv_auto

Loads the reviewed rows from Generated emission interpretation.

Emission concentration translated to circular spread
State familyConditionKappaCircular SD (degrees)Plain-language reading
SensoryCoherence 0.061.7Source: Generated emission interpretationTable: read_csv_auto54Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 54.0 degrees
SensoryCoherence 0.124.84Source: Generated emission interpretationTable: read_csv_auto27.74Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 27.7 degrees
SensoryCoherence 0.2413.83Source: Generated emission interpretationTable: read_csv_auto15.7Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 15.7 degrees
PriorPrior SD 1022.35Source: Generated emission interpretationTable: read_csv_auto12.26Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 12.3 degrees
PriorPrior SD 2012.67Source: Generated emission interpretationTable: read_csv_auto16.44Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 16.4 degrees
PriorPrior SD 406.84Source: Generated emission interpretationTable: read_csv_auto22.83Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 22.8 degrees
PriorPrior SD 802.45Source: Generated emission interpretationTable: read_csv_auto42.55Source: Generated emission interpretationTable: read_csv_autoResponses are concentrated within a circular spread of about 42.5 degrees

Posterior occupancy and one representative sequence

Posterior occupancy is the average posterior state probability within a condition, not a hard count of known strategies. The representative run is selected deterministically from sequence-level results, then displays posterior state probabilities across its real trial order. This makes temporal organization visible without selecting an extreme example.

How to read: Posterior occupancy and representative sequence

Question. When are sensory, prior, and lapse states inferred?

Axes and layout. Condition panels show posterior state probability; sequence panel follows trials

Marks and colors. State colors encode posterior probabilities

Uncertainty. Posterior probabilities condition on the fitted model

Result. Occupancy changes with coherence, prior width, and conflict and forms temporal runs

Caution. The representative sequence is selected deterministically, not as the strongest example

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Subject heterogeneity: persistence is not only a pooled estimate

Across separate participant fits, mean sensory and prior self-transition probabilities were 0.867 and 0.839. Their variation documents heterogeneity. Stationary probabilities answer a different question: how often a state would be occupied in the chain's long-run equilibrium. Self-transition above that baseline indicates adjacency beyond what marginal occupancy alone predicts.

How to read: Subject-level persistence

Question. Is persistence only a group-average artifact?

Axes and layout. X is subject; y is self-transition probability

Marks and colors. Filled points are self-transitions; open points in the publication figure are stationary baselines

Uncertainty. Separate 25Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration-restart fits per subject

Result. Mean sensory=0.867Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration; prior=0.839Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Caution. Separate fits are empirical-Bayes summaries, not a hierarchical posterior

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Subject-level self-transition probabilities
Subject-level self-transition probabilities data
SubjectSelf-transition probabilityState
10.84Sensory
10.62Prior
20.58Sensory
20.8Prior
30.94Sensory
30.95Prior
40.9Sensory
40.96Prior
50.95Sensory
50.03Prior
60.98Sensory
60.99Prior
70.95Sensory
70.99Prior
80.78Sensory
80.98Prior
90.9Sensory
90.89Prior
100.8Sensory
100.97Prior
110.94Sensory
110.93Prior
120.84Sensory
120.96Prior

Serial-dependence controls: one-back shifts do not explain the HMM gain

Previous-stimulus, previous-response, and combined serial baselines changed held-out LL/trial by values near zero relative to independent Switching, and every 95% sequence-bootstrap interval included zero. This supports the narrower conclusion that the HMM advantage is not reproduced by these one-back attraction terms. It does not exclude every longer or nonlinear history effect.

How to read: Serial-dependence controls

Question. Can attraction to only the previous trial explain the HMM advantage?

Axes and layout. Model differences and fitted one-back attraction coefficients

Marks and colors. Intervals crossing zero indicate unstable predictive improvement

Uncertainty. Paired sequence-bootstrap intervals

Result. One-back baselines are essentially tied with independent Switching

Caution. Small fitted coefficients do not rule out every possible history effect

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Covariate-dependent switching: conditional associations

Each plotted contrast evaluates the fitted transition probability at plus one and minus one training standard deviation while holding other standardized covariates at zero, then subtracts low from high. Positive stay contrasts increase persistence; negative contrasts decrease it. Fold-level effects and conditional sequence-bootstrap intervals test whether direction is stable across partitions. Previous-error effects are reported as conditional associations, not causal feedback effects.

Because latent responsibilities, emissions, and covariates are estimated rather than experimentally randomized, these are conditional associations. They are not evidence that changing error or conflict would causally change strategy.

How to read: Covariate transition effects

Question. Which conditions change state persistence?

Axes and layout. Y lists covariate/state pairs; x is probability at +1Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration SD minus -1Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration SD

Marks and colors. Right increases staying; left decreases staying

Uncertainty. Conditional sequence-bootstrap intervals

Result. Largest contrast: prior_precision for L_lapse = 0.309Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Caution. Associations condition on fitted responsibilities and are not causal effects

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Covariate effects on state persistence
Covariate effects on state persistence data
Covariate and stateChange in stay probability
coherence -> S sensory0.2
coherence -> P prior-0.21
coherence -> L lapse-0.18
prior precision -> S sensory0.11
prior precision -> P prior0.15
prior precision -> L lapse0.31
conflict -> S sensory0.01
conflict -> P prior-0.18
conflict -> L lapse0.01
prev error -> S sensory0.05
prev error -> P prior-0.07
prev error -> L lapse-0.09
prev conflict -> S sensory0.02
prev conflict -> P prior-0.02
prev conflict -> L lapse0.02
prev coherence -> S sensory-0.05
prev coherence -> P prior0.16
prev coherence -> L lapse0.1

Posterior predictive adequacy: static versus covariate HMM

The final static and covariate HMM checkpoints were each used to generate 100 complete replicated datasets per model. Motion directions, coherence, prior means and widths, sequence boundaries, and trial order were held fixed. Latent states and responses were simulated. For the covariate HMM, each next transition used the fitted all-data scaler and recomputed previous error from the simulated preceding response, so no observed response entered the recursive simulation.

For each replicated dataset the pipeline recomputed five metrics in all 12 condition cells, complete response histograms, and state run lengths. The 2.5th to 97.5th simulation percentiles form PPC intervals. Covariate HMM covered 19/60 condition-metric cells; Static HMM covered 2/60 condition-metric cells. The covariate HMM improved coverage from 2/60 to 19/60 selected condition-metric cells. Mean-run calibration was Covariate HMM 1/3 mean state-run summaries covered; Static HMM 0/3 mean state-run summaries covered.

How to interpret this check. Superior held-out likelihood asks which model predicts real unseen responses better; PPC coverage asks whether data generated by one fitted model resemble selected summaries of the observed data. Improved coverage is useful evidence of better absolute calibration, but percentile coverage is a diagnostic rather than a formal hypothesis-test pass/fail rule. A model may win the relative comparison and still omit important structure.

How to read: PPC condition metrics

Question. Do the static and covariate HMMs reproduce observed condition summaries?

Axes and layout. Rows separate models; columns show metrics; x is the coherence/prior-width cell

Marks and colors. Observed points are compared with simulated means and percentile intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Covariate-dependent HMM: 19/60 cells covered; Static Hidden Markov Switching Observer: 2/60 cells covered

Caution. Coverage is an absolute calibration diagnostic, not a formal hypothesis-test decision

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Observed and simulated mean absolute error
Observed and simulated mean absolute error data
Coherence / prior SDMean absolute error (deg)Model and source
0.06/1019.78Static HMM observed
0.06/1034.77Static HMM simulated
0.06/2026.78Static HMM observed
0.06/2037.82Static HMM simulated
0.06/4040.38Static HMM observed
0.06/4043.02Static HMM simulated
0.06/8054.08Static HMM observed
0.06/8055.22Static HMM simulated
0.12/1016.97Static HMM observed
0.12/1023.18Static HMM simulated
0.12/2021.57Static HMM observed
0.12/2026.28Static HMM simulated
0.12/4028.02Static HMM observed
0.12/4031.48Static HMM simulated
0.12/8033.43Static HMM observed
0.12/8043.71Static HMM simulated
0.24/1011.73Static HMM observed
0.24/1017.87Static HMM simulated
0.24/2012.75Static HMM observed
0.24/2020.77Static HMM simulated
0.24/4015.22Static HMM observed
0.24/4025.77Static HMM simulated
0.24/8016.95Static HMM observed
0.24/8038.2Static HMM simulated
0.06/1019.78Covariate HMM observed
0.06/1019.15Covariate HMM simulated
0.06/2026.78Covariate HMM observed
0.06/2028.88Covariate HMM simulated
0.06/4040.38Covariate HMM observed
0.06/4041.34Covariate HMM simulated
0.06/8054.08Covariate HMM observed
0.06/8052.64Covariate HMM simulated
0.12/1016.97Covariate HMM observed
0.12/1016.75Covariate HMM simulated
0.12/2021.57Covariate HMM observed
0.12/2023.64Covariate HMM simulated
0.12/4028.02Covariate HMM observed
0.12/4030.28Covariate HMM simulated
0.12/8033.43Covariate HMM observed
0.12/8035.22Covariate HMM simulated
0.24/1011.73Covariate HMM observed
0.24/1014.51Covariate HMM simulated
0.24/2012.75Covariate HMM observed
0.24/2016.76Covariate HMM simulated
0.24/4015.22Covariate HMM observed
0.24/4017.54Covariate HMM simulated
0.24/8016.95Covariate HMM observed
0.24/8017.4Covariate HMM simulated

Posterior predictive condition-metric coverage

Source: Posterior predictive condition-metric coverageTable: read_csv_auto

Loads the reviewed rows from Posterior predictive condition-metric coverage.

Posterior predictive condition-metric coverage
ModelMetricCells coveredCells testedCoverage proportion
Covariate_HMMcircular_std_error_deg3Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.25Source: Posterior predictive condition-metric coverageTable: read_csv_auto
Covariate_HMMmean_abs_error_deg3Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.25Source: Posterior predictive condition-metric coverageTable: read_csv_auto
Covariate_HMMmean_cos_error4Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.33Source: Posterior predictive condition-metric coverageTable: read_csv_auto
Covariate_HMMmedian_abs_error_deg4Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.33Source: Posterior predictive condition-metric coverageTable: read_csv_auto
Covariate_HMMprior_like_rate5Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.42Source: Posterior predictive condition-metric coverageTable: read_csv_auto
HMM_staticcircular_std_error_deg1Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.08Source: Posterior predictive condition-metric coverageTable: read_csv_auto
HMM_staticmean_abs_error_deg0Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0Source: Posterior predictive condition-metric coverageTable: read_csv_auto
HMM_staticmean_cos_error1Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0.08Source: Posterior predictive condition-metric coverageTable: read_csv_auto
HMM_staticmedian_abs_error_deg0Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0Source: Posterior predictive condition-metric coverageTable: read_csv_auto
HMM_staticprior_like_rate0Source: Posterior predictive condition-metric coverageTable: read_csv_auto12Source: Posterior predictive condition-metric coverageTable: read_csv_auto0Source: Posterior predictive condition-metric coverageTable: read_csv_auto

How to read: Static-HMM distributions relative to stimulus

Question. Does the static HMM reproduce complete response shapes around the stimulus?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows where the static HMM captures or misses stimulus-centered shape

Caution. Visual agreement in one cell does not imply condition-wide adequacy

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Static-HMM distributions relative to prior

Question. Does the static HMM reproduce complete response shapes around the prior?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows condition-specific static-HMM prior-centered shape calibration

Caution. Histogram agreement is complementary to the five metric coverage tests

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Covariate-HMM distributions relative to stimulus

Question. Does covariate-dependent switching improve stimulus-centered response-shape calibration?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Directly checks the final covariate HMM under the observed design

Caution. Improvement over the static HMM does not by itself establish absolute adequacy

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Covariate-HMM distributions relative to prior

Question. Does the covariate HMM reproduce prior-centered response shapes?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows where dynamic transitions do or do not repair prior-centered mismatch

Caution. Transition covariates are conditional predictors, not causal manipulations

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: State run-length calibration

Question. Does each HMM reproduce its own inferred temporal persistence after simulation?

Axes and layout. Panels separate models; x is state; y is mean run length in trials

Marks and colors. Observed smoothed marginal-MAP runs are compared with simulated latent-state runs

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Each model is calibrated against its own observed posterior state summary

Caution. Marginal-MAP sequences are forward-backward summaries, not Viterbi paths or observed ground truth

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Observed and simulated mean state run lengths
Observed and simulated mean state run lengths data
StateMean run lengthModel and source
L_lapse3.42Static HMM observed
L_lapse3.14Static HMM simulated
P_prior28.87Static HMM observed
P_prior24.55Static HMM simulated
S_sensory20.87Static HMM observed
S_sensory14.96Static HMM simulated
L_lapse2.31Covariate HMM observed
L_lapse2.3Covariate HMM simulated
P_prior7.92Covariate HMM observed
P_prior6.75Covariate HMM simulated
S_sensory6.35Covariate HMM observed
S_sensory5.48Covariate HMM simulated

Sensitivity check: decoded sensory/prior trials only

The lapse emission is circular uniform and remains a required part of each complete generative model. Accordingly, the all-trial PPC above remains the primary absolute-adequacy check. This supplementary analysis asks a narrower question: after fitting and simulation are complete, do response summaries look better calibrated among trials classified as sensory or prior?

For every observed and simulated run, forward-backward smoothing was recomputed and each trial was assigned the state with the largest smoothed marginal probability. Trials assigned L_lapse were removed from condition metrics and histograms. This is the same symmetric rule on both sides. It is not Viterbi decoding, does not produce a single most-probable joint path, uses the complete response sequence, and therefore cannot serve as an online lapse detector. For covariate-HMM simulations, previous error was rebuilt recursively from simulated responses and standardized with the final all-data scaler; observed responses never entered simulated decoding.

Computed result. Covariate HMM coverage improved from 19/60 to 24/60 condition-metric cells; Static HMM coverage deteriorated from 2/60 to 0/60 condition-metric cells. Covariate HMM retained 74,246/83,210 observed trials and a mean 74,629.4/83,210 simulated trials; Static HMM retained 79,041/83,210 observed trials and a mean 79,015.1/83,210 simulated trials. Removing difficult lapse-classified trials does not automatically make either model adequate. Held-out predictive likelihood, complete-model PPC adequacy, and conditional S/P-only adequacy remain three distinct criteria.

Source: Decoded S/P-only posterior predictive intervalsTable: read_csv_auto

Loads the reviewed rows from Decoded S/P-only posterior predictive intervals.

How to read: All-trial versus decoded S/P-only coverage

Question. Does removing symmetrically decoded lapse trials improve condition-metric calibration?

Axes and layout. Panels separate models; x lists metrics; y is the fraction of 12Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration condition cells covered

Marks and colors. Blue bars are the complete-model PPC; orange bars are decoded S/P-only sensitivity results

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Covariate-dependent HMM improved: 19/60 to 24/60; Static Hidden Markov Switching Observer deteriorated: 2/60 to 0/60

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Decoded S/P-only condition metric

Question. How do observed and simulated mean absolute errors compare after symmetric lapse exclusion?

Axes and layout. X is coherence/prior-width condition; y is mean absolute error

Marks and colors. Lines separate observed and simulated summaries for each model

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Covariate-dependent HMM improved: 19/60 to 24/60; Static Hidden Markov Switching Observer deteriorated: 2/60 to 0/60

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration
Decoded S/P-only mean absolute error
Decoded S/P-only mean absolute error data
Coherence / prior SDMean absolute error (deg)Model and source
0.06/1017.74Static HMM observed S/P
0.06/1031.31Static HMM simulated S/P
0.06/2024.6Static HMM observed S/P
0.06/2034.5Static HMM simulated S/P
0.06/4037.3Static HMM observed S/P
0.06/4039.96Static HMM simulated S/P
0.06/8049.46Static HMM observed S/P
0.06/8052.77Static HMM simulated S/P
0.12/1014.29Static HMM observed S/P
0.12/1018.24Static HMM simulated S/P
0.12/2018.93Static HMM observed S/P
0.12/2021.53Static HMM simulated S/P
0.12/4023.82Static HMM observed S/P
0.12/4027.07Static HMM simulated S/P
0.12/8026.36Static HMM observed S/P
0.12/8040.02Static HMM simulated S/P
0.24/1010.71Static HMM observed S/P
0.24/1012.52Static HMM simulated S/P
0.24/2011.89Static HMM observed S/P
0.24/2015.49Static HMM simulated S/P
0.24/4013.53Static HMM observed S/P
0.24/4020.88Static HMM simulated S/P
0.24/8014.17Static HMM observed S/P
0.24/8034.12Static HMM simulated S/P
0.06/1016.5Covariate HMM observed S/P
0.06/1016.8Covariate HMM simulated S/P
0.06/2022.64Covariate HMM observed S/P
0.06/2024.43Covariate HMM simulated S/P
0.06/4031.18Covariate HMM observed S/P
0.06/4031.32Covariate HMM simulated S/P
0.06/8035.3Covariate HMM observed S/P
0.06/8035.09Covariate HMM simulated S/P
0.12/1014.06Covariate HMM observed S/P
0.12/1014.4Covariate HMM simulated S/P
0.12/2018.73Covariate HMM observed S/P
0.12/2020.11Covariate HMM simulated S/P
0.12/4023.35Covariate HMM observed S/P
0.12/4023.91Covariate HMM simulated S/P
0.12/8023.28Covariate HMM observed S/P
0.12/8024.31Covariate HMM simulated S/P
0.24/1010.67Covariate HMM observed S/P
0.24/1012.33Covariate HMM simulated S/P
0.24/2011.84Covariate HMM observed S/P
0.24/2014.72Covariate HMM simulated S/P
0.24/4013.66Covariate HMM observed S/P
0.24/4015.06Covariate HMM simulated S/P
0.24/8013.71Covariate HMM observed S/P
0.24/8014.02Covariate HMM simulated S/P

Complete-model versus decoded S/P-only coverage

Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto

Loads the reviewed rows from All-trial versus decoded S/P-only PPC coverage.

Complete-model versus decoded S/P-only coverage
Analysis scopeModelMetricCells coveredCells testedCoverage proportion
All trials (primary)Covariate_HMMcircular_std_error_deg3Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.25Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)Covariate_HMMmean_abs_error_deg3Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.25Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)Covariate_HMMmean_cos_error4Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.33Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)Covariate_HMMmedian_abs_error_deg4Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.33Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)Covariate_HMMprior_like_rate5Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.42Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
Decoded S/P only (sensitivity)Covariate_HMMcircular_std_error_deg5Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.42Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
Decoded S/P only (sensitivity)Covariate_HMMmean_abs_error_deg4Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.33Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
Decoded S/P only (sensitivity)Covariate_HMMmean_cos_error5Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.42Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
Decoded S/P only (sensitivity)Covariate_HMMmedian_abs_error_deg4Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.33Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
Decoded S/P only (sensitivity)Covariate_HMMprior_like_rate6Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.5Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)HMM_staticcircular_std_error_deg1Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.08Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)HMM_staticmean_abs_error_deg0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)HMM_staticmean_cos_error1Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0.08Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)HMM_staticmedian_abs_error_deg0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto
All trials (primary)HMM_staticprior_like_rate0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto12Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto0Source: All-trial versus decoded S/P-only PPC coverageTable: read_csv_auto

20 results ยท Showing first 15

Decoded S/P-only retention by condition

Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto

Loads the reviewed rows from Decoded S/P-only retained-trial summaries.

Decoded S/P-only retention by condition
ModelCoherence / prior SDObserved totalObserved retainedObserved retained proportionMean simulated retainedSimulated rate CI lowSimulated rate CI high
HMM_static0.06/108,132Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,936Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.98Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,763.7Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.06/208,171Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,956Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.97Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,801.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.06/407,784Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,437Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,435.71Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.06/8016,663Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto15,440Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto15,931.49Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.12/105,596Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,425Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.97Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,288.37Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.94Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.96Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.12/205,925Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,727Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.97Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,599.19Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.94Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.12/405,803Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,484Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,486.61Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.94Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.12/8011,589Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto10,573Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.91Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto10,963.67Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.94Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.24/102,844Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,777Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.98Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,674.6Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.24/202,372Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,328Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.98Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,228.74Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.24/402,324Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,254Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.97Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto2,186.8Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
HMM_static0.24/806,007Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,704Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto5,654.21Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
Covariate_HMM0.06/108,132Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,731Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,873.27Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.98Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
Covariate_HMM0.06/208,171Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,717Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.94Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto7,676.56Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.93Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.95Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto
Covariate_HMM0.06/407,784Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto6,796Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.87Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto6,739.46Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.86Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto0.88Source: Decoded S/P-only retained-trial summariesTable: read_csv_auto

24 results ยท Showing first 15

Generating state versus smoothed marginal-MAP decoded state

Source: Generating-state versus decoded-state classificationTable: read_csv_auto

Loads the reviewed rows from Generating-state versus decoded-state classification.

Generating state versus smoothed marginal-MAP decoded state
ModelGenerating stateDecoded stateTrials across simulationsFraction within generating state
Covariate_HMML_lapseL_lapse722,163Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.69Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMML_lapseP_prior43,127Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.04Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMML_lapseS_sensory278,232Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.27Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMP_priorL_lapse22,564Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.01Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMP_priorP_prior2,557,561Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.89Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMP_priorS_sensory303,947Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.11Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMS_sensoryL_lapse113,337Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.03Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMS_sensoryP_prior317,605Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.07Source: Generating-state versus decoded-state classificationTable: read_csv_auto
Covariate_HMMS_sensoryS_sensory3,962,464Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.9Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticL_lapseL_lapse356,413Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.61Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticL_lapseP_prior11,766Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.02Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticL_lapseS_sensory212,709Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.37Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticP_priorL_lapse7,114Source: Generating-state versus decoded-state classificationTable: read_csv_auto0Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticP_priorP_prior2,896,619Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.95Source: Generating-state versus decoded-state classificationTable: read_csv_auto
HMM_staticP_priorS_sensory160,349Source: Generating-state versus decoded-state classificationTable: read_csv_auto0.05Source: Generating-state versus decoded-state classificationTable: read_csv_auto

18 results ยท Showing first 15

How to read: Static-HMM decoded S/P distributions relative to stimulus

Question. Does the static HMM reproduce stimulus-centered shapes among decoded S/P trials?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows shape calibration after applying the identical decoded-state rule to observed and simulated responses

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Static-HMM decoded S/P distributions relative to prior

Question. Does the static HMM reproduce prior-centered shapes among decoded S/P trials?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows prior-relative calibration conditional on decoded S/P membership

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Covariate-HMM decoded S/P distributions relative to stimulus

Question. Does the covariate HMM reproduce stimulus-centered shapes among decoded S/P trials?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Simulated decoding recursively rebuilds previous error from simulated responses

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

How to read: Covariate-HMM decoded S/P distributions relative to prior

Question. Does the covariate HMM reproduce prior-centered shapes among decoded S/P trials?

Axes and layout. A 3 by 4Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration grid crosses coherence and prior width

Marks and colors. Blue is observed; orange is simulated; bands are simulation intervals

Uncertainty. 95%Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration intervals across 100Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration complete simulations per model

Result. Shows prior-relative conditional calibration without changing the fitted model

Caution. The all-trial complete-model PPC remains primary; exclusion uses the complete sequence, is not Viterbi decoding, and cannot be an online lapse detector

Source: Perceptual-arbitration model implementationFile: src/perceptual_arbitration

Convergence, restart stability, and exact fit criteria

Each fold/model fit, final fit, and subject fit used deterministic multistart optimization; the selected restart is the one with the greatest training likelihood. The report gate exposes non-convergence instead of silently accepting it. The default run selected converged fits. A wide restart likelihood range indicates multiple local optima even when the selected fit converges, which is why 25 restarts are retained for publication estimates. Held-out likelihood remains primary; AIC and BIC are secondary all-data summaries.

Convergence and restart stability

Source: Restart and convergence diagnosticsTable: read_csv_auto

Loads the reviewed rows from Restart and convergence diagnostics.

Convergence and restart stability
StageModelFoldSubjectRestartsConverged restartsSelected convergedLL range
cvHMM_static1Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.11Source: Restart and convergence diagnosticsTable: read_csv_auto
cvHMM_static2Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.13Source: Restart and convergence diagnosticsTable: read_csv_auto
cvHMM_static3Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.15Source: Restart and convergence diagnosticsTable: read_csv_auto
cvHMM_static4Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.12Source: Restart and convergence diagnosticsTable: read_csv_auto
cvIndependent_switching1Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.15Source: Restart and convergence diagnosticsTable: read_csv_auto
cvIndependent_switching2Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.07Source: Restart and convergence diagnosticsTable: read_csv_auto
cvIndependent_switching3Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.07Source: Restart and convergence diagnosticsTable: read_csv_auto
cvIndependent_switching4Source: Restart and convergence diagnosticsTable: read_csv_autoโ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.03Source: Restart and convergence diagnosticsTable: read_csv_auto
finalHMM_staticโ€”โ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0.17Source: Restart and convergence diagnosticsTable: read_csv_auto
finalIndependent_switchingโ€”โ€”25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue1.54Source: Restart and convergence diagnosticsTable: read_csv_auto
subjectHMM_staticโ€”1Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0Source: Restart and convergence diagnosticsTable: read_csv_auto
subjectHMM_staticโ€”2Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue119.71Source: Restart and convergence diagnosticsTable: read_csv_auto
subjectHMM_staticโ€”3Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0Source: Restart and convergence diagnosticsTable: read_csv_auto
subjectHMM_staticโ€”4Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue0Source: Restart and convergence diagnosticsTable: read_csv_auto
subjectHMM_staticโ€”5Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_auto25Source: Restart and convergence diagnosticsTable: read_csv_autotrue3.04Source: Restart and convergence diagnosticsTable: read_csv_auto

42 results ยท Showing first 15

In-sample information criteria

Source: Final static HMM parameters and posterior statesTable: read_csv_auto

Loads the reviewed rows from Final static HMM parameters and posterior states.

In-sample information criteria
ModelParametersAICBICConverged
Covariate_HMM51Source: Final static HMM parameters and posterior statesTable: read_csv_auto135,221.8Source: Final static HMM parameters and posterior statesTable: read_csv_auto135,697.59Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue
HMM_static15Source: Final static HMM parameters and posterior statesTable: read_csv_auto140,239.05Source: Final static HMM parameters and posterior statesTable: read_csv_auto140,378.99Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue
Serial_resp_independent_switching10Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,088.56Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,181.85Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue
Serial_both_independent_switching11Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,079.66Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,182.28Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue
Independent_switching9Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,107.9Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,191.86Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue
Serial_stim_independent_switching10Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,108.89Source: Final static HMM parameters and posterior statesTable: read_csv_auto150,202.18Source: Final static HMM parameters and posterior statesTable: read_csv_autotrue

Terminology and notation glossary

Use this table when opening the derivations. Sensory, prior, and lapse are inferred model states; they are not direct observations. Gamma and xi denote posterior probabilities, while the transition matrix is generative.

Notation glossary

Source: Generated notation glossaryTable: read_csv_auto

Loads the reviewed rows from Generated notation glossary.

Notation glossary
SymbolMeaningUnit or range
tTrial index within one run-level sequenceindex
TNumber of trials in a sequencecount
yโ‚œParticipant's reported direction on trial tangle
ฮธโ‚œTrue motion direction on trial tangle
ฮผโ‚œLearned prior center; 225 degrees hereangle
cโ‚œMotion coherence; 0.06, 0.12, or 0.24proportion
ฯƒโ‚œPrior standard deviation; 10, 20, 40, or 80 degreesdegrees
zโ‚œUnobserved state on trial tS, P, or L
SSensory-reliance statestate
PPrior-reliance statestate
LLapse/random-response statestate
ฮบvon Mises concentration; larger means a narrower circular distributionprecision
Iโ‚€(ฮบ)Modified Bessel function that normalizes a von Mises densitynormalizer
ฯ€แตขProbability that a sequence starts in state iprobability
AแตขโฑผProbability of moving from state i to state jprobability

23 results ยท Showing first 15

Complete visual index

This audit table proves that every native chart and numbered embedded figure has a question, reading guide, numerical takeaway, and caveat. The same entries appear adjacent to the corresponding visuals.

Complete visual guide

Source: Generated complete visual guideTable: read_csv_auto

Loads the reviewed rows from Generated complete visual guide.

Complete visual guide
VisualQuestionTakeawayCaveat
Experiment schematicWhat happened on each trial and how are trials nested?The analysis preserves run-level temporal orderThis is a redraw from the paper's methods, not original artwork
Responses relative to the stimulusHow tightly did reports cluster around the true direction?Higher coherence produces narrower stimulus-centered responsesDistribution shape alone does not identify latent states
Responses relative to the priorHow strongly did reports cluster around the learned prior?Narrow priors and weak sensory evidence increase prior-centered responsesPrior-centered responses need not imply deliberate prior choice
Absolute held-out performanceWhich model best predicts unseen run sequences?Covariate HMM is best at -0.8133 LL/trialAbsolute LL values depend on response-density units; compare models on the same trials
Paired model differencesHow much does each model improve on independent Switching?Static HMM density ratio 1.064; covariate HMM ratio 1.096A density ratio is not classification accuracy
Static HMM transition matrixDo inferred states persist across adjacent trials?Sensory self-transition 0.937; prior self-transition 0.964States are inferred computational labels, not directly observed mental states
Emission concentrationDo fitted state labels behave as sensory and prior states should?Sensory precision rises with coherence and prior precision falls with prior widthConcentration is not a probability and should be translated to circular spread
Posterior occupancy and representative sequenceWhen are sensory, prior, and lapse states inferred?Occupancy changes with coherence, prior width, and conflict and forms temporal runsThe representative sequence is selected deterministically, not as the strongest example
Subject-level persistenceIs persistence only a group-average artifact?Mean sensory=0.867; prior=0.839Separate fits are empirical-Bayes summaries, not a hierarchical posterior
Serial-dependence controlsCan attraction to only the previous trial explain the HMM advantage?One-back baselines are essentially tied with independent SwitchingSmall fitted coefficients do not rule out every possible history effect
Covariate transition effectsWhich conditions change state persistence?Largest contrast: prior_precision for L_lapse = 0.309Associations condition on fitted responsibilities and are not causal effects
PPC condition metricsDo the static and covariate HMMs reproduce observed condition summaries?Covariate-dependent HMM: 19/60 cells covered; Static Hidden Markov Switching Observer: 2/60 cells coveredCoverage is an absolute calibration diagnostic, not a formal hypothesis-test decision
Static-HMM distributions relative to stimulusDoes the static HMM reproduce complete response shapes around the stimulus?Shows where the static HMM captures or misses stimulus-centered shapeVisual agreement in one cell does not imply condition-wide adequacy
Static-HMM distributions relative to priorDoes the static HMM reproduce complete response shapes around the prior?Shows condition-specific static-HMM prior-centered shape calibrationHistogram agreement is complementary to the five metric coverage tests
Covariate-HMM distributions relative to stimulusDoes covariate-dependent switching improve stimulus-centered response-shape calibration?Directly checks the final covariate HMM under the observed designImprovement over the static HMM does not by itself establish absolute adequacy

23 results ยท Showing first 15

Supported conclusions and unresolved limitations

Supported conclusion. Static and covariate HMMs predict held-out responses better than independent Switching, with positive paired sequence-bootstrap intervals. Sensory- and prior-state persistence is high in the pooled fit and varies across separately fitted participants. The tested one-back serial baselines provide negligible improvement.

Unresolved limitation. Posterior predictive calibration is incomplete: Covariate HMM covered 19/60 condition-metric cells; Static HMM covered 2/60 condition-metric cells. The covariate HMM improved coverage from 2/60 to 19/60 selected condition-metric cells. Covariate HMM coverage improved from 19/60 to 24/60 condition-metric cells; Static HMM coverage deteriorated from 2/60 to 0/60 condition-metric cells. Covariate effects are conditional rather than causal. State labels are model-based constructs, marginal-MAP state sequences are not observed strategies or Viterbi paths, and subject summaries are not a full hierarchical posterior. The complete PPC and conditional S/P-only sensitivity evaluate selected summaries and therefore cannot prove that either generative model is globally adequate.

Evidence boundary. This is behavioral and computational evidence. It does not directly measure neural states, identify a biological switching mechanism, or justify a neural claim. The contextual Basic Bayesian and original condition-dependent Switching observers were not refitted and are absent from the numerical ranking.

What would make the explanation stronger

A richer dynamic model should address the PPC failure before the winning HMM is treated as an adequate process account. New experiments could vary prior means, manipulate environmental volatility, and randomize feedback availability or reliability. A full hierarchical HMM would propagate participant-level uncertainty. Neural measurements would be a separate empirical test of the computational state hypothesis, not a conclusion from this behavioral dataset.

Sources

  1. Laquitaine and Gardner direction-estimation datasetdata/data01_direction4priors.csv ยท duckdb

    Loads the reviewed rows from Laquitaine and Gardner direction-estimation dataset.

    SQL query
    SELECT * FROM read_csv_auto('data/data01_direction4priors.csv')
  2. Laquitaine and Gardner (2018), A Switching Observer for Human Perceptual Estimation
  3. Temporal-arbitration reanalysis proposalPROPOSAL.md
  4. Resolved default publication configurationconfigs/default.yaml
  5. Perceptual-arbitration model implementationsrc/perceptual_arbitration
  6. Cross-validation model resultsoutputs/full_run/cv_results.csv ยท duckdb

    Loads the reviewed rows from Cross-validation model results.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/cv_results.csv')
  7. Sequence-bootstrap model differencesoutputs/full_run/bootstrap_model_differences.csv ยท duckdb

    Loads the reviewed rows from Sequence-bootstrap model differences.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/bootstrap_model_differences.csv')
  8. Final static HMM parameters and posterior statesoutputs/full_run/hmm_final_parameters.csv ยท duckdb

    Loads the reviewed rows from Final static HMM parameters and posterior states.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/hmm_final_parameters.csv')
  9. Subject-level HMM fitsoutputs/full_run/subject_level_hmm.csv ยท duckdb

    Loads the reviewed rows from Subject-level HMM fits.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/subject_level_hmm.csv')
  10. Covariate-HMM effectsoutputs/full_run/covariate_hmm_effect_intervals.csv ยท duckdb

    Loads the reviewed rows from Covariate-HMM effects.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/covariate_hmm_effect_intervals.csv')
  11. Static and covariate HMM posterior predictive intervalsoutputs/full_run/posterior_predictive_model_metric_intervals.csv ยท duckdb

    Loads the reviewed rows from Static and covariate HMM posterior predictive intervals.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/posterior_predictive_model_metric_intervals.csv')
  12. Posterior predictive condition-metric coverageoutputs/full_run/posterior_predictive_model_coverage.csv ยท duckdb

    Loads the reviewed rows from Posterior predictive condition-metric coverage.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/posterior_predictive_model_coverage.csv')
  13. Restart and convergence diagnosticsoutputs/full_run/report/data/restart_summary.csv ยท duckdb

    Loads the reviewed rows from Restart and convergence diagnostics.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/restart_summary.csv')
  14. Generated data dictionaryoutputs/full_run/report/data/data_dictionary.csv ยท duckdb

    Loads the reviewed rows from Generated data dictionary.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/data_dictionary.csv')
  15. Generated notation glossaryoutputs/full_run/report/data/notation_glossary.csv ยท duckdb

    Loads the reviewed rows from Generated notation glossary.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/notation_glossary.csv')
  16. Generated metric dictionaryoutputs/full_run/report/data/metric_dictionary.csv ยท duckdb

    Loads the reviewed rows from Generated metric dictionary.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/metric_dictionary.csv')
  17. Generated model catalogoutputs/full_run/report/data/model_catalog.csv ยท duckdb

    Loads the reviewed rows from Generated model catalog.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/model_catalog.csv')
  18. Generated analysis pipelineoutputs/full_run/report/data/analysis_pipeline.csv ยท duckdb

    Loads the reviewed rows from Generated analysis pipeline.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/analysis_pipeline.csv')
  19. Generated emission interpretationoutputs/full_run/report/data/emission_interpretation.csv ยท duckdb

    Loads the reviewed rows from Generated emission interpretation.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/emission_interpretation.csv')
  20. Generated complete visual guideoutputs/full_run/report/data/figure_guide.csv ยท duckdb

    Loads the reviewed rows from Generated complete visual guide.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/figure_guide.csv')
  21. Decoded S/P-only posterior predictive intervalsoutputs/full_run/posterior_predictive_sp_model_metric_intervals.csv ยท duckdb

    Loads the reviewed rows from Decoded S/P-only posterior predictive intervals.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/posterior_predictive_sp_model_metric_intervals.csv')
  22. All-trial versus decoded S/P-only PPC coverageoutputs/full_run/report/data/sp_coverage_comparison.csv ยท duckdb

    Loads the reviewed rows from All-trial versus decoded S/P-only PPC coverage.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/sp_coverage_comparison.csv')
  23. Decoded S/P-only retained-trial summariesoutputs/full_run/posterior_predictive_sp_model_retention_summary.csv ยท duckdb

    Loads the reviewed rows from Decoded S/P-only retained-trial summaries.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/posterior_predictive_sp_model_retention_summary.csv')
  24. Generating-state versus decoded-state classificationoutputs/full_run/report/data/sp_classification.csv ยท duckdb

    Loads the reviewed rows from Generating-state versus decoded-state classification.

    SQL query
    SELECT * FROM read_csv_auto('outputs/full_run/report/data/sp_classification.csv')