4.4
2,100+ reviews on G2
A p-value is the probability of getting a sample result at least as extreme as yours, assuming the null hypothesis is true. To find one, you need four things:

The null H₀ and the alternative Hₐ.
Such as z or t, computed from your sample.
Left, right or two-tailed, from Hₐ.
Turns the statistic into a probability.
Do your homework in Evernote. The AI Assistant explains any problem you photograph, step by step.
H₀ is the "no effect" claim, such as μ = 100. Hₐ is what you suspect: μ > 100, μ < 100 or μ ≠ 100.
For a mean with a known population standard deviation σ, use a z-test. If σ is unknown and you use the sample's s, use a t-test with n − 1 degrees of freedom.
For a z-test, z = (x̄ − μ₀) ÷ (σ ÷ √n). It counts how many standard errors your sample mean is from the hypothesized mean.
Look up the area beyond your statistic in a z (or t) table, or with software. Right-tailed: area to the right. Left-tailed: area to the left.
When Hₐ says "not equal", extreme results in either direction count, so p = 2 × the one-tail area.
If p ≤ α (for example 0.05), reject H₀. If p > α, do not reject H₀. A large p-value does not prove H₀ is true.
Test scores have σ = 15. A class of n = 36 has x̄ = 104.5. At α = 0.05, is the mean different from 100?
p ≈ 0.072: not enough evidence at α = 0.05 that the mean differs from 100
If the question had been "is the mean greater than 100?", the test would be right-tailed with p ≈ 0.036, and you would reject H₀. Decide the tail before you look at the data.
The alternative hypothesis decides which tail areas count toward the p-value.
| Hₐ | Test | p-value |
|---|---|---|
| μ > μ₀ | Right-tailed | Area to the right of the statistic |
| μ < μ₀ | Left-tailed | Area to the left of the statistic |
| μ ≠ μ₀ | Two-tailed | 2 × the area beyond |statistic| |
OpenStax Introductory Statistics 2e, chapter 9 "Hypothesis Testing with One Sample", sections 9.4 and 9.5; z value from the standard normal table.
4.4
2,100+ reviews on G2
4.4
8,200+ reviews on Capterra
4.4
73,000+ reviews on App Store
248M
Registered users
How surprising your data would be if the null hypothesis were true. A small p-value means a result like yours would be rare under H₀, which counts as evidence against it.
One at or below the significance level α you chose before the test, for example 0.05.
No. It assumes H₀ is true and gives the probability of data at least as extreme as yours. It does not measure the probability of either hypothesis.
For a z statistic, the right-tail area is =1-NORM.S.DIST(z,TRUE) in Excel, or =1-NORMSDIST(z) in Google Sheets. Double it for a two-tailed test.
Use a t table or software with n − 1 degrees of freedom. The tail logic is the same as for z.
The data do not give strong enough evidence against H₀ at your α. It is not the same as showing H₀ is true.
For symmetric distributions like z and t, the area beyond −|z| equals the area beyond |z|, and a two-tailed test counts both.
Keep a Math notebook with your statistics formula sheet and a note for each problem you photograph.
Ask the AI Assistant to add the z statistic formula to your statistics formula sheet, with one worked example. It writes the formula in a formula block, so it reads like the textbook.
Add a photo of your statistics problem, such as the class mean test, and ask the Assistant to explain it step by step. It reads the photo and adds the steps under it.
Ask the Assistant for a repeating practice task, such as 10 p-value problems every Tuesday and Thursday until the test. You get a reminder each time.
Build a formula sheet, photograph a problem for a step-by-step explanation, and practice on a schedule before the test.
Start for free