p-value dan Confidence Interval
Published on September 25, 2026
Core Concept | Quantitative tools for deciding whether an observed effect is likely real or due to chance |
Null Hypothesis () | There is no difference or no association between groups |
Alternative Hypothesis () | There is a difference or association between groups |
P-Value | The probability of obtaining a result as extreme as or more extreme than what was observed, assuming is true |
Confidence Interval | A range of values within which the true population parameter is expected to lie at a given confidence level |
Alpha () | The pre-set threshold for statistical significance, most commonly 0.05 |
Keywords | "Statistically significant," "95% CI crosses 1," "p < 0.05," "fail to reject the null," "power of the study," "type I error," "type II error" |
01Core Definitions and Conceptual Framework
The p-value is the probability of observing data as extreme as, or more extreme than, the results actually obtained, calculated under the assumption that the null hypothesis is true. It is not the probability that the null hypothesis is correct. This distinction is the single most tested conceptual point in biostatistics on any licensing exam.
When a study reports , it means there is a 3% chance of seeing a result this extreme if the null hypothesis were true. Because this falls below the conventional threshold of , we reject the null hypothesis and call the result statistically significant. If , we fail to reject the null hypothesis. Note the language: we never say we "accept" the null. We say we fail to reject it, because absence of evidence is not evidence of absence.
The confidence interval (CI) provides a range estimate rather than a single point estimate. A 95% CI means that if the study were repeated many times under identical conditions, approximately 95% of the constructed intervals would contain the true population parameter. It does not mean there is a 95% probability that the true value lies within this particular interval. The true value is fixed; it either falls inside the interval or it does not.
The width of the confidence interval reflects precision. A narrow CI suggests the study estimated the parameter with high precision, while a wide CI suggests uncertainty. Three factors drive CI width: sample size (larger samples produce narrower intervals), variability in the data (less variability narrows the interval), and the confidence level chosen (a 99% CI is wider than a 95% CI for the same data).
02Hypothesis Testing Framework
Null Hypothesis ()
DEFINITION
No difference exists between groups
EXAM RELEVANCE
Always the starting assumption
Alternative Hypothesis ()
DEFINITION
A true difference exists
EXAM RELEVANCE
What the researcher hopes to demonstrate
Alpha ()
DEFINITION
Probability of Type I error; pre-set significance threshold
EXAM RELEVANCE
Almost always 0.05 unless stated otherwise
Beta ()
DEFINITION
Probability of Type II error
EXAM RELEVANCE
Typically 0.10 or 0.20
Power ()
DEFINITION
Probability of detecting a true difference when one exists
EXAM RELEVANCE
Typically 0.80 or 0.90; increased by increasing sample size
Type I Error
DEFINITION
Rejecting when it is actually true (false positive)
EXAM RELEVANCE
Equals alpha
Type II Error
DEFINITION
Failing to reject when it is actually false (false negative)
EXAM RELEVANCE
Equals beta
TERM | DEFINITION | EXAM RELEVANCE |
|---|---|---|
Null Hypothesis () | No difference exists between groups | Always the starting assumption |
Alternative Hypothesis () | A true difference exists | What the researcher hopes to demonstrate |
Alpha () | Probability of Type I error; pre-set significance threshold | Almost always 0.05 unless stated otherwise |
Beta () | Probability of Type II error | Typically 0.10 or 0.20 |
Power () | Probability of detecting a true difference when one exists | Typically 0.80 or 0.90; increased by increasing sample size |
Type I Error | Rejecting when it is actually true (false positive) | Equals alpha |
Type II Error | Failing to reject when it is actually false (false negative) | Equals beta |
Type I error (alpha error) is the mistake of concluding a difference exists when it does not. Think of it as a false alarm. The probability of making this error is set before the study begins and equals . If , you accept a 5% risk of a false positive.
Type II error (beta error) is the mistake of concluding no difference exists when there actually is one. Think of it as a missed finding. The probability of making this error is . Power, defined as , is the study's ability to detect a real effect. The most commonly tested way to increase power is to increase sample size. Other methods include increasing the effect size, increasing alpha (which raises the false positive risk), or reducing measurement variability.
A helpful mnemonic: think of alpha as the probability of convicting an innocent person (false positive), and beta as the probability of letting a guilty person go free (false negative).
03P-Value: Interpretation and Common Pitfalls
"P = 0.03 means there is a 3% chance the null hypothesis is true"
CORRECT OR INCORRECT
Incorrect
EXPLANATION
P-value is NOT the probability that is true
"P = 0.03 means there is a 3% probability of seeing this result if is true"
CORRECT OR INCORRECT
Correct
EXPLANATION
This is the proper definition
"P = 0.07 means the treatment does not work"
CORRECT OR INCORRECT
Incorrect
EXPLANATION
It means we lack sufficient evidence to reject at ; the treatment may still work
"P < 0.001 means the effect is clinically important"
CORRECT OR INCORRECT
Incorrect
EXPLANATION
Statistical significance does not equal clinical significance
"A smaller p-value means a larger treatment effect"
CORRECT OR INCORRECT
Incorrect
EXPLANATION
P-value is influenced by sample size; a trivial difference can produce a very small p-value in a very large study
STATEMENT | CORRECT OR INCORRECT | EXPLANATION |
|---|---|---|
"P = 0.03 means there is a 3% chance the null hypothesis is true" | Incorrect | P-value is NOT the probability that is true |
"P = 0.03 means there is a 3% probability of seeing this result if is true" | Correct | This is the proper definition |
"P = 0.07 means the treatment does not work" | Incorrect | It means we lack sufficient evidence to reject at ; the treatment may still work |
"P < 0.001 means the effect is clinically important" | Incorrect | Statistical significance does not equal clinical significance |
"A smaller p-value means a larger treatment effect" | Incorrect | P-value is influenced by sample size; a trivial difference can produce a very small p-value in a very large study |
The p-value answers one narrow question: how compatible is the observed data with the null hypothesis? It says nothing about the magnitude of the effect or its clinical importance. A study with 500,000 participants might find that Drug A lowers blood pressure by 0.5 mmHg more than placebo with . This is statistically significant but clinically meaningless. Conversely, a small pilot study might find a 15 mmHg reduction with . This is not statistically significant at , but the effect size may be clinically important and warrant a larger trial.
Statistical significance without clinical significance is a classic exam trap. When a vignette gives you a very small p-value but the actual difference between groups is trivial, the correct answer is usually that the result is statistically significant but not clinically meaningful.
04Confidence Interval: Construction and Interpretation
CI for a mean difference
WHAT IT ESTIMATES
Difference between two group means
NULL VALUE
0
SIGNIFICANT IF CI...
Does NOT include 0
CI for relative risk (RR)
WHAT IT ESTIMATES
Ratio of risk in exposed vs. unexposed
NULL VALUE
1
SIGNIFICANT IF CI...
Does NOT include 1
CI for odds ratio (OR)
WHAT IT ESTIMATES
Ratio of odds in exposed vs. unexposed
NULL VALUE
1
SIGNIFICANT IF CI...
Does NOT include 1
CI for hazard ratio (HR)
WHAT IT ESTIMATES
Ratio of hazard rates between groups
NULL VALUE
1
SIGNIFICANT IF CI...
Does NOT include 1
CI TYPE | WHAT IT ESTIMATES | NULL VALUE | SIGNIFICANT IF CI... |
|---|---|---|---|
CI for a mean difference | Difference between two group means | 0 | Does NOT include 0 |
CI for relative risk (RR) | Ratio of risk in exposed vs. unexposed | 1 | Does NOT include 1 |
CI for odds ratio (OR) | Ratio of odds in exposed vs. unexposed | 1 | Does NOT include 1 |
CI for hazard ratio (HR) | Ratio of hazard rates between groups | 1 | Does NOT include 1 |
The general formula for a confidence interval is:
For a 95% CI, the Z-value is 1.96. For a 99% CI, the Z-value is 2.576.
The interpretation rule is straightforward. For any ratio measure (RR, OR, HR), the null value is 1. If the 95% CI does not cross 1, the result is statistically significant at . For absolute differences (mean difference, risk difference), the null value is 0. If the 95% CI does not cross 0, the result is significant.
Consider a study reporting an odds ratio of 2.4 with a 95% CI of 1.3 to 4.2. Because the interval does not include 1, this result is statistically significant. The exposed group has significantly higher odds of the outcome. Now consider a study reporting an OR of 1.8 with a 95% CI of 0.7 to 3.9. Despite the point estimate suggesting increased odds, the interval crosses 1, meaning we cannot rule out that there is no true association at the 95% confidence level.
The CI gives you two pieces of information that the p-value alone cannot: the direction and plausible magnitude of the effect, and the precision of the estimate. This is why many guidelines and journals now emphasize reporting CIs alongside or instead of p-values.
05The Relationship Between P-Value and Confidence Interval
A
P-VALUE
95% CI (FOR A RATIO MEASURE)
1.5 to 3.8
INTERPRETATION
Significant; CI excludes 1
B
P-VALUE
95% CI (FOR A RATIO MEASURE)
1.02 to 2.9
INTERPRETATION
Significant; CI barely excludes 1
C
P-VALUE
95% CI (FOR A RATIO MEASURE)
0.95 to 3.1
INTERPRETATION
Not significant; CI includes 1
D
P-VALUE
95% CI (FOR A RATIO MEASURE)
0.6 to 1.7
INTERPRETATION
Not significant; CI widely includes 1
SCENARIO | P-VALUE | 95% CI (FOR A RATIO MEASURE) | INTERPRETATION |
|---|---|---|---|
A | 1.5 to 3.8 | Significant; CI excludes 1 | |
B | 1.02 to 2.9 | Significant; CI barely excludes 1 | |
C | 0.95 to 3.1 | Not significant; CI includes 1 | |
D | 0.6 to 1.7 | Not significant; CI widely includes 1 |
P-value and confidence interval are mathematically linked. For a two-sided test at , if the p-value is less than 0.05, the 95% CI will not contain the null value. If the p-value is greater than or equal to 0.05, the 95% CI will contain the null value. They will never contradict each other when derived from the same test and the same alpha level.
However, the CI is more informative. Scenario B and Scenario C above both hover near the significance threshold. The p-values are 0.04 and 0.06, which fall on opposite sides of the cutoff. But looking at the CIs, both intervals overlap substantially and suggest a similar range of plausible effect sizes. This illustrates why the cutoff should not be treated as a rigid boundary between "real" and "not real." It is a convention, not a law of nature.
Exam questions frequently present a scenario where a CI barely crosses or barely excludes the null value and then ask whether the result is significant. The rule is mechanical: if the null is inside the interval, it is not significant at that confidence level. Do not overthink it.
06Factors That Affect P-Value and Confidence Interval Width
Increasing sample size
EFFECT ON P-VALUE
Decreases (more likely to reach significance)
EFFECT ON CI WIDTH
Narrows (greater precision)
Increasing variability in data
EFFECT ON P-VALUE
Increases (harder to reach significance)
EFFECT ON CI WIDTH
Widens (less precision)
Increasing effect size
EFFECT ON P-VALUE
Decreases
EFFECT ON CI WIDTH
Narrows relative to the point estimate
Changing from 95% CI to 99% CI
EFFECT ON P-VALUE
No direct effect on p-value
EFFECT ON CI WIDTH
Widens (higher confidence demands a wider range)
Increasing alpha from 0.05 to 0.10
EFFECT ON P-VALUE
Easier to declare significance
EFFECT ON CI WIDTH
The corresponding 90% CI is narrower than a 95% CI
FACTOR | EFFECT ON P-VALUE | EFFECT ON CI WIDTH |
|---|---|---|
Increasing sample size | Decreases (more likely to reach significance) | Narrows (greater precision) |
Increasing variability in data | Increases (harder to reach significance) | Widens (less precision) |
Increasing effect size | Decreases | Narrows relative to the point estimate |
Changing from 95% CI to 99% CI | No direct effect on p-value | Widens (higher confidence demands a wider range) |
Increasing alpha from 0.05 to 0.10 | Easier to declare significance | The corresponding 90% CI is narrower than a 95% CI |
Sample size is the factor most commonly tested. A classic vignette describes a study that found no statistically significant difference, then asks what could be done to improve the study. If the effect size seems clinically meaningful but the p-value is above 0.05, the answer is almost always increase the sample size to increase power and narrow the confidence interval.
Be aware that increasing sample size makes it easier to detect even trivially small differences. This is why large epidemiological studies can produce very small p-values for clinically irrelevant findings.
07Exam Question Patterns and Distractors
"What does p = 0.03 mean?"
DISTRACTOR ANSWER
"3% chance the null is true"
WHY IT IS WRONG
Confuses p-value with posterior probability of
KEY DISCRIMINATOR
P-value is probability of data given , not probability of given data
"95% CI for OR is 0.8 to 1.4. Is this significant?"
DISTRACTOR ANSWER
"Yes, because OR is close to 1"
WHY IT IS WRONG
Misreads the CI; closeness to 1 is irrelevant
KEY DISCRIMINATOR
CI includes 1, so the result is not significant
"Study finds p < 0.001 with 0.5 mmHg BP reduction"
DISTRACTOR ANSWER
"The drug is effective and should be prescribed"
WHY IT IS WRONG
Conflates statistical and clinical significance
KEY DISCRIMINATOR
The effect size is too small to be clinically meaningful
"Study is underpowered (n = 20), p = 0.09"
DISTRACTOR ANSWER
"The treatment does not work"
WHY IT IS WRONG
Equates non-significance with proof of no effect
KEY DISCRIMINATOR
Small sample, high beta; the study may lack power to detect a real difference
"What increases the power of a study?"
DISTRACTOR ANSWER
"Decrease sample size" or "Decrease alpha"
WHY IT IS WRONG
Both reduce power
KEY DISCRIMINATOR
Increasing sample size is the most reliable way to increase power
"99% CI is wider than 95% CI"
DISTRACTOR ANSWER
"The 99% CI is less accurate"
WHY IT IS WRONG
Confuses width with accuracy
KEY DISCRIMINATOR
A wider CI reflects higher confidence, not lower accuracy
QUESTION PATTERN | DISTRACTOR ANSWER | WHY IT IS WRONG | KEY DISCRIMINATOR |
|---|---|---|---|
"What does p = 0.03 mean?" | "3% chance the null is true" | Confuses p-value with posterior probability of | P-value is probability of data given , not probability of given data |
"95% CI for OR is 0.8 to 1.4. Is this significant?" | "Yes, because OR is close to 1" | Misreads the CI; closeness to 1 is irrelevant | CI includes 1, so the result is not significant |
"Study finds p < 0.001 with 0.5 mmHg BP reduction" | "The drug is effective and should be prescribed" | Conflates statistical and clinical significance | The effect size is too small to be clinically meaningful |
"Study is underpowered (n = 20), p = 0.09" | "The treatment does not work" | Equates non-significance with proof of no effect | Small sample, high beta; the study may lack power to detect a real difference |
"What increases the power of a study?" | "Decrease sample size" or "Decrease alpha" | Both reduce power | Increasing sample size is the most reliable way to increase power |
"99% CI is wider than 95% CI" | "The 99% CI is less accurate" | Confuses width with accuracy | A wider CI reflects higher confidence, not lower accuracy |
08Traps and High-Yield Pearls
The most common way students lose points on p-value and CI questions is by misinterpreting the definition of the p-value. Test writers know that the intuitive reading ("probability the null is true") feels natural, and they exploit that. Every time you see a question asking what a p-value means, slow down and remember: it is the probability of the observed data (or more extreme data) under the assumption that is true. It is a statement about the data, not about the hypothesis.
The second major trap involves confusing statistical significance with clinical significance. If a vignette gives you a very large sample size and a tiny effect with a very small p-value, the question is almost certainly testing whether you recognize that statistical significance alone does not justify clinical action.
Third, know the CI rules cold. For ratios (RR, OR, HR), the null is 1. For differences, the null is 0. If the interval contains the null, the result is not significant. This is a mechanical rule and questions about it are essentially free points if you apply it consistently.
Fourth, understand that the relationship between p-value and CI is not a coincidence. They are derived from the same underlying data and test. At , a two-sided p-value below 0.05 will always correspond to a 95% CI that excludes the null. Questions that present both and ask you to reconcile them are testing whether you understand this linkage.
Finally, remember the hierarchy of what each concept tells you. The p-value tells you whether an effect is likely real. The CI tells you how big the effect plausibly is and how precise the estimate is. The effect size tells you whether the finding matters clinically. A complete evaluation of a study result requires all three, and the best exam answers reflect that integrated understanding.