Research article · Founding article · Published 2026-11-24 · Open access, CC-BY 4.0

The Squealer: Sensification of model exploration and model misfit

Andrew Gelman1 · Andrew H. Jaffe2 · Eliot Carlson3 · Philip Greengard4

1 Department of Statistics and Department of Political Science, Columbia University, New York. · 2 Department of Physics, Blackett Laboratory, Imperial College, London. · 3 Center for Computational Mathematics, Flatiron Institute, New York. · 4 Center for Computational Neuroscience, Flatiron Institute, New York.

model misfitsonificationBayesian posterior perturbationstatistical graphicscurve fittingexploratory data analysis
doi: https://doi.org/10.68365/jrepstat.2026.16 Vol. 1 (2026) · Art. 16 Version 1 how to cite ↓ html pdf (typeset)
✓ Reproduced

Reproducibility record

verified 2026-11-18
Result
Reported results reproduced. All figures regenerate. GP Table 1: 7 of 9 values as printed, two differ by 0.01. CMB costs 150.3, 39.0, 20.0 against the printed 150.4, 40.0, 20.2.
✓ measured
Entry point
run-all.sh, no command. The author's code is code/jrs-code/cmb/cmb_spectrum.py, code/jrs-code/cmb/cmb_squealer.py, code/jrs-code/cmb/cmb_squealer_multipanel.py and 10 more in the package.
declared
Environment
macOS arm64 native, R 4.5.2 with rstan and CmdStan 2.40, Python 3.12 from uv.lock, Planck plc 3.1
✓ measured
Determinism
Seeded.
declared
Archive
the-squealer-sensification-of-model-exploration-and-model-misfit-v1-repro.zip · reviewed bundle SHA-256 e578707124c294e869f090b0051e648bc8bdef3b2b0f957520417227b2674f0f · https://doi.org/10.5281/zenodo.24498920
✓ computed
Data
Open.
declared, route checked
AI use
Code assistance, model not stated.
declared

Reproducibility package (.zip, 4.5 MB) · Zenodo doi:10.5281/zenodo.24498920 · SHA-256 d7db56e1089b4b21d217fd350255d680c392a4f241e47884b18dc8ddc5db02f7

Open review

Peer review record

2 rounds · 3 reviewers · signed Full reviewsHide reviews
2026-10-26Minor revision2026-11-178 answers2026-11-18Accepted

The decision letters, the reports the authors read, their answers and the editor's signed decisions, as written. The reports come from the journal's review engine. The authors could have kept this record private until they confirmed the proof.

Round 1Minor revision3 reviewers · response
Minor revisionConfirmed and signed by Matthias Templ2026-10-26 · orcid 0000-0002-8638-5276
Decision letter2026-10-26The paper introduces an interactive method for exploring model misfit by dragging a fitted curve toward user-specified pseudo-data points, re-fitting under a soft “gravitational” constraint, and reporting the resulting loss of fit through visual and auditory feedback. It will interest applied statisticians and domain modelers who want to interrogate why a fitted curve misses the data, demonstrated across golf putting, serial-dilution assays, CMB cosmology, and a Gaussian process. We would be glad to see the revised version.

Thank you for your submission to JRepStat. We are inviting a minor revision. The reviewers’ points follow, grouped by weight.

The paper introduces an interactive method for exploring model misfit by dragging a fitted curve toward user-specified pseudo-data points, re-fitting under a soft “gravitational” constraint, and reporting the resulting loss of fit through visual and auditory feedback. It will interest applied statisticians and domain modelers who want to interrogate why a fitted curve misses the data, demonstrated across golf putting, serial-dilution assays, CMB cosmology, and a Gaussian process. We would be glad to see the revised version.

How to read this letter. The decision rests on the items marked required. If a required item seems wrong to you, or cannot be done within this paper, decline it on the revision page and give the reason. A reasoned decline is a legitimate answer, and the editor weighs it. Reviewers can be mistaken. Items marked recommended or optional are advice from the reviewers. Adopt them, decline them with a sentence, or leave them for later work. None of that counts against the paper. The reviewer reports below carry the same marks. The editor who signs this decision may weigh an item differently in the accompanying message, and that message prevails.

