STAT-12 · STATISTICS

검정·오류·검정력·효과크기Tests, errors, power and effect sizes

동전 꼬리의 손계산에서 정확 오류·정규 피벗·사전 검정력·실제 효과 해석까지From coin-tail calculations to exact error, pivots, prospective power and actual effect interpretation

실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions

기초Foundations

1. 놀라운 차이를 발견한 뒤 무엇을 물어야 할까1. What should we ask after observing a surprising difference?

가상 동전 실험에서 열 번 중 아홉 번 앞면이 나왔습니다. ‘공정한 동전으로도 이런 일이 생길까?’와 ‘이 동전이 불공정할 확률은 얼마일까?’는 다릅니다. 첫 질문은 공정하다는 가정 아래 자료의 변동을 계산합니다. 둘째 질문에는 가설의 사전확률과 대안 모형 등 더 많은 정보가 필요합니다.

검정은 미리 정한 자료 수집·계산 규칙으로 어떤 가정과 자료의 어긋남을 평가합니다. 어긋남이 크다고 항상 우리가 원하는 인과 설명이 맞는 것은 아닙니다. 측정 오류나 표집 가정의 실패도 같은 어긋남을 만들 수 있습니다.

이 장은 열한 개 성공 개수의 손계산에서 시작해 오류·p값·정규 평균 검정·검정력·효과크기로 올라갑니다. 실제 주택지수, 로그 임금, 점포의 전후 변화를 다시 사용하되 원자료와 가정한 표집 실험을 구별합니다.

Nine heads in ten hypothetical coin tosses raise two different questions: how unusual is this under a fair coin, and how probable is it that the coin is unfair? The first uses a specified null sampling law. The second needs additional ingredients such as prior probabilities and alternative models.

A test evaluates discrepancy using a declared collection and calculation rule. A large discrepancy does not uniquely establish a desired causal explanation; measurement or sampling-model failures can also matter.

Start with eleven possible success counts, then build errors, p-values, normal mean tests, power and effect sizes. Actual housing indices, log wages and paired-store changes remain distinct from the sampling experiments assumed around them.

기초Foundations

2. 귀무가설과 대안가설은 자료 법칙에 대한 주장이다2. Null and alternative hypotheses concern data laws

iid Bernoulli(p) 시행의 성공 개수 K를 생각합시다. H₀:p=.5는 성공확률을 .5로 고정하고 K의 이항법칙을 정합니다. H₁:p>.5는 여러 가능한 법칙을 모읍니다. 여기서 귀무가설은 도덕적 기준이나 항상 믿어야 할 진실이 아니라 비교의 출발 가정입니다.

H0:p=.5H1:p>.5K∣p∼Bin⁡(n,p)\begin{gathered}H_0:p=.5\\H_1:p>.5\\K\mid p\sim\operatorname{Bin}(n,p)\end{gathered}

성공을 무엇으로 정의했는지, n을 언제 정했는지, 시행끼리 독립인지도 모형의 일부입니다. p=.5만 써 놓고 나머지 생성 조건을 생략하면 그 이항 계산이 정당화되지 않습니다.

For iid Bernoulli(p) trials, H₀:p=.5 fixes a binomial law for K. H₁:p>.5 collects many possible laws. “Null” names a reference hypothesis, not a moral standard or a statement that must be believed.

H0:p=.5H1:p>.5K∣p∼Bin⁡(n,p)\begin{gathered}H_0:p=.5\\H_1:p>.5\\K\mid p\sim\operatorname{Bin}(n,p)\end{gathered}

The success definition, fixed sample size and trial independence also belong to the model. Stating p=.5 alone does not justify a binomial calculation.

학부 연결 · 선택Undergraduate bridge · optional

3. 한 법칙의 단순가설과 여러 법칙의 복합가설3. Simple hypotheses specify one law; composite hypotheses allow several

단순가설은 모형 안에서 표본 법칙 하나를 완전히 정합니다. 알려진 σ에서 정규 평균 μ=0은 단순가설이지만, σ도 모르면 μ=0만으로 전체 법칙이 하나가 되지는 않습니다. 관심 모수 한 개를 고정했다는 것과 단순가설은 항상 같지 않습니다.

복합 귀무 H₀:p≤.5에서는 그 안의 모든 p에 대해 오류를 통제해야 합니다. 한 점 .5에서만 좋은 수치가 나온다고 전체 귀무에서 보장된다고 단정하지 않습니다. 뒤의 단조 오른꼬리에서는 경계 .5가 가장 불리함을 따로 증명할 수 있습니다.

A simple hypothesis fully specifies one sampling law within the model. A normal mean fixed at zero is simple when SD is known, but not when SD remains unspecified. Fixing one parameter of interest need not specify the entire law.

For composite H₀:p≤.5, error control must hold throughout the null. A calculation at one point needs a justification before being extended to every null value. A monotone upper-tail test permits a boundary argument later.

기초Foundations

4. 통계량·관측값·기각집합을 나눈다4. Separate statistic, observed value and rejection set

K는 표본 전에 무작위 통계량입니다. 이번에 나온 k=9는 관측값입니다. ‘9 이상이면 기각’이라는 규칙 R={9,10}은 모든 가능한 관측값 중 어떤 값에서 행동할지를 정한 집합입니다.

φ(K)=1{K∈R}K∈R: φ=1K∉R: φ=0\begin{gathered}\varphi(K)=\mathbf 1_{\{K\in R\}}\\K\in R:\ \varphi=1\\K\notin R:\ \varphi=0\end{gathered}

φ는 기각함수입니다. 자료를 본 뒤 유리한 R을 골라 놓고 원래 미리 정한 규칙의 오류 보장을 쓰면 다른 절차를 계산한 셈입니다. 이 장의 기본 실습은 미리 고정한 n과 R을 사용합니다.

K is random before sampling, k=9 is this realization, and R={9, 10} declares which possible outcomes trigger rejection. They are different objects.

φ(K)=1{K∈R}K∈R: φ=1K∉R: φ=0\begin{gathered}\varphi(K)=\mathbf 1_{\{K\in R\}}\\K\in R:\ \varphi=1\\K\notin R:\ \varphi=0\end{gathered}

The function φ is a decision rule. Choosing a favorable rejection set after seeing data is not the same procedure as a predeclared rule. Basic labs hold n and the rule fixed.

기초Foundations

5. 판단 두 가지와 실제 상태 두 가지가 네 칸을 만든다5. Two decisions and two true states make four outcomes

귀무가 참인데 기각하면 1종 오류입니다. 대안이 참인데 기각하지 못하면 2종 오류입니다. 귀무가 참일 때 비기각, 대안이 참일 때 기각은 각각 맞는 판단입니다. 모형의 참 상태와 관측 뒤 판단을 같은 축에 놓지 않습니다.

검정의 비기각은 귀무를 증명한다는 뜻이 아닙니다. 작은 표본이나 큰 잡음 때문에 중요한 차이가 있어도 발견하지 못할 수 있습니다. 법정 비유를 쓰더라도 ‘증거 부족’과 ‘진실의 증명’을 구별하는 정도로만 사용하세요. 실제 법적 판단과 통계 모형은 동일하지 않습니다.

Rejecting a true null is a type-I error. Not rejecting under an alternative is a type-II error. The other two combinations are correct decisions. The true model state and the observed decision are separate axes.

Nonrejection does not prove the null. A small sample or substantial noise can hide important differences. “Insufficient evidence” and “proof of truth” are different statements.

기초Foundations

6. α와 β는 서로 다른 법칙에서 계산한다6. Alpha and beta are computed under different laws

단순 귀무 p₀와 선택한 대안 p₁≠p₀에서 같은 기각집합 R을 씁니다. 귀무의 확률을 더한 것이 실제 1종 오류이고, 대안의 비기각 확률이 그 p₁에서의 2종 오류입니다.

αactual=Pp0(K∈R),β(p1)=Pp1(K∉R),π(p1)=1−β(p1)=Pp1(K∈R).\begin{gathered} \alpha_{\rm actual}=P_{p_0}(K\in R),\\ \beta(p_1)=P_{p_1}(K\notin R),\\ \pi(p_1)=1-\beta(p_1)=P_{p_1}(K\in R). \end{gathered}

π는 검정력입니다. 대안이 여러 개면 β와 π도 함수입니다. 귀무와 같은 p₁=p₀를 넣었을 때 기각확률 자체는 계산되지만, 그 비기각을 ‘거짓 귀무를 놓친 2종 오류’라고 부르지는 않습니다.

Use the same rejection set under simple null p₀ and a chosen alternative p₁≠p₀. Null mass in the set gives actual type-I error; alternative mass outside it gives type-II error at that alternative.

αactual=Pp0(K∈R),β(p1)=Pp1(K∉R),π(p1)=Pp1(K∈R)=1−β(p1).\begin{gathered} \alpha_{\rm actual}=P_{p_0}(K\in R),\\ \beta(p_1)=P_{p_1}(K\notin R),\\ \pi(p_1)=P_{p_1}(K\in R)=1-\beta(p_1). \end{gathered}

Power π varies across alternatives. At p₁=p₀, rejection and nonrejection probabilities still exist, but nonrejection is not a type-II error because the null is not false.

학부 연결 · 선택Undergraduate bridge · optional

7. 정한 유의수준과 실제 크기는 다를 수 있다7. Chosen significance level can differ from actual size

수준 α의 검정은 귀무 안에서 잘못 기각할 확률이 α 이하가 되도록 만든 절차입니다. 복합 귀무에서는 그 확률의 상한을 모든 귀무 모수에 걸쳐 취합니다. 이 최악값을 검정의 크기라고 부릅니다.

size⁡(φ)=sup⁡θ∈Θ0Eθ[φ(X)]≤α.\operatorname{size}(\varphi) =\sup_{\theta\in\Theta_0}E_\theta[\varphi(X)]\le\alpha.

정확히 α가 되어야만 좋은 검정인 것은 아닙니다. 이산 자료에서는 기각집합을 한 칸 늘릴 때 확률이 한꺼번에 뛰므로 실제 크기가 α보다 작아질 수 있습니다. 반대로 근사 정규 임계값을 썼다고 모든 유한 자료법칙에서 α 이하가 자동 보장되지는 않습니다.

A level-α procedure controls false rejection at most α throughout the null. Its size is the supremum of rejection probabilities over null parameters.

size⁡(φ)=sup⁡θ∈Θ0Eθ[φ(X)]≤α.\operatorname{size}(\varphi) =\sup_{\theta\in\Theta_0}E_\theta[\varphi(X)]\le\alpha.

Discrete mass jumps can make size strictly below α. A normal-reference approximation, by contrast, does not automatically control finite-sample size under every data law.

기초Foundations

8. 열 번 동전의 기각확률을 손으로 더한다8. Add rejection probabilities for ten coin tosses by hand

가상 iid 공정 동전 n=10에서 R={0,1,9,10}을 고릅니다. 양 극단을 함께 보기 때문에 아홉 앞면뿐 아니라 한 앞면도 같은 정도의 극단입니다.

P.5(K∈R)=(100)+(101)+(109)+(1010)210=221024=11512=.021484375\begin{gathered}P_{.5}(K\in R)\\=\frac{\binom{10}0+\binom{10}1+\binom{10}9+\binom{10}{10}}{2^{10}}\\=\frac{22}{1024}=\frac{11}{512}=.021484375\end{gathered}

이 규칙은 .05보다 작은 실제 크기를 가집니다. R에 2와 8까지 넣으면 양쪽에서 45씩 더해 112/1024=.109375가 됩니다. 약 .05를 만들려고 그 중간의 없는 성공 개수를 만들어 낼 수는 없습니다.

For ten hypothetical iid fair tosses, choose R={0, 1, 9, 10}. Both extremes are included, so one head is as extreme as nine heads.

P.5(K∈R)=(100)+(101)+(109)+(1010)210=221024=11512=.021484375\begin{gathered}P_{.5}(K\in R)\\=\frac{\binom{10}0+\binom{10}1+\binom{10}9+\binom{10}{10}}{2^{10}}\\=\frac{22}{1024}=\frac{11}{512}=.021484375\end{gathered}

Adding counts 2 and 8 raises rejection probability to 112/1024=.109375. Discrete steps need not hit a desired nominal .05 exactly.

기초Foundations

9. 오류 실습: 같은 집합을 두 법칙의 확률로 읽는다9. Rejection lab: read one set under two probability laws

성공 개수별 기각 여부를 골라 보세요. 두 곡선의 한 점 높이를 오류확률이라고 읽지 말고, 선택한 모든 성공 개수의 질량을 더합니다. 귀무 법칙과 대안 법칙의 표가 같은 기각집합을 어떻게 다르게 가중하는지 확인하세요.

처음에는 기본 R의 실제 1종 오류를 손계산과 맞추세요. 다음으로 대안 p₁을 .6,.7,.9로 바꾸어 검정력이 달라지는지 봅니다. 모든 값을 기각하면 검정력은 1이지만 귀무 오류도 1입니다. 아무 값도 기각하지 않으면 오류는 0이지만 대안을 발견하지 못합니다.

Select which success counts trigger rejection. Error probabilities sum masses across the selected counts; they are not individual curve heights. Compare how the same set is weighted by null and alternative laws.

First match the default type-I error by hand, then change the alternative to .6, .7, .9. Rejecting everything gives power 1 and null error 1; rejecting nothing gives null error 0 and no detection.

기초Foundations

10. 검정력은 대안 하나의 점수가 아니라 함수다10. Power is a function across alternatives

π(p)=P_p(K∈R)를 p마다 계산하면 검정력 곡선입니다. p₀에서의 높이는 귀무 기각확률이고, 그 밖에서는 선택 대안의 발견확률입니다. 하나의 ‘검정력 80%’를 말하려면 어느 차이·분산·표본 크기·규칙에서 계산했는지 밝혀야 합니다.

R을 넓히면 같은 각 법칙에서 기각확률은 줄지 않습니다. 이것은 α와 검정력 사이의 선택을 보여 주지만, 같은 α를 가진 모든 서로 다른 규칙의 우열을 정하지는 않습니다. 한 방향 대안에 집중한 규칙과 양방향을 보는 규칙은 목적이 다릅니다.

The function π(p)=P_p(K∈R) gives a power curve. At the null it is false-rejection probability; at alternatives it is detection probability. “80% power” is incomplete without a chosen effect, variance, sample size and rule.

Enlarging R cannot decrease rejection probability under any fixed law. This illustrates a tradeoff, but does not rank every distinct equal-size rule. One-direction and two-direction questions differ.

기초Foundations

11. p값은 귀무법칙에서 같은 만큼 이상 극단적인 확률이다11. A p-value uses equally or more extreme outcomes under the null

큰 통계량 T가 더 극단적이라고 미리 정했다면, 관측 t_obs에 대해 p=P₀(T≥t_obs)입니다. 같은 정도의 극단도 포함합니다. 자료 한 점의 확률이나 밀도 높이를 그대로 p값이라고 부르지 않습니다.

