An experiment applying A and B to different batches, and one splitting each donor's cells into A and B, both produce two columns of numbers. Their error units are not the same.
This unit asks one question.
Why must independent versus paired, equal versus unequal variance, and normal versus non-normal be distinguished from data structure first?
Independence and pairing are generating relationships, not table shapes
For independent samples, an A observation has no natural match to a particular B observation: different donors, batches, animals, or independent cultures are examples. The SE of the mean difference reflects variation in both groups.
For paired samples, two values belong togetherโfor example before/after values, left/right, or a matched pair from the same experimental unit. The analysis target is not two raw columns, but the pairwise difference dแตข=BแตขโAแตข. Large baseline differences among units may cancel within pairs.
Do not create pairs after the fact by joining rows that look similar; pairing belongs to the design. Conversely, discarding genuine pairing and using an independent analysis can lose useful information and power.
Two independent means have at least two standard-error models
The mean difference xฬBโxฬA can be identical while its SE differs.
Pooled t combines the two sample variances under an equal-population-variance assumption. Welch t uses sAยฒ/nA + sBยฒ/nB, reflecting each groupโs variance and n separately, then adjusts degrees of freedom for that uncertainty.
With similar group sizes and spread, results can be nearly the same. When n and variance differ substantially together, pooled results can be distorted. A plan may choose Welch as a robust default, but avoid an automatic procedure that switches after looking at a variance-test p-value.
Analyzing 12 wells from one donor as 12 independent donors inflates n and degrees of freedom. Average technical repeats to one donor row or express the hierarchy in a model. Correctly identifying the experimental unit comes before choosing a t-test.
A paired t-test is closer to a one-sample test of differences
With mean pairwise difference dฬ, SD s_d, and number of pairs n, calculate t=dฬ/(s_d/โn). Assumptions therefore concern the distribution of differences and independence of pairs, more than normality of each raw condition separately.
If one value is missing from a pair, the complete-pair count falls. When missingness may relate to treatment or response, keeping only complete cases can bias results; report the missing-data structure and plan an appropriate model.
Nonparametric does not mean โassumption-free mean testโ
MannโWhitney/Wilcoxon rank-sum uses ranks but does not generally test a mean difference. It is easier to interpret as a location difference when distribution shapes match and only location shifts. Paired Wilcoxon signed-rank likewise has conditions, including symmetry of differences, for some interpretations.
Do not switch automatically to a rank test because of an extreme value. First consider its cause, whether the question concerns a mean or central location, and whether data are censored or ordinal. Permutation, bootstrap, robust estimation, and explicit models are also candidates.
In-Silico Lab: analyze the same effect under two structures
- Under
independent, change the SD ratio and compare Welch and pooled SE. - Under
paired, see how a shared baseline changes pairwise-difference SE. - At effect 0, change the seed and confirm false positives can occur in either structure.
- Consider whether arbitrary rearrangement of pairs preserves the paired advantage.
๋ ๋ฆฝ๊ณผ ๋์์ ๊ฐ์ ์ซ์ ๋ ์ด์ด ์๋๋๋ค
๋ ๋ฆฝ ์ง๋จ์ Welch ๋น๊ต์ ๊ฐ์ ๋จ์ ์ ํ์ ์๋ณ ์ฐจ์ด๋ฅผ ๋ฐ๊พธ์ด ํ์ค์ค์ฐจ๊ฐ ๋ง๋ค์ด์ง๋ ๊ตฌ์กฐ๋ฅผ ๋น๊ตํฉ๋๋ค.
์ฒ์์ด๋ผ๋ฉด: ๋ฌด์์ ๋๋ฌ์ผ ํ๋์?
- 1. ์ง๋ฌธ์ ๋จผ์ ์ฝ๊ธฐLab ์ ๋ชฉ์์ ์ด๋ฒ์ ๋น๊ตํ ํ ๊ฐ์ง๋ฅผ ํ์ธํฉ๋๋ค.
- 2. ์กฐ๊ฑด ํ๋๋ง ๋ฐ๊พธ๊ธฐ์ฒ์์๋ n, ํจ๊ณผ, ์ฐํฌ ๊ฐ์ ์ ๋ ฅ ์ค ํ๋๋ง ๋ฐ๊พธ์ญ์์ค.
- 3. ์ ํฉ์ฑ ํ๋ณธ ๋๋ฅด๊ธฐ์ ํฉ์ฑ ๋ฐ์ดํฐ๊ฐ ๋ง๋ค์ด์ง๋๋ค. ๊ฐ์ ์กฐ๊ฑด๋ ํ๋ณธ์ ๋ฐ๋ผ ๋ฌ๋ผ์ง ์ ์์ต๋๋ค.
- 4. ๊ทธ๋ฆผ๊ณผ ๊ณ์ฐ ๊ฒฐ๊ณผ ๋น๊ตํ๊ธฐ๋ฐ๊พธ๊ธฐ ์ ํ ๋ฌด์์ด ์์ง์ด๊ณ ๋ฌด์์ด ๊ทธ๋๋ก์ธ์ง ํ ๋ฌธ์ฅ์ผ๋ก ์ ์ด๋ณด์ญ์์ค.
๋งํ๋ฉด ์ด๊ธฐํ๋ก ๋์๊ฐ ๊ธฐ๋ณธ ๊ฒฐ๊ณผ๋ฅผ ๋ณธ ๋ค ์กฐ๊ฑด ํ๋๋ง ๋ฐ๊พธ์ญ์์ค. ์ด Lab์ ์ ๋ต ํ์ ๊ธฐ๊ฐ ์๋๋ผ ํจํด ๊ด์ฐฐ ๋๊ตฌ์ ๋๋ค.
๊ฐ์ ์ค์ ์ ํฉ์ฑ ๊ด์ธก
๊ณ์ฐ ๊ฒฐ๊ณผ
๋์์ ๊ณต์ ๋ ๊ฐ์ฒด ์ฐจ์ด๋ฅผ ์ ์์์ ์ ๊ฑฐํฉ๋๋ค. ์์๋ก ํ์ ์ง์ง์ผ๋ฉด ์ด ์ด์ ์ ๊ฐ์ง์ ๋๋ค.
๊ต์ก์ฉ synthetic model ยท bjs-comparison-sequence-v1. ์ค์ ์ฐ๊ตฌ ํ๋จ์๋ ์คํ๋จ์, ๊ฒฐ์ธก, ๋ถํฌ, ๋ค์ค์ฑ, ์ฌ์ ๊ณํ๊ณผ ๋๋ฉ์ธ ๊ธฐ์ค์ ๋ณ๋๋ก ๋ฐ์ํด์ผ ํฉ๋๋ค.
The Labโs z approximation makes relationships transparent. Real t procedures reflect sample SD, degrees of freedom, unequal n, and missingness.
JMP result names reveal model assumptions
๊ฐ์ ์ด ๋ค๋ฅธ ๋ ์ถ์ ๋์ ์ฐจ์ดยทSEยทCI๋ฅผ ๊ตฌ๋ถํฉ๋๋ค.
์ง์ ์ฐจ์ด๋ฅผ ํ ์ง๋จ ์๋ฃ์ฒ๋ผ ๋ถ์ํฉ๋๋ค.
์์ ๊ธฐ๋ฐ ๊ฒฐ๊ณผ๋ ์์นยท๋ถํฌ ์ง๋ฌธ๊ณผ ๊ฐ์ ์ ํ์ธํฉ๋๋ค.
Assuming equal variances and Assuming unequal variances are not decoration; they reveal which SE and degrees of freedom were used. Matched Pairs is meaningful only when row links were correctly defined beforehand. Software cannot know whether a well ID is a donor ID.
Order analysis choices by the question
- Is response continuous and is a mean difference the research question?
- What is the independent experimental unit, and does each row represent it?
- Are the two values paired by design?
- What are the distribution shapes, outliers, censoring, and spread imbalance?
- What are the pre-specified analysis and sensitivity analyses?
- How will effect, CI, and units be reported?
Example result statement
We compared A (n=18) and B (n=17) from different donors independently. The BโA mean difference was 1.7 percentage points; the Welch 95% CI was 0.2โ3.2, t(29.4)=2.31, p=.028. One donor-level value was used per analysis unit, and the direction was the same in distribution plots and robust location estimates.
For a paired design, report number of complete pairs, mean pairwise difference, and SD of differencesโnot merely โtwo-group t-test.โ
Takeaways
- Independence and pairing are relationships fixed by design.
- Welch separately reflects group variance and n.
- Do not automatically branch pooled/Welch on one preliminary spread test.
- Paired analysis uses pairwise differences.
- A rank test is not an assumption-free test of means.
- Do not count technical repeats as independent units.
The next unit extends two groups to three or more. ANOVAโs variation partitioning addresses the multiple-error problem created by repeated t-tests.
Official supplementary resources
The values, figures, and Lab in this article are educational synthetic material.