required (the decision rests on these):

  • [writing-quality] ` Several word-level errors that are not extraction artefacts should be corrected: “1.25 million attempted puts” should be “putts”; “the final bin cantered at 75 feet” should be “centered”; “forcing the curve go through” is missing “to”; “adjusting the posterior the posterior so that” repeats “the posterior”; and “The data binned by distance from the hole, binned into 31 categories” is missing a verb and repeats “binned”. These change or obscure meaning, so the authors should decide the correct wording.
  • [methods-soundness] In Section 1.3 the augmented posterior is written p(θ|y) ∝ p(θ|y) normal(y|x, σ); the normal density should be conditioned on the curve, normal(y|g(x|θ), σ*), as given correctly in Section 1.2. Correct the density argument so the augmented target is unambiguous.
  • [Reviewer 1] Formula (1) defines the posterior sd of g(x*) as the posterior average of the conditional sds, which is not the sd of the posterior of g. Correct the integral or state it as an approximation.
  • [Reviewer 1] The golf interpretation rests on the claim that short-distance bins contain failed attempts from longer putts. Justify this from the data structure or qualify it.
  • [Reviewer 2] Equation (1) defines σ* incoherently: the integrand sd(g(x|θ)) is zero for fixed θ because g is deterministic given θ, the differential reads dy where θ is the variable of integration, and a posterior sd cannot equal a posterior average of per-θ sds. State the intended quantity (the posterior standard deviation of g(x)).
  • [Reviewer 2] The quantity conveyed by sound is described two ways. Figure 1 and Figure 2 captions use the change in log posterior, log p(θ*|x,y) − log p(θ̂|x,y), while the Section 2.1 prototype text uses the decrease in log likelihood under the original model. Reconcile which quantity drives the squeal and use it consistently.
  • [Reviewer 2] Equation (1) is offered as the default σ* rule but is not the rule used in the GP example (fixed 10⁻⁶) or the CMB example (σ̄_ℓ), and the squeal magnitude (e.g. cost 150.4 vs 20.2) has no absolute scale because it depends on σ. Either add a short treatment of what the squeal magnitude means and why σ* differs by example, or qualify eq (1) as one default and the squeal as a relative diagnostic.
  • [Reviewer 3] Post runnable code and data for all four examples, not only the golf prototype, each with a command that regenerates its figure. The paper’s four demonstrations are its evidence, and only one has a linked artifact.

recommended:

  • [software-landscape] The interactive prototype at the GitHub link is a manipulable-graphics system in the same space as GGobi (already cited), loon, plotly and Shiny. Please add one or two sentences placing the dragging-and-updating interface relative to existing interactive graphics systems, so a reader can see what the Squealer adds beyond brushing and linked views.
  • [software-landscape] The Gaussian process example and the dilution model are fit with the authors’ own Stan and closed-form R code. Since these serve only to illustrate the method, no cross-check is required, but one line naming an established GP implementation (kernlab, GPfit, or GPy/GPflow) alongside the Rasmussen and Williams citation would help readers who want to reproduce the GP fit with a standard tool.
  • [statistical-rigor] The predicted “approximately 80% shift toward the pseudo-data point” is derived from a normal, locally linear baseline (the ratio 1²/(1²+0.5²)), then stated as a general expectation. The example models (the golf arcsine-normal curve, the four-parameter logistic assay, the CMB spectrum, the GP) are nonlinear, so the actual shift will depart from 80%. Add one sentence stating that this figure is a normal-linear approximation and that realized shifts in the nonlinear examples differ.
  • [statistical-rigor] The “cost” of each perturbation (for example 150.4, 40.0, 20.2 in Figure 10, and the hyperparameter changes in Table 1) is reported as a single log-likelihood decrement with no indication of sampling or Monte Carlo uncertainty. For a tool whose purpose is to quantify discomfort with a fit, a reader cannot tell which differences are meaningful. State whether these costs are deterministic given the fitted mode or carry Monte Carlo error, and if the latter give a rough magnitude.
  • [statistical-rigor] The ±1 standard error intervals shown for log β2 and log σy in Figure 9 are, for the two perturbed samples, shrunk by the pseudo-data mechanism rather than by the data, as the text notes in Section 1.4 and 2.2. Readers may still read those narrowed intervals as genuine posterior precision. Mark in the Figure 9 caption that the intervals for samples 3 and 23 are artifacts of the gravitational constraint and do not represent real uncertainty reduction.
  • [visualisation] In Figure 10 the best-fit curve is red and the Squealer curve is orange, with blue data error bars. Red against orange is hard to separate for readers with protan or deutan colour vision, and these are the two curves the reader must compare. Please separate them more, for example a solid dark line for the best fit and a distinct dashed line plus a non-orange hue for the Squealer curve, so the contrast survives in greyscale. The red/blue coding in Figures 1, 2, 5, 6 and 8 reads more safely, since dark blue, light blue and red stay distinguishable.
  • [visualisation] Figure 9 places the two panels on different axis scales and notes this in the caption. The side-by-side layout invites a direct visual comparison that the differing scales defeat, since the apparent spread of points is not comparable across panels. Consider a shared x-axis range, or an explicit marker of the common region, so the shift in samples 3 and 23 reads against a fixed frame.
  • [visualisation] The central dashboard panels in Figures 1, 2, 5 and 6 carry many small stacked labels (theta[1] through theta[6], log prior, log lik, log post) and the right-hand residual panels use axis ticks like “-1e-05 1e-05 3e-05” in small type. At print size these are hard to read. Larger tick labels and a short key for the dashboard rows would help, given the paper leans on these panels to carry its argument.
  • [methods-soundness] For point summaries other than the mode the paper states there is no guarantee the log posterior decreases, so the quantity to be sonified is undefined, and the KL alternative is proposed but not applied in any example. Please state in one sentence which scalar is actually used for the auditory signal in each example (the examples appear to use the mode or the fixed-hyperparameter closed form).
  • [Reviewer 1] The abstract describes sound that grows “louder and more unpleasant” while the prototype maps discrepancy to pitch. Reconcile these and add a sentence on the rationale for the sonic mapping.
  • [Reviewer 1] The Figure 11 caption states hyperparameters are fixed, while Table 1 shows them changing across conditions. Clarify what is held fixed and when.
  • [Reviewer 2] Report how far the curve moves and how large the squeal is as σ* varies, for at least the golf and GP examples, so a reader can judge the sensitivity of the diagnostic to this tuning choice.
  • [Reviewer 3] Capture the compute environment (Stan, R or Python, optimizer library versions) and the seeds for the simulated GP example and the posterior draws, with a short determinism note.
  • [Reviewer 3] Document the sound mapping used by the prototype (how pitch and loudness follow the change in log likelihood) so the sonification is reproducible, not only the curve-fitting.

optional:

  • [Reviewer 1] A small user study of whether the auditory channel aids misfit understanding would support the claims about non-expert intuition.

We will correct these in production, and you confirm them in the proof:

  • [consistency-check] Section 2.2 states Figure 7 shows “22 unknown samples”, but the rest of the paper uses 23: samples are numbered 1 to 23 in Figure 9, the text refers to “samples 23 and 3”, “the set of 23 values of the parameter β2”, and Figure 9’s caption says “23 unknown samples”. The “22” contradicts the count the paper otherwise uses and should be reconciled to the correct value.
  • [consistency-check] The Figure 8 caption reads “Applying the Squealer to the data and model from Figure 8”, referring to itself. From the text (Section 2.2 introduces the plate and curves in Figure 7) the intended reference is Figure 7.
  • [consistency-check] Section 1.1 refers to “Figure 2.2” when discussing the four-parameter logistic assay model (“as discussed further in Figure 2.2”). No Figure 2.2 exists; the intended target is Section 2.2.
  • [consistency-check] In Section 2.1 the full paragraph describing the software prototype (“We include a software prototype with the golf example at https://github.com/elc45/squealer-prototype … responding in real time.”) is printed twice in succession. One copy should be removed.
  • [methods-soundness] In Eq (1) the averaging integral is written with measure dy but integrates p(θ|y) over θ, so the measure should be dθ. (the correct form is fixed by the surrounding text)
  • [methods-soundness] The software-prototype paragraph in Section 2.1 is duplicated verbatim.
  • [prose-and-style] Section 2.4, “adjusting the posterior the posterior so that it moves through the pseudo-data point” repeats “the posterior”.

Reviews

Report Reviewer 1recommends minorThis is an appealing and well-motivated contribution. The central idea, inverting the usual direction of exploration so that the user moves the curve and lets the parameters follow under a soft constraint, matches how applied modelers actually think about misfit. The framing in terms of pulling a fitted curve toward pseudo-data, then reading off the statistical price in the likelihood and in individual data points, is a genuine addition to the exploratory toolkit. The four examples are chosen well and span a useful range, from a tightly constrained two-parameter model to a nonparametric GP, and each one teaches something about why a model resists the fit the eye wants.

Written by the journal's review engine in the role of the application reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

This is an appealing and well-motivated contribution. The central idea, inverting the usual direction of exploration so that the user moves the curve and lets the parameters follow under a soft constraint, matches how applied modelers actually think about misfit. The framing in terms of pulling a fitted curve toward pseudo-data, then reading off the statistical price in the likelihood and in individual data points, is a genuine addition to the exploratory toolkit. The four examples are chosen well and span a useful range, from a tightly constrained two-parameter model to a nonparametric GP, and each one teaches something about why a model resists the fit the eye wants.

My largest application concern is the golf narrative, because it carries the paper’s cleanest interpretive payoff. The explanation for the large likelihood cost is that the short-distance bins hold “a pileup of data near x = 0” made up of failed attempts from other distances that came close. In the aggregate putting data I am aware of, each attempt is recorded at its true starting distance, so a missed long putt does not re-enter a short bin. If the data here are structured differently, say by recording a follow-up putt, that needs stating, because the whole point of the panel depends on where those hundreds of thousands of attempts actually come from. Please either justify this from the data definition or qualify the sentence so the conclusion rests on bin counts rather than on a claimed re-binning of misses.

On the method itself, equation (1) sets the gravitational scale to half the posterior sd of g(x), then writes that quantity as the posterior average of the conditional sds of g(x|theta). Those are not equal in general, since the sd of a mixture is not the mixture of the component sds, and the displayed integral is also written with dy where dθ is meant. For a method paper this formula is load-bearing, so it should be corrected or presented explicitly as an approximation with a note on when it is adequate.

On sonification, which is where the title places the paper, the sonic layer is described rather than demonstrated, and the manuscript says as much. That is a defensible scope for a method paper. Two things would still help a reader from the sonification side. The abstract promises a sound that grows louder and more unpleasant, while the golf prototype maps the discrepancy to pitch, and these are different perceptual channels with different detectability properties. A sentence reconciling the two, and a sentence on why the chosen mapping was expected to work, would ground the design in the auditory-display literature the introduction already gestures at. The claim that the tool builds intuition for non-experts is reasonable as a motivation and is currently unsupported by any use evidence, which is fine to leave as future work if stated that way.

The bioassay and cosmology examples read well, and the honest treatment of the posterior-constriction artifact in Section 1.4, carried through to the shrunken sample 3 and 23 uncertainties in Figure 9, is the right way to handle a known limitation. In the GP example, the caption says the kernel hyperparameters are fixed while Table 1 reports them moving across the zero, one, and two pseudo-point fits. I take it the hyperparameters are re-fit and then held at their new values for sampling, but the reader should not have to reconstruct that.

A few cross-references and a repeated paragraph need the production pass noted above. None of these affect the result.

Numbered suggestions to the authors:

  1. required Correct equation (1): the posterior sd of g(x) is not the posterior average of the conditional sds sd(g(x|theta)), and the integral is written over dy rather than dθ. State the exact quantity, or present (1) as an approximation with a note on when it holds.
  2. required Justify the claim in Section 2.1 that the short-distance bins include failed attempts from longer putts, from the definition of the putting data, or qualify the interpretation so it rests on the large bin counts near x = 0 rather than on a re-binning of misses.
  3. [editor_fix] Remove the duplicated software-prototype paragraph in Section 2.1.
  4. [editor_fix] Fix the Figure 8 caption, which refers to “Figure 8” where Figure 7 is meant, and the text reference “Figure 2.2”, which should be Section 2.2.
  5. recommended Reconcile the sound description in the abstract (louder and more unpleasant) with the pitch mapping in the prototype, and add one or two sentences on the rationale for the chosen sonic mapping with reference to the auditory-display work cited in Section 1.5.
  6. recommended Clarify the Figure 11 caption against Table 1: state which hyperparameters are re-fit and which are held fixed for sampling at each stage.
  7. recommended Confirm in the paper that data and code for all four examples are posted, not the golf prototype alone.
  8. optional A small study of whether listeners detect the intended misfit from the audio channel would support the claim that the tool aids non-expert intuition.
Report Reviewer 2recommends minorThis is a clearly written methods-and-ideas paper. The central device is appealing and, as far as I can tell, sound in its basic logic: multiply the posterior by a normal “gravity” term centred on a user-placed pseudo-data point, re-optimise, and read off how much the fit resists the pull. Treating the squeal as the model’s resistance to a desired curve shape is a reasonable exploratory diagnostic, and the four examples cover a useful range of structures, from a two-parameter curve to a nonparametric GP. The precision-weighting argument for the roughly 80% shift (1/(1 + 0.5²) = 0.8) is correct, and the honesty about the method’s limits in Sections 1.3 and 1.4 is welcome. My comments are mostly about tightening the statistical statements, because a method paper is judged on whether its formulas and its reported diagnostic mean what they say.

Written by the journal's review engine in the role of the methodology reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

This is a clearly written methods-and-ideas paper. The central device is appealing and, as far as I can tell, sound in its basic logic: multiply the posterior by a normal “gravity” term centred on a user-placed pseudo-data point, re-optimise, and read off how much the fit resists the pull. Treating the squeal as the model’s resistance to a desired curve shape is a reasonable exploratory diagnostic, and the four examples cover a useful range of structures, from a two-parameter curve to a nonparametric GP. The precision-weighting argument for the roughly 80% shift (1/(1 + 0.5²) = 0.8) is correct, and the honesty about the method’s limits in Sections 1.3 and 1.4 is welcome. My comments are mostly about tightening the statistical statements, because a method paper is judged on whether its formulas and its reported diagnostic mean what they say.

The definition of the gravity scale in equation (1) does not hold as written. The right-hand side sets the posterior standard deviation of g(x) equal to one half of a posterior average of sd(g(x|θ)). For fixed θ the curve value g(x|θ) = E(y|x,θ) is a single number, so its standard deviation is zero, and the integral is written against dy rather than the posterior over θ. The intended object is the posterior standard deviation of g(x*) across draws of θ, which is what the surrounding text and Figure 3 clearly use. Please restate eq (1) so the symbol matches that quantity.

A second clarity point concerns the quantity that squeals. The captions of Figures 1 and 2 map sound to the change in log posterior density, while the prototype description in Section 2.1 maps it to the decrease in log likelihood under the original model. These coincide only when the prior contribution does not change, which is exactly the hierarchical case (dilution assays) where it does change, since the paper itself states the penalty there is paid in the prior. Pick one quantity and carry it through the captions, the prototype text, and the discussion.

The deeper methodological question is how to read the squeal. Equation (1) is presented as the default scale, but the GP example pins the pseudo-point with variance 10⁻⁶ and the CMB example uses its own σ̄_ℓ, so the default rule is used in at most two of the four cases. Because the reported cost scales with σ, the numbers in Figure 10 (150.4, 40.0, 20.2) are interpretable only relative to one another within a fixed σ*, and the same is true of the golf change-in-log-likelihood plot. The paper would be on firmer ground if it said this plainly: the squeal is a relative diagnostic, eq (1) is one default, and different problems warrant different scales. A sensitivity curve for the golf and GP cases would make the point concrete without new data.

On reproducibility, the prototype covers the golf case; the dilution, CMB, and GP results, including the hyperparameters in Table 1, are the ones I would most want to rerun, since they involve real fitting choices. Posting the code for all four would let a reader verify the figures. Two production-level items: the prototype paragraph in Section 2.1 is duplicated verbatim, and the Figure 8 caption points at Figure 8 where it means Figure 7.

Numbered suggestions to the authors:

  1. required Correct equation (1) so σ* is defined as (one half of) the posterior standard deviation of g(x*) over draws of θ. As written the integrand is zero for fixed θ, the differential reads dy, and a posterior sd is set equal to a posterior mean of per-θ sds.
  2. required Use a single quantity for the squeal throughout. The Figure 1 and 2 captions use the change in log posterior; the Section 2.1 prototype text uses the decrease in log likelihood. These differ exactly in the hierarchical dilution case where the prior term moves.
  3. required Say what the squeal magnitude means and why σ* is chosen differently across examples (eq (1) default, 10⁻⁶ in the GP, σ̄_ℓ* in the CMB), or add one or two sentences qualifying eq (1) as a default and the squeal as a scale-dependent relative diagnostic.
  4. [editor_fix] Remove the duplicated prototype paragraph in Section 2.1.
  5. [editor_fix] Change the Figure 8 caption reference from Figure 8 to Figure 7.
  6. recommended Post runnable code for all four examples so the dilution, CMB, GP figures and Table 1 can be reproduced, not only the golf prototype.
  7. recommended Show how the curve shift and the squeal change as σ* varies for the golf and GP examples, so the sensitivity of the diagnostic to this tuning choice is visible.
Report Reviewer 3recommends majorI read this as a software and reproducibility reviewer. My questions are whether I can run the thing, whether the code is sound, and whether the figures in the paper are the code’s output. The method itself is clearly described and the idea is attractive. The paper is also plain that it demonstrates principles with static graphics and that the dynamic, sonic, and haptic forms are future work, so I am not holding it to a standard of a shipped interactive tool.

Written by the journal's review engine in the role of the software reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

I read this as a software and reproducibility reviewer. My questions are whether I can run the thing, whether the code is sound, and whether the figures in the paper are the code’s output. The method itself is clearly described and the idea is attractive. The paper is also plain that it demonstrates principles with static graphics and that the dynamic, sonic, and haptic forms are future work, so I am not holding it to a standard of a shipped interactive tool.

The central gap for me is coverage of the artifacts. The abstract and body present four worked examples (golf, dilution assays, CMB power spectrum, GP temperature), and each figure is an output of code. Only the golf example has a linked prototype, at the GitHub URL in Section 2.1. The footnote says all data and code “will be freely available and posted on Github”, in the future tense. For a new-method paper whose argument rests entirely on these four demonstrations, the reproducibility minimum is code plus a command that regenerates each figure, available at submission. Please post the code and data for all four examples, each with a runnable entry point. I could not inspect the repository contents, so I am asking only that the artifacts exist and run, not for anything about their internal structure.

Two formula statements are wrong as printed and should be fixed because a reader reconstructing the method from them would be misled. In Section 1.3 the augmented posterior is written p(θ|y) ∝ p(θ|y) normal(y|x, σ); the normal density should be centered at g(x*|θ), matching the construction in Section 1.2. In equation (1) the integral averages over the posterior but is written with dy where it should be dθ. Both are quick corrections.

A few things fall to the production list rather than to you as analysis. Section 2.1 contains a full paragraph printed twice, the block beginning “We include a software prototype with the golf example” and ending at the L-BFGS sentence. The Figure 8 caption refers to “Figure 8” where it means Figure 7, and the Figure 1 discussion writes “Figure 2.2” for what is Section 2.2.

On reproducibility beyond the minimum, two additions would let the journal verify the examples and would document what you already have. The GP temperature case uses simulated data, fitted hyperparameters, and posterior draws, and the fitted values in Table 1 depend on the random draws and the optimizer. Recording the environment versions (Stan, R or Python, the optimizer library) and the seeds, with a one-line determinism note, would make Table 1 and Figure 11 reproducible. Separately, the sonification is the paper’s headline move, and right now only the curve fitting is described well enough to repeat. A short statement of how pitch and loudness map to the change in log likelihood in the prototype would make the sound reproducible too.

Numbered suggestions to the authors:

  1. required Post runnable code and data for all four examples, not only the golf prototype, each with a command that regenerates its figure.
  2. required Correct the augmented-posterior density in Section 1.3 to be centered at g(x*|θ), and change the integration variable in equation (1) from dy to dθ.
  3. [editor_fix] Remove the duplicated paragraph in Section 2.1 (the “We include a software prototype … L-BFGS optimizer” block printed twice).
  4. [editor_fix] Fix the Figure 8 caption to reference Figure 7, and change “Figure 2.2” in the Figure 1 discussion to Section 2.2.
  5. recommended Capture the compute environment versions and the seeds for the simulated GP example and the posterior draws, with a short determinism note, so Table 1 and Figure 11 can be reproduced.
  6. recommended Document the prototype’s sound mapping (how pitch and loudness follow the change in log likelihood) so the sonification can be reproduced alongside the curve fitting.

Revision

Authors' response2026-11-17 · 8 answersAuthors confirm each required point as done or give their reason for declining it. Further answers are voluntary, because the review compares every revision with the previous version and the next round's reports say what remains open.

Authors confirm each required point as done or give their reason for declining it. Further answers are voluntary, because the review compares every revision with the previous version and the next round's reports say what remains open.

required ` Several word-level errors that are not extraction artefacts should be corrected: "1.25 million attempted puts" should be "putts"; "the final bin cantered at 75 feet" should be "centered"; "forcing the curve go through" is missing "to"; "adjusting the posterior the posterior so that" repeats "the posterior"; and "The data binned by distance from the hole, binned into 31 categories" is missing a verb and repeats "binned". These change or obscure meaning, so the authors should decide the correct wording.
Done
required In Section 1.3 the augmented posterior is written p(θ*|y) ∝ p(θ|y) normal(y*|x*, σ*); the normal density should be conditioned on the curve, normal(y*|g(x*|θ), σ*), as given correctly in Section 1.2. Correct the density argument so the augmented target is unambiguous.
Done
required Formula (1) defines the posterior sd of g(x*) as the posterior average of the conditional sds, which is not the sd of the posterior of g. Correct the integral or state it as an approximation.
Done
required The golf interpretation rests on the claim that short-distance bins contain failed attempts from longer putts. Justify this from the data structure or qualify it.
Done
required Equation (1) defines σ* incoherently: the integrand sd(g(x*|θ)) is zero for fixed θ because g is deterministic given θ, the differential reads dy where θ is the variable of integration, and a posterior sd cannot equal a posterior average of per-θ sds. State the intended quantity (the posterior standard deviation of g(x*)).
Done
required The quantity conveyed by sound is described two ways. Figure 1 and Figure 2 captions use the change in log posterior, log p(θ*|x,y) − log p(θ̂|x,y), while the Section 2.1 prototype text uses the decrease in log likelihood under the original model. Reconcile which quantity drives the squeal and use it consistently.
Done
required Equation (1) is offered as the default σ* rule but is not the rule used in the GP example (fixed 10⁻⁶) or the CMB example (σ̄_ℓ*), and the squeal magnitude (e.g. cost 150.4 vs 20.2) has no absolute scale because it depends on σ*. Either add a short treatment of what the squeal magnitude means and why σ* differs by example, or qualify eq (1) as one default and the squeal as a relative diagnostic.
Done
required Post runnable code and data for all four examples, not only the golf prototype, each with a command that regenerates its figure. The paper's four demonstrations are its evidence, and only one has a linked artifact.
Done
Round 2Accepted3 reviewers
AcceptedSigned by Matthias Templ2026-11-18 · orcid 0000-0002-8638-5276

