Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

2.6 The Mathematics of p-Values

Lesson 14 of 32 in the free Data Visualisation and Analytics notes on Siksha Sarovar, written by Rohit Jangra.

p-Values: Evidence and Interpretation

1. Mathematical Definition of a p-Value

The p-value is the exact probability of obtaining a test statistic at least as extreme as the one observed, assuming the Null Hypothesis (H₀) is completely true.

Mathematically, it is the area under the tail(s) of the Probability Density Function (PDF) beyond the calculated test statistic.

  • Right-Tailed Test: p = ∫[t_stat to ∞] f(x) dx
  • Two-Tailed Test: p = 2 * ∫[|t_stat| to ∞] f(x) dx

2. The Relationship Between p-Value and α

The Significance Level (α) is an arbitrary threshold set by the researcher before the experiment (usually 0.05). The p-value is calculated from the data.

  • If p ≤ α: The data is incompatible with H₀. We cross the threshold of "reasonable doubt" and Reject H₀.
  • If p > α: The data could reasonably happen by chance under H₀. We Fail to Reject H₀.

3. The Anatomy of Statistical Significance

When a result is "Statistically Significant", it simply means: We are confident the true effect is not zero.

Crucial Distinction for Analysts:

  • Statistical Significance (p-value): Does an effect exist? (Heavily influenced by sample size n).
  • Practical Significance (Effect Size): Is the effect actually useful or large enough to care about in the real world?
  • Example: With 1 million server logs, an algorithm that improves speed by 0.001 milliseconds might yield a p-value of 0.00001 (Highly Statistically Significant), but it has zero Practical Significance.

4. Severe Misconceptions

What People Think It MeansWhat It Actually Means
"p = 0.04 means there is a 4% chance H₀ is true."False. It means if H₀ is true, there is a 4% chance of seeing this data. It tells you about the data, not the hypothesis.
"A smaller p-value (0.001) means a bigger effect than 0.04."False. A tiny p-value only means higher confidence the effect isn't zero. It says nothing about magnitude.
"Failing to reject H₀ proves H₀ is true."False. It means we lack sufficient data/evidence to prove H₁ (like "Not Guilty" ≠ "Innocent").