Variance

Biostatistics, curve fitting, and publication figures.

A native desktop application written in Rust. Enter experimental data, run 49 validated statistical analyses, and export vector figures: tables, results, graphs, and layouts stay linked and recompute together.

v0.3.0 · GPL-3.0+ · Windows, macOS & Linux · Offline, zero telemetry

Four-panel publication layout in Variance (built-in demo project). Tables, fits, brackets, and layouts update automatically when data changes. Four-panel publication layout in Variance (built-in demo project). Tables, fits, brackets, and layouts update automatically when data changes. Four-panel publication layout in Variance (built-in demo project). Tables, fits, brackets, and layouts update automatically when data changes.
Four-panel publication layout in Variance (built-in demo project). Tables, fits, brackets, and layouts update automatically when data changes.

Tables designed for experimental data

Eight table structures match the analysis they prepare: XY, One factor, Two factors, Contingency, Survival, Proportions, Multivariable, and Nested. Enter replicates in subcolumns or pre-summarized mean and SD/SEM directly. Excluded values remain visible while leaving all calculations.

XY table with triplicate subcolumns, live right-hand Inspector, and linked sheet navigator.
XY table with triplicate subcolumns, live right-hand Inspector, and linked sheet navigator. Click any screenshot to view full size

Flexible import

CSV, TSV, single or multi-sheet Excel/ODS (.xlsx, .xls, .xlsb, .ods), XML, .pzfx, and .prism/.prismt with drag-and-drop and live preview.

32 sample datasets

Built-in worked datasets across all 8 table types matching every step-by-step example in the guide.

Non-destructive edits

Exclude individual values without deleting them, style specific points, and undo or redo across linked sheets.

Verify any result in R or Python

Every results sheet across all 49 analyses includes Check in R and Check in Python (NumPy/SciPy) buttons, alongside Copy Methods for a manuscript-ready statistical paragraph. Run the script locally inside Variance for a value-by-value verdict, or export the CSV and commented script for supplementary materials.

One-Way ANOVA results sheet: F, P, R², Brown-Forsythe and Bartlett tests, multiple comparisons, narrative summary, Copy Methods, Check in R and Check in Python.
One-Way ANOVA results sheet: F, P, R², Brown-Forsythe and Bartlett tests, multiple comparisons, narrative summary, Copy Methods, Check in R and Check in Python.
Comparison with Variance

 Quantity                     Variance     R            Agree
 F                            92.12422     92.12422     yes
 P value                      4.02128e-11  4.02128e-11  yes
 R squared                    0.897685     0.897685     yes
 Between groups: SS           1285.528     1285.528     yes
 Between groups: DF           2            2            yes
 Within groups: SS            146.5205     146.5205     yes
 Brown-Forsythe: P value      0.4604015    0.4604015    yes
 Bartlett (corrected)         2.589494     2.589494     yes
 Control vs Treated A (diff)  -7.0125      -7.0125      yes
 Control vs Treated A (adj P) 0.000185     0.000185     yes
 Control vs Treated A (CI lo) -10.23395    -10.23395    yes
 Control vs Treated B (adj P) 3.27e-11     3.27e-11     yes

R and Variance agree on all compared values (42 values).
# One-way ANOVA (exported by Variance, Check in R)
data <- read.csv("Three_groups.csv", check.names = FALSE)
columns <- c("Control", "Treated A", "Treated B")

groups <- lapply(setNames(columns, columns), function(name) {
  x <- data[[name]]
  x[!is.na(x)]
})
long <- data.frame(
  value = unlist(groups, use.names = FALSE),
  group = factor(rep(columns, lengths(groups)), levels = columns)
)

fit <- aov(value ~ group, data = long)
tab <- summary(fit)[[1]]
bf  <- car::leveneTest(value ~ group, data = long, center = median)
tk  <- TukeyHSD(fit, conf.level = 0.95)$group

check("F",                       tab[1, "F value"],  92.12422)
check("P value",                 tab[1, "Pr(>F)"],   4.021277e-11)
check("Brown-Forsythe: P value", bf[1, "Pr(>F)"],    0.4604015)
sessionInfo()
# One-way ANOVA (exported by Variance, Check in Python)
import sys
import numpy as np
import scipy
from scipy import stats

columns = ["Control", "Treated A", "Treated B"]
groups = [col_nums(name) for name in columns]

f_stat, p_val = stats.f_oneway(*groups)
_, bf_p = stats.levene(*groups, center="median")
bart_stat, bart_p = stats.bartlett(*groups)
tukey = stats.tukey_hsd(*groups)

check("F",                       f_stat, 92.12422)
check("P value",                 p_val,  4.021277e-11)
check("Brown-Forsythe: P value", bf_p,   0.4604015)
print(f"Python {sys.version.split()[0]} | NumPy {np.__version__} | SciPy {scipy.__version__}")
Continuously validated against R 4.6.2 and certified NIST StRD datasets (60,062 comparisons, 2,702,604 values, 0 discrepancies) plus 2,704 independent Python scripts (0 discrepancies). View full R & Python validation tables →

Publication-ready graphs and layouts

48 graph types across all 8 table families, including native SuperPlots and raincloud plots. Screen rendering and exports share the same DisplayList and PDF font metrics, so figures look identical on screen and in print.