The editor's note

Accepted. All three reviewers recommend acceptance or a minor revision of the revised paper. The authors supplied code and data for all four examples, and the journal ran them: every figure regenerates, with small differences in Table 1 and the CMB costs. Open points go to the authors as suggestions with the proof.

Decision letter2026-11-18Congratulations, your manuscript has been accepted for publication in JRepStat. Production begins now.

Congratulations, your manuscript has been accepted for publication in JRepStat. Production begins now.

Where it is not on file yet, we still need the following for production.

  • a valid ORCID iD for every author
  • a captured computational environment (dependencies/lockfile/container)
  • a signed determinism attestation for the entry-point command

Reviews

Report Reviewer 1recommends acceptOf the four must-fix points and three lighter ones I raised, all of the required and editor-fix items are met and nothing material remains open.

Written by the journal's review engine in the role of the application reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

Of the four must-fix points and three lighter ones I raised, all of the required and editor-fix items are met and nothing material remains open.

Equation (1) now reads as the posterior variance of g(x*), the integral is over dθ, and the formula is no longer the average of conditional standard deviations. This was the load-bearing correction and it is done. On the golf example, the panel’s conclusion now turns on the large bin counts near x = 0 (“hundreds of thousands of putt attempts … hence the binomial likelihood is very strong there”), with the pileup of short putts offered as the reason those bins are large. That is the right ordering, and for ShotLink-style data the pileup of short second putts after missed long putts is a defensible account of the counts. The phrasing about failed attempts “from other distances” is still slightly loose, since the follow-up putt rather than the original miss is what lands in the short bin, but the statistical point the panel depends on holds, so I would not hold the paper for it.

One recommended item remains the author’s choice. The repository footnote is still written in the future tense, so a reader cannot yet tell whether data and code for all four examples are posted or only the golf prototype. A one-word change to the present tense, once the artifacts are up, settles it. This does not bear on the recommendation.

The remaining recommended items from the prior round (reconciling the abstract’s “more unpleasant” sound with the prototype’s pitch mapping, and clarifying the Figure 11 caption against Table 1) would still strengthen the paper, and they are optional strengthenings rather than anything the result rests on.

