Skip to content

Known Limitations

AreaLimitation
Standard deviationDivides by n not n-1. For typical MCMC chains (n ≥ 500) the difference is < 0.1%, but it is technically a biased estimator. Affects skewness and kurtosis computation too.
HDI multimodalThe sliding-window algorithm returns the shortest contiguous interval. For strongly bimodal posteriors this returns the widest single mode. There is no multi-interval HDI.
No cachingsequenceStats(), variableStats(), and summary() recompute on every call. For large posteriors (> 50k draws × 100 variables), calling summary() in a tight loop is expensive.
densityPlot no specdensityPlot() and getDensityPlotData() exist but there is no densityPlotSpec(). All other plots have a spec function.
Missing diagnosticsNo BFMI (critical for HMC/NUTS), no Heidelberger-Welch, no Raftery-Lewis, no nested R-hat, no multivariate PSRF, no R*, no ESS/sec, no posterior correlation matrix, no DIC/LOO-CV.
Export formatsOnly generic JSON export. No Turing CSV, Stan CSV, or ArviZ JSON re-export.
ArviZ recursion depthThe ArviZ JSON parser uses recursion for multi-dimensional parameter flattening. Extremely high-dimensional parameters (> 1000 dimensions) risk stack overflow.
NetCDFCannot read NetCDF files. netcdfjs only reads NetCDF v3 (classic format), but ArviZ writes NetCDF v4 (HDF5-based). They are not compatible without conversion.
Autocorrelation inconsistencyThe ACF shown in autocorrelationPlot uses a simple lag formula; the autocorrelation used internally for ESS uses the FFT-based power spectrum. Both are correct but not identical for finite-length chains.

Released under the MIT License.