Nonlinear regression
Nonlinear regression4PL dose-response curves, error bars, 95% confidence bands.
Group comparisons
Group comparisonsScatter plot, mean ± SEM, draggable Tukey brackets.
Kaplan-Meier survival
Kaplan-Meier survivalStep curves, censoring ticks, number-at-risk table.
Multivariable bubble plot
Multivariable bubble plotColor, size, and 95% group confidence ellipses.
Two-factor bars
Two-factor barsGrouped bars with mean ± SD error bars.
Parts of a whole
Parts of a wholeDonut chart with percentage labels.

Journal column presets (1-click)

Nature89 / 183 mmScience55 / 120 mmCell85 / 174 mmPNAS87 / 178 mmPLOS190.5 mm

Export formats

PDF, SVG, EPS, EMF, WMF, PNG, JPEG, TIFF (RGB & CMYK LZW), BMP, PCX, native .docx (Word) and .pptx (PowerPoint), plus Windows vector EMF + 300 dpi PNG clipboard.

Nonlinear regression and 49 linked analyses

Fit any of 104 built-in equations across 15 families (dose-response, binding, enzyme kinetics, growth, decay, peaks, radiobiology, standard curves) or write your own explicit, implicit, or differential (ODE) equation saved in the project.

Equation library with search, global shared parameters, constraints, weighting (1/Y²), robust/ROUT fitting, and AICc / F model comparison.
Equation library with search, global shared parameters, constraints, weighting (1/Y²), robust/ROUT fitting, and AICc / F model comparison.
Parameter estimates, standard errors, asymmetric profile-likelihood 95% CIs, EC50, R², and AICc.
Parameter estimates, standard errors, asymmetric profile-likelihood 95% CIs, EC50, R², and AICc.
FamilyIncluded analyses
Compare groupsUnpaired/paired/Welch t tests, Mann-Whitney, Wilcoxon, one-sample, 1/2/3-way ANOVA (ordinary, repeated measures, REML mixed models with random slopes / AR(1) / unstructured covariance, Welch/Brown-Forsythe, Kruskal-Wallis, Friedman), nested t & ANOVA, row-by-row t tests, contingency (Fisher/chi-square), McNemar, Bland-Altman, ROC.
Curves & regressionNonlinear regression, standard-curve interpolation, simple and multiple linear, logistic and Poisson regression, Deming regression, Cox proportional hazards (Schoenfeld residuals), spline & LOWESS, function plotting.
Describe & exploreDescriptive statistics, row statistics, Pearson/Spearman correlation, frequency distribution, normality tests, observed vs. expected, smoothing, derivative & integral, AUC, PCA, multiple P values (FDR).
Data processingTransforms & concentration rescaling, normalize, baseline subtraction & column math, prune rows, transpose, share of total, outlier detection (ROUT/Grubbs), reshape, filter rows & compute variables.
Survival, clustering & simulationKaplan-Meier curves, log-rank & Gehan-Breslow-Wilcoxon tests, hazard ratios, hierarchical clustering (dendrograms), k-means, random XY/groups/2×2 tables, and Monte Carlo simulations.

Download Variance v0.3.0

Standalone prebuilt packages with zero runtime dependencies. No account, no license key, and no automatic background connections.

Windows

This device

Standalone binary (zero dependencies). The .zip archive also bundles variance-cli.exe and licenses.

Windows 10 / 11 (x86_64)

macOS

This device

Includes Variance.app and variance-cli. Pick Apple Silicon (M1 to M4) or Intel.

Ad-hoc signed: on first launch, right-click › Open or run xattr -dr com.apple.quarantine /Applications/Variance.app.

Linux

This device

x64 archive with variance, variance-cli, icon, variance.desktop, and install.sh.

Extract the archive and run ./install.sh to install into ~/.local/bin.

SHA256SUMS.txt · SHA-256 verification, macOS first launch & source build · GitHub Releases

Opening GraphPad Prism files

Open or drag-and-drop .prism, .prismt, or .pzfx files to import data tables (replicates, subcolumn titles, dates, elapsed times, exclusions, categorical levels), info sheets, and best-effort linked graphs. An import summary lists everything transferred and any skipped sheet.

Prism transition guide →

Batch automation with variance-cli

Every archive bundles variance-cli to recalculate .var projects, convert .pzfx files, run .vrs automation scripts, and export figures from terminals or CI.

variance-cli
variance-cli recalc study.var --save
variance-cli export study.var all ./figures --format pdf
variance-cli export study.var "Dose-response" fig1.tiff --dpi 600
variance-cli convert legacy.pzfx study.var
variance-cli run pipeline.vrs --project study.var --save updated.var

Free software (GPL-3.0+) and citation

Variance is free software licensed under GNU GPL v3.0 or later, with unsafe Rust forbidden workspace-wide. Cite it via the permanent Zenodo Concept DOI (10.5281/zenodo.24693963) or CITATION.cff.

CITATION.cff / BibTeX
@software{deprince_variance,
  author    = {Deprince, Maxime},
  title     = {Variance},
  version   = {0.3.0},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24693963},
  url       = {https://doi.org/10.5281/zenodo.24693963}
}