Numbered suggestions to the authors:

  1. recommended Change the repository footnote to the present tense once the data and code for all four examples are posted, so a reader can confirm the full set is available rather than the golf prototype alone.
Report Reviewer 2recommends acceptOf the three required points and two editor fixes I raised, equation (1) and both caption/reference fixes are met. Equation (1) now reads as the posterior standard deviation of g(x), integrated against p(θ|y) dθ with ḡ(x) the posterior mean, so the earlier problems (the dy differential, a per-θ sd that is zero, a posterior sd equated to a mean of per-θ sds) are gone. The duplicated prototype paragraph is removed and the Figure 8 caption now points at Figure 7.

Written by the journal's review engine in the role of the methodology reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

Of the three required points and two editor fixes I raised, equation (1) and both caption/reference fixes are met. Equation (1) now reads as the posterior standard deviation of g(x), integrated against p(θ|y) dθ with ḡ(x) the posterior mean, so the earlier problems (the dy differential, a per-θ sd that is zero, a posterior sd equated to a mean of per-θ sds) are gone. The duplicated prototype paragraph is removed and the Figure 8 caption now points at Figure 7.

Two residuals remain, and neither blocks the paper. The squeal quantity is still described as the change in log posterior in the Figure 1 caption (p. 2) and as the decrease in log likelihood in the Section 2.1 prototype text (p. 7). For the golf prototype the two nearly coincide, since that two-parameter fit with a million observations barely moves the prior term, so the choice is defensible. The paper does not say so, and a reader meeting both descriptions will wonder which drives the sound. One sentence noting the prototype uses the likelihood change because the prior contribution is negligible there would close it.

On the scale question, equation (1) is now framed as “a reasonable first choice,” which does present it as one default among possible σ* rules, and that addresses the main part of my earlier point. What is still absent is a single sentence saying the cost numbers are comparable only within a fixed σ*. The CMB costs in Figure 10 (150.4, 40.0, 20.2) read naturally as relative to one another, and stating that explicitly would keep a reader from treating them as absolute.

Numbered suggestions to the authors:

  1. recommended In Section 2.1 (p. 7), add one clause reconciling the prototype’s log-likelihood squeal with the log-posterior squeal in the Figure 1 caption (p. 2), for example that the prior term is negligible in the golf fit so the two agree there.
  2. recommended Add one sentence near Section 1.2 (p. 3) or the Figure 10 discussion (p. 14) stating that the squeal magnitude is comparable only within a fixed σ*, so the reported costs are a relative diagnostic.
Report Reviewer 3recommends minorOf the two required points and two production fixes I raised, the three I can verify in the text are met: equation (1) now integrates over θ, the Section 1.3 augmented posterior is centered at g(x|θ∗), the duplicated prototype paragraph in Section 2.1 is gone, and the Figure 8 caption and the “Section 2.2” cross-reference are correct.

Written by the journal's review engine in the role of the software reviewer, and read by the editor before the decision. How the engine works is on the peer review page.

Of the two required points and two production fixes I raised, the three I can verify in the text are met: equation (1) now integrates over θ, the Section 1.3 augmented posterior is centered at g(x|θ∗), the duplicated prototype paragraph in Section 2.1 is gone, and the Figure 8 caption and the “Section 2.2” cross-reference are correct.

One item is still open, and it is the one I flagged as the central gap. The availability footnote on page 1 remains in the future tense (“will be freely available and posted on Github”), and the golf prototype URL in Section 2.1 is still the only linked artifact. The response marks the required coverage point as done, and I cannot see the repository to confirm what is now in it. If the code and data for the dilution assay, CMB, and GP examples are posted, the fix is to update the footnote and add the links so a reader can find them. Until the manuscript points to them, the paper’s four demonstrations still read as having one reproducible artifact.

The one recommended point I can check is not addressed: the GP temperature example (page 14) still gives no seeds or library versions, so Table 1 and Figure 11 cannot be reproduced exactly. This was voluntary and does not hold the paper. The sound-mapping description is now adequate for the prototype, since Section 2.1 states that pitch is proportional to the decrease in log likelihood.

Numbered suggestions to the authors:

  1. required Update the availability footnote on page 1, which still reads “will be freely available and posted on Github” and links only the golf prototype, to link the posted code and data for all four examples, each with a command that regenerates its figure.
  2. recommended Record the seeds and environment versions (python, torch, optimizer) for the GP example on page 14, with a one-line determinism note, so Table 1 and Figure 11 can be reproduced.

Peer review record (PDF) · How open review works

Abstract

We introduce a method for visual and auditory feedback when exploring the fit of a model to data. Starting with a best-fit curve fit to data, the user can drag the curve to a new position and the computer will emit a squeal, becoming more unpleasant as the discrepancy between curve and data increases. We demonstrate with four examples: a two-parameter curve fit to golf putting data, a four-parameter curve fit to dilution assays, a fit to cosmological data sensitive to the parameters of the Big Bang model, and a nonparametric Gaussian process fit to temperature readings. In this form of dynamic exploratory data analysis, the user employs domain knowledge to consider directions for exploration and to interpret the results.

A method for dynamic exploration of fitted models

Visualization is important, not just for data exploration but also for statistical modeling (Gelman, 2004; Wickham, 2006; Wickham et al., 2015). By plotting the estimated model alongside the data, we can visualize the model and also see places where it does not fit.

When fitting a model, often we are in a situation in which the best-fit curve systematically misses some of the data, and we would like to “grab” the curve and drag it to a new place. Presumably that would create new problems—if we are starting at the best-fit curve, any alternative would represent a greater aggregate discrepancy—but we would like to see where these problems are, and which particular data points are causing the problem.

Motivation and formulation of the problem

We formulate the simplest version of the problem in terms of a Bayesian model, p(θ|y)∝p(θ)∏i=1Np(yi|xi,θ)p(\theta|y)\propto p(\theta)\prod_{i=1}^N p(y_i|x_i,\theta), with the curve of interest being g(x|θ)=E(y|x,θ)g(x|\theta)=\mbox{E}(y|x,\theta), which we assume can be computed analytically. The data xix_i and yiy_i are scalars and θ\theta is a parameter vector. More general curve-fitting posteriors can also be accommodated in the formalism.

Fig 1: The basic Squealer. Left: scatterplot of data and fitted model (dark blue curve representing the point estimate ĝ\hat{g} and light blue curves representing posterior simulations g*g^*), a pseudo-data point (x*,y*)(x^*,y^*) in red, and the new curve g*g^* in red. Center: dashboard showing, for each parameter θk\theta_k in the model, the point estimate θ̂k\hat\theta_k as a blue dot, the posterior density from the simulations θs\theta^s in blue, and the perturbed value θk*\theta_k^* in red. The dashboard also shows the corresponding quantities for the log prior, likelihood, and posteriors. Right: Relative discrepancy, log⁡p(yi|xi,θ*)−log⁡p(yi|xi,θ̂)\log p(y_i|x_i,\theta^*) - \log p(y_i|x_i,\hat\theta), for each of the nn data points plotted vs. xx. In the dynamic version of the Squealer, the pseudo-data point would be specified by the user, the change in total fit, log⁡p(θ*|x,y)−log⁡p(θ̂|x,y)\log p(\theta^*|x,y) - \log p(\hat\theta|x,y), would be conveyed by sound, and the relative discrepancies of the individual data points would be displayed as different intensities of color of the points on the graph.

Fig 2: Example of the Squealer for data that are not consistent with the model. In this case there is no way to get the curve close to the data: pulling up the curve to improve the fit for the point at x=200x=200 degrades the fit elsewhere. The above displays show two attempts, first adding one pseudo-data point and then adding another. In every case, pulling toward the pseudo-data decreases the log posterior density (the lowest line on the dashboard in the middle of each row of three graphs), which makes sense given that we are starting from the posterior mode of the parameters.

We assume we can fit the model and estimate θ\theta, which implies an estimate of the curve, g(x)g(x), which can be overlaid on a scatterplot of (x,y)(x,y) and represent a starting point for our procedure. At this point, the fit of the curve could be explored by moving the parameter vector θ\theta, which would in turn move g(x)g(x).

Our key idea is to do this the other way around: instead of changing θ\theta and seeing what this does to gg, we move gg and then adjust θ\theta accordingly. Altering gg in a certain direction will not necessarily correspond to a unique choice of θ\theta, so we will do the adjustment of θ\theta in the context of the model to provide the best possible fit (more specifically, maximize the posterior density, p(θ|y)p(\theta|y)) in a way that is consistent with g(x|θ)g(x|\theta) being perturbed in the desired direction.

Figure 1 demonstrates the idea in a setting where the data were generated from the class of models being fit. As an example we are using a four-parameter logistic model fit to laboratory assays, as discussed further in Section 2.2. The user should be able to explore the fit by moving the curve on the space of (x,y)(x,y) and seeing how this translates to changes in the parameters θ\theta and what this does to the fit of the model to the individual data points and in total. A challenge here is that, if θ\theta is high-dimensional, we do not want to require the user to specify all its parameters; rather, we want to be able to move the curve g(x|θ)g(x|\theta) in some general direction and let the parameter vector θ\theta follow in a way that is most consistent with the data.

Figure 2 shows an example where the data were generated from a model outside the fitted family, so that the best-fit curve (in blue on the left plots) has systematic discrepancies with the data. The two rows of plots show two attempts to get a better fit by dragging the curve toward the pseudo-data points shown in red on the left plots.

If we knew that the assumptions underlying our model were correct, there would be no reason to do this, as we could just summarize uncertainty using the Bayes posterior distribution. Realistically, though, our models will be wrong, and we are developing a set of tools for a new and dynamic way to understand misfit to data.

The present paper focuses on the statistical method and computational concerns, not on the dynamic graphics or the sonic and visual implementation.

Perturbing the posterior mode

