Z Test

Calculate hypothesis tests, p-values, regression lines, critical Z/t scores, and statistical inference for z test.

🧪

Input Test Parameters

Enter sample data and significance level α.

Calculated p-Value

0.0143 (Reject H₀)
💡

Decision Rule

If p-value ≤ α, reject the null hypothesis H₀ (statistically significant). If p-value > α, fail to reject H₀.

Calculation Methodology & Details

📐

Formula

t-Statistic: t = (x̄ - μ₀) / (s / √n) Linear Regression: y = β₀ + β₁x + ε Coefficient of Determination: R² = SSR / SST = 1 - (SSE / SST)

Applies ordinary least squares (OLS) regression, Student's t-test, Mann-Whitney non-parametric ranks, and Welch's ANOVA equations.

📢

Important Disclaimer

Calculations assume random sampling, independent observations, and normality or large sample sizes unless non-parametric tests (Wilcoxon, Kruskal-Wallis) are selected.

How to Calculate Step-by-Step

Follow these steps to complete the calculation:

1

Step 1

Enter sample statistics (sample mean, standard deviation, sample size n) or test statistic (Z, t, F).

2

Step 2

Select tail direction (two-tailed, left-tailed, right-tailed) and alpha level α.

3

Step 3

View exact p-value, critical rejection region, statistical power (1 - β), or regression R² fit.

Detailed Insights & Expert Guide

ℹ️ About this Calculation

The Z Test provides complete hypothesis test inference, regression modeling (linear, quadratic, exponential), ANOVA variance analysis, non-parametric rank tests, and statistical power estimation.

Variable Glossary

Input

Test Statistic

Calculated sample score measuring standard error deviations from H₀.

Parameter

p-Value

Probability of obtaining a test statistic at least as extreme as observed, assuming H₀ is true.

FAQ

When should I use a non-parametric test like Mann-Whitney U?
Use the Mann-Whitney U test (or Wilcoxon rank-sum) when your data is ordinal or continuous but violates the assumption of normality required by two-sample t-tests.
What is the Bonferroni Correction?
The Bonferroni Correction adjusts the significance threshold α' = α / k when performing k multiple hypothesis tests to control the overall family-wise Type I error rate.
What is R-squared (Coefficient of Determination)?
R² represents the proportion of variance in the dependent variable (y) that is predictable from the independent variable(s) (x) in a regression model. An R² of 0.85 means 85% of variance is explained.