PPolySim OS
For Researchers · Regression Workbench

Regression Workbench for a control group

Built for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model. Simulate a control group live below — adjust the inputs and watch it respond, right in your browser.

1

Linear Regression

open full solver →
Linear RegressionLive

Controls

Presets

Ordinary least squares finds the line that minimizes the sum of squared vertical residuals (the gray drop-lines). R² measures the fraction of variance the line explains — 1 is perfect, 0 is useless. Add noise or remove points to watch the fit and R² degrade.

▶ Run in Python

Data Inspector

Fitted slope0.000
Intercept0.000
R²0.000
Correlation r0.000

Governing equation

Reading this result: R² = 0.00: noise (2) swamps the signal, so least squares can barely tell the slope from flat — adding data points would tighten the estimate.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

↓
2

Hypothesis Test

open full solver →
Hypothesis Test (z-test)Live

Controls

Presets

A hypothesis test asks whether a sample mean is far enough from the null value to be surprising by chance alone. The test statistic z measures that distance in standard errors; if it falls in the red rejection region (p below 0.05) we reject the null. Larger samples shrink the standard error and sharpen the test.

▶ Run in Python

Data Inspector

Standard error1.265
z-statistic1.581
p-value0.1138
Decisionfail to reject

Governing equation

Reading this result: The statistic sits in the white central zone, so the gap between x̄ and μ₀ is within ordinary sampling noise and you fail to reject H₀.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

↓
3

Confidence Interval

open full solver →
Confidence IntervalsLive

Controls

Presets

A confidence interval is often misread. It does not mean the true value has a 95% chance of being in one interval — it means that if you repeated the experiment many times, about 95% of the intervals would contain the true mean. The red intervals here are the unlucky ones that miss it.

▶ Run in Python

Data Inspector

Confidence level95%
Observed coverage0%
Intervals shown50

Governing equation

Reading this result: About 0% of these 50 intervals captured the true mean — close to the 95% you asked for. Raising n from 30 tightens each interval (SE = σ/√n) but does not change that hit rate: the confidence level, not the sample size, sets how often you are right.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

↓
Bootstrap ResamplingLive

Controls

Presets

The bootstrap estimates uncertainty by resampling your data with replacement thousands of times and recomputing the statistic each time. The spread of those bootstrap means gives a confidence interval — no formula or normality assumption required. Powerful when the math is intractable.

▶ Run in Python

Data Inspector

Sample mean0.00
95% CI low0.00
95% CI high0.00
CI width0.00

Governing equation

Reading this result: The spread of the resampled means is the confidence interval — no normality assumption needed. Sample size sets its width; more resamples only sharpen its edges.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Regression Workbench

Frequently asked questions

Is this good for researchers?
Yes — this version of "Regression Workbench for a control group" is framed for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.