p(x)=P0{T(X′)≥T(x)}.p(x)=P_0\{T(X')\ge T(x)\}.

X′는 같은 귀무법칙으로 다시 얻는 가상 자료입니다. 관측 자료 x를 고정한 다음 가능한 재표본의 극단 부분을 셉니다. 통계량의 방향과 표집법칙을 바꾸면 p값도 다른 질문이 됩니다.

If larger T was declared more extreme, the observed p-value is P₀(T≥t_obs), including equally extreme outcomes. It is not simply the probability or density height at the observed point.

p(x)=P0{T(X′)≥T(x)}.p(x)=P_0\{T(X')\ge T(x)\}.

X′ denotes hypothetical new data under the null. Hold observed x fixed, then count the null outcomes at least as extreme. Changing the statistic or sampling law changes the question.

기초Foundations

12. 오른쪽과 왼쪽 꼬리는 서로 다른 질문이다12. Upper and lower tails ask different questions

성공이 더 많아지는 대안에서는 K≥k_obs를, 더 적어지는 대안에서는 K≤k_obs를 셉니다. n=10, p₀=.5, k_obs=9이면 오른쪽 p값은 (10+1)/1024=11/1024≈.0107422입니다. 왼쪽 p값은 1023/1024로 큽니다.

관측한 부호를 보고 유리한 한쪽을 선택한 뒤 한쪽 기준을 그대로 적용하면 미리 정한 절차가 아닙니다. 방향이 사전 과학 질문에서 나왔는지, 반대 방향의 중요한 변화도 보고할지 먼저 정합니다.

For increased success use K≥k_obs; for decreased success use K≤k_obs. At n=10, p₀=.5, k_obs=9, the upper-tail p-value is 11/1024≈.0107422, while the lower tail is 1023/1024.

Choosing the favorable direction after observing the sign changes the procedure. State whether direction came from the scientific question before seeing data, and report important changes in the opposite direction too.

기초Foundations

13. 양쪽 p값에는 극단성의 정의가 필요하다13. A two-sided p-value needs a definition of extremeness

이 장의 정확 이항 실습은 T(K)=|K−np₀|를 씁니다. 귀무 평균에서 거리가 관측값 이상인 모든 성공 개수를 더합니다. n=10, p₀=.5, k=9에서는 R={0,1,9,10}이라 p=11/512입니다.

Ek={j:∣j−np0∣≥∣k−np0∣}pdistance(k)=∑j∈Ek(nj)p0j(1−p0)n−j\begin{gathered}E_k=\{j:|j-np_0|\ge|k-np_0|\}\\p_{\rm distance}(k)\\=\sum_{j\in E_k}\binom nj p_0^j(1-p_0)^{n-j}\end{gathered}

비대칭 이항법칙에서는 ‘관측 질량 이하인 원자를 더하기’,‘작은 한쪽 꼬리를 두 배하기’와 같은 다른 정의가 같은 수를 내지 않을 수 있습니다. 모두를 이름만 ‘양쪽’이라고 놓고 계산 결과가 틀렸다고 단정하지 않습니다. 정의와 보장을 함께 확인합니다.

The exact binomial lab declares T(K)=|K−np₀|. It sums all counts whose distance from the null mean is at least the observed distance. For n=10, p₀=.5, k=9, this yields 11/512.

Ek={j:∣j−np0∣≥∣k−np0∣}pdistance(k)=∑j∈Ek(nj)p0j(1−p0)n−j\begin{gathered}E_k=\{j:|j-np_0|\ge|k-np_0|\}\\p_{\rm distance}(k)\\=\sum_{j\in E_k}\binom nj p_0^j(1-p_0)^{n-j}\end{gathered}

For asymmetric laws, probability-mass ordering or twice the smaller one-sided tail can differ. “Two-sided” alone does not identify the algorithm. Check the definition and its error guarantee.

기초Foundations

14. 동률을 버리면 오류가 커질 수 있다14. Discarding ties can inflate error

가장 간단한 귀무법칙 T=0 확률 1을 생각해 보세요. 올바른 포함 꼬리 P(T≥0)=1입니다. 엄격히 큰 값만 세어 P(T>0)=0으로 바꾸면 모든 귀무 자료에 p=0을 붙여 항상 기각하게 됩니다.

이산 검정에서 등호는 장식이 아닙니다. 실습은 극단성 동률을 모두 포함합니다. 별도의 무작위화 검정은 경계에서 추가 동전을 쓰는 다른 절차로 설계할 수 있지만, 아무 설명 없이 동률을 빼는 것과 같지 않습니다.

Consider the degenerate null T=0 with probability 1. Its inclusive tail is P(T≥0)=1. Using only strict exceedances gives P(T>0)=0 and rejects every null observation.

Ties matter for discrete tests. The lab includes them. A deliberately randomized boundary rule can be designed separately; silently discarding equal values is not such a design.

학부 연결 · 선택Undergraduate bridge · optional

15. 유효한 p값은 귀무에서 작은 값이 과도하게 나오지 않는다15. A valid p-value is not too often small under the null

고정 귀무법칙에서 유효한 p값은 모든 u∈[0,1]에 대해 P₀(p(X)≤u)≤u를 만족합니다. α를 자료 전에 정했다면 ‘p≤α에서 기각’의 오류가 α 이하가 됩니다. 연속 피벗에서는 등호가 성립할 수 있고, 이산 꼬리에서는 작아질 수 있습니다.

P0{p(X)≤u}≤u,φα(X)=1{p(X)≤α}.\begin{gathered} P_0\{p(X)\le u\}\le u,\\ \varphi_\alpha(X)=\mathbf1_{\{p(X)\le\alpha\}}. \end{gathered}

유한법칙에서는 T값을 큰 순서로 정렬하고 같은 값은 묶습니다. p≤u를 만족하는 묶음은 그 위의 더 극단 묶음 전체와 함께 하나의 꼬리를 이루며, 그 꼬리의 합질량이 u 이하입니다. 그래서 동률 포함 꼬리가 보장을 만듭니다.

Validity means P₀(p(X)≤u)≤u for every u∈[0, 1]. A prechosen rejection rule p≤α therefore has null error at most α. A continuous pivot can give equality; discrete tails can be conservative.

P0{p(X)≤u}≤u,φα(X)=1{p(X)≤α}.\begin{gathered} P_0\{p(X)\le u\}\le u,\\ \varphi_\alpha(X)=\mathbf1_{\{p(X)\le\alpha\}}. \end{gathered}

For a finite law, sort distinct T values from most extreme and group ties. All groups with tail mass at mostu form an upper tail whose combined mass is at mostu. This proves the inclusive-tail guarantee.

기초Foundations

16. p값 실습: 관측 한 점에서 꼬리 전체로 이동한다16. p-value lab: move from one observed point to a full tail

관측 성공 개수를 바꾸고, 같거나 더 극단적인 원자들이 어떻게 선택되는지 확인하세요. 양쪽 거리·오른쪽·왼쪽을 비교하되 각 선택을 별도 사전 질문으로 생각합니다. 화면의 점을 잇는 선은 원자 사이에 실제 성공 개수가 존재한다는 뜻이 아닙니다.

p₀=.5, k=9, n=10의 오른쪽 11/1024와 양쪽 11/512를 재현하세요. p₀가 0 또는 1이면 귀무에서 확률 0인 관측도 선택할 수 있습니다. 그때 p=0은 주어진 귀무가 그 관측에 질량을 주지 않는다는 뜻이며 모든 모형·측정이 맞다는 증명은 아닙니다.

Change the observed count and inspect every equally or more extreme atom. Compare distance-based two-sided, upper and lower tails as distinct predeclared questions. Lines between integer counts do not create additional possible outcomes.

Reproduce 11/1024 versus 11/512 at n=10, p₀=.5, k=9. At p₀=0 or 1, an observation impossible under the null can give p=0. This is a statement about that declared law, not proof that every measurement or modeling choice is correct.

기초Foundations

17. p=.03은 귀무가 참일 확률 3%가 아니다17. A p-value of .03 is not a 3% probability that the null is true

p값은 귀무가 참인 경우를 놓고 자료의 극단성을 계산합니다. P₀(자료의 극단 부분)과 P(귀무|관측자료)는 조건의 방향이 다릅니다. STAT05의 조건부 확률처럼 방향을 뒤집으려면 사전·대안 가능도 등을 함께 사용해야 합니다.

‘우연히 이 자료가 나왔을 확률’이라는 표현도 불충분합니다. 어떤 귀무법칙, 어떤 통계량, 어떤 극단 부분인지가 빠져 있습니다. p=.03이면 그 정의된 귀무 꼬리가 .03이라는 뜻이지 결과의 재현 확률이 .97이라는 뜻도 아닙니다.

A p-value calculates a data-tail probability under the null. P₀(an extreme-data set) and P(null|observed data) reverse the conditioning direction. Reversal needs additional ingredients, as in STAT05.

“Probability this happened by chance” omits the law, statistic and tail. A declared null-tail probability of .03 is not a posterior null probability or a .97 replication probability.

기초Foundations

18. 연속 자료 한 점의 확률 0은 p값 0이 아니다18. Zero probability at one continuous point is not a zero p-value

표준정규 Z에서 Z=1.2라는 정확한 한 점의 확률은 0입니다. 그러나 오른쪽 p값 P(Z≥1.2)는 약 .1151로 양수입니다. 연속법칙의 점확률 0과 범위의 확률을 구별해야 합니다.

밀도 φ(1.2)의 높이는 단위에 의존하고 확률이 아닙니다. 자료의 단위를 바꾸면 밀도 높이는 달라지지만, 일관되게 변환한 동일 검정 사건의 확률은 같습니다. 그림에서 세로 높이와 가로 범위 아래 넓이를 따로 읽으세요.

For standard normal Z, P(Z=1.2)=0, but the upper-tail p-value P(Z≥1.2)≈.1151 is positive. A point probability differs from a range probability.

The density height φ(1.2) is not a probability and depends on measurement scale. A consistently transformed rejection event preserves probability even when density heights change. Read height separately from area.

대학원 연결Graduate bridge

19. 복합 귀무에서는 가장 불리한 법칙을 확인한다19. Check the least favorable law for a composite null

상한 귀무 H₀:p≤p₀와 큰 K에서 기각하는 규칙을 생각합시다. 같은 독립 Uᵢ∼Uniform(0,1)를 사용해 Xᵢ(p)=1{Uᵢ≤p}를 만들면 p가 증가할수록 K(p)는 각 결과에서 줄지 않습니다. 따라서 오른꼬리 확률도 p에 따라 줄지 않습니다.

sup⁡p≤p0Pp(K≥c)=Pp0(K≥c).\sup_{p\le p_0}P_p(K\ge c)=P_{p_0}(K\ge c).

이 증명이 있으므로 경계 p₀를 기준으로 한 오른꼬리 보장을 전체 귀무로 옮길 수 있습니다. 임의의 두 꼬리 기각집합이나 다른 모형에도 같은 경계 원리가 자동 적용되지는 않습니다. 방해모수가 있으면 별도의 상한·피벗·조건부 방법이 필요할 수 있습니다.

For H₀:p≤p₀ and rejection at large K, couple trials using independent Uᵢ∼Uniform(0, 1), with Xᵢ(p)=1{Uᵢ≤p}. K(p) cannot decrease as p increases, so upper-tail probabilities cannot decrease.

sup⁡p≤p0Pp(K≥c)=Pp0(K≥c).\sup_{p\le p_0}P_p(K\ge c)=P_{p_0}(K\ge c).

This justifies boundary calibration for that rule. It is not an automatic principle for arbitrary two-tailed sets or other models. Nuisance parameters can require separate bounds, pivots or conditional methods.

기초Foundations

20. 알려진 σ의 평균 검정은 귀무 중심으로 표준화한다20. A known-SD mean test standardizes around the null mean

iid N(μ, σ²), 알려진 σ>0, n≥1에서 H₀:μ=μ₀를 검정합니다. 이번 평균과 귀무 평균의 차이를 평균의 표준오차로 나눕니다. 분모 σ와 σ/√n을 혼동하면 표본 크기의 역할을 잃습니다.

Z0=X‾−μ0σ/n,H0⟹Z0∼N(0,1),ptwo=2{1−Φ(∣zobs∣)}.\begin{gathered} Z_0=\frac{\overline X-\mu_0}{\sigma/\sqrt n},\\ H_0\Longrightarrow Z_0\sim N(0,1),\\ p_{\rm two}=2\{1-\Phi(|z_{\rm obs}|)\}. \end{gathered}

양쪽 대안에서 |Z₀|≥z_(1−α/2)이면 기각하는 관례를 씁니다. 오른쪽 대안에서는 Z₀≥z_(1−α), 왼쪽은 Z₀≤−z_(1−α)입니다. μ₀는 가정한 알려진 후보여서 통계량 계산에 들어갈 수 있습니다. 실제 미지 μ를 넣어 계산한 값은 관측 가능한 검정통계량이 아닙니다.

Under iid N(μ, σ²), known σ>0, n≥1, test H₀:μ=μ₀. Divide the observed mean’s difference from the null by its SE σ/√n, not the observation SD σ.

Z0=X‾−μ0σ/n,H0⟹Z0∼N(0,1),ptwo=2{1−Φ(∣zobs∣)}.\begin{gathered} Z_0=\frac{\overline X-\mu_0}{\sigma/\sqrt n},\\ H_0\Longrightarrow Z_0\sim N(0,1),\\ p_{\rm two}=2\{1-\Phi(|z_{\rm obs}|)\}. \end{gathered}

The two-sided rule rejects at |Z₀|≥z_(1−α/2); upper and lower one-sided rules use z_(1−α). The hypothesized candidate μ₀ is known and computable. Replacing it by the unknown true μ would not yield an observable test statistic.

기초Foundations

21. 평균 10과 기준 9의 차이를 실제 계산한다21. Work through a mean of 10 versus a reference of 9

가상 정규법칙에서 알려진 σ=2, n=25, 관측 평균 10, 귀무 평균 9입니다. 원단위 차이는 1이고, 평균의 표준오차는 2/5=.4입니다.

zobs=(10−9)/.4=2.5,ptwo≈.01241933065,∣zobs∣>1.959963985.\begin{gathered} z_{\rm obs}=(10-9)/.4=2.5,\\ p_{\rm two}\approx .01241933065,\\ |z_{\rm obs}|>1.959963985 . \end{gathered}

미리 정한 양쪽 α=.05에서는 기각합니다. ‘차이 1은 무조건 크다’고 한 것이 아닙니다. 자료 단위·σ·n과 기준을 정한 상황에서 귀무 꼬리를 계산했습니다. 같은 차이라도 n이나 잡음이 달라지면 p값이 달라집니다.

In a hypothetical normal model, known σ=2, n=25, observed mean 10 and null mean 9. The source-unit difference is 1 and the mean SE is .4.

zobs=2.5,ptwo≈.01241933065,∣zobs∣>1.959963985.\begin{gathered} z_{\rm obs}=2.5,\\ p_{\rm two}\approx .01241933065,\\ |z_{\rm obs}|>1.959963985 . \end{gathered}

A prechosen two-sided .05 rule rejects. This does not establish that a one-unit change is always large. The result depends on the declared units, noise, sample size and reference.

기초Foundations

22. σ를 모르면 정규 표본의 t피벗을 쓴다22. With unknown SD, use the normal-sample t pivot

iid 정규 표본 n≥2, 양의 모분산에서 표본표준편차 s를 쓰면 귀무 통계량 T₀=(X̄−μ₀)/(s/√n)은 자유도 n−1의 t법칙을 가집니다. 평균과 잔차 제곱합의 독립성이 STAT11의 증명을 뒷받침합니다.

T0=X‾−μ0s/n,H0⟹T0∼tn−1,ptwo=2P(tn−1≥∣tobs∣).\begin{gathered} T_0=\frac{\overline X-\mu_0}{s/\sqrt n},\\ H_0\Longrightarrow T_0\sim t_{n-1},\\ p_{\rm two}=2P(t_{n-1}\ge|t_{\rm obs}|). \end{gathered}

정확성은 정규 표집 조건을 사용합니다. 비정규 iid 유한분산의 큰 표본 평균에는 studentized 근사를 고려할 수 있지만, 관측 개수 하나만으로 근사 품질을 보장하지 않습니다. 군집·시계열 의존이나 가중치가 있으면 분모도 해당 설계에 맞아야 합니다.

For an iid normal sample, n≥2 and positive population variance, T₀=(X̄−μ₀)/(s/√n) has a t law with n−1 degrees of freedom under the null. STAT11’s mean/residual independence supplies the proof.

T0=X‾−μ0s/n,H0⟹T0∼tn−1,ptwo=2P(tn−1≥∣tobs∣).\begin{gathered} T_0=\frac{\overline X-\mu_0}{s/\sqrt n},\\ H_0\Longrightarrow T_0\sim t_{n-1},\\ p_{\rm two}=2P(t_{n-1}\ge|t_{\rm obs}|). \end{gathered}

Exactness uses normal sampling. Studentized large-sample approximations for nonnormal iid finite-variance means need their own justification. Cluster, time dependence or weights can require a different SE.

기초Foundations

23. 같은 숫자라도 알려진 σ와 추정한 s는 다른 절차다23. Equal spread numbers do not equate known-SD and estimated-SD procedures

평균 10, 기준 9, n=25, 표준편차 값 2를 다시 봅시다. 2가 알려진 σ이면 z=2.5입니다. 2가 표본에서 추정한 s이면 t=2.5, 자유도 24입니다. 통계량 숫자는 같아도 귀무 참조법칙은 다릅니다.

t법칙은 이 표본 크기에서 더 두꺼운 꼬리를 가지므로 양쪽 p값과 임계값이 정규 참조와 다릅니다. ‘데이터가 같으니 결과도 같아야 한다’고 생각하기 전에, 분모를 어떻게 알았는지 확인하세요. 알려진 σ를 실제 현장에서 확보하지 못했다면 임의로 그 절차를 주장하지 않습니다.

Revisit mean 10, reference 9, n=25 and spread number 2. Known population σ gives z=2.5. Estimated sample s gives t=2.5 with df 24. The statistic numbers match, but their null reference laws do not.

The finite-df t law has heavier tails, changing both critical and p-value. Ask how the spread was obtained before expecting matching conclusions. Do not label an estimated field spread as known population SD.

기초Foundations

24. 평균 검정 실습: 원차이·표준오차·꼬리를 함께 읽는다24. Mean-test lab: read difference, SE and tail together

귀무 기준·평균·표준편차·n·방향을 바꿔 보세요. 원단위 차이와 표준화 통계량을 나란히 확인합니다. 기본 z예제에서 p≈.01242를 재현한 뒤, t 참조로 바꾸어 같은 2.5라도 꼬리가 달라지는지 봅니다.

서로 다른 방향은 서로 다른 사전 질문입니다. 평균 CI 표시는 양쪽 검사와 연결하며, 한쪽 검사에 같은 양쪽 CI를 기계적으로 대입하지 않습니다. 0 표본표준편차는 양의 분산 피벗의 계산이 미정의임을 표시하며 귀무를 참으로 확정하지 않습니다.

Change reference, mean, spread, n and tail. Inspect source-unit difference and standardized statistic together. Reproduce the default z p-value near .01242, then switch to t and compare the tail at the same statistic 2.5.

Directions are distinct predeclared questions. The displayed two-sided CI links to a two-sided decision. Zero observed sample SD leaves the positive-variance pivot undefined; it does not establish the null.

학부 연결 · 선택Undergraduate bridge · optional

25. 신뢰구간과 검정은 같은 후보 부등식을 뒤집을 수 있다25. Intervals and tests can invert the same candidate inequality

양쪽 정규 평균 검정에서 |X̄−μ₀|<c·SE인 후보를 남기면 열린 구간 (X̄−cSE, X̄+cSE)입니다. ≤로 후보를 남기면 닫힌 구간입니다. 연속 피벗에서는 정확 경계의 확률이 0이라 두 관례의 포함률이 같습니다.

∣x‾−μ0∣<c SE⁡⟺μ0∈(x‾−c SE⁡,x‾+c SE⁡).\begin{gathered} |\overline x-\mu_0|<c\,\operatorname{SE}\\ \Longleftrightarrow\quad \mu_0\in(\overline x-c\,\operatorname{SE}, \overline x+c\,\operatorname{SE}). \end{gathered}

이 실습은 p≤α에 대응하는 임계값 등호를 기각하고, 관습적 평균 CI는 닫힌 끝점으로 보여 줍니다. 따라서 경계에서는 관례를 명시해야 합니다. 이산 이항 자료에서는 꼬리의 정의와 등호가 확률을 바꿀 수 있어 어떤 양쪽 p값과 어떤 구간을 반전했는지 확인해야 합니다.

Retaining candidates with |X̄−μ₀|< c·SE produces an open mean interval; retaining equality closes it. A continuous pivot assigns zero probability to the exact boundary, so coverage agrees despite the convention.

∣x‾−μ0∣<c SE⁡⟺μ0∈(x‾−c SE⁡,x‾+c SE⁡).\begin{gathered} |\overline x-\mu_0|<c\,\operatorname{SE}\\ \Longleftrightarrow\quad \mu_0\in(\overline x-c\,\operatorname{SE}, \overline x+c\,\operatorname{SE}). \end{gathered}

The lab rejects critical equality and displays the conventional closed CI. State the boundary convention. Discrete binomial tails can make equality consequential; not every two-sided p-value is the inversion of the same interval.

기초Foundations

26. 표준편차 0과 계산 화면의 0을 구별한다26. Distinguish zero spread from a numerical display of zero

양의 표준편차를 요구하는 z/t 피벗에서 입력 0은 나눗셈을 허용하지 않습니다. 알려진 σ=0인 별도 상수법칙이라면 관측이 그 상수인지의 문제로 다시 정의할 수 있지만, 그것을 σ>0 공식의 0/0 값으로 끼워 넣지 않습니다.

표본에서 s=0이 나왔다고 모집단이 상수라는 뜻은 아닙니다. 반올림된 같은 값들이나 이산 표본에서도 일어납니다. 아주 작은 양의 p값이 화면에서 0이 되어도 수학적 확률 0과 같지 않습니다. 실습은 정확 유리수, 근사 꼬리, 로그값, 표시 범위를 나누어 안내합니다.

A positive-spread z/t pivot does not permit division by zero. A separately known σ=0 constant law needs its own model; it is not a 0/0 case of the positive-variance formula.

Observed s=0 does not prove a constant population. Rounded or discrete samples can produce it. A positive tail probability displayed as zero also differs from mathematical zero. Exact fractions, numerical tails, log values and display limits remain separate.

기초Foundations

27. 검정력은 자료를 보기 전 대안법칙을 정해 계산한다27. Calculate power under a chosen alternative before observing data

알려진 σ의 iid 정규 평균 검정에서 대안 μ=μ₀+δ를 정합시다. 귀무 중심의 Z₀는 이제 평균 λ=δ√n/σ, 분산 1인 정규법칙을 가집니다. 기각집합은 귀무에서 정한 그대로 유지합니다.

Z0=W+λW∼N(0,1),λ=δnσ,π(δ)=Pδ(Z0∈R).\begin{gathered} Z_0=W+\lambda\\W\sim N(0,1),\\ \lambda=\frac{\delta\sqrt n}{\sigma},\\ \pi(\delta)=P_\delta(Z_0\in R). \end{gathered}

δ는 설계에서 탐지하려는 가정 차이입니다. 관측 평균을 나중에 대안으로 꽂아 넣은 수치를 새로운 증거처럼 사용하지 않습니다. 예상하지 못한 결과를 숨기라는 뜻이 아니라, 설계 계산과 사후 해석의 역할을 나누자는 뜻입니다.

For the known-SD iid normal mean test, choose alternative μ=μ₀+δ. The null-centered statistic now has mean λ=δ√n/σ and variance 1. Keep the null-calibrated rejection set fixed.

Z0=W+λW∼N(0,1),λ=δn/σ,π(δ)=Pδ(Z0∈R).\begin{gathered} Z_0=W+\lambda\\W\sim N(0,1),\\ \lambda=\delta\sqrt n/\sigma,\\ \pi(\delta)=P_\delta(Z_0\in R). \end{gathered}

Here δ is a selected design difference. Substituting the observed estimate afterward does not create independent evidence. Separate prospective design from interpretation after observation.

기초Foundations

28. 양쪽 검정력은 이동한 법칙의 두 꼬리를 더한다28. Two-sided power adds two tails of a shifted law

양쪽 임계값 c=z_(1−α/2)에서 |W+λ|≥c를 풉니다. W≤−c−λ 또는 W≥c−λ이고, 서로 겹치지 않는 꼬리라 확률을 더합니다.

π(δ)=Φ(−c−λ)+1−Φ(c−λ),β(δ)=Φ(c−λ)−Φ(−c−λ).\begin{gathered} \pi(\delta) =\Phi(-c-\lambda)+1-\Phi(c-\lambda),\\ \beta(\delta) =\Phi(c-\lambda)-\Phi(-c-\lambda). \end{gathered}

오른쪽 검정의 검정력은 1−Φ(z_(1−α)−λ)입니다. λ가 음수이면 오른쪽 검정력은 작아질 수 있습니다. μ>μ₀를 찾으려고 정한 검정이 반대 방향 변화도 잘 찾는다고 기대하지 않습니다.

With c=z_(1−α/2), solve |W+λ|≥c into W≤−c−λ or W≥c−λ. The disjoint tails add.

π(δ)=Φ(−c−λ)+1−Φ(c−λ),β(δ)=Φ(c−λ)−Φ(−c−λ).\begin{gathered} \pi(\delta) =\Phi(-c-\lambda)+1-\Phi(c-\lambda),\\ \beta(\delta) =\Phi(c-\lambda)-\Phi(-c-\lambda). \end{gathered}

An upper-sided rule has power 1−Φ(z_(1−α)−λ). A negative shift can reduce its rejection probability. A direction-specific rule need not detect the opposite direction well.

기초Foundations

29. 같은 δ=1을 탐지할 확률을 계산한다29. Calculate detection probability for a chosen shift of 1

알려진 σ=2, n=25, 양쪽 α=.05에서 대안 δ=1이면 λ=2.5입니다. 이전의 관측 예제와 같은 숫자지만 이번에는 자료 전에 정한 대안법칙의 계산입니다.

π(1)=Φ(−1.959963985−2.5)+1−Φ(1.959963985−2.5)≈.7054180011,β(1)≈.2945819989.\begin{gathered} \pi(1) =\Phi(-1.959963985-2.5)\\ \quad+1-\Phi(1.959963985-2.5)\\ \approx .7054180011,\\ \beta(1)\approx .2945819989. \end{gathered}

이 설계는 δ=1이라는 대안에서 약 70.5% 기각합니다. α=.05가 95% 검정력을 뜻하지 않습니다. 두 확률은 서로 다른 법칙의 다른 사건을 말합니다.

With known σ=2, n=25, two-sided α=.05 and chosen δ=1, the shift isλ=2.5. These numbers match an earlier observed example, but here they specify a prospective alternative law.

π(1)≈.7054180011,β(1)≈.2945819989.\begin{gathered} \pi(1)\approx .7054180011,\\ \beta(1)\approx .2945819989. \end{gathered}

The design rejects about 70.5% of samples at that alternative. A .05 type-I target does not imply 95% power.

기초Foundations

30. n·잡음·차이·α를 한 번에 하나씩 바꾼다30. Change sample size, noise, effect and alpha one at a time

λ=δ√n/σ를 보면 같은 δ에서 n을 네 배로 늘리면 이동량이 두 배, σ를 두 배로 키우면 이동량이 절반입니다. 양쪽 고정 α에서는 |λ|가 커질수록 검정력이 커집니다. δ=0에서는 기각확률이 α이고 이는 검정력이 아닌 귀무 오류로 읽습니다.

α를 작게 잡으면 임계값이 바깥으로 이동해 같은 대안의 검정력도 낮아집니다. 오류 비용에 따라 설계를 정하되 자료를 본 뒤 작은 p값이 유리하도록 α를 바꾸어 놓고 사전 보장이라고 부르지 않습니다. 비용·실행 가능성·의미 있는 최소 차이도 함께 고려합니다.

Since λ=δ√n/σ, quadrupling n doubles the shift and doubling σ halves it. At fixed two-sided α, power increases with|λ|. At δ=0, rejection probability isα, a null-error probability rather than detection of a false null.

A smaller α moves the cutoff outward and reduces power at the same alternative. Design choices also involve costs, feasibility and a meaningful minimum difference. Choosing α after seeing favorable results does not preserve a prospective guarantee.

학부 연결 · 선택Undergraduate bridge · optional

31. 표본 수 공식의 근사와 충분조건을 구별한다31. Distinguish approximate sample-size formulas from sufficient guarantees

오른쪽 정규 검정에서 δ>0,0<α<1/2,0<β<1/2로 정하고 목표 검정력을 1−β로 둡니다. 이 조건에서는 두 분위수의 합이 양수이므로 λ≥z_(1−α)+z_(1−β)를 제곱해 n을 구할 수 있습니다. 알려진 σ와 이 법칙 아래에서의 설계입니다. 목표 검정력이 아주 낮은 다른 범위에는 제곱하기 전 부등식을 먼저 확인해야 합니다.

n≥{σ [z1−α+z1−β]δ} ⁣2.n\ge \left\{\frac{\sigma\,[z_{1-\alpha}+z_{1-\beta}]}{\delta}\right\}^{\!2}.

양쪽에서는 z_(1−α/2)를 넣은 같은 형태가 반대 꼬리를 무시한 충분한 표본 수를 줍니다. 실제 양쪽 검정력은 그 작은 반대 꼬리도 더하므로 이 식을 항상 정확한 최소 n이라고 부르면 안 됩니다. 정수 후보를 정확 검정력 공식에 넣어 확인하세요.

σ를 추정해야 하는 t 설계나 이산 자료에는 다른 계산이 필요할 수 있습니다. σ 추정의 불확실성, 결측 예상, 군집 구조를 숨긴 채 한 숫자만 ‘필요 표본 수’로 보고하지 않습니다.

For an upper-sided normal test, choose δ>0, 0<α<1/2 and 0<β<1/2, with target power 1−β. The quantile sum is positive under these conditions, so squaring λ≥z_(1−α)+z_(1−β) gives the bound on n. This assumes known σ and the stated normal law. For other, very low power targets, inspect the unsquared inequality first.

n≥{σ [z1−α+z1−β]δ} ⁣2.n\ge \left\{\frac{\sigma\,[z_{1-\alpha}+z_{1-\beta}]}{\delta}\right\}^{\!2}.

Replacing the first quantile by z_(1−α/2) gives a sufficient two-sided sample size by ignoring the opposite tail. It need not be the exact minimum because actual two-sided power adds that tail. Check integer candidates using the full formula.

Estimated-SD t designs or discrete data can need other computations. Account for variance uncertainty, missingness and clustering instead of reporting an assumption-free required n.

기초Foundations

32. 검정력 실습: 아직 관측하지 않은 설계 차이를 입력한다32. Power lab: enter a prospective design difference

알려진 σ의 정규 평균법칙에서 δ·n·α·방향을 바꾸세요. δ=0일 때 기각확률과 δ≠0의 검정력을 구별합니다. 양쪽에서 δ와 −δ를 비교하고, 오른쪽에서 같은 두 값을 비교해 방향의 역할을 보세요.

기본 δ=1, σ=2, n=25,α=.05의 약 .705418을 맞춘 뒤, 같은 대안에서 n을 늘려 봅니다. 이것은 그 가정 대안에서 절차가 어떻게 작동하는지의 계산이며 실제 효과가 δ라는 증거가 아닙니다. 관측 결과의 p값과 효과구간을 함께 보고해야 합니다.

Under a known-SD normal law, change δ, n,α and direction. Separate null rejection at δ=0 from power at δ≠0. Compare δ with −δ in a two-sided rule and then an upper-sided rule.

Reproduce power near .705418 for δ=1, σ=2, n=25,α=.05, then increase n. The calculation describes procedure performance at an assumed alternative; it is not evidence that the actual effect equals δ.

기초Foundations

33. 효과크기·표준오차·검정통계량은 다른 요약이다33. Effect size, standard error and test statistic summarize different things

관측 평균 차이 Δ̂=X̄−μ₀는 원측정 단위를 가집니다. 이것을 s로 나눈 d̂는 표본표준편차 단위의 차이입니다. 평균의 SE로 나눈 t는 같은 차이를 추정 정밀도와 비교합니다.

Δ^=X‾−μ0,d^=X‾−μ0s,t=X‾−μ0s/n=d^n.\begin{gathered} \widehat\Delta=\overline X-\mu_0,\\ \widehat d=\frac{\overline X-\mu_0}{s},\\ t=\frac{\overline X-\mu_0}{s/\sqrt n} =\widehat d\sqrt n. \end{gathered}

d̂와 t는 둘 다 단위 없는 수지만 같은 의미가 아닙니다. 고정 d̂에서 n이 커지면 |t|는 커집니다. s=0이면 이 표준화도 미정의입니다. 알려진 σ를 나눈 모형 효과 δ/σ와 표본 s를 나눈 추정 효과도 구별합니다.

The estimated difference Δ̂=X̄−μ₀ has source units. Dividing by sample SD gives d̂ in sample-SD units. Dividing by the mean SE instead gives a precision-scaled statistic.

Δ^=X‾−μ0,d^=(X‾−μ0)/s,t=d^n.\begin{gathered} \widehat\Delta=\overline X-\mu_0,\\ \widehat d=(\overline X-\mu_0)/s,\\ t=\widehat d\sqrt n. \end{gathered}

Both d̂ and t are dimensionless, but not interchangeable. At fixed d̂, increasing n increases |t|. Zero s leaves this standardization undefined. A population effect δ/σ also differs from its sample-SD estimate.

기초Foundations

34. 표준화가 실무적 중요성을 자동 결정하지 않는다34. Standardization does not automatically establish practical importance

시험점수 2점, 수입 2달러, 전일제 상당 고용량 2FTE는 서로 다른 질문입니다. 표준편차로 나누면 숫자를 비교하기 쉬워지지만, 그 결과가 사회적 가치·사업 비용·정책 손익을 대신하지는 않습니다.

같은 원차이라도 집단의 이질성이 커져 s가 커지면 d̂가 작아집니다. 집단의 흩어짐을 기준으로 나눈 상대적 크기이지, 차이 자체가 사라졌다는 뜻은 아닙니다. 특정 분야의 관습적 ‘작음/중간/큼’ 숫자를 모든 문제의 보편 기준으로 외우지 않습니다. 원차이와 단위, 불확실성, 실질적 판단 문턱을 함께 보고합니다.

A two-point score change, two-dollar change and two-FTE change pose different questions. Dividing by SD aids scale comparison, but does not replace social value, business costs or policy consequences.

The same raw difference gives a smaller standardized value when population heterogeneity raises SD. The raw change has not disappeared. Avoid universal small/medium/large thresholds detached from context. Report the difference, units, uncertainty and substantive benchmark together.

기초Foundations

35. 효과 실습: n은 t를 바꾸고 차이의 단위는 유지한다35. Effect lab: n changes the statistic while difference units remain

평균·기준·표준편차는 고정하고 n만 바꿔 보세요. 원차이와 표준화 차이가 그대로인데 표준오차와 p값이 달라지는지 확인합니다. 이 변화만으로 실무적 효과가 더 커졌다고 말할 수는 없습니다.

반대로 자료를 원단위의 100배로 일관되게 바꾸면 차이와 s는 100배가 되고 d̂·t는 유지됩니다. s만 바꾸거나 기준만 다른 단위에 남기면 같은 변환이 아닙니다. 새 단위와 기준도 함께 적으세요.

Hold mean, reference and spread fixed while changing n. The raw and standardized differences stay fixed while SE and p-value change. This does not make the substantive effect larger.

A consistent multiplication of mean, reference and SD by 100 rescales raw differences but preserves d̂ and t. Changing only SD or leaving the reference in old units is not a consistent unit conversion.

기초Foundations

36. 작은 p값과 큰 효과는 서로를 보장하지 않는다36. Small p-values and large effects do not guarantee each other

표준화 차이 .01도 n=1,000,000이면 t≈10이 됩니다. 작은 p값과 작은 표준화 차이가 함께 나올 수 있습니다. 반대로 큰 원차이도 표본이 매우 적거나 잡음이 크면 p값이 클 수 있습니다.

이 두 경우에 필요한 정보는 효과의 추정값과 구간, 자료 설계, 실무적 문턱입니다. p=.049와 .051에 서로 반대의 과학적 진실을 붙이지 않습니다. 엄밀한 이진 행동 규칙이 필요한 상황도 있지만 그 규칙의 비용·가정·효과 범위를 함께 제시합니다.

A standardized difference of .01 gives t≈10 when n=1,000,000. Small p-values and small standardized effects can coexist. Conversely, a large raw difference can have a large p-value with few observations or substantial noise.

Report effect estimates, intervals, design and substantive thresholds. Values .049 and .051 do not establish opposing scientific truths. When a binary action is required, state its costs, assumptions and effect range.

기초Foundations

37. 차이가 없다는 결론에는 차이 없음의 질문을 따로 설계한다37. A claim of no meaningful difference needs its own question

일반 H₀:δ=0에서 비기각은 정확히 0을 증명하지 않습니다. 실무적으로 |δ|<Δ라면 충분히 비슷하다고 보려면 의미 있는 양의 허용폭 Δ를 미리 정하고 그 안으로 효과를 제한할 근거를 구해야 합니다.

예를 들어 차이의 적절한 신뢰구간이 전부 (−Δ,Δ) 안에 있으면 그 구간의 보장과 연결한 진술을 할 수 있습니다. 단순히 0을 포함하는 아주 넓은 구간과는 다릅니다. 등가성·비열등성 검정은 귀무 방향과 오류 배분을 별도로 설계합니다. 이 장은 원리를 소개하며 다음 비교 장에서 구체 절차와 연결합니다.

Not rejecting H₀:δ=0 does not prove exactly zero. To argue that |δ|<Δ is substantively similar, predefine a meaningful positive marginΔ and obtain evidence that restricts the effect within it.

An appropriate confidence interval entirely inside (−Δ,Δ) supports a statement linked to that interval’s guarantee. A very wide interval merely containing zero does not. Equivalence and noninferiority procedures require their own null directions and error calibration.

학부 연결 · 선택Undergraduate bridge · optional

38. 1종 오류와 기각 뒤 귀무가 참일 확률은 다르다38. Type-I error differs from the chance of a true null after rejection

가정한 연구 집합에서 귀무가 참일 비율 π₀가 알려져 있고, 모든 참 귀무의 기각률이 α, 모든 대안의 평균 기각률이 power라고 합시다. 이 추가 혼합 모형에서는 기각 뒤 귀무확률을 Bayes 식으로 구할 수 있습니다.

P(H0∣reject)=π0απ0α+(1−π0)power⁡\begin{gathered}P(H_0\mid{\rm reject})\\=\frac{\pi_0\alpha}{\pi_0\alpha+(1-\pi_0)\operatorname{power}}\end{gathered}

π₀=.9,α=.05, power=.8이면 .045/(.045+.08)=.36입니다. α=.05와 같지 않습니다. 이것은 가정한 혼합 연구 모형의 예이며 개별 연구의 p값만으로 .36을 얻었다는 뜻이 아닙니다. π₀와 대안 법칙을 모르면 그 값을 따로 알아야 합니다.

Suppose an explicitly assumed collection of studies has known null fraction π₀, false-rejection rate α and average alternative rejection rate power. In this extra mixture model, Bayes gives

P(H0∣reject)=π0απ0α+(1−π0)power⁡\begin{gathered}P(H_0\mid{\rm reject})\\=\frac{\pi_0\alpha}{\pi_0\alpha+(1-\pi_0)\operatorname{power}}\end{gathered}

At π₀=.9,α=.05, power=.8, this is .36, not .05. It is a result for the assumed mixture, not something inferred from an individual p-value alone.

기초Foundations

39. 여러 후보를 시도하면 보고 규칙도 분석의 일부다39. When many candidates are tried, the reporting rule is part of the analysis

서로 독립인 참 귀무 10개에서 각각 정확 .05 기각률이면 적어도 한 번 잘못 기각할 확률은 1−.95¹⁰≈.4013입니다. 독립이 없어도 각 오류가 α/m 이하이면 m개 전체의 오류가 합집합 상계로 α 이하입니다.

P(at least one false rejection)≤∑j=1mP(false rejectionj)\begin{gathered}P(\text{at least one false rejection})\\\le\sum_{j=1}^mP(\text{false rejection}_j)\end{gathered}

이것은 여러 검정을 하지 말라는 뜻이 아닙니다. 무엇을 시도하고 무엇을 보고할지 밝히고 목표 오류를 정해야 한다는 뜻입니다. 가족별 오류·거짓발견률 같은 다른 목표는 서로 다르며, 한 보장의 이름을 다른 목표에 붙이지 않습니다.

Ten independent true-null tests each rejecting with probability .05 have any-false-rejection probability 1−.95¹⁰≈.4013. Without independence, per-test error at most α/m gives family error at most α by a union bound.

P(at least one false rejection)≤∑j=1mP(false rejectionj)\begin{gathered}P(\text{at least one false rejection})\\\le\sum_{j=1}^mP(\text{false rejection}_j)\end{gathered}

Multiple analyses can be useful, but declare what was tried, what was reported and which error target matters. Familywise error and false-discovery-rate objectives are distinct.

기초Foundations

40. 중단·모형 선택·변수 선택이 고정 검정의 조건을 바꿀 수 있다40. Stopping and model selection can change a fixed-test guarantee

표본 수 20에서 p값을 보고, 원하는 결과가 아니면 20개씩 더 모아 가장 작은 p값만 보고한다고 합시다. 이 절차의 기각 사건은 처음의 고정 n 사건과 다릅니다. 각 시점에서 .05라는 이름을 붙였다고 전체 오류가 .05가 되지는 않습니다.

변수·하위집단·정리 규칙·방향을 자료에 맞춰 고르는 경우도 보고 과정이 자료에 의존합니다. 선택을 숨기지 말고, 사전 계획·별도 검증 표본·선택을 반영한 추론·적절한 순차 절차 중 질문에 맞는 근거를 마련합니다. 어떤 방법도 자료 품질이나 과학적 맥락을 자동 대체하지는 않습니다.

Inspect at n=20, collect another twenty whenever the result is unfavorable, and report the smallest p-value. The overall rejection event differs from a fixed-n event. A .05 label at each inspection does not establish .05 overall error.

Data-dependent variable, subgroup, cleaning or direction choices also affect reporting. Disclose them and use appropriate planning, validation, selection-aware inference or sequential methods. None automatically replaces data quality and context.

기초Foundations

41. 귀무만이 아니라 표집·측정 가정도 함께 점검한다41. Audit sampling and measurement assumptions alongside the null

작은 p값은 계산에 사용한 가정 묶음과 자료가 잘 맞지 않는다는 신호입니다. 그 묶음에는 관심 귀무뿐 아니라 독립성, 분산 계산, 측정, 선택 규칙이 포함됩니다. 관심 귀무만 거짓이라고 논리적으로 고립시킬 수는 없습니다.

실무에서는 먼저 관측 단위·원행 키·결측·가중치·군집·전후 짝 구조를 확인하세요. 같은 사람의 반복 행을 독립 사람으로 세거나, 같은 점포의 전후 공분산을 버리면 p값의 분모가 바뀝니다. 원문을 확인하는 일은 검정 뒤 붙이는 장식이 아니라 계산의 전제입니다.

A small p-value signals discrepancy with the bundle of assumptions used. That bundle includes the substantive null and assumptions about independence, variance, measurement and selection. The calculation alone does not logically isolate which part failed.

Audit observational units, source keys, missingness, weights, clusters and paired waves first. Repeated rows are not automatically independent people, and paired covariance affects the denominator. Provenance is a premise of the calculation.

기초Foundations

42. 통계적 차이와 인과효과는 다른 식별 문제다42. Statistical differences and causal effects require different identification arguments

점포의 전후 평균 변화가 0과 다르다고 해도 원인이 특정 정책 하나라고 결론내릴 수는 없습니다. 경기·계절·점포 구성 등 함께 바뀐 요소가 있을 수 있습니다. 반대로 비기각이라고 정책효과가 0이라고 증명하지도 못합니다.

무작위 배정 실험에서는 배정 법칙을 사용한 검정을 설계할 수 있습니다. 그 경우에도 실제 무작위 배정, 간섭·이탈·결측·측정 조건과 표적을 밝혀야 합니다. 이 장의 점포 t 작업검정은 그러한 설계를 대신하는 기능이 아닙니다. 인과 모형과 실험 설계는 뒤 과목의 질문으로 이어집니다.

A nonzero before/after store change does not identify a particular policy as its cause. Economic conditions, seasonality and composition may also change. Nonrejection likewise does not prove zero policy effect.

A randomized experiment can support a test based on its assignment law, but actual assignment, interference, attrition, missingness and target assumptions must be stated. The store working t calculation here does not substitute for that design.

기초Foundations

43. 실제 네 분기를 넣은 가정 실험에서 크기와 검정력을 센다43. Enumerate size and power in an assumed experiment using four actual quarters

실제 한국 2024년 실질 주택지수 네 값은 108.3502,107.7932,107.4475,107.4756입니다. 균등 네 원자를 독립 복원 추첨하는 귀무와, 가중치 (.5,.25,.125,.125)의 대안을 별도로 정합니다. 대안의 가중치는 실제 분기의 출현확률을 추정한 것이 아닙니다.

n=4의 순서 표본 256개를 모두 열거합니다. 통계량은 귀무 프레임 평균 107.766625에서 표본 평균의 절대 거리입니다. 그 거리 이상인 귀무 질량으로 정확 p값을 계산합니다.

αnominal=.05,αexact rule=9/256=.03515625,πexact rule=1/4,αnormal reference=13/256=.05078125,πnormal reference=5/16.\begin{gathered} \alpha_{\rm nominal}=.05,\\ \alpha_{\rm exact\ rule}=9/256=.03515625,\\ \pi_{\rm exact\ rule}=1/4,\\ \alpha_{\rm normal\ reference}=13/256=.05078125,\\ \pi_{\rm normal\ reference}=5/16. \end{gathered}

정규 참조가 조금 더 큰 검정력을 보였지만 귀무 오류도 달라졌습니다. 같지 않은 실제 크기를 숨긴 채 무조건 우월하다고 비교하지 않습니다. 이 열거는 정한 표집 실험의 계산이며 원시계열의 iid 정규성이나 경제 정책의 효과를 검증하지 않습니다.

Actual KOR 2024 real housing-index values are 108.3502, 107.7932, 107.4475, 107.4756. Declare a uniform four-ticket replacement null and a separately assumed alternative with weights (.5, .25, .125, .125). The weights are not estimated probabilities of actual quarters.

Enumerate all 256 ordered n=4 samples. The statistic is absolute sample-mean distance from null frame mean 107.766625. An inclusive null-distance tail gives an exact p-value.

αexact rule=9/256,πexact rule=1/4,αnormal reference=13/256,πnormal reference=5/16.\begin{gathered} \alpha_{\rm exact\ rule}=9/256,\\ \pi_{\rm exact\ rule}=1/4,\\ \alpha_{\rm normal\ reference}=13/256,\\ \pi_{\rm normal\ reference}=5/16. \end{gathered}

At nominal .05, the normal reference has both different size and different power. Do not call it universally better while hiding that tradeoff. Enumeration does not certify the original time-series model or a policy effect.

기초Foundations

44. 실제 로그 임금은 작은 p값과 작은 표준화 차이를 함께 보여 준다44. Actual log wages can show a small p-value with a modest standardized difference

Card 원자료 3613행의 가용 로그 임금은 3010개, 미관측은 603개입니다. 무가중 가용 평균은 약 6.261831917744, s≈.4437976513입니다. 교육용 기준 μ₀=6.2를 선택한 작업 t검정은 t≈7.643829, p≈2.81669×10⁻¹⁴를 줍니다.

Δ^≈.06183191774,d^≈.1393245718,t=d^3010≈7.643829.\begin{gathered} \widehat\Delta\approx .06183191774,\\ \widehat d\approx .1393245718,\\ t=\widehat d\sqrt{3010}\approx7.643829. \end{gathered}

작은 p값이 이 표준화 차이를 큰 실무 효과로 바꾸지는 않습니다. 기준 6.25로 바꾸면 t≈1.462694, p≈.143656으로 달라집니다. 기준들은 교육용 가정이며 자료가 증명한 자연적 경계가 아닙니다.

원변수는 1976년 시간당 센트 임금의 공표 로그 정리 변수입니다. 로그 차이를 달러 차이로 읽지 않습니다. 작업 iid 정규 조건·표본 선택·결측·가중치가 확인되지 않은 원현장의 정확 오류나 인과 교육수익률을 주장하지 않습니다.

Of 3613 Card rows, 3010 log wages are available and 603 unavailable. The unweighted available mean is about 6.261831917744, with s≈.4437976513. A working t test against the teaching reference 6.2 gives t≈7.643829, p≈2.81669×10⁻¹⁴.

Δ^≈.06183191774,d^≈.1393245718,t≈7.643829.\begin{gathered} \widehat\Delta\approx .06183191774,\\ \widehat d\approx .1393245718,\\ t\approx7.643829. \end{gathered}

A small p-value does not turn that standardized difference into a large practical effect. Reference 6.25 instead gives t≈1.462694, p≈.143656. These are chosen teaching references, not natural cutoffs established by the file.

The source variable is a trimmed log of 1976 hourly wages in cents. A log difference is not a dollar difference. Working normality, selection, missingness and weights do not become validated field assumptions or causal schooling effects through this calculation.

기초Foundations

45. 실제 점포쌍의 비기각과 인과 해석을 분리한다45. Separate nonrejection in actual store pairs from causal interpretation

410개 점포 원행 중 384개 완전 짝의 FTE 변화 평균은 −541/7680≈−.0704427083입니다. FTE는 정규직+0.5×시간제+관리자로 계산하며, 가용 짝의 변화 s≈9.022324651입니다. 귀무 기준 0의 작업 t검정은 t≈−.1529971, 양쪽 p≈.8784811입니다.

이는 큰 감소나 증가가 논리적으로 불가능하다는 뜻이 아닙니다. 95% 작업 CI [−.9757072,.8348218] FTE로 이 계산의 불확실성 범위를 함께 봅니다. d̂≈−.0078076도 원단위 차이와 별도로 제시합니다.

NJ 309쌍과 PA 75쌍의 별도 평균 검정을 나란히 하는 것만으로 두 주의 변화 차이를 직접 검정한 것은 아닙니다. ‘한 집단은 유의, 다른 집단은 비유의’는 ‘두 집단이 유의하게 다르다’와 다릅니다. 두 집단 비교는 다음 장의 직접 차이 통계량과 설계 문제입니다. 여기의 전후 변화는 정책 인과효과로 식별되지 않습니다.

Among 410 source store rows, 384 complete pairs have mean FTE change −541/7680≈−.0704427083. FTE=full-time+.5×part-time+managers, and the change SD is about 9.022324651. A working two-sided t test against zero gives t≈−.1529971, p≈.8784811.

Nonrejection does not make increases or decreases logically impossible. Report the working 95% CI [−.9757072, .8348218] FTE and standardized difference about −.0078076 alongside the raw difference.

Separate tests for 309 NJ and 75 PA pairs are not a direct test of their change difference. “Significant in one group but not the other” does not imply a significant between-group difference. The next chapter addresses direct comparisons. No policy effect is causally identified here.

기초Foundations

46. 실제 자료 실습: 귀무·대안·기준의 출처를 먼저 읽는다46. Actual-data lab: identify where null, alternative and reference came from

국가에서는 네 원자 가정 실험의 정확·정규 참조 규칙을 비교합니다. 사람에서는 교육용 로그 기준을, 점포에서는 전체·NJ·PA의 완전 짝을 선택합니다. 원행 수와 유효 분모를 먼저 확인한 뒤 차이·SE·p값·구간을 읽으세요.

국가의 대안 가중치는 가정이며 사람의 기준도 선택값입니다. 점포 집단 변경은 같은 가설의 단순 반복이 아니라 표적 집단 변경입니다. 결과 하나를 선택해 보고한다면 어떤 선택을 했는지 밝힙니다. 실제 자료를 쓰는 것과 그 자료의 모든 추론 조건을 검증한 것은 다릅니다.

For country data, compare exact and normal-reference rules in the assumed four-ticket experiment. For people, select a teaching log reference; for stores, select complete all/NJ/PA pairs. Read source and valid counts before difference, SE, p-value and interval.

Country alternative weights are assumed and person references selected. Changing store subgroup changes the target, not merely the display. Disclose result-based selection. Actual inputs do not validate every inferential condition.

기초Foundations

47. 실제 국가·사람·점포의 오류와 효과 사례47. Error and effect cases with actual country, person and store data

국가 사례 · 귀무가설 아래 실수와 대립가설 아래 발견을 직접 세기

BIS가 발표한 2024년 한국 실질 주택지수 네 값은 완전히 관측되어 있습니다. 네 값의 실제 평균 107.766625 지수포인트를 “모르는 참값”으로 바꾸지 않습니다. 이번에는 그 네 값을 적은 이름표를 사용해 검정 절차를 시험합니다. 기준은 2010년 평균=100이며 주택 매매가격의 원화 단위가 아닙니다. 원래 네 분기의 시간 의존성을 지워도 된다는 뜻도 아닙니다.

귀무 법칙 H0는 네 이름표를 각각 1/4 확률로 복원·독립 추첨하는 법칙입니다. 별도의 가정 대립 법칙 H1은 확률을 (1/2, 1/4, 1/8, 1/8)로 바꿉니다. 높은 첫 분기의 이름표가 더 자주 선택되도록 한 수업용 시나리오입니다. 실제 정책이 주택지수를 이렇게 바꾸었다는 관측이나 주장이 아닙니다. 표본은 두 법칙 모두 네 번 추첨한 순서열입니다.

관측값과 따로 정한 추첨 법칙
실제 분기관측 지수H0 확률가정 H1 확률
2024-Q1108.35021/41/2
2024-Q2107.79321/41/4
2024-Q3107.44751/41/8
2024-Q4107.47561/41/8
Z=X‾4−μ0σ0/2reject if ∣Z∣≥z1−α/2size=P0(reject)power=P1(reject)\begin{gathered}Z=\frac{\overline X_4-\mu_0}{\sigma_0/2}\\\text{reject if }|Z|\ge z_{1-\alpha/2}\\\text{size}=P_0(\text{reject})\\\text{power}=P_1(\text{reject})\end{gathered}

σ0²는 귀무 법칙의 알려진 분산입니다. 네 값의 법칙은 정규분포가 아니므로 이 정규 참조 임계값의 실제 1종 오류가 명목 α와 정확히 같다고 가정하지 않습니다. 가능한 256개 순서열을 모두 확인합니다. H0에서는 각 순서열이 1/256, H1에서는 선택한 네 이름표 확률의 곱입니다. 같은 기각영역을 두 법칙으로 각각 더하면 1종 오류와 검정력이 됩니다. 2종 오류는 지정한 H1 아래 1−검정력입니다.

실제 포함률 대신 이번에는 실제 기각률을 계산
선택 α정규 참조: 1종 오류정규 참조: H1 검정력정확 p≤α: 1종 오류정확 p≤α: H1 검정력
1/1001/2561/161/2561/16
1/2013/2565/169/2561/4
1/1015/1281675/40969/1281285/4096
pexact(x)=#{s:∣x‾s−μ0∣≥∣x‾−μ0∣}256p_{\rm exact}(x)=\frac{\#\{s:|\overline x_s-\mu_0|\ge |\overline x-\mu_0|\}}{256}

위 p값은 같은 정도 이상으로 극단적인 순서열의 귀무 확률입니다. 같은 절댓값은 모두 포함합니다. “H0가 참일 확률”이 아니며, H1 아래 확률도 아닙니다. 이산 분포에서는 가능한 p값 사이에 간격이 있어 p≤α 규칙의 실제 오류가 α보다 작을 수 있습니다. 정확하다는 말은 정의한 유한 귀무 법칙에 대한 계산이 정확하다는 뜻입니다.

먼저 생각한 뒤 풀이 보기: 실제 네 분기 전체를 한 번씩 읽어 평균이 μ0인 것은 H0의 증거인가요?

네 값 전체의 평균은 정의상 μ0입니다. 그것은 추첨 결과를 관측한 것이 아니므로 이 실험의 표본검정 증거로 해석하지 않습니다. 수업 실험에서 같은 네 이름표가 한 번씩 뽑힌 표본의 p값은 1이지만, p=1도 H0의 참 확률이 1이라는 뜻은 아닙니다.

먼저 생각한 뒤 풀이 보기: 검정력은 모든 대립가설에 대해 한 숫자인가요?

아닙니다. 이 표의 검정력은 지정한 재가중 H1에 대한 값입니다. 다른 확률, 표본크기 또는 기각영역이면 다시 계산해야 합니다. α를 높여 더 많은 순서열을 기각하면 일반적으로 이 H1에서의 발견 확률도 높아지지만 거짓 경보도 늘어납니다.

먼저 생각한 뒤 풀이 보기: 10개의 독립적인 진짜 귀무검정을 각 5%로 하면 전체 거짓 경보도 5%인가요?
P(at least one false alarm)=1−(1−.05)10≈.4013\begin{gathered}P(\text{at least one false alarm})\\=1-(1-.05)^{10}\approx .4013\end{gathered}

각 검정이 정확히 5% 오류이고 서로 독립이라는 별도 가정에서는 약 40.13%입니다. 독립이 없어도 각 검정을 0.05/10 이하 오류로 설계하면 합집합 상계로 전체 오류가 0.05 이하입니다. 실제 256개 이름표 실험의 오류율을 자동으로 0.05라고 놓지는 마세요.

개인 자료 사례 · 작은 p값과 큰 임금 차이는 같은 말이 아니다

Card의 공개 복제자료는 1976년 미국 청년 남성 3613명의 익명 기록입니다. 원자료에서 극단값을 정리한 log 임금이 있는 3010명만 사용하고 나머지 603명은 CSV에 결측 그대로 둡니다. 원 조사 가중치는 이 공개 추출본의 분석에 사용하지 않으므로 전체 남성 모집단의 대표 평균이나 교육의 인과수익률을 주장하지 않습니다. 원 시급의 단위는 센트/시간이며 여기서 계산하는 값은 그 자연로그입니다.

수업용 비교 기준 μref=6.3을 먼저 가정합니다. 법정 기준임금, 조사 모집단 평균 또는 저자의 검정 가설에서 가져온 값이 아닙니다. “관측 평균이 이 기준과 얼마나 다른가?”는 계산할 수 있지만, 그 차이의 검정 타당성은 별도 iid 모형에 달려 있습니다. 정규 iid라면 t 검정이 정확하고, 비정규에서는 평균에 대한 큰 표본 근사가 가능하더라도 결측·군집·표본선택을 해결해 주지는 않습니다.

T=L‾−μrefsL/np=2P(tn−1≥∣T∣)d=L‾−μrefsL\begin{gathered}T=\frac{\overline L-\mu_{\rm ref}}{s_L/\sqrt n}\\p=2P(t_{n-1}\ge |T|)\\d=\frac{\overline L-\mu_{\rm ref}}{s_L}\end{gathered}
같은 실제 임금 기록, 따로 고른 기준값
가정 기준 log 임금평균−기준표준화 차이 dt양측 p
31/50.0618320.1393257.6438292.8166889e-14
25/40.0118320.0266611.4626940.14365565
63/10-0.038168-0.086003-4.7184422.4849897e-06
127/20-0.088168-0.198667-10.8995773.7008701e-27
먼저 생각한 뒤 풀이 보기: μref=6.3에서 평균 차이는 얼마이고 p값은 무엇을 더하나요?

차이는 -0.038168 log 단위, t≈-4.718442, 양측 p≈2.4849897e-06입니다. 차이는 실제 관측의 크기 요약이고 p값은 선택한 귀무모형의 표본변동 척도와 함께 계산한 꼬리확률입니다. 표준화 차이는 d≈-0.086003로 작습니다. 작은 p값만으로 경제적 중요성을 결정하지 않습니다. 어떤 log 차이가 중요한지는 사전에 정한 실질 기준과 비용·맥락이 필요합니다.

먼저 생각한 뒤 풀이 보기: log 차이에 지수를 취하면 평균 시급 차이를 얻나요?

exp(차이)−1≈-3.745%는 exp(평균 log 임금)과 exp(가정 기준)의 기하 중심 비율입니다. 평균 시급의 비율이 아닙니다. 일반적으로 E[exp(L)]와 exp(E[L])는 다릅니다. 이 자료는 1976년의 기록이므로 현재 임금·구매력으로 해석하지도 않습니다.

먼저 생각한 뒤 풀이 보기: 표에서 가장 작은 p값이 나오는 기준을 골라 보고해도 되나요?

이 네 기준은 같은 자료를 읽는 수업용 민감도 비교입니다. 자료를 본 뒤 가장 유리한 기준·방향·부분집단만 골라 사전 검정처럼 보고하면 광고한 오류 통제가 유지되지 않습니다. 가설, 유의수준, 결측 처리와 다중 비교 계획을 결과를 보기 전에 정해야 합니다.

기업·점포 사례 · 평균 고용변화의 검정과 정책 효과를 분리하기

Card–Krueger의 공개 1992년 NJ·PA 패스트푸드 점포 원자료 410개를 사용합니다. 같은 점포의 전후 FTE를 짝지으며 FTE=정규직+0.5×시간제+관리자입니다. 두 시점의 세 구성값이 모두 있는 완전짝은 384개(NJ 309, PA 75)입니다. 26개 불완전짝은 0으로 채우지 않습니다. 휴업·폐업·거절 응답과 구성값 결측은 구분해서 보관합니다. 여기서는 원 논문의 모든 표본처리·식별전략을 복제하지 않습니다.

각 점포에서 D=후−전 FTE를 만든 뒤 H0:E[D]=0을 검정하는 작업모형을 사용합니다. 두 시점의 같은 점포는 독립 표본 두 개가 아닙니다. 평균변화의 표준오차는 sD/√n입니다. 표준화 차이 dz=평균 D/sD는 변화량의 산포를 기준으로 한 척도이며, 1 FTE의 경영상 중요성을 대체하지 않습니다.

완전짝에서 직접 계산한 변화와 작업모형 검정
범위완전짝 n평균 변화 FTESEdz양측 p
all384-0.0704430.460419-0.0078080.8784811
NJ3090.4666670.4808290.0552120.3325355
PA75-2.2833331.253269-0.2103750.07251069
먼저 생각한 뒤 풀이 보기: PA의 p값이 .05보다 크고 .10보다 작으면 결론이 뒤집히나요?

같은 관측 차이와 SE는 변하지 않습니다. α=.05와 α=.10은 서로 다른 거짓 경보 허용 계획입니다. 결과를 보고 α를 바꾸지 않고, 선택한 수준과 함께 실제 차이·구간·정확한 p값을 보고해야 합니다. .049와 .051도 실질적으로 정반대의 세상을 뜻하지 않습니다.

먼저 생각한 뒤 풀이 보기: 전체 점포에서 H0를 기각하지 못하면 최저임금의 효과가 없다는 뜻인가요?

아닙니다. 이것은 완전짝에서의 단순 전후 평균변화에 관한 작업모형 검정입니다. 계절·경기·점포 선택·동시 변화가 섞일 수 있습니다. 정책의 반사실 효과를 식별하려면 추가 설계와 가정이 필요합니다. NJ만 유의하지 않고 PA만 다른 수준에서 유의하다는 비교도 두 주 차이 자체가 유의하다는 검정이 아닙니다.

먼저 생각한 뒤 풀이 보기: 평균 변화의 t 검정은 언제 정확한가요?

점포 변화가 독립·동일 정규분포라는 모형에서는 t 분포가 정확합니다. 충분한 조건 아래 평균의 점근 근사를 쓸 수도 있지만, 체인·지역 군집이나 누락 점포의 선택 편향을 표본크기만으로 해결할 수는 없습니다. 이 결과는 실측 변화와 선택한 계산 규칙을 가르치는 사례이며 정책 성과의 인증이 아닙니다.

자료와 재현: actual-four-quarters-and-explicit-null-alternative-laws.csv · actual-people-log-wages-with-missing-records.csv · actual-store-pair-changes-with-incomplete-records.csv · all256-assumed-null-tuples-and-exact-p-values.csv · chosen-three-error-power-rules.csv · actual-log-wage-tests-against-chosen-references.csv · actual-paired-store-change-tests-and-effect-sizes.csv · provenance

Country case · Count false alarms under a null and detections under an alternative

All four published 2024 BIS Korea real housing-index values are observed. Their actual mean 107.766625 index points is not an unknown truth. Instead, use tickets bearing those four values to evaluate a testing procedure. The index has 2010 average=100; it is not a KRW house price. This experiment does not license ignoring the original quarterly time dependence.

The null law H0 makes independent replacement draws with probability 1/4 for each ticket. A separately assumed alternative H1 assigns probabilities (1/2, 1/4, 1/8, 1/8). This classroom scenario selects the high first-quarter ticket more often. It is neither an observed policy intervention nor a claim about how a policy changed housing prices. A sample is an ordered sequence of four draws under either law.

Observed values and separately chosen draw laws
Actual quarterReported indexH0 probabilityAssumed H1 probability
2024-Q1108.35021/41/2
2024-Q2107.79321/41/4
2024-Q3107.44751/41/8
2024-Q4107.47561/41/8
Z=X‾4−μ0σ0/2reject if ∣Z∣≥z1−α/2size=P0(reject)power=P1(reject)\begin{gathered}Z=\frac{\overline X_4-\mu_0}{\sigma_0/2}\\\text{reject if }|Z|\ge z_{1-\alpha/2}\\\text{size}=P_0(\text{reject})\\\text{power}=P_1(\text{reject})\end{gathered}

σ0² is the known variance under the null law. The four-value law is not normal, so a normal-reference cutoff need not have actual type I error equal to nominal α. Enumerate all 256 sequences. Each has probability 1/256 under H0; under H1 its probability is the product of its four ticket probabilities. Sum the same rejection region under each law to obtain size and power. Type II error is 1−power under this specified H1.

Calculate actual rejection probabilities under each chosen law
Chosen αNormal reference: sizeNormal reference: power at H1Exact p≤α: sizeExact p≤α: power at H1
1/1001/2561/161/2561/16
1/2013/2565/169/2561/4
1/1015/1281675/40969/1281285/4096
pexact(x)=#{s:∣x‾s−μ0∣≥∣x‾−μ0∣}256p_{\rm exact}(x)=\frac{\#\{s:|\overline x_s-\mu_0|\ge |\overline x-\mu_0|\}}{256}

This p-value is the null probability of sequences at least as extreme, with all equal absolute deviations included. It is not the probability that H0 is true, nor a probability under H1. A discrete distribution has gaps between attainable p-values, so a p≤α rule can have size below α. Exact means exact for this defined finite null law.

Think first, then reveal: Does reading each actual quarter once and obtaining μ0 provide a test of H0?

The complete four-value average equals μ0 by definition. Reading the full set is not an observed random draw from this experiment. A classroom sample drawing each ticket once has p=1, but that still does not assign probability 1 to H0.

Think first, then reveal: Is power one number valid for every alternative?

No. The table evaluates the specified reweighted H1. Other probabilities, sample sizes or rejection regions require new calculations. Rejecting more sequences by raising α generally increases detections under this H1 while also increasing false alarms.

Think first, then reveal: Do ten independent true-null tests each with 5% size still give 5% familywise error?
P(at least one false alarm)=1−(1−.05)10≈.4013\begin{gathered}P(\text{at least one false alarm})\\=1-(1-.05)^{10}\approx .4013\end{gathered}

Under the additional assumptions of independence and exactly 5% size per test, the result is about 40.13%. Even without independence, controlling each of ten sizes at .05/10 gives a .05 familywise upper bound by the union bound. Do not replace the actual ticket experiment’s computed size by .05 automatically.

Person-record case · A small p-value is not a large wage difference

Card’s public replication data contain anonymized records for 3,613 US young men in 1976. Use the 3,010 available source-trimmed log wages and retain the other 603 as missing in the CSV. Original survey weights are not used in this extract’s analysis, so it does not establish a representative population mean or a causal return to education. The original hourly wage unit is cents/hour; the analyzed variable is its natural logarithm.

First posit a classroom reference μref=6.3. It is not a legal wage, a known survey-population mean or a hypothesis borrowed from the author’s study. We can calculate how far the observed mean lies from this reference, but test validity requires a separate iid working model. A t test is exact for normal iid observations; a large-sample mean approximation for nonnormal observations does not repair missingness, clustering or selection.

T=L‾−μrefsL/np=2P(tn−1≥∣T∣)d=L‾−μrefsL\begin{gathered}T=\frac{\overline L-\mu_{\rm ref}}{s_L/\sqrt n}\\p=2P(t_{n-1}\ge |T|)\\d=\frac{\overline L-\mu_{\rm ref}}{s_L}\end{gathered}
The same actual wage records against separately chosen references
Assumed log-wage referenceMean−referenceStandardized difference dtTwo-sided p
31/50.0618320.1393257.6438292.8166889e-14
25/40.0118320.0266611.4626940.14365565
63/10-0.038168-0.086003-4.7184422.4849897e-06
127/20-0.088168-0.198667-10.8995773.7008701e-27
Think first, then reveal: What is the mean difference at μref=6.3, and what does the p-value add?

The difference is -0.038168 log units, with t≈-4.718442 and two-sided p≈2.4849897e-06. The difference summarizes observed magnitude; the p-value measures a tail under the chosen null sampling model. The standardized difference d≈-0.086003 is small. Economic importance requires a prespecified practical criterion, costs and context rather than a small p-value alone.

Think first, then reveal: Does exponentiating the log difference give a difference in arithmetic mean hourly wages?

exp(difference)−1≈-3.745% compares exp(mean log wage) with exp(the chosen reference), a geometric-center ratio. It is not a ratio of arithmetic mean wages: generally E[exp(L)] differs from exp(E[L]). These are 1976 records, not current wages or purchasing power.

Think first, then reveal: May we pick only the reference giving the smallest p-value?

These four references form a classroom sensitivity comparison on the same records. Selecting the most favorable reference, tail or subgroup after seeing the data does not preserve a prespecified test’s advertised error control. State hypotheses, α, missing-data rules and multiplicity plans before inspecting results.

Store case · Separate a test of mean employment change from a policy effect

Use all 410 public 1992 NJ/PA fast-food store records from Card–Krueger. Pair each store’s before/after FTE, defined as full-time+.5×part-time+managers. There are 384 complete pairs (309 NJ, 75 PA). Do not zero-fill the 26 incomplete pairs; retain closure, nonresponse and component missingness separately. This calculation does not reproduce every sample-processing or identification choice in the original paper.

Form D=after−before FTE within each store and consider the working null E[D]=0. The two waves from the same stores are not two independent samples. The mean-change SE is sD/√n. The standardized difference dz=mean(D)/sD uses variability in changes as its scale; it does not replace the managerial significance of one FTE.

Observed complete-pair changes and working-model tests
ScopeComplete pairs nMean FTE changeSEdzTwo-sided p
all384-0.0704430.460419-0.0078080.8784811
NJ3090.4666670.4808290.0552120.3325355
PA75-2.2833331.253269-0.2103750.07251069
Think first, then reveal: Does a PA p-value between .05 and .10 reverse the observed result?

The observed difference and SE remain unchanged. α=.05 and α=.10 are different false-alarm plans. Do not change α after seeing results; report the chosen level together with magnitude, interval and p-value. Values .049 and .051 do not describe opposite substantive worlds.

Think first, then reveal: Does failing to reject for all stores show that minimum-wage policy had no effect?

No. This is a working-model test of a simple complete-pair before/after mean change. Seasonality, business conditions, store selection and simultaneous changes can be mixed together. Identifying a counterfactual policy effect needs additional design and assumptions. One state being nonsignificant and another significant at some level is also not a test of the difference between states.

Think first, then reveal: When is the t reference exact for mean store change?

It is exact under independent identically normal store changes. A mean asymptotic approximation is possible under suitable conditions, but sample size alone cannot repair chain/geographic clustering or selection of missing stores. The example teaches measured changes and a selected calculation rule; it does not certify policy performance.

Data and reproduction: actual-four-quarters-and-explicit-null-alternative-laws.csv · actual-people-log-wages-with-missing-records.csv · actual-store-pair-changes-with-incomplete-records.csv · all256-assumed-null-tuples-and-exact-p-values.csv · chosen-three-error-power-rules.csv · actual-log-wage-tests-against-chosen-references.csv · actual-paired-store-change-tests-and-effect-sizes.csv · provenance

기초Foundations

48. 공식 읽기와 다음 비교 검정의 질문48. Primary readings and questions for direct comparisons

MIT18.05 Class17의 통계량·단순/복합가설·기각집합과,Class18의 인쇄 슬라이드 3~13에서 꼬리·임계값·오류를 읽습니다. 자료의 오른쪽 꼬리 임계값 표기는 이 장의 왼쪽 분위수와 맞춰 읽으세요. 두 꼬리 정의도 항상 한 가지라고 가정하지 않습니다.

ASA의 2016년 공식 안내 2쪽은 p값 해석의 짧은 점검 자료입니다. 이 장에서는 그 취지에 맞게 가정·선택 내역·효과와 구간을 함께 보고합니다. 의사결정을 한 문턱 통과 여부만으로 끝내지 않는 연습입니다.

NIST 표본 수 안내의 알려진 σ 부분을 읽고, 양쪽 식을 정확한 최소 n과 무조건 동일시하지 말고 이 장의 두 꼬리 검정력으로 재확인하세요. 다음 장은 독립 두 집단·짝 차이·비율을 직접 비교하며 Welch 분모와 자유도를 차근차근 유도합니다.

10절 선택 증명은 Berkeley STAT210A §3.1의 단순 귀무·단순 대안 최적화와 함께 읽습니다. 기본 경로의 선수는 아니며, 다른 복합 대안 전체의 최적성과 구별하는 데 집중하세요.

Python · R · 원자료·단위·가공·출처

Read statistics, hypotheses and rejection sets in MIT 18.05 Class 17, then printed slides 3–13 on tails, criticals and errors in Class 18. Match right-tail critical notation to left-CDF quantiles. Two-sided definitions need not coincide.

Page 2 of the official 2016 ASA guidance provides a short interpretation checklist. Report assumptions, selection, effect estimates and intervals together rather than ending with a threshold label.

Read the known-SD part of the NIST sample-size guide, then verify two-sided designs using the full power formula rather than treating every displayed formula as an exact minimum. The next chapter derives direct two-group, paired and proportion comparisons, including Welch SE and degrees of freedom.

For Section10’s optional proof, read only the simple-null/simple-alternative optimization in Berkeley STAT210A §3.1. It is not an entry prerequisite, and does not establish optimality for every composite alternative.

Python · R · Inputs, units, transformations and sources

Python·R 코드 실행 방법Run the Python/R companions

자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.Extract the bundle, keeping the scripts beside the data folder. In a terminal, enter the script folder and run the commands below. Beginners can complete hand calculations and browser labs first, returning to code after studying introductory data science.

python stat12-reproduce.py
Rscript --vanilla --encoding=UTF-8 stat12-reproduce.R

결과 파일은 각 코드에 지정된 결과 폴더에 저장됩니다. CSV 원자료는 덮어쓰지 않습니다.Result files are saved in the result directory specified by each script; the input CSVs are not overwritten.

영상·학자·함께 읽기Videos, thinkers and guided reading

본문의 질문을 넓히는 선택 학습입니다. 영상을 보기 전 질문을 먼저 읽고, 자신의 답을 쓴 뒤 해설과 비교하세요. 자료의 언어·선수 지식은 각 항목에 표시했습니다.Optional extensions to the chapter. Read the question first, write your answer, then compare with the explanation. Language and prerequisites are indicated below.

MIT · 가설검정은 무엇을 묻는가MIT · What Is Hypothesis Testing

MIT Open Learning Library · Patrick Kimes

먼저 가정한 자료 생성 법칙과 관측 통계량을 구별하며 보세요. 이어 본문의 256개 순서열에서 꼬리를 직접 세어 봅니다.Separate a proposed data-generating law from an observed statistic, then count the tails of the 256 classroom sequences.

교재 안의 YouTube 플레이어에서 재생합니다. 원영상에서 제공하는 자막은 플레이어의 CC·설정에서 선택할 수 있습니다.Playback stays in this chapter’s YouTube player. Available captions can be selected through CC/settings.

보고 읽은 뒤 답하기Respond after watching/reading p값의 확률은 무엇을 고정한 조건부 확률인가요?What is held fixed when defining a p-value?

생각을 점검하는 해설Check your reasoning

귀무 법칙과 통계량·극단성 규칙을 고정합니다. H0 자체의 사후확률을 계산하는 것이 아닙니다.The null law, statistic and extremeness rule are specified; a p-value is not a posterior probability of H0.

R. A. 피셔 · 실험 설계와 통계적 판단R. A. Fisher · Experimental design and statistical reasoning

University of St Andrews · MacTutor

소개 중 Rothamsted의 무작위화·실험 설계 공헌을 읽습니다. 통계 방법을 배운다는 것은 인물의 모든 사회적 견해에 동의한다는 뜻이 아닙니다.Read the section on randomization and experimental design at Rothamsted. Learning a method does not endorse all of its contributor’s social views.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 작은 p값만 있으면 좋은 실험 설계가 필요 없나요?Does a small p-value replace a good study design?

생각을 점검하는 해설Check your reasoning

아닙니다. 자료 생성과 배정·측정 구조가 먼저이며, 계산만으로 편향이나 인과 식별의 부재를 없애지 못합니다.No. Assignment, measurement and data acquisition come first; calculations cannot remove bias or create causal identification.

Berkeley Stat20 · 귀무 법칙, 통계량, p값 읽기Berkeley Stat20 · Null laws, statistics and p-values

UC Berkeley · Stat20

Elements of a Hypothesis Test의 정의, What a p-value is not, 마지막 Summary만 지정해 읽습니다. 유한 모의추출에서 극단값이 0번 나온 것을 참 p값 0으로 해석하지 마세요.Read only the definitions in Elements of a Hypothesis Test, What a p-value is not, and the final Summary. Zero extreme results in finite simulation do not establish a true p-value of zero.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 통계량만 같으면 귀무 분포도 같나요?Does an identical statistic guarantee an identical null distribution?

생각을 점검하는 해설Check your reasoning

아닙니다. 추첨·배정·의존 구조와 표본크기가 귀무 분포를 바꿉니다.No. Sampling, assignment, dependence and sample size determine its null distribution.

대학원 연결 · 크기, 검정력과 Neyman–Pearson 관점Graduate bridge · Size, power and the Neyman–Pearson framework

UC Berkeley · Stat210A

Tests의 정의와 level·power 부분을 지정해 읽습니다. 최강력이라는 말에는 대립가설과 검정의 허용 집합이 함께 필요합니다.Read the definitions of tests, level and power. Most powerful requires specifying an alternative and an admissible class of tests.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 하나의 검정이 모든 대립 법칙에서 자동으로 최강력인가요?Is one test automatically most powerful against every alternative?

생각을 점검하는 해설Check your reasoning

그렇지 않습니다. 본문의 검정력도 선택한 H1과 기각영역에 대한 값이며 다른 대립 법칙에서는 달라집니다.No. The displayed power is specific to the chosen H1 and rejection region, and changes under another alternative.

연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof

먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.

1. 조건의 방향을 구별한다Distinguish conditioning directions

‘공정 동전에서 아홉 앞면 이상이 나올 확률’과 ‘아홉 앞면을 보고 공정 동전일 확률’은 같은가요?

Compare the probability of at least nine heads under a fair coin with the probability the coin is fair after observing nine heads.

풀이와 확인할 이유Solution and explanation

다릅니다. 앞은 정한 귀무법칙의 자료 확률, 뒤는 자료에 조건부인 가설 확률입니다. 뒤에는 사전확률과 대안법칙 등을 더 정해야 합니다. 검정의 p값만으로 조건 방향을 뒤집을 수 없습니다.

The first is a data probability under a specified null; the second conditions a hypothesis on data and needs additional prior/model ingredients. A p-value alone does not reverse the direction.

2. 평균을 고정해도 단순가설이 아닐 수 있다A fixed mean need not give a simple null

정규 모형에서 H₀:μ=0이고 σ는 미지입니다. 이 가설이 표본 법칙 하나를 완전히 정하나요?

In a normal model, H₀:μ=0 leaves σ unknown. Does the null fully specify one sampling law?

풀이와 확인할 이유Solution and explanation

아닙니다. σ의 여러 값이 허용되므로 서로 다른 표본법칙들이 남습니다. 관심 평균 하나를 고정한 것과 모든 모형 성분을 정한 단순가설은 다릅니다. t피벗이 방해모수 σ를 제거하는 조건을 따로 사용합니다.

No. Multiple SD values leave multiple sampling laws. A t pivot removes the nuisance scale under additional normal-sampling conditions; fixing the mean alone is not a simple hypothesis.

3. 방향을 자료 전에 적는다Declare direction before seeing the sign

평균이 증가하는지 물으려던 연구에서 관측 후 감소가 보여 왼쪽 p값만 보고했습니다. 사전에 오른쪽으로 정한 검정과 같은 절차인가요?

A planned increase study observes a decrease and reports only a lower-tail p-value. Is this the original upper-sided procedure?

풀이와 확인할 이유Solution and explanation

아닙니다. 관측 부호에 따른 방향 선택이 추가되었습니다. 반대 방향 변화도 중요하다면 그 질문과 보고 규칙을 정직하게 밝히고 적절한 양쪽·선택 반영 절차를 사용해야 합니다. 사전 한쪽 오류 보장을 그대로 옮기지 않습니다.

No. Direction was selected from the data. Disclose the changed question and use an appropriate two-sided or selection-aware procedure rather than transplanting the original one-sided guarantee.

4. 통계량과 기각집합Statistic and rejection set

n=10에서 K는 성공 개수, k=9는 이번 값, R={8,9,10}입니다. 무작위 통계량·관측값·사전 규칙을 각각 구별하고 이번 결정을 쓰세요.

For n=10, K counts successes, k=9 is observed, and R={8, 9, 10}. Identify statistic, realization and rule, then give the decision.

풀이와 확인할 이유Solution and explanation

K가 무작위 통계량, k=9가 관측값, R이 규칙의 기각집합입니다. 9∈R이므로 기각합니다. 이 한 번의 결정만으로 그 결정이 옳았는지나 규칙의 오류확률을 알 수는 없습니다.

K is random, k is its observed realization, and R declares the rule. Reject because 9∈R. One realized decision does not reveal whether it was correct or determine the rule’s error rate.

5. 네 칸 중 두 오류Two errors among four outcomes

귀무가 참일 때 기각한 경우와, 선택 대안이 참일 때 비기각한 경우의 오류 이름을 쓰세요. 귀무가 참일 때 비기각은 2종 오류인가요?

Name rejection under a true null and nonrejection under an alternative. Is nonrejection under a true null a type-II error?

풀이와 확인할 이유Solution and explanation

앞은 1종, 뒤는 2종 오류입니다. 참 귀무의 비기각은 맞는 판단입니다. 2종 오류는 거짓 귀무를 기각하지 못한 사건이므로 참 상태를 함께 지정해야 합니다.

The first two are type-I and type-II errors. Nonrejection under a true null is correct. Type-II error requires a false null, a specified alternative law.

6. 열 번 양끝의 실제 크기Actual size at both extremes of ten tosses

iid 공정 동전 10번에서 R={0,1,9,10}입니다. 실제 귀무 기각률을 조합식과 분수로 계산하세요.

Ten iid fair tosses use R={0, 1, 9, 10}. Calculate actual null rejection probability.

풀이와 확인할 이유Solution and explanation
αactual=22/1024=11/512=.021484375\begin{gathered}\alpha_{\rm actual}=22/1024\\=11/512=.021484375\end{gathered}

성공 개수 네 개를 4/11로 세지 않습니다. 각 개수의 이항 질량이 다르기 때문입니다.

αactual=22/1024=11/512=.021484375\begin{gathered}\alpha_{\rm actual}=22/1024\\=11/512=.021484375\end{gathered}

Four selected counts are not four equally likely outcomes out of eleven. Weight them by their binomial masses.

7. 기각집합을 두 칸 넓힌다Enlarge the rejection set by two counts

n=10인 iid 공정 동전에서 원래 R={0,1,9,10}에 2와 8도 넣습니다. 명목 .05 수준을 만족하나요?

For n=10 iid fair tosses, add counts 2 and 8 to original R={0, 1, 9, 10}. Is it a level .05 rule?

풀이와 확인할 이유Solution and explanation
P.5(K∈Renlarged)=(22+45+45)/1024=7/64=.109375>.05\begin{gathered}P_{.5}(K\in R_{\rm enlarged})\\=(22+45+45)/1024\\=7/64=.109375>.05\end{gathered}

이 확대 규칙은 .05 수준이 아닙니다. 임계값을 정규 근처처럼 골랐다는 설명이 정확 이항 오류를 대신하지 않습니다.

P.5(K∈Renlarged)=(22+45+45)/1024=7/64=.109375>.05\begin{gathered}P_{.5}(K\in R_{\rm enlarged})\\=(22+45+45)/1024\\=7/64=.109375>.05\end{gathered}

No. A convenient cutoff does not replace checking its null probability.

8. 오류와 검정력은 다른 합Error and power use different sums

n=10, R={0,1,9,10}, 귀무 p₀=.5, 대안 p₁=.7입니다. 실제 1종 오류는 11/512, 대안 기각확률은 .1494520318입니다. β와 두 확률의 차이를 설명하세요.

For n=10, R={0, 1, 9, 10}, null p₀=.5 and alternative p₁=.7, the null rejection probability is 11/512 and alternative rejection probability .1494520318. Find β and explain.

풀이와 확인할 이유Solution and explanation
β(.7)=1−.1494520318=.8505479682\begin{gathered}\beta(.7)=1-.1494520318\\=.8505479682\end{gathered}

같은 R을 귀무 질량과 대안 질량으로 각각 더했습니다. α가 작다는 사실만으로 이 대안의 발견확률이 높지는 않습니다.

β(.7)=1−.1494520318=.8505479682\begin{gathered}\beta(.7)=1-.1494520318\\=.8505479682\end{gathered}

One set is weighted by two different laws. Low null error does not by itself imply high detection at this alternative.

9. 공집합과 전체집합Empty and complete rejection sets

단순 귀무와 다른 대안에서 R=∅와 R={0,…, n}의 1종 오류·검정력·2종 오류를 각각 쓰세요.

Under a simple null and a distinct alternative, give type-I error, power and type-II error for an empty rejection set and the full set.

풀이와 확인할 이유Solution and explanation

공집합은 (0,0,1), 전체집합은 (1,1,0)입니다. 각각 항상 비기각·항상 기각하기 때문입니다. 한 오류를 없애기만 하는 것과 유용한 두 오류의 균형은 다릅니다.

The triples are (0, 0, 1) and (1, 1, 0). Always nonreject and always reject each remove one error at the cost of the other.

10. 같은 대안을 귀무에 넣으면Evaluating the power function at the null

검정력 함수 π(p)를 계산하다 p=p₀를 넣었습니다. 그 기각확률과 1−π(p₀)를 각각 어떻게 읽어야 하나요?

Interpret π(p₀) and 1−π(p₀) when evaluating the rejection-probability function at the null.

풀이와 확인할 이유Solution and explanation

π(p₀)는 귀무에서의 기각확률입니다. 1−π(p₀)는 참 귀무에서의 비기각확률이지 2종 오류가 아닙니다. 검정력 함수는 귀무점에서도 정의되지만 ‘거짓 귀무 탐지’라는 대안 해석은 그 점에 맞지 않습니다.

They are null rejection and true-null nonrejection probabilities. The function is defined there, but the complement is not a type-II error because the null is not false.

11. 관측 질량과 오른꼬리Observed mass versus upper tail

n=10, p₀=.5, k=9입니다. P₀(K=9)와 오른쪽 p값 P₀(K≥9)를 비교하세요.

At n=10, p₀=.5, k=9, compare P₀(K=9) with upper-tail P₀(K≥9).

풀이와 확인할 이유Solution and explanation
P0(K=9)=10/1024pupper=(10+1)/1024=11/1024.\begin{gathered}P_0(K=9)=10/1024\\p_{\rm upper}=(10+1)/1024=11/1024.\end{gathered}

p값은 관측값보다 더 극단적인 10도 포함합니다. 한 점 질량만 보고하지 않습니다.

P0(K=9)=10/1024pupper=11/1024.\begin{gathered}P_0(K=9)=10/1024\\p_{\rm upper}=11/1024.\end{gathered}

The p-value also includes the more extreme count ten.

12. 왼꼬리와 양쪽 거리Lower tail and two-sided distance

같은 n=10, p₀=.5, k=9에서 왼쪽 p값과 |K−5| 양쪽 거리 p값을 구하세요.

For n=10, p₀=.5, k=9, find the lower-tail and |K−5| distance-based two-sided p-values.

풀이와 확인할 이유Solution and explanation
plower=1023/1024,pdistance=22/1024=11/512.\begin{gathered} p_{\rm lower}=1023/1024,\\ p_{\rm distance}=22/1024=11/512. \end{gathered}

관측이 오른쪽 끝에 있어 왼꼬리는 큽니다. 방향과 극단성의 정의를 먼저 읽어야 합니다.

plower=1023/1024pdistance=11/512.\begin{gathered}p_{\rm lower}=1023/1024\\p_{\rm distance}=11/512.\end{gathered}

The observed count is near the upper extreme, so the lower-tail probability is large.

13. 동률 없는 꼬리의 실패Failure of a strict tail with ties

귀무에서 T=0이 확률 1입니다. p=P₀(T>t_obs)로 동률을 제외하면 어떤 값이 나오고,α=.05에서 실제 오류는 무엇인가요?

Under the null, T=0 surely. If p=P₀(T> t_obs) discards ties, what are its p-value and actual error at α=.05?

풀이와 확인할 이유Solution and explanation

모든 관측에서 p=0이므로 항상 기각해 오류가 1입니다. 올바른 포함 꼬리는 P₀(T≥0)=1입니다. 이산 동률을 빼면 오류확률이 바뀝니다.

It assigns zero to every observation and rejects with probability one. The inclusive tail gives one. Discarding discrete ties is consequential.

14. 유효성에서 오류 보장을 얻는다Derive error control from validity

p(X)가 모든 u∈[0,1]에서 P₀(p(X)≤u)≤u를 만족합니다. α를 자료 전에 .03으로 정하면 p≤α 규칙의 1종 오류 상계는 무엇인가요?

If P₀(p(X)≤u)≤u for every u∈[0, 1], what bounds the false-rejection rate of a prechosen p≤.03 rule?

풀이와 확인할 이유Solution and explanation
P0(reject)=P0(p(X)≤.03)≤.03.P_0({\rm reject})=P_0(p(X)\le.03)\le.03.

정확히 .03일 필요는 없습니다. 특히 이산 자료에서는 더 작을 수 있습니다.

P0(reject)≤.03.P_0({\rm reject})\le.03.

The actual rate can be smaller, particularly for discrete laws.

15. 연속 점확률 0의 오독Misreading a zero continuous point probability

표준정규 관측 z=1.2의 점확률이 0이므로 양쪽 p값도 0이라는 주장을 검토하세요.

A standard-normal observation is 1.2. Since P(Z=1.2)=0, must its two-sided p-value be zero?

풀이와 확인할 이유Solution and explanation

틀렸습니다. 양쪽 p값은 P(|Z|≥1.2)이며 양수입니다. 연속법칙에서 한 점의 확률 0은 꼬리 넓이가 0이라는 뜻이 아닙니다. 밀도 높이도 그 꼬리확률과 다릅니다.

No. The p-value is P(|Z|≥1.2), which is positive. Point probability, density height and tail area are different objects.

16. 복합 귀무의 경계 증명A boundary proof for a composite null

H₀:p≤p₀에서 K≥c이면 기각합니다. 독립 Uᵢ∼Uniform(0,1)와 Xᵢ(p)=1{Uᵢ≤p}를 사용해 최대 귀무 기각확률의 위치를 설명하세요.

For H₀:p≤p₀, reject when K≥c. Use independent uniforms and Xᵢ(p)=1{Uᵢ≤p} to locate the worst-case null rejection probability.

풀이와 확인할 이유Solution and explanation

각 U 결과에서 p가 커지면 성공 지시자가 줄지 않으므로 K도 줄지 않습니다. 따라서 {K(p)≥c}는 p에 따라 커지고 기각확률도 증가합니다. 전체 귀무의 최대는 경계 p₀에서 생깁니다. 임의의 다른 기각집합에 자동 적용되는 증명은 아닙니다.

Every coupled success indicator and count is nondecreasing in p. The upper-tail event therefore grows with p, placing the maximum at p₀. Other rejection sets need another argument.

17. 귀무 통계량의 분모The null statistic’s denominator

iid 정규 표본에서 알려진 σ=2, n=25, 평균 10, 귀무 μ₀=9입니다. SE와 z를 구하고 σ 자체로 나눈 값과 비교하세요.

For an iid normal sample, known σ=2, n=25, mean 10 and null μ₀=9, find SE and z. Compare division by σ itself.

풀이와 확인할 이유Solution and explanation
SE⁡=2/5=.4z=(10−9)/.4=2.5.\begin{gathered}\operatorname{SE}=2/5=.4\\z=(10-9)/.4=2.5.\end{gathered}

σ로 나누면 .5이며 평균 검정통계량이 아닙니다. 관측의 흩어짐과 평균의 정밀도를 구별합니다.

SE⁡=.4z=2.5.\begin{gathered}\operatorname{SE}=.4\\z=2.5.\end{gathered}

Division by σ gives .5, the population-SD-standardized difference rather than the mean test statistic.

18. z예제의 결정과 의미Decision and limits in the z example

앞 문제의 독립 iid 정규 모형에서 z=2.5이고 양쪽 p≈.01241933065입니다. 사전 α=.05에서 결정과 해석의 한계를 쓰세요.

For the iid normal model, z=2.5 gives two-sided p≈.01241933065. Decide at prechosen α=.05 and state interpretation limits.

풀이와 확인할 이유Solution and explanation

p≤.05이므로 기각합니다. 귀무와 정한 모형의 꼬리에서 관측만큼 이상 극단적인 확률이 작다는 뜻입니다. 귀무가 참일 사후확률이 .0124이거나 결과 재현확률이 .9876이라는 뜻은 아닙니다.

Reject. The declared null tail is small; this is not a posterior null probability of .0124 or a replication probability of .9876.

19. 알려진 2와 추정한 2Known two versus estimated two

평균 10, 기준 9, n=25에서 척도 2가 알려진 σ이면 z=2.5, 표본 s이면 t=2.5입니다. 두 참조법칙과 양쪽 p값 약 .0124193/.0196542를 연결하세요.

At mean 10, reference 9, n=25, spread 2 gives either z=2.5 when known or t=2.5 when estimated. Match reference laws and two-sided p-values near .0124193 and .0196542.

풀이와 확인할 이유Solution and explanation

앞은 표준정규, 뒤는 자유도 24의 t법칙입니다. 추정 분모의 불확실성이 있는 t쪽의 꼬리가 더 큽니다. 숫자 2와 통계량이 같다고 알려진 모수와 추정 통계량을 바꾸어 쓸 수 없습니다.

Known SD uses standard normal and .0124193; sample SD uses t₂₄ and .0196542. Matching spread numbers do not remove denominator-estimation uncertainty.

20. t구간의 표본 조건Sampling conditions for the t law

관측값들의 각 주변분포가 정규라는 사실만 알면 T=(X̄−μ₀)/(s/√n)에 t_(n−1) 법칙을 적용해도 되나요?

Does knowing only that every observation has a normal marginal distribution establish a t_(n−1) law for the usual mean statistic?

풀이와 확인할 이유Solution and explanation

아닙니다. 이 장의 정확 t결과는 n≥2인 iid 정규 표본과 양의 모분산을 사용합니다. 의존한 정규 주변변수들에는 평균·잔차 구조와 분산이 달라질 수 있습니다. 개별 정규성과 독립 동일 표집은 다릅니다.

No. The exact result uses n≥2 iid normal observations with positive population variance. Dependent normal marginals can have different mean/residual structure and SE.

21. 닫힌 구간 경계와 검정 등호Closed endpoints and rejection equality

연속 정규 피벗의 양쪽 검정은 |z|≥c에서 기각하고, 표시 CI는 [x̄−cSE, x̄+cSE]입니다. 후보가 CI의 정확 끝점일 때 두 표현이 같은 판단인가요? 포함률에는 어떤 영향이 있나요?

A continuous-normal two-sided rule rejects |z|≥c, but the displayed CI is closed. Compare decisions for a candidate exactly at an endpoint and their probability guarantees.

풀이와 확인할 이유Solution and explanation

정확 끝점 후보는 닫힌 CI에 남지만 등호 기각 규칙은 기각합니다. 관례의 차이입니다. 연속 피벗에서는 그 정확 경계의 표집확률이 0이라 포함·오류 확률은 같을 수 있습니다. 이산법칙에서는 경계 질량을 별도로 확인해야 합니다.

The closed interval retains the boundary candidate while equality rejection rejects it. A continuous pivot assigns zero sampling probability to that boundary, so probability guarantees agree. Discrete boundary mass must be treated explicitly.

22. 표본 s=0을 해석한다Interpret observed s=0

반올림된 동일 값 네 개에서 s=0을 얻었습니다. 양의 모분산 정규 t공식에 0/0을 넣어 p=1로 보고하면 되나요?

Four equal rounded observations give s=0. May the positive-variance t formula treat 0/0 as p=1?

풀이와 확인할 이유Solution and explanation

안 됩니다. 해당 양의 분산 피벗은 이 관측에서 미정의입니다. 표본 분산 0이 알려진 모분산 0을 증명하지 않습니다. 데이터의 반올림·이산성·원법칙을 확인하고 별도 절차를 정해야 합니다.

No. The pivot is undefined at that observation. A zero observed sample variance does not establish known zero population variance. Inspect rounding, discreteness and model before selecting another procedure.

23. 화면의 작은 확률 0A tiny probability displayed as zero

양의 정규 꼬리가 수치 화면에서 0으로 보였습니다. 귀무 아래 논리적으로 불가능한 관측이라고 결론낼 수 있나요?

A positive normal tail appears as zero on screen. Is the observation logically impossible under the null?

풀이와 확인할 이유Solution and explanation

아닙니다. 표시 범위 아래의 양의 확률일 수 있습니다. 정확한 0 여부·로그 확률·근사 계산 범위를 확인합니다. 원래 정규법칙은 모든 유한 관측의 바깥 꼬리에 양의 질량을 줍니다.

No. The value can lie below display range. Check mathematical-zero flags, log probability and numerical scope. A normal law has positive tail mass beyond every finite point.

24. 양쪽 검정력의 두 사건Two events in two-sided power

iid 정규법칙의 알려진 σ>0에서 Z₀=W+λ, W∼N(0,1)입니다. c>0일 때 |Z₀|≥c의 검정력과 비기각확률을 Φ로 유도하세요.

Under an iid normal law with known positive SD, Z₀=W+λ, W∼N(0, 1). Derive rejection and nonrejection probabilities for |Z₀|≥c, c>0.

풀이와 확인할 이유Solution and explanation
π=P(W≤−c−λ)+P(W≥c−λ)=Φ(−c−λ)+1−Φ(c−λ)1−π=Φ(c−λ)−Φ(−c−λ)\begin{gathered}\pi=P(W\le-c-\lambda)\\\quad+P(W\ge c-\lambda)\\=\Phi(-c-\lambda)+1-\Phi(c-\lambda)\\1-\pi=\Phi(c-\lambda)-\Phi(-c-\lambda)\end{gathered}

두 꼬리는 겹치지 않습니다. 대안에서 기각집합을 다시 대안 중심으로 옮기지 않습니다.

π=Φ(−c−λ)+1−Φ(c−λ),1−π=Φ(c−λ)−Φ(−c−λ).\begin{gathered} \pi=\Phi(-c-\lambda)+1-\Phi(c-\lambda),\\ 1-\pi=\Phi(c-\lambda)-\Phi(-c-\lambda). \end{gathered}

The tails are disjoint. Keep the null-calibrated rejection set fixed under the alternative.

25. δ=1의 설계 검정력Prospective power at δ=1

알려진 σ=2, n=25, 양쪽 α=.05, 선택 대안 δ=1인 iid 정규설계입니다. λ와 검정력 약 .705418의 2종 오류를 구하세요.

For iid normal design, known σ=2, n=25, two-sided α=.05, chosen δ=1, power is about .705418. Find λ and type-II error.

풀이와 확인할 이유Solution and explanation
λ=125/2=2.5β(1)≈1−.7054180011=.2945819989\begin{gathered}\lambda=1\sqrt{25}/2=2.5\\\beta(1)\approx1-.7054180011\\=.2945819989\end{gathered}

.05는 귀무 오류의 기준이고 .29458은 이 선택 대안의 놓침확률입니다. 합해서 1이 되는 두 수는 검정력과 그 대안의 β입니다.

λ=125/2=2.5β(1)≈1−.7054180011=.2945819989\begin{gathered}\lambda=1\sqrt{25}/2=2.5\\\beta(1)\approx1-.7054180011\\=.2945819989\end{gathered}

Power and beta at the same alternative sum to one. Null alpha and alternative beta do not form such a complementary pair.

26. 표본 수 네 배의 역할Quadrupling the sample size

알려진 σ와 대안 δ를 고정한 정규 검정에서 n을 25에서 100으로 늘립니다. SE와 λ는 어떻게 바뀌나요? δ도 네 배가 되나요?

Hold known σ and chosen δ fixed in a normal test while increasing n from 25 to 100. How do SE and λ change? Does δ quadruple?

풀이와 확인할 이유Solution and explanation

SE는 절반,λ는 두 배입니다. δ는 선택한 원단위 차이로 그대로입니다. 자료를 더 모아 탐지하기 쉬워지는 것과 실제 차이를 더 크게 만드는 것은 다릅니다.

SE halves and λ doubles. The source-unit difference δ remains fixed. Greater detection precision does not enlarge the underlying effect.

27. 한쪽 검정의 반대 방향An alternative in the opposite direction

오른쪽 정규 검정의 검정력은 1−Φ(c−λ)입니다. λ<0일 때 이 값이 귀무 λ=0에서보다 작을 수 있나요?

Upper-sided normal power is 1−Φ(c−λ). Can λ<0 give lower rejection probability than λ=0?

풀이와 확인할 이유Solution and explanation

그렇습니다. λ<0이면 c−λ>c이고 Φ가 증가하므로 오른꼬리는 작아집니다. 이는 선언한 오른쪽 질문의 성질입니다. 반대 방향도 찾으려면 사전에 양쪽 질문을 설계해야 합니다.

Yes. Then c−λ exceeds c and the upper tail shrinks. That is a feature of the declared direction-specific question, not grounds for switching direction after observation.

28. α를 줄이면 검정력이 왜 줄어드는가Why reducing alpha reduces power

고정 대안·σ·n에서 양쪽 α를 .05에서 .01로 줄입니다. 기각집합과 검정력의 관계를 설명하세요.

Hold alternative, known σ and n fixed while reducing two-sided α from .05 to .01. Explain the rejection-set and power relation.

풀이와 확인할 이유Solution and explanation

임계값이 커져 기각집합이 안쪽을 잃습니다. 어느 고정 대안법칙에서도 부분집합의 확률은 더 클 수 없으므로 검정력이 줄거나 같습니다. 작은 α가 더 작은 두 오류 모두를 자동 제공하는 것은 아닙니다.

A larger cutoff shrinks the set. Its probability under any fixed alternative cannot increase. Smaller alpha alone does not reduce both error types.

29. 표본 수 충분식의 숫자A sufficient sample-size calculation

알려진 σ=1,δ=.5, 양쪽 α=.05, 목표 검정력 .8입니다. 반대 꼬리를 무시한 충분식에서 z_.975≈1.959964, z_.8≈.841621을 사용해 n을 정수로 올리세요.

Known σ=1,δ=.5, two-sided α=.05 and target power .8. Use z_.975≈1.959964, z_.8≈.841621 in the sufficient formula and round n upward.

풀이와 확인할 이유Solution and explanation
n≥[(1.959964+.841621)/.5]2≈31.3955n=32\begin{gathered}n\ge[(1.959964+.841621)/.5]^2\\\approx31.3955\\n=32\end{gathered}

이 정규법칙 아래 충분한 후보입니다. 양쪽 전체 꼬리를 사용해 실제 검정력을 확인하고 항상 정확 최소 n이라고 부르지 않습니다.

n≥[(1.959964+.841621)/.5]2≈31.3955n=32\begin{gathered}n\ge[(1.959964+.841621)/.5]^2\\\approx31.3955\\n=32\end{gathered}

This is a sufficient candidate under the normal law. Check full two-sided power before claiming an exact minimum.

30. 정수 후보를 실제 검정력으로 확인한다Check integer candidates with full power

같은 알려진 σ=1,δ=.5, 양쪽 α=.05에서 정확 정규법칙 검정력은 n=31에서 .7950080, n=32에서 .8074304입니다. 이 두 후보와 증가성을 사용해 목표 .8의 최소 정수 n을 구하세요.

Under known σ=1,δ=.5, two-sided α=.05, normal-law power is .7950080 at n=31 and .8074304 at n=32. Using monotonicity, find the minimum integer n for power at least .8.

풀이와 확인할 이유Solution and explanation

이 고정 양쪽 정규설계의 검정력은 n에 따라 증가하므로 n≤31은 목표에 못 미치고 32가 처음 넘습니다. 최소 정수는 32입니다. 여기서는 전체 공식을 확인했으므로 최소라는 말을 쓸 수 있습니다.

It is 32. Monotonicity rules out every n≤31 and the next integer meets the target. The full formula, not only an approximate design expression, justifies “minimum” here.

31. 표준화 효과와 t의 관계Standardized difference versus t

표본 s=2, 평균 10, 기준 9, n=25입니다. 원차이·d̂·t를 구하고 단위를 설명하세요.

Sample s=2, mean 10, reference 9, n=25. Find raw difference, d̂ and t, and explain units.

풀이와 확인할 이유Solution and explanation
Δ^=1d^=1/2=.5t=.525=2.5.\begin{gathered}\widehat\Delta=1\\\widehat d=1/2=.5\\t=.5\sqrt{25}=2.5.\end{gathered}

차이는 원측정 단위, d̂와 t는 무차원입니다. 두 무차원 수의 뜻은 다르며 d̂는 표본 SD, t는 평균 SE에 대한 비율입니다.

Δ^=1d^=.5t=2.5.\begin{gathered}\widehat\Delta=1\\\widehat d=.5\\t=2.5.\end{gathered}

The raw difference has source units. Both ratios are dimensionless, but d̂ uses observation SD and t uses mean SE.

32. 단위 100배를 일관되게 바꾼다A consistent hundredfold unit conversion

평균 10, 기준 9, s=2를 모두 100배 하고 n은 유지합니다. 원차이·d̂·t는 어떻게 바뀌나요?

Multiply mean 10, reference 9 and s=2 by 100, keeping n fixed. What changes in raw difference, d̂ and t?

풀이와 확인할 이유Solution and explanation

원차이는 1에서 100으로 바뀌지만 d̂=(1000−900)/200=.5로 같습니다. t도 .5√n으로 같습니다. 척도를 일부 항에만 적용하면 같은 자료의 일관된 단위 변환이 아닙니다.

The raw difference becomes 100. Standardized difference remains .5 and t remains .5√n. Rescaling only some inputs is not the same unit conversion.

33. 작은 d̂와 큰 tSmall d̂ and large t

d̂=.01, n=1,000,000이면 t=d̂√n은 얼마인가요? 매우 작은 p값이 d̂를 큰 실무 효과로 바꾸나요?

At d̂=.01, n=1,000,000, find t=d̂√n. Does a very small p-value make d̂ a large practical effect?

풀이와 확인할 이유Solution and explanation
t=.01(1000)=10.t=.01(1000)=10.

아닙니다. 큰 n이 평균의 정밀도를 높여 작은 차이도 탐지한 것입니다. 실무적 크기는 원단위·기준·비용·효과 구간 등으로 별도 판단합니다.

t=10.t=10.

No. Greater precision can detect a small difference. Practical magnitude needs source units, context, costs and uncertainty.

34. 같은 원차이와 두 표준편차One raw difference, two SDs

원차이 2에서 s=1인 자료와 s=10인 자료의 d̂를 비교하세요. 둘째의 원차이가 사라졌나요?

A raw difference of 2 is paired with s=1 or s=10. Compare d̂ and state whether the second raw difference disappears.

풀이와 확인할 이유Solution and explanation

d̂는 각각 2와 .2입니다. 원차이는 둘 다 2로 같습니다. 서로 다른 이질성 척도에 대한 상대값이 달라진 것이므로 원차이와 단위도 같이 보고해야 합니다.

The standardized differences are 2 and .2, but both raw differences remain 2. The heterogeneity scale changed; report both scales.

35. 0 포함과 의미 있는 같음Containing zero versus meaningful similarity

실무 허용폭 Δ=1을 미리 정했습니다. 효과 CI [−10,10]과 [−.2,.3] 중 어느 것이 (−1,1) 안으로 효과를 제한하는가요? 둘 다 0을 포함하면 같나요?

With a prechosen practical marginΔ=1, compare effect CIs [−10, 10] and [−.2, .3]. Does containing zero make them equivalent evidence?

풀이와 확인할 이유Solution and explanation

둘째만 전체가 허용범위 안입니다. 첫째는 매우 넓어 큰 차이도 허용합니다. 0 포함이라는 비기각 사실만으로 실질적 같음을 주장할 수 없습니다. 구간 수준과 등가성 절차의 오류 목표도 밝혀야 합니다.

Only the second lies wholly within (−1, 1). The first permits large effects. State the interval level and the error target of any equivalence claim.

36. 기각 뒤 거짓양성의 혼합 계산A mixture calculation after rejection

가정 연구 집합의 귀무 비율 π₀=.9, 참 귀무 기각률 .05, 대안 평균 검정력 .8입니다. 기각 뒤 귀무가 참일 확률을 구하세요.

An assumed study mixture has null fraction .9, null rejection rate .05 and average alternative power .8. Find P(null|reject).

풀이와 확인할 이유Solution and explanation
P(H0∣reject)=.045/(.045+.08)=.36\begin{gathered}P(H_0\mid{\rm reject})\\=.045/(.045+.08)=.36\end{gathered}

이 추가 혼합 모형에서의 결과입니다. π₀와 대안 검정력을 모르는 개별 연구의 p값만으로 .36을 얻지는 못합니다.

P(H0∣reject)=.045/(.045+.08)=.36\begin{gathered}P(H_0\mid{\rm reject})\\=.045/(.045+.08)=.36\end{gathered}

This uses the extra mixture assumptions, not only one study’s p-value.

37. 열 개의 참 귀무를 반복한다Ten independent true-null tests

참 귀무 검정 10개가 독립이며 각 기각확률이 정확 .05입니다. 적어도 한 번 잘못 기각할 확률을 구하세요.

Ten independent true-null tests each reject with probability exactly .05. Find the chance of at least one false rejection.

풀이와 확인할 이유Solution and explanation
P(any false rejection)=1−.9510≈.4012630608\begin{gathered}P(\text{any false rejection})\\=1-.95^{10}\approx .4012630608\end{gathered}

독립 조건으로 모두 비기각 확률을 곱했습니다. 개별 .05와 전체 .05를 혼동하지 않습니다.

1−.9510≈.4012630608.1-.95^{10}\approx .4012630608.

Independence justifies multiplying nonrejection probabilities. Individual .05 is not familywise .05.

38. 독립 없이 전체 오류를 제한한다Control family error without independence

검정 10개의 각 참 귀무 오류를 .005 이하로 통제했습니다. 의존 구조를 몰라도 적어도 한 거짓 기각 확률이 .05 이하인가요?

Ten tests each control true-null error at most .005. With unknown dependence, is the chance of any false rejection at most .05?

풀이와 확인할 이유Solution and explanation
P(any false rejection)≤∑j=110.005=.05\begin{gathered}P(\text{any false rejection})\\\le\sum_{j=1}^{10}.005=.05\end{gathered}

합집합 상계이므로 독립이 필요하지 않습니다. 어느 귀무가 참인지에 따라 참 귀무들만 더하면 더 작거나 같은 상계가 됩니다.

P(any false rejection)≤∑j=110.005=.05\begin{gathered}P(\text{any false rejection})\\\le\sum_{j=1}^{10}.005=.05\end{gathered}

Yes, by the union bound. If only some nulls are true, sum just their error probabilities.

39. 중단 규칙을 숨기지 않는다Do not hide the stopping rule

20개씩 자료를 더 모아 p<.05가 처음 나오면 중단했습니다. 마지막 한 p값만 보고 고정 n의 .05 검정이라고 해도 되나요?

Collect batches of twenty until the first p<.05. May the final p-value be reported as if it came from one fixed-n .05 test?

풀이와 확인할 이유Solution and explanation

안 됩니다. 중단 시점이 자료에 의존하며 전체 선택 사건을 바꿉니다. 모든 시도와 중단 규칙을 밝히고 적절한 순차적 보장이나 다른 설계 근거를 제시해야 합니다. 결과 하나만 남겨 고정 표본처럼 해석하지 않습니다.

No. Data-dependent stopping changes the overall rejection event. Report inspections and the rule, and use an appropriate sequential guarantee rather than a fixed-n label.

40. 작은 p값이 무엇을 반박하는가Which assumption does a small p-value challenge?

독립·정규·완전 가용·평균 0을 함께 가정해 p=.001을 얻었습니다. 오직 평균 0만 틀렸음이 논리적으로 증명되었나요?

A calculation assumes independence, normality, complete availability and mean zero, and gives p=.001. Is mean zero alone logically proved false?

풀이와 확인할 이유Solution and explanation

아닙니다. 자료가 그 가정 묶음과 어긋나며 독립·분산·결측·측정의 실패도 영향을 줄 수 있습니다. 모형과 설계를 점검하고 과학적 근거를 더해야 합니다. 작은 꼬리확률을 모든 다른 가정의 검증서로 읽지 않습니다.

No. Discrepancy concerns the assumption bundle. Dependence, variance, missingness or measurement failures can also matter. The tail calculation does not validate every other premise.

41. 단순 대안의 검정력 비교 증명Prove a power comparison for one simple alternative

공통 측도 밀도 f₀, f₁에서 0≤φ, φ*≤1입니다. c≥0이고 φ*는 f₁>cf₀에서 1, 작으면 0, 같으면 임의 경계값입니다. E₀φ≤E₀φ*일 때 E₁φ≤E₁φ*를 증명하세요.

Let f₀, f₁ be densities under a common measure and 0≤φ, φ*≤1. For c≥0, φ* equals 1 where f₁> cf₀, zero where smaller and any boundary value at equality. If E₀φ≤E₀φ*, prove E₁φ≤E₁φ*.

풀이와 확인할 이유Solution and explanation
(φ∗−φ)(f1−cf0)≥0,E1φ∗−E1φ≥c(E0φ∗−E0φ)≥0.\begin{gathered} (\varphi^*-\varphi)(f_1-cf_0)\ge0,\\ E_1\varphi^*-E_1\varphi \ge c(E_0\varphi^*-E_0\varphi)\ge0. \end{gathered}

점별 부호를 맞추고 공통 측도로 적분했습니다. 두 밀도 모두 0인 곳에서는 적분에 영향이 없습니다. 단순 대안 하나에 대한 결론이며 서로 다른 모든 대안에서의 동시 최적성을 자동 주장하지 않습니다.

(φ∗−φ)(f1−cf0)≥0,E1(φ∗−φ)≥cE0(φ∗−φ)≥0.\begin{gathered} (\varphi^*-\varphi)(f_1-cf_0)\ge0,\\ E_1(\varphi^*-\varphi) \ge cE_0(\varphi^*-\varphi)\ge0. \end{gathered}

Integrate the pointwise sign inequality. This compares power for one simple alternative, not automatically all alternatives at once.

42. 이항 가능도비가 성공 개수와 함께 증가한다Binomial likelihood ratio grows with the success count

iid Bernoulli n개에서 단순 귀무 p₀=.5, 단순 대안 p₁=.7입니다. 성공 개수 k의 가능도비를 정리해 큰 k에서 기각하는 이유를 설명하세요.

For n iid Bernoulli trials, null p₀=.5 and simple alternative p₁=.7, simplify the count likelihood ratio and explain upper-tail rejection.

풀이와 확인할 이유Solution and explanation
P.7(K=k)P.5(K=k)=.7k.3n−k.5n=.6n(7/3)k.\begin{gathered} \frac{P_{.7}(K=k)}{P_{.5}(K=k)} =\frac{.7^k.3^{n-k}}{.5^n}\\ =.6^n(7/3)^k. \end{gathered}

7/3>1이라 k에 따라 증가합니다. 조합계수는 약분됩니다. Neyman–Pearson 조건과 귀무 크기 보정을 갖추면 큰 k에서 기각하는 규칙이 이 단순 대안에 강합니다. 정확 α를 맞추려면 경계 무작위화가 필요할 수 있습니다.

P.7(K=k)P.5(K=k)=.6n(7/3)k.\frac{P_{.7}(K=k)}{P_{.5}(K=k)}=.6^n(7/3)^k.

The combinatorial factors cancel and 7/3>1 makes the ratio increasing. With null calibration, the simple-alternative Neyman–Pearson rule rejects at large counts, possibly randomizing at a boundary.

43. 경계 동전으로 정확 .05를 만든다Randomize a boundary to obtain exact .05

n=10, p₀=.5에서 K≥9이면 항상 기각합니다. K=8일 때만 확률 γ로 기각하여 전체 귀무 기각률 .05를 만들려 합니다. P₀(K≥9)=11/1024, P₀(K=8)=45/1024로 γ를 구하세요.

At n=10, p₀=.5, always reject K≥9 and reject K=8 with probability γ. Given tail 11/1024 and boundary mass 45/1024, solve for exact null error .05.

풀이와 확인할 이유Solution and explanation
111024+γ451024=.05,γ=.05(1024)−1145=6775.\begin{gathered} \frac{11}{1024}+\gamma\frac{45}{1024}=.05,\\ \gamma=\frac{.05(1024)-11}{45} =\frac{67}{75}. \end{gathered}

γ는 약 .893333이며 [0,1] 안입니다. 자료뿐 아니라 별도의 독립 무작위 결정을 포함하는 새 절차입니다. 실습의 비무작위 기각 체크박스와 같다고 부르지 않습니다.

γ=[.05(1024)−11]/45=67/75.\gamma=[.05(1024)-11]/45=67/75.

The extra independent random decision defines another procedure. It differs from the lab’s nonrandomized count selection.

44. 비기각은 대안의 배제가 아니다Nonrejection does not eliminate an alternative

참 차이 δ=1에서 검정력이 .2인 절차로 한 번 비기각했습니다. 이 결과로 δ=1을 배제할 수 있나요?

A procedure has power .2 at true difference δ=1 and produces one nonrejection. Is δ=1 thereby excluded?

풀이와 확인할 이유Solution and explanation

아닙니다. 그 대안에서도 비기각확률이 .8이라 흔히 나타납니다. 관측 효과구간·모형·실무적 차이를 함께 봐야 합니다. 낮은 탐지력을 귀무의 강한 증거로 바꾸지 않습니다.

No. Nonrejection occurs with probability .8 even at that alternative. Consider effect uncertainty and model rather than treating low detection as proof of the null.

45. 실제 네 값의 귀무 중심The null center for four actual values

실제 분기 지수 108.3502,107.7932,107.4475,107.4756의 균등 네 원자 귀무에서 중심 평균을 구하세요. 이 귀무가 실제 분기의 생성법칙으로 검증된 것인가요?

For an assumed uniform four-ticket null using 108.3502, 107.7932, 107.4475, 107.4756, find the mean. Has this established the original quarterly generating law?

풀이와 확인할 이유Solution and explanation
4μF=108.3502+107.7932+107.4475+107.4756μF=107.766625\begin{gathered}4\mu_F=108.3502+107.7932\\\quad+107.4475+107.4756\\\mu_F=107.766625\end{gathered}

아닙니다. 네 고정 값을 균등 복원 추첨한다는 별도 가정 실험입니다. 프레임 평균은 알려져 있고 검정은 그 실험의 새 표본에 대한 절차를 공부합니다.

μF=107.766625.\mu_F=107.766625.

No. It defines a separate replacement experiment using fixed actual inputs. The known frame mean is not itself an unknown target requiring estimation.

46. 주택 정확 검정의 두 확률Two probabilities for the housing exact rule

실제 네 값의 n=4 복원 실험에서 명목 .05 정확 거리 p값 규칙은 균등 귀무의 256개 순서 표본 중 9개를 기각합니다. 대안 가중치(.5,.25,.125,.125)의 기각확률은 1/4입니다. 실제 1종·2종 오류를 구하세요.

In the four-ticket n=4 experiment, a nominal .05 distance-p rule rejects 9 of 256 equiprobable null tuples. Under alternative weights (.5, .25, .125, .125), rejection probability is 1/4. Find actual type-I and type-II error.

풀이와 확인할 이유Solution and explanation
αactual=9/256=.03515625β=1−1/4=3/4.\begin{gathered}\alpha_{\rm actual}=9/256=.03515625\\\beta=1-1/4=3/4.\end{gathered}

귀무의 같은 가중치 표본 개수와 대안의 서로 다른 가중 확률을 구별합니다. 대안에서도 무조건 기각 개수/256으로 계산하면 다른 법칙이 됩니다.

αactual=9/256β=3/4.\begin{gathered}\alpha_{\rm actual}=9/256\\\beta=3/4.\end{gathered}

Null tuple counting and alternative weighted summation are different calculations.

47. 정규 참조의 더 큰 검정력을 비교한다Compare higher power of a normal reference

같은 주택 실험의 정규 참조는 실제 귀무 오류 13/256, 대안 검정력 5/16입니다. 정확 규칙의 9/256,1/4와 비교해 무조건 우월하다고 할 수 있나요?

The same housing experiment’s normal reference has actual size 13/256 and power 5/16, versus 9/256 and 1/4 for the exact rule. Is it unconditionally superior?

풀이와 확인할 이유Solution and explanation

안 됩니다. 정규 참조는 더 큰 검정력과 더 큰 귀무 오류를 함께 가집니다. 명목 .05라도 실제 13/256≈.05078125로 .05를 넘습니다. 같은 실제 크기의 검정력 비교와 다른 크기 사이의 선택을 구별합니다.

No. Both power and false-rejection rate increase. Its actual size .05078125 exceeds nominal .05. Distinguish equal-size comparisons from a tradeoff between different sizes.

48. 명목 .1에서도 실제 크기를 센다Count actual size at nominal .1

가정 주택 실험의 명목 .1에서 정확 p규칙은 실제 오류 9/128, 대안 검정력 1285/4096입니다. β를 구하고 수준 .1 충족 여부를 판단하세요.

In the assumed housing experiment, nominal .1 exact-p rejection has actual error 9/128 and alternative power 1285/4096. Find β and check the level.

풀이와 확인할 이유Solution and explanation
β=(4096−1285)/4096=2811/40969/128=.0703125≤.1.\begin{gathered}\beta=(4096-1285)/4096=2811/4096\\9/128=.0703125\le.1.\end{gathered}

선택한 귀무에서 수준 조건을 만족하며 이산성으로 더 보수적입니다. 이 결론은 그 프레임 실험의 범위입니다.

β=2811/40969/128≤.1.\begin{gathered}\beta=2811/4096\\9/128\le.1.\end{gathered}

It meets the selected-null level and is conservative. This conclusion concerns that declared frame experiment.

49. 대안에서는 256개를 같게 세지 않는다Alternative tuples are not equally weighted

네 원자 귀무는 모두 확률 1/4, 대안은 첫 원자 확률 1/2입니다. 각 법칙에서 독립 복원 추첨을 할 때 네 번 모두 첫 원자가 뽑힐 확률을 구하세요.

Four null tickets each have probability 1/4, but the first alternative ticket has probability 1/2. Find the probability of selecting the first ticket four times under each independent replacement law.

풀이와 확인할 이유Solution and explanation
P0=(1/4)4=1/256P1=(1/2)4=1/16.\begin{gathered}P_0=(1/4)^4=1/256\\P_1=(1/2)^4=1/16.\end{gathered}

같은 순서 표본이라도 법칙이 바뀌면 가중치가 바뀝니다. 256이라는 가능한 표본 수만으로 두 법칙의 확률을 같게 만들지 않습니다.

P0=1/256P1=1/16.\begin{gathered}P_0=1/256\\P_1=1/16.\end{gathered}

The same tuple receives different weights under different laws.

50. 로그 기준 6.2의 작업 검정Working test against log reference 6.2

실제 가용 로그 임금 평균 약 6.261831917744, SE≈.008089128821, n=3010입니다. 교육용 기준 6.2에서 차이와 t를 구하고 양쪽 p≈2.81669×10⁻¹⁴의 조건을 적으세요.

Actual available log mean ≈6.261831917744, SE ≈.008089128821, n=3010. Find the difference and t against teaching reference 6.2, and qualify two-sided p≈2.81669×10⁻¹⁴.

풀이와 확인할 이유Solution and explanation
Δ^≈.061831917744,t=Δ^/.008089128821≈7.643829.\begin{gathered} \widehat\Delta\approx .061831917744,\\ t=\widehat\Delta/.008089128821\approx7.643829. \end{gathered}

작업 iid 정규 표본이라면 자유도 3009의 t꼬리를 사용합니다. 원자료에서 그 조건·대표성·결측 기제가 확인되었다고 이 수치가 증명하지 않습니다. 기준 6.2도 교육용 선택입니다.

Δ^≈.061831917744t≈7.643829.\begin{gathered}\widehat\Delta\approx .061831917744\\t\approx7.643829.\end{gathered}

The t₃₀₀₉ reference is a working iid normal calculation, not verification of field sampling, representativeness or missingness. The reference is selected for teaching.

51. 기준을 바꾸면 다른 귀무다A new reference is another null

같은 로그 자료의 교육용 기준 6.25에서는 t≈1.462694, 양쪽 p≈.143656입니다. 기준 6.2의 기각과 모순인가요?

For the same log data, reference 6.25 gives t≈1.462694 and two-sided p≈.143656. Does this contradict rejecting reference 6.2?

풀이와 확인할 이유Solution and explanation

모순이 아닙니다. 서로 다른 귀무 후보입니다. 관측 평균에서 각 후보까지의 거리가 달라져 통계량이 바뀝니다. 자료를 보고 유리한 기준만 골라 보고했다면 그 선택도 밝혀야 합니다.

No. They are different candidate nulls at different distances from the observed mean. Disclose any result-based choice of which reference to report.

52. 로그 차이와 달러 차이A log difference is not a dollar difference

로그 평균에서 기준까지 차이가 .0618319입니다. ‘시간당 6센트 증가’라고 읽어도 되나요?

A log-mean difference from a reference is .0618319. Is this a six-cent hourly increase?

풀이와 확인할 이유Solution and explanation

안 됩니다. 로그 차이는 센트 수준의 산술 차이와 다릅니다. 같은 원단위의 로그 수준 두 값을 비교하면 지수화로 비율과 연결할 수 있지만, 이 가용 평균의 차이가 개인별 증가·인과 임금 변화라는 뜻도 아닙니다. 원측정·로그 변환·평균 표적을 유지합니다.

No. Log and arithmetic currency differences differ. Exponentiation can relate compatible log levels to ratios, but this available-mean comparison is not an individual or causal wage increase.

53. 큰 로그 표본의 작은 표준화 차이A modest standardized log difference in a large sample

로그 자료의 d̂≈.1393245718, n=3010에서 t 관계를 쓰세요. 매우 작은 p값이 가용 분모 3010·비관측 603의 문제를 해결하나요?

Use d̂≈.1393245718, n=3010 to relate t. Does the very small p-value resolve the 603 unavailable source logs?

풀이와 확인할 이유Solution and explanation
t=d^3010≈7.643829.t=\widehat d\sqrt{3010}\approx7.643829.

아닙니다. 정밀한 작업 통계량과 자료의 선택·결측·가중·외적 타당성은 별도입니다. 가용 평균은 3010을 사용하며 비관측 603을 실제 로그 0으로 바꾸지 않습니다.

t=d^3010≈7.643829.t=\widehat d\sqrt{3010}\approx7.643829.

No. Precision under a working law does not repair missingness, selection, weights or external validity. Preserve the available denominator and missing source rows.

54. 짝 점포의 통계량The statistic for paired stores

384개 완전 점포쌍에서 평균 변화 −.07044270833 FTE, 짝 SE=.4604185768 FTE입니다. 귀무 0의 t와 자유도를 구하세요.

For 384 complete store pairs, mean change is −.07044270833 FTE and paired SE .4604185768 FTE. Find t against zero and its working degrees of freedom.

풀이와 확인할 이유Solution and explanation
t=−.07044270833/.4604185768≈−.1529971,ν=383\begin{gathered}t=-.07044270833/.4604185768\\\approx-.1529971,\quad\nu=383\end{gathered}

관측 단위는 완전 짝의 변화입니다. 전후 숫자가 768개라는 이유로 n=768이나 두 시점 독립 분모를 쓰지 않습니다.

t=−.07044270833/.4604185768≈−.1529971,ν=383\begin{gathered}t=-.07044270833/.4604185768\\\approx-.1529971,\quad\nu=383\end{gathered}

The observational unit is a complete-pair change, not 768 independent before/after numbers.

55. 큰 p와 0을 포함한 점포 구간Large p and a store interval containing zero

점포 작업검정 p≈.8784811,95% CI [−.9757072,.8348218] FTE입니다. 평균 변화가 정확 0이라고 증명되었나요? 정책효과도 0인가요?

A working paired test gives p≈.8784811 and 95% CI [−.9757072, .8348218] FTE. Is exactly zero mean change or zero policy effect proved?

풀이와 확인할 이유Solution and explanation

아닙니다. 귀무 0을 기각하지 못했고 구간이 여러 음·양 후보를 허용합니다. 정책 인과효과에는 별도 식별 설계가 필요합니다. 원단위 효과와 구간·가정을 함께 보고합니다.

No. The interval allows negative and positive candidates. Nonrejection is not proof of zero, and causal policy interpretation needs separate identification.

56. 유의한 집단과 비유의한 집단Significant in one group, not the other

두 집단을 각각 기준 0과 검정했더니 한 집단만 p<.05입니다. 두 집단의 효과 차이가 .05에서 유의하다고 결론낼 수 있나요?

Only one of two separate group-versus-zero tests has p<.05. Does this establish a significant between-group effect difference?

풀이와 확인할 이유Solution and explanation

안 됩니다. 두 p값의 차이는 두 효과 차이에 대한 검정이 아닙니다. 직접 차이의 추정값과 그 공분산·표준오차를 계산해야 합니다. 다음 장의 두 집단·짝 비교가 그 질문을 다룹니다.

No. Different significance labels do not test the difference between effects. Estimate that difference and its covariance/SE directly.

57. 관측 검정력은 독립 증거가 아니다Observed power is not independent evidence

관측 평균 차이를 δ에 다시 넣어 검정력을 계산한 뒤 ‘p값과 높은 검정력 두 증거가 있다’고 보고했습니다. 왜 주의해야 하나요?

An analyst substitutes the observed difference as δ in power and claims two independent pieces of evidence, p-value and high power. Explain the problem.

풀이와 확인할 이유Solution and explanation

같은 자료의 추정 차이를 재사용했으므로 새로운 독립 증거가 아닙니다. 설계 검정력은 자료 전에 의미 있는 대안을 정해 쓰고, 관측 뒤에는 효과 추정과 구간·가정·설계를 보고합니다. 단순 재계산을 추가 표본이나 재현으로 부르지 않습니다.

The same estimate is reused, not independently validated. Prospective power uses a selected design alternative. After observation, report effect estimates, intervals and assumptions rather than calling a transformation of the same data new evidence.

58. 행 수가 늘어도 독립 정보가 늘지는 않을 수 있다More rows need not mean more independent information

같은 점포 한 행을 100번 복사해 n을 100배로 키웠습니다. 정규 검정의 √n 공식으로 p값을 줄여도 되나요?

Copy each store row 100 times and multiply n by 100. May the usual √n formula shrink the p-value?

풀이와 확인할 이유Solution and explanation

안 됩니다. 복사 행들은 독립 새 관측이 아닙니다. 실제 독립 단위와 의존 구조가 그대로이므로 유효 분산을 재검토해야 합니다. 원행 키를 보존하면 이런 반복을 실제 새 표본과 구별하기 쉽습니다.

No. Copies are not independent new observations. Preserve actual units and dependence rather than treating duplicated records as added sampling information.

59. 개별 구간의 겹침은 직접 검정이 아니다Overlapping individual intervals are not a direct test

독립 정규 평균 추정 두 개의 관측값은 0과 3이고, 각 알려진 SE는 1입니다. 개별 95% CI는 겹치나요? 직접 차이의 z=3/√2와 비교하세요.

Two independent normal mean estimates are observed at 0 and 3, each with known SE 1. Do their individual 95% CIs overlap? Compare with the direct difference z=3/√2.

풀이와 확인할 이유Solution and explanation
C1≈[−1.960,1.960],C2≈[1.040,4.960],zdifference=3/2≈2.1213>1.960.\begin{gathered} C_1\approx[-1.960,1.960],\\ C_2\approx[1.040,4.960],\\ z_{\rm difference}=3/\sqrt2\approx2.1213>1.960. \end{gathered}

개별 CI는 겹치지만 직접 양쪽 차이 검정은 .05에서 기각합니다. 독립 조건으로 차이 SE=√2를 사용했습니다. 구간 그림의 겹침을 차이의 검정 대신 쓰지 않습니다.

C1≈[−1.960,1.960],C2≈[1.040,4.960],zdifference≈2.1213>1.960.\begin{gathered} C_1\approx[-1.960,1.960],\\ C_2\approx[1.040,4.960],\\ z_{\rm difference}\approx2.1213>1.960. \end{gathered}

They overlap, yet the direct two-sided difference test rejects at .05. Independence gives difference SE √2. CI overlap is not a substitute for the direct comparison.

60. 검정 결과의 완전한 보고Report a test completely

실제 자료에서 p=.02 하나만 보여 주려 합니다. 이 장의 관점에서 함께 보고할 핵심 항목과, 그 수치가 인증하지 않는 결론 두 가지를 쓰세요.

An actual-data analysis plans to show only p=.02. State the accompanying information needed and two claims that number does not certify.

풀이와 확인할 이유Solution and explanation

표적·관측 단위·원행/가용 분모·귀무/대안·사전 방향/α·통계량/SE·원단위 효과와 구간·가정·모든 선택/중단 규칙을 함께 보고합니다. p=.02는 귀무가 참일 확률 .02를 인증하지 않으며, 실무적으로 큰 인과효과를 인증하지도 않습니다. 출처와 계산 재현은 설계·과학적 해석의 추가 근거와 함께 판단합니다.

Report target, observation units, source/valid counts, hypotheses, planned tail/alpha, statistic/SE, raw effect and interval, assumptions and selection/stopping. The p-value is not a .02 posterior null probability or certification of a large causal effect.

자료와 출처Data and sources

실제 자료 사례Actual-data cases · 원자료·단위·결측·변환·출처Inputs, units, missingness, transformations and sources

자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.

자료사전·출처·이용 조건Data dictionary, sources and terms