Loading…

Psychology statistics: one-sample t test, p-value, and confidence interval

In psychology statistics, how can a one-sample t test be used to test whether a population mean differs from a benchmark when σ is unknown, and how are the p-value and a 95% confidence interval computed?

Subject: Statistics Chapter: Hypothesis Tests About the Mean and Proportion Topic: Hypothesis Tests About μ, σ Not Known, the P Value Approach Answer included
psychology statistics one-sample t test t distribution p value confidence interval null hypothesis alternative hypothesis degrees of freedom
Accepted answer Answer included

A common workflow in psychology statistics is testing whether a sample mean differs from a benchmark (a norm score, clinical cutoff, or historical average) when the population standard deviation is unknown. This is handled by a one-sample \(t\)-test and the \(t\) confidence interval for the mean.

Worked example (typical psychology statistics setup)

Anxiety scores are measured after an intervention. A benchmark value of 50 represents the norm for the test. A sample of \(n=16\) participants yields \(\bar{x}=42\) and sample standard deviation \(s=8\). The research question is whether the intervention produces a mean below the benchmark (directional claim).

1) State hypotheses and significance level

  • Null hypothesis: \(H_0:\mu=50\)
  • Alternative hypothesis (left-tailed): \(H_a:\mu<50\)
  • Significance level: \(\alpha=0.05\)

2) Compute the test statistic

The one-sample \(t\) statistic (σ unknown) is \[ t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}. \]

Quantity Symbol Value
Sample size \(n\) 16
Sample mean \(\bar{x}\) 42
Sample standard deviation \(s\) 8
Benchmark (hypothesized mean) \(\mu_0\) 50

Standard error: \[ \text{SE}=\frac{s}{\sqrt{n}}=\frac{8}{\sqrt{16}}=\frac{8}{4}=2. \]

Test statistic: \[ t=\frac{42-50}{2}=\frac{-8}{2}=-4. \]

3) Degrees of freedom and the p-value

Degrees of freedom: \(df=n-1=16-1=15\).

For a left-tailed test, the p-value is \[ p=P\!\left(T_{15}\le -4\right). \]

df 15 t -4.000 p-value \(\approx 0.0006\)

Since \(p \lt 0.05\), the null hypothesis is rejected. The data provide strong evidence (under the model assumptions) that the population mean anxiety score is below 50.

4) Equivalent critical-value decision (optional check)

For a left-tailed test at \(\alpha=0.05\) with \(df=15\), the critical value is approximately \[ t_{\text{crit}}=-t_{0.95,15}\approx -1.753. \]

Because \(t=-4 \lt -1.753\), the test statistic falls in the rejection region, matching the p-value conclusion.

5) 95% confidence interval for the population mean

A two-sided 95% confidence interval for \(\mu\) is \[ \bar{x}\pm t^\*\cdot \frac{s}{\sqrt{n}}, \quad t^\*=t_{0.975,15}\approx 2.131. \]

\[ 42 \pm 2.131 \times 2 = 42 \pm 4.262 \quad \Rightarrow \quad (37.738,\ 46.262). \]

The entire interval lies below 50, consistent with the hypothesis test result.

6) Effect size commonly reported in psychology statistics

A standard one-sample effect size is Cohen’s \(d\): \[ d=\frac{\bar{x}-\mu_0}{s}=\frac{42-50}{8}=\frac{-8}{8}=-1.0. \]

The sign indicates direction (below the benchmark). The magnitude \(|d|=1.0\) indicates a large standardized difference under common conventions, although practical interpretation should be tied to the measurement scale and context.

Visualization: t test decision on a curve

Left-tailed t test: rejection region, critical value, and observed t -4 -2 0 2 4 t \(t_{\text{crit}}\approx -1.753\) \(t_{\text{obs}}=-4\) Left tail: \(\alpha=0.05\)
The shaded left tail is the rejection region for \(\alpha=0.05\). The observed statistic \(t=-4\) lies far into the tail, producing a very small p-value and a rejection of \(H_0\).

Assumptions and reporting notes

  • Independence: observations represent independent participants or independent measurements.
  • Approximate normality: the population distribution is approximately normal, or the sample size is adequate for robustness; strong skew/outliers can distort the result.
  • Scale interpretation: many psychology measures are treated as interval for mean-based inference; justification should match the instrument and study design.
  • Report together: \(t(15)=-4.00\), \(p\approx 0.0006\) (one-tailed), 95% CI \((37.738, 46.262)\), and \(d=-1.0\).
Vote on the accepted answer
Upvotes: 0 Downvotes: 0 Score: 0
Community answers No approved answers yet

No approved community answers are published yet. You can submit one below.

Submit your answer Moderated before publishing

Plain text only. Your name is required. Links, HTML, and scripts are blocked.

Fresh

Most recent questions

109 questions · Sorted by newest first

Showing 1–10 of 109
per page
  1. Mar 5, 2026 Published
    Formula of the Variance (Population and Sample)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  2. Mar 5, 2026 Published
    Mean Median Mode Calculator (Formulas, Interpretation, and Example)
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  3. Mar 4, 2026 Published
    How to Calculate Standard Deviation in Excel (STDEV.S vs STDEV.P)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  4. Mar 4, 2026 Published
    Suppose T and Z Are Random Variables: How T Relates to Z in the t Distribution
    Statistics Estimation of the Mean and Proportion Estimation of a Population Mean σ Not Known the T Distribution
  5. Mar 4, 2026 Published
    What Does R Squared Mean in Statistics (Coefficient of Determination)
    Statistics Simple Linear Regression Coefficient of Determination
  6. Mar 3, 2026 Published
    Box and Plot Graph (Box Plot) Explained
    Statistics Numerical Descriptive Measures Box and Whisker Plot
  7. Mar 3, 2026 Published
    How to Calculate a Z Score
    Statistics Continuous Random Variables and the Normal Distribution Standardizing a Normal Distribution
  8. Mar 3, 2026 Published
    How to Calculate Relative Frequency
    Statistics Organizing and Graphing Data Organizing and Graphing Quantitative Data
  9. Mar 3, 2026 Published
    Is zero an even number?
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  10. Mar 3, 2026 Published
    Monty Hall Paradox (Conditional Probability Explained)
    Statistics Probability Marginal and Conditional Probabilities
Showing 1–10 of 109
Open the calculator for this topic