The simplest version of the Squealer works with the estimate g(x|θ̂)g(x|\hat{\theta}), where θ̂\hat{\theta} is the mode of the posterior density of the fitted model, p(θ|y)p(\theta|y). The user can drag the curve in some direction by pulling it toward to a newly specified pseudo-data point, (x*,y*)(x^*,y^*). We do this by multiplying the posterior density by a factor, normal(y*|g(x*|θ),σ*)\mbox{normal}(y^*| g(x^*|\theta),\sigma^*), where σ*\sigma^* is set to a value small enough that the new point will exert a strong enough “gravitational force” but not so small as to induce computational instability. A reasonable first choice is half the posterior standard deviation of g(x*)g(x^*), that is, we set σ*=0.5sd(g(x*)|y)=0.5(∫(g(x*|θ)−g‾(x*))2p(θ|y)dθ)1/2,g‾(x*)=∫g(x*|θ)p(θ|y)dθ,(1)\begin{equation} \label{eq:sigma_star} \sigma^* = 0.5 \,\mbox{sd}(g(x^*)|y) = 0.5 \left( \int \left( g(x^*|\theta) - \bar{g}(x^*) \right)^2 p(\theta|y)\, d\theta \right)^{1/2}\!\!\!\!\!\!,\ \ \ \bar{g}(x^*) = \int g(x^*|\theta)\, p(\theta|y)\, d\theta, \end{equation} \qquad(1) which should be easy enough to calculate, exactly or approximately, given that the model has already been fit. We then compute the posterior mode, θ*\theta^*, for this augmented model. Using the normal distribution as a baseline, we should expect this to shift the curve approximately 80% (that is, 1212+0.52\frac{1^2}{1^2 + 0.5^2}) toward the pseudo-data point.

