Power & Sample Size Determination
A-priori sample size planning & post-hoc power calculation
--
⚙️ Simple Randomization Parameters
Uniform Odd/Even Mappingwindow.crypto.getRandomValues()
with rejection sampling (rejection threshold 4,294,967,200) to ensure true cryptographic uniformity
across 1–100, eliminating modulo bias.
🎯 Prominent Assignment & Live Balance
No allocation yetClick the generate button to assign the next subject via cryptographically secure odd/even number draw.
📋 Session Audit Trail & Allocation Log
Permanent verifiable chronological sequence of participant assignments for current session
| # ID | Timestamp | Method | Random Draw / Slot | Group Code | Assigned Label |
|---|---|---|---|---|---|
|
🎲
No participants randomized yet
Click "Generate / Assign Next Participant"
above to initiate sequence allocation.
|
|||||
Dataset Input
Paste numeric values or load clinical sample
--
Two-Group Comparison
Automated assumption-driven test selection & execution
🔬 Statistical Assumptions & Automated Decision Engine
Comprehensive diagnostic validation: Pairing, Normality (Jarque-Bera), & Homoscedasticity (F-Test)
--
Multi-Cohort & Repeated Measures Analysis
Automated assumption-driven test selection & execution
🔬 Statistical Assumptions & Automated Decision Engine
Comprehensive diagnostic validation: Pairing, Normality (Jarque-Bera across all cohorts), & Homoscedasticity (Levene's Test)
🔬 Post-Hoc Pairwise Contrasts
Pinpoints which specific cohorts contribute to the statistically significant difference
| Pairwise Contrast | Difference (ΔM / Med) | Std. Error | Contrast Stat | Adjusted p-Value | 95% CI of Difference | Effect Size | Significance |
|---|---|---|---|---|---|---|---|
| Run multi-group analysis to view post-hoc pairwise contrasts | |||||||
--
🎯 Observational Cohort & PSM Settings
Control for baseline confounding in non-randomized clinical studies
🔬 Balance & Overlap Diagnostics
Love Plot (SMD reduction) & Propensity Score Overlap Distribution
📊 Baseline Covariate Balance Diagnostics
Comparison of Unadjusted vs. Matched Standardized Mean Differences (|SMD| < 0.10 threshold)
| Baseline Covariate | Unadjusted Means (T vs C) | Pre-Match SMD | Matched Means (T vs C) | Post-Match SMD | Variance Ratio | % Bias Reduction | Balance Status |
|---|---|---|---|---|---|---|---|
| Run Propensity Score Matching to view covariate balance diagnostics | |||||||
⚖️ Causal Treatment Effect (ATT) vs. Unadjusted Estimate
Quantifies confounding bias removed by Propensity Score Matching
| Analytical Estimate | Point Estimate | Std. Error | Test Statistic | p-Value | 95% Confidence Interval | Clinical Interpretation |
|---|---|---|---|---|---|---|
| Run analysis to view causal treatment effect comparison | ||||||
💻 Reproducible Statistical Code Scripts
Expert production-grade scripts with full methodology and inline biostatistical comments
# Select a language tab above to generate full reproducible code...
--
🌐 Multivariate EDA Controls
Dimensionality reduction for Continuous, Categorical, & Mixed Data
🔬 Interactive Factor Space
Projection of observations, variable correlation vectors, and modality centroids
📊 Eigenvalues & Inertia Decomposition
Kaiser-Guttman criterion (λ > 1.0) and cumulative explained variance
| Dimension | Eigenvalue (λ) | Variance Explained (%) | Cumulative Variance (%) | Kaiser Criterion |
|---|---|---|---|---|
| Run analysis to view eigenvalue decomposition | ||||
💡 Automated Natural-Language Findings & Drivers
Real-time interpretation of subspace variance, influential drivers, and outlier observations
💻 Reproducible Statistical Code Scripts
Production-grade scripts utilizing scikit-learn/prince (Python) and FactoMineR/factoextra (R)
# Select a language tab above to generate full reproducible code...
--
2x2 Contingency & Diagnostic Matrix
Choose between Diagnostic Accuracy vs Clinical Study
Evaluates index test accuracy against the reference standard: Sensitivity, Specificity, PPV, NPV, Overall Accuracy (Wilson Score 95% CIs), and Likelihood Ratios.
--
Bivariate Relationship
Pearson, Spearman & OLS Regression
🛡️ Assumption Diagnostics & Test Decision Engine
Automated statistical verification of normality, outliers, homoscedasticity & linear vs U-shaped non-linear curvature
--
--
Biomarker & Diagnostic Test
Continuous score and true disease status (0 or 1)
--
Computer-Generated Distributions & Probability Densities
Explore theoretical probability density functions (PDF) vs empirical simulated samples
--
Central Limit Theorem (CLT) Interactive Simulation
Observe how the distribution of sample averages (x̄) converges to a Gaussian bell curve regardless of parent population shape
Student's t-Distribution Convergence to Standard Normal N(0, 1)
Demonstrating how heavier Student's t tails merge into the Standard Gaussian curve as sample size n increases
When conducting clinical trials with small cohorts (e.g. pilot neurosurgical studies with n < 30), using the Gaussian critical value z = 1.960 instead of Gosset's t-critical cutoff leads to serious Type I error inflation (false positives). For n = 4, testing at z = 1.96 yields an actual false-positive rate of 14.5% rather than the intended 5.0%. Once sample size reaches n ≥ 31 (ν ≥ 30), t_crit drops to 2.042 (only 4.2% wider than 1.960), making the normal approximation clinically acceptable.
Two-Sample Overlap, Dispersion (SD vs. SEM) & Alpha Significance Boundary
Explore how sample curves overlap and separate as SD, SEM (via n), and difference (Δ) change, why α = 0.05 defines significance, and what happens when α is adjusted
Loading overlap simulation explanation...
⚡ Simulation 5: Statistical Power (1 − β), Type II Error (β), SD & SEM Interactive Visualizer
Interactively explore the mechanical relationship between biological noise (SD), sample precision (SEM = SD/√n), Type II error (β), and Statistical Power (1 − β). See why clinical trials become underpowered and how sample size governs statistical discovery.
Loading power calculation explanation...
Select a distribution above or run the Central Limit Theorem and Student's t simulations to generate educational outcomes.
🧠 Bayesian Statistics & Logic — The Geometry of Changing Beliefs
Inspired by 3Blue1Brown (Grant Sanderson) — Visualizing Bayes' Theorem via 1×1 unit square area, natural counts, and odds updating
Loading Bayesian statistics explanation...
Loading Bayesian statistics clinical and educational narrative...