Queensland University of Technology · FACULTY OF STATISTICS

PYB350 Chap.1 T-Tests, Effect Size and Bootstrapping

- one subject, every graph, every model, every mark
7 Chapters5-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 1 of 9 · PYB350

T-Tests, Effect Size and Bootstrapping

The unit opens with a Week 1 refresher because every later analysis reuses its logic. This chapter rebuilds the single-sample and independent-groups t-tests, the standard error, Cohen's d and the conventions for calling an effect small, medium or large.

It then explains why the normality assumption belongs to the sampling distribution of the mean rather than to the raw scores, and how the bootstrap builds an empirical sampling distribution by resampling your own data with replacement, which is the tool the unit uses whenever a small or skewed sample makes the Central Limit Theorem a risky bet.

The chapter's worked example tests nine screening scores against a published norm and carries the result through the interval and the effect size, and the practice cards check the pooled-variance formula and how to read a bootstrap that moves between runs.

In this chapter

What this chapter covers

  • 01

    Notation for scores, group means, the grand mean, n and N

  • 02

    The single-sample t-test when the population SD is unknown

  • 03

    Cohen's d and the small, medium and large conventions

  • 04

    The Central Limit Theorem and the normality of the sampling distribution

  • 05

    Bootstrapped standard errors and confidence intervals

  • 06

    Independent groups, pooled variance and Levene's test

  • 07

    Reading a bootstrapped interval against zero, and why reruns move it slightly

Worked example · free

A single-sample t-test with an interval and an effect size

Q [6 marks]. AskSia-authored practice. Nine adults score 43, 47, 39, 51, 42, 46, 49, 41 and 47 on an anxiety screen whose published norm is 40. Test whether the sample differs from the norm, give the 95% interval of the difference and Cohen's d. The weighting shown is a study aid, not a University marking scheme.
Reading an interval against zero.Reading an interval against zero. The dot marks the observed difference of 5 points and the bar is its 95% interval from 1.95 to 8.05. Because the whole bar lies to the right of the dashed zero line, a zero difference is not plausible.-20246810zero differenceobserved differenceSample mean minus norm
Reading an interval against zero. The dot marks the observed difference of 5 points and the bar is its 95% interval from 1.95 to 8.05. Because the whole bar lies to the right of the dashed zero line, a zero difference is not plausible.
  • 1Describe the sample: the scores sum to 405, so M = 45.00; squared deviations sum to 126, so s = 3.97.
  • 1Standard error: 3.97 divided by the square root of 9 = 1.323.
  • 2Test: t(8) = 5 / 1.323 = 3.78, beyond the critical 2.306, so p is below .05 (p = .005).
  • 2Interval and size: 5 plus or minus 2.306 times 1.323 gives 1.95 to 8.05 points; d = 5 / 3.97 = 1.26, a large effect.
The sample scored above the norm, t(8) = 3.78, p = .005, d = 1.26, with a 95% interval for the difference of 1.95 to 8.05 points; zero lies outside the interval.
Sia tip — Attach the unit to every mean you report: a difference of 5 is five anxiety points. Then check that your interval and your p value agree about zero.
Glossary

Key terms

Standard error
The standard deviation of the sampling distribution of a statistic, estimated for a mean as s divided by the square root of n.
Cohen's d
A mean difference expressed in standard-deviation units, with 0.2, 0.5 and 0.8 marking small, medium and large effects.
Central Limit Theorem
The result that means of large enough random samples are approximately normally distributed whatever the population's shape.
Pooled variance
A single variance estimate combining two or more groups, which with equal group sizes is the average of the group variances.
FAQ

T-Tests, Effect Size and Bootstrapping FAQ

Why does the normality assumption not apply to the raw scores?

The assumption concerns the sampling distribution of the mean, the distribution you would get from many samples of the same size. The raw scores are only evidence about it: if your sample is roughly symmetrical and reasonably large, about thirty scores, the sampling distribution can be treated as normal even if individual scores are not perfectly bell shaped.

When should a bootstrap be used instead of the regular test?

The lecture recommends it when the distribution is strongly skewed or the sample is small, because those are the cases where the Central Limit Theorem may not deliver a normal sampling distribution. It also notes that Wilcox (2004) treats the bootstrap as a sound option most of the time, and that it works well as a check on a parametric result.

Why do bootstrapped intervals change each time the analysis is run?

Each run draws a fresh set of random resamples from your data, so the empirical sampling distribution, and the interval cut from it, moves a little. The tutorial suggests at least 5,000 resamples with the bias corrected accelerated interval, which keeps the movement small. A conclusion that flips between runs is a sign the result sits right on the boundary.

What does a 95% confidence interval for a mean difference tell me?

It gives the range of population differences that are compatible with your data at the 95% level. If the interval excludes zero, a zero difference is not plausible and the test is significant at .05; if it includes zero, the data are compatible with no difference. The interval also shows how precise the estimate is, which a p value alone does not.

Study strategy

Exam move

Practise the single-sample t-test by hand until the sequence of mean, standard deviation, standard error, t, interval and d takes under five minutes, then learn to read the same numbers off SPSS output. When you check a bootstrap, compare its interval with the parametric one and write one line on whether they agree, because that comparison is the reason for running it.

Working through T-Tests, Effect Size and Bootstrapping in PYB350? Sia is AskSia’s AI Statistics tutor — ask any PYB350 T-Tests, Effect Size and Bootstrapping question and get a clear, step-by-step explanation grounded in how PYB350 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 16 of your Queensland University of Technology subjects - and 1,000+ Bibles across every Australian university.
Sia - your PYB350 tutor, unlimited, worked the way the exam marks it
The full 5-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works