In the computation, we use the existing estimate, θ̂\hat{\theta}, as the initial value for the optimization. There could be computational challenge, however, if the pseudo-data point is far from the fitted curve. One approach is to check if |y*−E(g(x*|y))|>sd(g(x*|y))|y^* - \mbox{E}(g(x^*|y))| > \mbox{sd}(g(x^*|y)) and, if so, shift y*y^* gradually, moving it by sd(g(x*|y)\mbox{sd}(g(x^*|y) at a time until we eventually reach the specified value.

In assuming a normal distribution for this gravitational force, we are not assuming that the likelihood for the data yiy_i necessarily follow a normal distribution. The pseudo-data point does not have to take the mathematical form of an additional measurement from the model, p(y|x,θ)p(y|x,\theta); rather it is entirely a mathematical and computational tool for gradually moving the curve from ĝ\hat{g} to a new estimate, g*=g(x|θ*)g^*=g(x|\theta^*), obtained by computing the mode of the augmented posterior distribution of θ\theta. For example, if p(y|x,θ)p(y|x,\theta) is a discrete-data model such as an ordered logistic regression of a response with five categories, it would still make sense to choose a continuous value for y*y^*, as we are using it to shift the continuous curve gg, not to represent a possible data point.

For a complicated model it can make sense to move the curve in more elaborate ways, by pulling it toward multiple pseudo-data points, (xi*,yi*),i=1,…,N*(x^*_i,y^*_i), \ i=1,\dots,N^*. The same logic holds; we merely multiply the posterior density by ∏i=1n*normal(yi*|g(xi*|θ),σi*)\prod_{i=1}^{n^*}\,\mbox{normal}(y^*_i| g(x^*_i|\theta),\sigma^*_i), setting each σi*\sigma^*_i using some rule such as ((1)), and then obtain a new estimate, θ*\theta^*, and a corresponding new curve, g*=g(x|θ*)g^*=g(x|\theta^*).

In either case, the new curve g*g^* represents the best fit prediction given the model and data, under the soft constraint that the curve passes near the new point or points, (x*,y*)(x^*,y^*). When a model is complicated and has many parameters, we do not want to be in the position where we have to specify the entire curve; rather, we want to be able to gently drag it and then let the data dictate the best fit given our soft constraints. Figures 1 and 2 show examples.

On the computer, the user should be able to perform this operation in one of two ways, either by clicking on the location of the pseudo-data points or by clicking on a point or points on the fitted curve ĝ\hat{g} and then using the mouse or joystick to move these points to new places, which become the pseudo-data points (x*,y*)(x^*,y^*). In either case, this would be performed using dynamic graphics on the plot of data and fitted curve, and then in the background the computer would re-fit the model and display the updated curve.

Depending on the speed of computation, there are different ways that the updated curve could be estimated and displayed. If the fit is fast enough, the computer could re-fit the model on the fly as the curve is being dragged so that the user could see the updated curve moving in real time. If real-time updating is impossible, it could be possible to compute the updated model using an annealing-like procedure in which the gravitational scale, σ*\sigma^*, starts at a high value and then gradually decreases to zero, and the fitting algorithm can provide real-time updates.

Perturbing a posterior mean or other point estimate

The mode is not always a good summary of the posterior distribution: the best-fit curve will always overfit to some extent, and even in a simple multivariate normal posterior distribution, the mode will not be in the typical set as the dimensionality increases (Gelman, 2020). And, even in low dimensions, the posterior mode can have problems. For a hierarchical model with weak priors the joint mode occurs at the degenerate point at which all the local parameters are equal to each other and the group-level variance is zero.

For these reasons, we often choose posterior summaries other than the mode. Two alternatives are the mean and median, either of which can be computed using posterior simulations θs,s=1,…,S\theta^s,\ s=1,\dots,S, or from a variational approximation to p(θ|y)p(\theta|y). For the Squealer, we are interested in g(x|θ)g(x|\theta), not θ\theta itself, so if we have an estimate θ̂\hat{\theta} (which could be the posterior mode, mean, median, or a summary of a variational inference), we can use ĝ\hat{g} defined by ĝ(x)=g(x|θ̂)\hat{g}(x) = g(x|\hat{\theta}).

Alternatively we could take the posterior expectation of the curve itself, so that ĝ(x)=E(g(x))=∫g(x|θ)p(θ|y)\hat{g}(x) = \mbox{E}(g(x)) = \int\! g(x|\theta) p(\theta|y). This is appealing from a theoretical perspective given that we have already defined g(x|θ)g(x|\theta) as E(y|x,θ)\mbox{E}(y|x,\theta), so that this new ĝ\hat{g} is simply the unconditional posterior expectation. There is a computational challenge here, though, in that this averaging would need to be evaluated at a grid of values of xx, unlike the other approach in which the point estimate θ̂\hat\theta only needs to be computed once and then it can be plugged into the formula for g(x|θ̂)g(x|\hat\theta).

Whatever choice of distributional summary we use, the plan is to first compute it from the posterior distribution, p(θ|y)p(\theta|y), and then on the augmented posterior distribution, p(θ*|y)∝p(θ|y)normal(y*|g(x|θ*),σ*)p(\theta^*|y)\propto p(\theta|y)\mbox{normal}(y^*|g(x|\theta^*),\sigma^*), using the inference from p(θ|y)p(\theta|y) to initialize the computation.

If the original model has been fit using posterior simulations, one might hope to be able to shift the curve by importance reweighting of the simulation draws using the normal density corresponding to the pseudo-data. It would then be fast to compute the mean of θ\theta under the augmented posterior distribution or to compute E(g(x|θ))\mbox{E}(g(x|\theta)) in parallel at a grid of values of xx. Unfortunately we often will be moving the curve to values that are barely supported by the original model—that is one of the reasons for developing this method in the first place, to understand why a certain alternative fit does not work for the data at hand—, in which case simple importance weighting would not work. It could make sense to use some sort of particle filtering algorithm, but here we will assume that we will just fit the augmented model directly.

When perturbing g(θ̂)g(\hat\theta), where θ̂\hat\theta is the posterior mode, the log posterior density necessarily decreases. When perturbing a ĝ\hat{g} using the posterior mean or median or other summary, there is no guarantee that the log posterior will decrease, so it is not so clear what should be “squealing” to indicate discomfort with the fit. One approach might be to follow a variational framework and define discomfort as the Kullback-Leibler discrepancy of p(θ*|y)p(\theta^*|y) relative to p(θ|y)p(\theta|y). In this case, the point estimate ĝ\hat g is there for the graphical display but would not be used to summarize total error.

Perturbing a posterior distribution

Fig 3: Challenge of shifting the posterior distribution by pulling it toward a pseudo-data point. Left graph: data and fitted curves g(x|θs)g(x|\theta^s) based on 100 random draws θs\theta^s from the posterior distribution, p(θ|y)p(\theta|y), for the data and model shown in Figure 1. Right graph: data and pseudo-data point, along with fitted curves based on 100 random draws from the augmented posterior. The curves on the right are constricted by the “local gravity” of the pseudo-data point.

For Bayesian applications we are often interested in the entire posterior distribution, and we would like to see what happens if it is shifted in some way. Unfortunately, our “gravitational” approach leads to an artifact by which the posterior distribution of the shifted curve g*g^* is constricted in the neighborhood of each pseudo-data point. We would like to have a way to shift the entire distribution without pinning it in any particular place. One idea that might seem appealing is to shift the posterior draws of θ\theta by a fixed amount, that is, to define simulations θ*s=θs+θ*−θ̂\theta^{*s} = \theta^s + \theta^* - \hat\theta, but that gives poor results in examples such as this one where the dependence structure of θ\theta is not translation invariant. A shift on the log scale also fails.

Ultimately the challenge here is that the augmented posterior distribution contains additional information, which in some sense should not be counted when determining uncertainty in g*g^*. For the examples in the remainder of this paper we will just shift the point estimates.

Supplementing statistical graphics with sound

For the benefit of vision-impaired researchers, tools have recently been developed that engage sound, smell, touch, muscular resistance, voice dialogue, balance, and multiple senses at once (Bornmann, 2024; Dayé & de Campo, 2006; Gelman & Sturdevant, 2023; Sturdevant et al., 2022). Here we discuss a different use case in which sound is used to supplement a dynamic visual display.

Sound has a much lower information bandwidth than vision, but it has the advantage of not requiring attention. An audible signal can reach us even when our eyes and hands are occupied with dynamic graphics. In the present paper, we develop a visual dashboard and sonic feedback to facilitate the exploration of fitted models by allowing the user to perturb the model parameters, with the feedback conveying when and where the fit is getting worse. The goal is for the user to develop a better understanding of where the model fits the data, where it doesn’t, and why a better fit is not possible.

Examples

A two-parameter model for golf putting

We begin with an example where a subtle model misfit can be identified by a loud squeal caused by forcing the curve go through a pseudodata point that is just a little bit off of the best-fit curve.

We start with a two-parameter model from Broadie (2018) and Gelman (2019) presents the probability of a success of a putt in golf as a function of the distance xx (measured in feet) from the hole: g(x|θ)=(2Φ(sin⁡−1((R−r)/x)σangle)−1)(Φ(2(x+1)σdistance)−Φ(−1(x+1)σdistance)),(2)\begin{equation} \label{eq:golf1} g(x|\theta) = \left(2\Phi\left(\frac{\sin^{-1}((R-r)/x)}{\sigma_{\textrm{angle}}}\right)-1\right)\left(\Phi\left(\frac{2}{(x+1)\,\sigma_{\textrm{distance}}}\right)-\Phi\left(\frac{-1}{(x+1)\,\sigma_{\textrm{distance}}}\right)\right), \end{equation} \qquad(2) where Φ\Phi is the normal cumulative distribution function; RR and rr are the radius of the hole and the ball; and θ=(σangle,σdistance)\theta=(\sigma_{\textrm{angle}}, \sigma_{\textrm{distance}}) are the standard deviation of the variation in the angle and the log distance of the shot, relative to the aimed angle and distance.

We fit this model to a database of 1.25 million attempted putts from pro golfers, assuming the probability of success depends only on the distance from the hole. It would make sense to later fit a hierarchical model allowing this probability to vary by player, weather, and characteristics of the golf course, but it is reasonable to start with aggregate data to get a sense of the overall model fit.

Distances from the hole are binned into 31 categories ii, centered at distances xix_i of 0.25, 1, 2, 3, …, with the bins becoming wider at greater distances and with the final bin centered at 75 feet. For each bin, we fit the model, niyi∼binomial(ni,g(xi|θ)),(3)\begin{equation} \label{eq:golf2} n_i y_i\sim\mbox{binomial}(n_i, g(x_i|\theta)), \end{equation} \qquad(3) where nin_i is the number of shots from that distance bin and yiy_i is the proportion of those shots that went in.

Fig 4: Data on the proportion of successful golf putts as a function of distance from the hole, along with the curve corresponding to the best-fit estimate from a specified two-parameter model. The model fit shows some problems for distances between 10 and 50 feet, and we would like to explore what happens if we try to move the curve toward the data.

Figure 4 shows the data (x,y)i,i=1,…,N(x,y)_i,\ i=1,\dots,N, along with the best-fit curve g(x|θ̂)g(x|\hat\theta). With over a million data points and only two parameters, the model is estimated so precisely that curves corresponding to posterior simulation draws, g(x|θs)g(x|\theta^s) would be visually indistinguishable from the best fit.

It is impressive how well this two-parameter curve lines up with the data—but the fit is not perfect. There is a region between x=10x=10 and x=50x=50 where the curve is too low, and we would like to pull it upward. This is a job for the Squealer!

Fig 5: Top row: first try to adjust the golf model to line up with the data, obtained by dragging the curve upward at one point at x=20x=20. Bottom row: second try, dragging the curve at two points (x=10x=10 and x=30x=30), yields a much improved visual fit to the data. Point-by-point details are shown in Figure 6. These graphs are intended to display multiple curves corresponding to posterior simulation draws of θ\theta, but in this case the posteriors are so precisely determined that no variation in the curves is visible.

Because we have not yet set up the dynamic graphics, we perturb the curve by trial and error. First we grab the value of g(x)g(x) at x=20x=20 and move it upward to match the data; the result is shown in the top row of Figure 5. This fixes the misfit between x=20x=20 and x=50x=50 but creates a new problem for xx between 5 and 15. But we can fix this by tying the curve to two pseudo-data points, as demonstrated in the bottom row of Figure 5.

Fig 6: Squealer applied to the golf model. It is possible to pull the fitted curve g(x|θ̂)g(x|\hat{\theta}) toward two pseudo-data points and obtain a new curve g*=g(x|θ*)g^*=g(x|\theta^*) that is a better visual match to the data, but the log-posterior density for θ*\theta^* is much lower. The rightmost plot shows that the poor fit is coming from the data points with the lowest values of xx.

We next turn to the Squealer dashboard and point-by-point summary to understand the statistical price paid by the apparently better fit. Figure 6 shows the result. The new curve g(x|θ*)g(x|\theta^*) looks good but it pays a huge price in the likelihood, coming from a few points on the left of the graph. What is happening is that there are hundreds of thousands of putt attempts in these first few bins (consider that the short putts in the dataset include the failed attempts from other distances that came close but did not go in, hence there is a pileup of data near x=0x=0), hence the binomial likelihood is very strong there, so much that it does not easily tolerate even very small departures of the data yiy_i from their expected values g(xi|θ)g(x_i|\theta).

No model is perfect, and it is not ideal for the fit of the entire curve to be driven so strongly by these few data points. Gelman et al. (2026) extend the model by adding an error term to account for imperfections in ((2)) and ((3)); our point here is to demonstrate how the Squealer can both facilitate a better fit to data and give insight into why the initial fitting procedure did not get there.

We include a software prototype with the golf example at https://github.com/elc45/squealer-prototype/. In this interface, the starting display shows the data superimposed with the curve of the posterior mode fit. The user can click the plot to add a pseudo-data point at the location of the cursor, optionally using the sliding scale at the bottom of the console to control the “gravitational pull” of the point, and the curve will automatically adjust to be the mode of the new posterior augmented with the pseudo-data point. The program then makes a noise whose pitch is proportional to the decrease in log likelihood under the original model incurred by this change in fit. Under the hood, this new pseudo-mode is found in real time using the L-BFGS optimizer. The user can subsequently add more points in different locations, adjust the gravitational pull, or remove points, with the curve responding in real time.

A model for calibration in bioassays

Fig 7: A model for laboratory assays fit to calibration data (top row) and samples with unknown concentrations (remaining rows). For each, data have been gathered at multiple dilutions, and the curves show expected measurement value as a function of the dilution level. The unknown samples are displayed in decreasing order of mean measurements. The curves for samples 23 and 3 show some misfit to the data; we explore this with the Squealer in Figure 8.

We next show an example of the Squealer applied to a hierarchical data structure. Gelman et al. (2004) present a Bayesian approach to inference from laboratory assays in which a model is simultaneously fit to calibration data (from samples with known concentrations) and unknown samples whose concentration is then estimated. More recently we have expanded the model by allowing for contamination. The challenge is that sometimes a single model does not appear to fit all the data well. Figure 7 shows an example of a plate with several dilutions of the calibration data and 22 unknown samples. The curves for samples 23 and 3 show some misfit to the data; we will explore this with the Squealer.

Fig 8: Applying the Squealer to the data and model from Figure 7 to perturb the curves for samples 23 and 3. The curves fit to the original data are in black; the Squealer results are in red. Except for the two affected samples, the two fits are essentially identical. The next step is to understand what was constraining the original fit to be off for samples 23 and 3.

For each of samples 23 and 3 in Figure 7, we add three pseudo-data points (indicated by red asterisks on the plots for those samples) and re-fit the model. Figure 8 shows the result, with the original fit shown in black and the new fit in red. All the parameter estimates in the model change, but the differences in the fitted curves and their uncertainties are imperceptible except for the two affected samples.

Fig 9: Parameter estimates corresponding to the fitted models in Figures 7 and 8. The model has two parameters that vary across the 23 unknown samples: β2\beta_2, which is proportional to the concentration of the compound of interest within the sample, and σy\sigma_y, the scale of modeling/measurement error. The plots show the posterior estimates ±1\pm 1 standard error for log⁡β2\log \beta_2 and log⁡σy\log \sigma_y for each sample. Perturbing the fit altered the inferences for samples 3 and 23 while barely changing anything for the other samples. Note the different scales of the two graphs.

It seems, then, that it is possible to get an improved (if imperfect) fit for those two unknown samples without interfering with the overall model fit, so where is the problem? Why did the model not fit this way originally?

The answer to this question can be seen in Figure 9, which displays the inferences for the parameters in the model that explain the differences between the samples. After applying the Squealer with the pseudo-data, the estimated concentrations for samples 23 and 3 are much bigger, and the set of 23 values of the parameter β2\beta_2 no longer fit a tight lognormal distribution. The penalty is being paid in the prior, with the cost being a higher group-level variance in the hierarchical model for the β2\beta_2’s. Also the posterior uncertainties for those two values are much smaller; this is an unfortunate artifact of the pseudo-data implementation, as discussed in Section 1.4.

A model of power spectra in cosmology

In the standard model of cosmology, most of the information is contained in the two-point function (power spectra or correlation functions) of astrophysical observables such as the number density of galaxies in a set of observed voxels or the intensity of the cosmic microwave background (CMB) measured at pixels on the sphere of the sky (e.g., Hu et al., 1997; Dodelson, 2003; Planck Collaboration et al., 2020b). These spectra or correlation functions are completely determined by the vector of underlying cosmological parameters θ\theta (e.g., H0H_0, the Hubble constant which describes the present-day expansion rate; Ωch2\Omega_\mathrm{c}h^2 and Ωbh2\Omega_\mathrm{b}h^2, composite quantities which describe the densities of the cold dark matter and baryons; AsA_\mathrm{s} and nsn_s which describe the distribution of matter in the universe at early times; τ\tau, which describes the effect of the earliest stars and galaxies on the ionization state of gas in the universe). For quantities measured on the sphere of the sky, such as the CMB, the power spectrum Cℓ(θ)C_\ell(\theta) determines the statistical properties of the observables, with a distribution that is typically well-described by a multivariate normal distribution. Here, ℓ\ell denotes the spherical harmonic multipole, the equivalent of the Fourier mode kk. The power spectrum is measured at spherical harmonic multipoles 2≤ℓ≤ℓmax2\le\ell\le\ell_\mathrm{max} as Ĉℓ{\hat C}_\ell. The quantity Cℓ(θ)C_\ell(\theta) depends on the cosmological parameters in a complicated, nonlinear way. Formulated in our framework, ℓ\ell is equivalent to xx, g(x|θ)g(x|\theta) to Cℓ(θ)C_\ell(\theta) and yy to Ĉℓ{\hat C}_\ell. Because of this dependence, this gives us a posterior distribution p(θ|d)∝p(θ)p(d|θ)=p(θ)p(d|Cℓ(θ)).(4)\begin{equation} \label{eq:cmbmodel} p(\theta|d) \propto p(\theta) p(d|\theta) = p(\theta) p\left(d|C_\ell(\theta)\right). \end{equation} \qquad(4)

As a slight subtlety, this posterior can be realized in several different ways. The most self-consistent (Bayesian) algorithm is to consider the multivariate normal likelihood corresponding to the model dp∼MVN(0,Σpp′+Npp′)(5)\begin{equation} \label{jrep:eq:5} d_p \sim \textrm{MVN}(0, \Sigma_{pp'}+N_{pp'}) \end{equation} \qquad(5) where the data are measured at pixels p=1,…,npixp=1,\dots, n_\mathrm{pix}, and Σpp′\Sigma_{pp'} and Npp′N_{pp'} are covariance matrices: Σpp′\Sigma_{pp'} depends linearly on Cℓ(θ)C_\ell(\theta) and Npp′N_{pp'} is a fixed noise covariance matrix, often well-approximated as diagonal. This is an accurate expression for our model of the underlying CMB field, but can be very expensive to compute, scaling as O(npix3)O(n_\mathrm{pix}^3).

In many cases, we consider the multivariate mode of p(d|Cℓ)p(d|C_\ell) as estimates Ĉℓ=Ĉℓ(d){\hat C}_\ell={\hat C}_\ell(d), and the likelihood can then be written as p(Ĉℓ|Cℓ)p({\hat C}_\ell|C_\ell). The shape around this mode can itself be approximated as a multivariate normal, although more precise approximations are sometimes available (Bond et al., 2000). Alternatively, the mode itself can be approximated at much lower computational cost as an unbiased estimator using the inverse spherical harmonic transform (Alonso et al., 2019; Hivon et al., 2002).

These developments let us treat this as a curve-fitting problem to be visualized using the Squealer. Pseudo-data enforcing Cℓ*=C̃ℓ*C_{\ell^*} = {\widetilde C}_{\ell^*} (at some particular multipole ℓ=ℓ*\ell=\ell^*) can always be added as a new term in the likelihood (Cℓ*−C̃ℓ*)2/(2σ‾ℓ*2)(C_{\ell^*}-{\widetilde C}_{\ell^*})^2/(2{\bar\sigma}_{\ell^*}^2), no matter the form of the original likelihood.

Fig 10: The Squealer applied to the CMB power spectrum as measured by the Planck satellite. The xx-axis is on an idiosyncratic scale to more evenly display the data. Here, Dℓ=ℓ(ℓ+1)Cℓ/(2π)D_\ell = \ell(\ell+1)C_\ell/(2\pi) as is traditionally plotted in cosmology. Panel (a) shows the data (blue error bars), the overall best-fit (posterior mode) spectrum (red curve) and residuals between the two (red points in bottom panel, standard error units), along with inferred parameter values. Panels b, c, and d show an application of the Squealer. The orange star shows the pseudo-data point, the orange curve shows the new maximum posterior, with orange points in the bottom panel showing residuals. The right sub-panel shows the shift in each of the parameters (in standard error units), and is labeled by the cost, the decrease in the log-likelihood induced by the addition of the pseudo-data.

Figure 10a shows measurements of the CMB power spectrum (Planck Collaboration et al., 2020b). For ℓ<30\ell<30, the spectrum is calculated as the mode of the full posterior ((4)), whereas for ℓ≥30\ell\ge 30 it is calculated by inverse spherical harmonic transform and binned in ℓ\ell for display. The red curve shows the best fit model, calculated as the posterior mode. For these calculations, we use the plik-lite likelihood for ℓ>30\ell>30 and the Commander likelihood for ℓ≤30\ell\le30, in both cases only using temperature data (these codes are described in Planck Collaboration et al., 2020a). We model the effect of polarization data by including an informative prior on the parameter τ∼normal(0.0543,0.0073)\tau\sim \mbox{normal}(0.0543, 0.0073).

We can immediately see that there are regions where the residuals with respect to the curve, shown in the bottom panel, differ systematically from the data, for example the deficit of power around ℓ≃20\ell\simeq20 and the positive and negative excursions around ℓ≃450\ell\simeq450. What happens if we force the curve to go through these regions? In this case we care not only about the goodness of fit when new pseudo-data are added, but the induced values θ*\theta^* are physically meaningful and might have relevance for other astrophysical observations. We show values of seven parameters being fit: APlA_\mathrm{Pl} is an instrumental nuisance parameter describing the relative amplitude of different photon frequency measurements measured by the Planck satellite; the other six are parameters describing the cosmological model (Planck Collaboration et al., 2020b).

The other three panels of Figure 10 show the Squealer applied to different regions of the plot. (Unlike the other applications discussed here, we show only the new best fit, rather than a set of samples.) Figure 10b shows an attempt to fit to the dip at ℓ≃20\ell\simeq20; there are no parameter values which modify the spectrum only in this region, and so the total cost to such a change is substantial. Figure 10c shows a modification at ℓ=464\ell=464, which induces less drastic changes to the spectrum and to the parameters but requires larger negative excursions to accommodate the pseudo-data. As a further example, not actually favored by the data, Figure 10d shows how modifying the spectrum at exactly the first peak can be accommodated at even lower cost. In the latter two cases, known physical processes account for the ability to remain a relatively good fit.

A nonparametric Gaussian process model for temperature recordings

Gaussian processes (GPs) are commonly used for non-parametric modeling of time series data ((Rasmussen & Williams, 2005)). In a typical setting, a researcher or practitioner is interested in recovering an unknown function ff from noisy samples from that function. A GP distribution is used as a prior for the unknown function that enforces domain knowledge about the smoothness of the ff. Specifically, a simple GP model uses a normal observation model with fixed and (possibly unknown) residual standard deviation and a GP prior on the unknown function.

Here, we use this model in a simulated example, to estimate an individual’s body temperature from noisy thermometer recordings. This example has the benefit that it’s a commonly-used, easily interpretable model, and it’s also straightforward to implement a Squealer—the pseudo-data point method is available in closed form when hyperparameters are fixed.

The simulated data is thermometer recordings taken every few minutes for several hours from one (potentially sick) person. The readings are noisy (see Figure 14) and we use a Gaussian process model to estimate the true temperature.1 Specifically, we use the following model: y∼normal(f(t),σ)(6)\begin{equation} \label{jrep:eq:6}\begin{aligned} y & \sim \text{normal}(f(t), \sigma) \end{aligned} \end{equation} \qquad(6) f(t)∼𝒢𝒫(98.6,k),(7)\begin{equation} \label{jrep:eq:7}\begin{aligned} f(t) & \sim \mathcal{GP}(98.6, k), \end{aligned} \end{equation} \qquad(7) where kk is the squared exponential kernel ((Rasmussen & Williams, 2005)), k(t,t′)=αexp⁡(−(t−t′)22ℓ2).(8)\begin{equation} \label{jrep:eq:8}\begin{aligned} k(t, t') = \alpha \exp\left(\frac{-(t - t')^2}{2\ell^2}\right). \end{aligned} \end{equation} \qquad(8) We fit the hyperparameters of the model—the variance α\alpha, the length scale ℓ\ell, and the residual standard deviation σ\sigma—by maximizing the log marginal likelihood. That is, assuming θ=(α,ℓ,σ)\theta = (\alpha, \ell, \sigma), we maximize the function (defined up to an additive constant) log⁡p(y|θ)=−12yT(K(θ)+σ2I)−1y−12log⁡|K(θ)+σ2I|(9)\begin{equation} \label{jrep:eq:9}\begin{aligned} \log p(y | \theta) = -\frac{1}{2} y^T (K(\theta) + \sigma^2 I)^{-1} y - \frac{1}{2} \log | K(\theta) + \sigma^2 I | \end{aligned} \end{equation} \qquad(9) over θ\theta.

After fitting hyperparameters, we sample from the GP, conditional on the observed data, fitted hyperparameters, and residual standard deviation (see Figure 11). The posterior draws look reasonable, other than the large observation noise near 6am and the small observation noise near noon. The posterior draws estimate a temperature around 100∘100 ^{\circ}F after around 9am. However, a possible concern is the upward-sloping temperature recordings above 100.2∘100.2 ^{\circ} F towards the end of the interval. The posterior doesn’t place much mass near these points, but a nervous doctor might want to get a sense why. Does the Gaussian process prior not allow it? Are there too few recordings there? How “easy" would it be to move the posterior through these points? To get a sense of the answer for these questions, we use the Squealer.

Adding the pseudo-data point (x*,y*)(x^*, y^*), we now maximize a new log marginal likelihood (now marginalizing over N+1N+1 instead of NN dimensions) where y→[yy*],K(θ)→[K(θ)k(x*,x)k(x*,x)Tk(x*,x*)],σ2I→[σ2I0010−6].(10)\begin{equation} \label{jrep:eq:10}\begin{aligned} y \to \begin{bmatrix} y \\ y^* \end{bmatrix}, \qquad K(\theta) \to \begin{bmatrix} K(\theta) & k(x^*, x)\\ k(x^*, x)^T & k(x^*, x^*) \end{bmatrix}, \qquad \sigma^2 I \to \begin{bmatrix} \sigma^2 I & 0 \\ 0 & 10^{-6} \end{bmatrix}. \end{aligned} \end{equation} \qquad(10) Here, k(x*,x)k(x^*, x) is a column vector whose ithi^{\text{th}} element is k(x*,xi)k(x^*, x_i). We use a variance of 10−610^{-6} for the pseudo-data point which has the effect of strongly dragging the posterior through (x*,y*)(x^*, y^*).

Fig 14: Fig 11: original
Fig 12: one pseudo-data point
Fig 13: two pseudo-data points
Fitted curves corresponding to draws from the GP posterior with pseudo-data, fixing the fitted hyperparameters of the covariance kernel.

In Figure 12, we add a pseudo-data point of 100.3∘100.3^{\circ}F at 11am, adjusting the posterior so that it moves through the pseudo-data point in a smooth way. But the posterior still doesn’t “want to" go through the points over 100.2∘100.2^{\circ}F. The smoothness imposed by the squared-exponential kernel still allows the posterior to return to its former posterior mean (without a pseudo-data point) by noon, the end of the interval. When we add a second pseudo-data point (see Figure 13), the posterior now goes roughly through the points above 100.2∘100.2^{\circ}F.

Table 1: Fitted values of hyperparameters, timescale ℓ\ell, variance α\alpha, and residual standard deviation σ\sigma for the original model and for both versions with pseudo-data.
ℓ\ell α\alpha σ\sigma
original 0.23 0.52 0.10
one pseudo-point 0.23 0.48 0.14
two pseudo-points 0.26 0.58 0.17

Table 1 shows the fitted hyperparameter values for the original posterior, and the posteriors with one and then two pseudo-data points. The residual standard deviation, σ\sigma, increases from 0.100.10 to 0.140.14 to 0.170.17 when going from zero to one to two pseudo-data points. So the model is allowing the posterior to go through the pseudo-data points by fitting a larger observation noise. In other words, in order to get the posterior to go through the high temperature points, the pseudo-data points forced the posterior observation noise to be larger than the original data indicated. The combination of the normal observation model and a large number of measurements just less than 100∘100^{\circ}F makes the original posterior concentrate on a smaller residual standard deviation and puts little weight on high temperatures.

Discussion

The Squealer uses sonic feedback to supplement rather than replace a visual display. Often it is not immediately clear why a model is not fitting a dataset as the practitioner expects, or why the model is neglecting some fit that seems obvious to the user’s eye. Even with very expressive models like Gaussian processes, the factors constraining how they can fit data are opaque, especially for the non-expert. Allowing the modeler to make the curve go where they think it should can sometimes resolve this confusion, for instance by demonstrating that certain other points are very poorly fit by the new curve. But the likelihood may suffer in ways that are not visually apparent. Supplementing the visual fit with auditory feedback can give the modeler helpful intuition as to why the model behaves as it does.

In the present paper we have demonstrated the principles of Squealer with static graphics, but ultimately it is designed to operate dynamically, so that a user can grab, move, and pin a fitted curve, see the consequences for the estimated parameters and the fit to individual data points, and hear the decline in the overall fit.

Several challenges remain to reach that goal.

First, with a tool that’s meant to be interactive, the program needs to quickly converge to the updated best fit or posterior distribution quickly to allow smooth operation. Using existing software this is done by nested loops, with the outer loop being the steps that move the curve as it is being dragged, and the inner loop being the iterations of Stan (or some other probabilistic program) fitting the model at each step along that path. It would make more sense to thread these loops, so that the target distribution is gradually shifting while the simulations are happening, in the manner of sequential Monte Carlo (Liu & Chen, 1998).

Second, details of the Squealer will depend on the problem under study. In the same way that maximum likelihood, variational inference, or Bayesian inference are general methods that have different implementations for different models, so must the computation and visual display of the Squealer be adapted to the mathematical structure and goals of the models being fit. We suspect that the best way to develop the Squealer will be to begin by setting it up for particular classes of models and then ultimately designing a more general implementation.

Third, we would like the different parts of the dashboard to work in concert, so that, in addition to being able to grab and pin fitted curves and see how these shift the fitted curves and change the fit to individual data points, the user can also shift and pin parameter values directly. Again, it will make the most sense to first implement this for a particular example.

Fourth, as discussed in Section 1.4, the gravitational implementation of the Squealer causes the posterior distribution to be constricted in the range of the pseudo-data points. We would like to develop a method for shifting the posterior that does not suffer from this artifact.

Finally, the sensification could be done in different ways. One appealing idea is haptic feedback, where the user would use a joystick to drag the curve, and moving it away from its best fit would induce resistance on the controller so that the user would physically feel the resistance to degrading the fit to prior and data.

Our larger goal is to be able to look under the hood of models better to see why they don’t fit as we’d expect. Specifically, we want to see which parameters suffer from the fit we want to impose on the model, and why. This could be a valuable step in the statistical and machine-learning workflow in the modern computing environment in which probabilistic programming tools allow us to fit increasingly complicated models.

Acknowledgements

The first two authors did this work as visiting scholars at the Flatiron Institute. We also thank Sam Felgran, Riley Carlin, Nidhi Ram, Siquan Wang, and an anonymous reviewer for helpful collaboration and the U.S. Office of Naval Research for partial support of this work.

Data and Code Availability

All the data and code for this article will be freely available and posted on Github.

References

  • Alonso, D., Sanchez, J., Slosar, A., & LSST Dark Energy Science Collaboration. (2019). A unified pseudo-Cℓ framework. Monthly Notices of the Royal Astronomical Society, 484(3), 4127–4151. https://doi.org/10.1093/mnras/stz093 ↩
  • Bond, J. R., Jaffe, A. H., & Knox, L. (2000). Radical Compression of Cosmic Microwave Background Data. The Astrophysical Journal, 533(1), 19–37. https://doi.org/10.1086/308625 ↩
  • Bornmann, L. (2024). The sound of science: Data sonification has emerged as possible alternative to data visualization. EMBO Reports, 25(9), 3743–3747. https://doi.org/10.1038/s44319-024-00230-6 ↩
  • Broadie, M. (2018). Two simple putting models in golf. ↩
  • Dayé, C., & de Campo, A. (2006). Sounds sequential: sonification in the social sciences. Interdisciplinary Science Reviews, 31(4), 349–364. https://doi.org/10.1179/030801806x143286 ↩
  • Dodelson, S. (2003). Modern cosmology. Academic Press. ↩
  • Gelman, A. (2004). Exploratory Data Analysis for Complex Models. Journal of Computational and Graphical Statistics, 13(4), 755–779. https://doi.org/10.1198/106186004x11435
  • Gelman, A. (2019). Model building and expansion for golf putting. Stan Case Studies, 6. ↩
  • Gelman, A. (2020). The typical set and its relevance to bayesian computation. Statistical Modeling, Causal Inference, and Social Science. ↩
  • Gelman, A., Chew, G. L., & Shnaidman, M. (2004). Bayesian Analysis of Serial Dilution Assays. Biometrics, 60(2), 407–417. https://doi.org/10.1111/j.0006-341x.2004.00185.x
  • Gelman, A., & Sturdevant, S. G. (2023). From visualization to sensification. Amstat News, (547), 18–19. ↩
  • Gelman, A., Vehtari, A., McElreath, R., Simpson, D., Margossian, C. C., Yao, Y., Kennedy, L., Gabry, J., Bürkner, P.-C., Modrák, M., & Barajas, V. L. (2026). Bayesian Workflow. Chapman and Hall/CRC. https://doi.org/10.1201/9781003044024 ↩
  • Hivon, E., Gorski, K. M., Netterfield, C. B., Crill, B. P., Prunet, S., & Hansen, F. (2002). MASTER of the Cosmic Microwave Background Anisotropy Power Spectrum: A Fast Method for Statistical Analysis of Large and Complex Cosmic Microwave Background Data Sets. The Astrophysical Journal, 567(1), 2–17. https://doi.org/10.1086/338126 ↩
  • Hu, W., Sugiyama, N., & Silk, J. (1997). The physics of microwave background anisotropies. Nature, 386(6620), 37–43. https://doi.org/10.1038/386037a0 ↩
  • Liu, J. S., & Chen, R. (1998). Sequential Monte Carlo Methods for Dynamic Systems. Journal of the American Statistical Association, 93(443), 1032–1044. https://doi.org/10.1080/01621459.1998.10473765 ↩
  • Planck Collaboration, Aghanim, N., Akrami, Y., Ashdown, M., et al. (2020a). Planck 2018 results. V. CMB power spectra and likelihoods. Astronomy & Astrophysics, 641, A5.
  • Planck Collaboration, Aghanim, N., Akrami, Y., Ashdown, M., et al. (2020b). Planck 2018 results. VI. Cosmological parameters. Astronomy & Astrophysics, 641, A6.
  • Rasmussen, C. E., & Williams, C. K. I. (2005). Gaussian Processes for Machine Learning. The MIT Press. https://doi.org/10.7551/mitpress/3206.001.0001 ↩ 1 2
  • Sturdevant, S. G., Godfrey, A. J. R., & Gelman, A. (2022). Delivering data differently. ↩
  • Wickham, H. (2006). Exploratory model analysis with r and GGobi. ↩
  • Wickham, H., Cook, D., & Hofmann, H. (2015). Visualizing statistical models: Removing the blindfold. Statistical Analysis and Data Mining: The ASA Data Science Journal, 8(4), 203–225. https://doi.org/10.1002/sam.11271 ↩

Cite this article

Gelman, A., Jaffe, A. H., Carlson, E., & Greengard, P. (2026). The Squealer: Sensification of model exploration and model misfit. Journal of Reproducible Statistics, 1, 16. https://doi.org/10.68365/jrepstat.2026.16

doi: https://doi.org/10.68365/jrepstat.2026.16

Downloads

PDF JATS XML .bib .ris .csl.json Reproducibility package (.zip) d7db56e1089b4b21d217fd350255d680c392a4f241e47884b18dc8ddc5db02f7

https://doi.org/10.68365/jrepstat.2026.16 also supports content negotiation, so reference managers can fetch the citation from the DOI directly. The exports above work without it.