STAT-11 · STATISTICS

신뢰구간·표준오차·예측구간Confidence intervals, standard errors and prediction intervals

평균과 새 값의 차이에서 정확 이항 포함률·짝자료·실제 작업 모형까지From mean versus new-outcome uncertainty to exact binomial coverage,paired data and actual working models

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

기초Foundations

1. 추정값 옆의 범위는 무엇을 말하는가1. What does the range beside an estimate mean?

가상 실습에서 평균을 10이라고 계산했습니다. 다른 표본을 받으면 9.7이나 10.4가 나올 수 있습니다. 추정값 하나는 이번 표본의 중심을 알려 주지만, 그 규칙이 표본마다 얼마나 달라지는지는 혼자 말하지 못합니다.

이 장에서는 자료로 만드는 두 끝점 L(X), U(X)를 배웁니다. 중요한 질문은 ‘그럴듯한 숫자 두 개를 골랐나’가 아니라 ‘같은 절차를 정한 모형에서 반복하면 목표를 얼마나 자주 포함하나’입니다.

모평균의 신뢰구간과 새 관측 하나의 예측구간도 다릅니다. 반 전체의 평균 키를 모르는 문제와 다음 학생의 키를 모르는 문제를 구별해 생각해 보세요. 뒤의 실제 사례에서는 주택지수·로그 임금·점포 고용 변화로 같은 구별을 연습합니다.

A hypothetical exercise gives a mean estimate of 10. Another sample might give 9.7 or 10.4. One estimate summarizes this sample but does not alone describe repeated-sample uncertainty.

We will construct endpoints L(X), U(X) from data. The central question is how often the procedure contains its target under repeated samples from a stated model.

A confidence interval for a population mean differs from a prediction interval for one new observation. Not knowing a class’s average height differs from not knowing the next student’s height. Actual cases use housing indices, log wages and store employment changes.

기초Foundations

2. 관측의 표준편차와 평균의 표준오차를 다시 나눈다2. Separate observation SD from the mean’s SE

iid 평균 μ와 분산 σ²에서 한 관측의 표준편차는 σ, n개 평균의 표준오차는 σ/√n입니다. 둘 다 원측정 단위를 가지지만 대상이 다릅니다.

SD⁡(Xi)=σSE⁡(X‾n)=σn\begin{gathered}\operatorname{SD}(X_i)=\sigma\\\operatorname{SE}(\overline X_n)=\frac{\sigma}{\sqrt n}\end{gathered}

가상 질량 모형에서 σ=20g, n=25라면 개별 질량의 표준편차는 20g, 평균의 표준오차는 4g입니다. 평균이 안정된다고 각 관측의 차이도 4g로 줄어드는 것은 아닙니다.

σ를 모를 때 s/√n은 추정된 표준오차입니다. s 자체가 자료마다 바뀐다는 불확실성이 더해집니다. 알려진 σ와 관측으로 추정한 s를 같은 입력이라고 조용히 바꾸지 않습니다.

For iid mean μ and variance σ², an observation has SD σ while an n-observation mean has SE σ/√n. Units agree, but the objects differ.

SD⁡(Xi)=σSE⁡(X‾n)=σn\begin{gathered}\operatorname{SD}(X_i)=\sigma\\\operatorname{SE}(\overline X_n)=\frac{\sigma}{\sqrt n}\end{gathered}

In a hypothetical mass model with σ=20 g, n=25, the observation SD is 20 g and mean SE 4 g. Stable averages do not shrink individual variation to 4 g.

When σ is unknown, s/√n estimates the SE. The estimated s varies across samples. Do not silently replace known σ with estimated s while claiming the same exact procedure.

기초Foundations

3. 관측 전에는 구간도 무작위다3. Before observation, the interval is random

모수 μ는 빈도주의 모형에서 고정된 미지 값입니다. 표본 X가 바뀌면 평균도 바뀌고 구간의 양 끝도 바뀝니다. 관측 전의 신뢰구간 C(X)는 집합값을 내는 통계량입니다.

C(X)=[L(X),U(X)]Pμ{μ∈C(X)}≥1−α\begin{gathered}C(X)=[L(X),U(X)]\\P_\mu\{\mu\in C(X)\}\ge1-\alpha\end{gathered}

명목 수준 1−α의 절차가 모형의 모든 μ에서 이 포함률을 보장하면 해당 신뢰수준의 절차라고 합니다. 어떤 연속 정규모형에서는 정확히 같고, 이산 비율에서는 더 클 수 있습니다.

확률을 부여하는 것은 정한 법칙 아래의 표본과 구간입니다. 구간의 너비·중심이 무작위인 것과 모수가 확률변수라는 주장은 다릅니다. 사전분포를 두는 Bayesian 모형은 뒤에서 별도로 구분합니다.

In a frequentist model, μ is fixed but unknown. Changing the sample changes the mean and interval endpoints. Before observation, C(X) is a set-valued statistic.

C(X)=[L(X),U(X)]Pμ{μ∈C(X)}≥1−α\begin{gathered}C(X)=[L(X),U(X)]\\P_\mu\{\mu\in C(X)\}\ge1-\alpha\end{gathered}

A procedure of nominal level 1−α guarantees this coverage across the specified parameter family. Equality holds for some continuous normal procedures; discrete procedures can be conservative.

The sampling probability concerns data and their intervals. Random endpoints do not by themselves make the parameter random. A Bayesian prior defines a different probability statement.

기초Foundations

4. 계산된 95% 구간을 사후확률로 읽지 않는다4. Do not read a realized95% confidence interval as a posterior probability

이번 자료에서 [9.2,10.8]을 얻었다고 합시다. 모평균 μ는 그 구간 안에 있거나 밖에 있습니다. 이 계산만으로 P(9.2≤μ≤10.8)=.95라는 모수의 사후확률을 새로 만든 것은 아닙니다.

올바른 표현은 ‘정한 조건에서 반복하면 적어도 95% 포함률을 갖는 절차를 적용해 이 구간을 얻었다’입니다. 한 번의 구간이 실제로 성공했는지는 μ를 모르므로 알 수 없을 수 있습니다.

그렇다고 구간이 쓸모없다는 뜻은 아닙니다. 어떤 절차를 신뢰할 근거인지 정확히 말하자는 뜻입니다. 원자료의 대표성이나 정규 가정이 틀리면 명목 95라는 숫자만으로 실제 포함률이 보장되지 않는다는 조건도 함께 보고합니다.

Suppose this sample yields[9.2, 10.8]. The fixed μ is either inside or outside. The calculation alone does not establish posterior probability P(9.2≤μ≤10.8)=.95.

Say that the interval was produced by a procedure with at least 95% coverage under stated conditions. Whether this particular interval succeeded may remain unknown.

This does not make intervals useless. It states the basis for trusting the procedure. A nominal 95% label alone does not repair unrepresentative sampling or an invalid distributional assumption.

기초Foundations

5. 좁은 구간과 높은 포함률은 함께 비교한다5. Compare width and coverage together

모든 가능한 값을 포함하는 실수 전체 구간은 항상 μ를 포함합니다. 하지만 거의 아무것도 좁혀 주지 않습니다. 반대로 추정값 한 점만 내놓으면 폭은 0이지만 연속 모형에서 μ를 정확히 맞힐 확률은 0일 수 있습니다.

좋은 구간을 비교하려면 같은 표적·모형·신뢰수준에서 실제 포함률과 너비를 함께 보아야 합니다. 표적을 자주 놓치는 좁은 구간을 정밀하다고만 칭찬하지 않습니다.

너비도 자료에 따라 달라질 수 있습니다. 표본표준편차 s를 쓰는 t구간은 표본마다 너비가 달라집니다. 같은 명목 수준의 구간들 사이에서 ‘가장 짧다’는 주장에는 비교 클래스와 기준을 더 밝혀야 합니다.

The entire real line covers every possible μ but narrows nothing. A single estimated point has zero width yet may hit a continuous-model parameter with probability zero.

Compare actual coverage and width for the same target, model and nominal level. A narrow interval that frequently misses is not simply a more precise procedure.

Width can vary with data. A t interval uses random s. Claims of shortest intervals require a specified class and length criterion.

기초Foundations

6. 알려진 σ의 정규 평균에서 구간을 뒤집어 유도한다6. Derive a mean interval by inverting a known-SD normal pivot

X_i가 iid N(μ, σ²), σ>0이고 σ를 안다고 합시다. 평균은 정확히 N(μ, σ²/n)입니다. 따라서 Z=(X̄−μ)/(σ/√n)는 미지 μ와 무관하게 N(0,1)을 가집니다.

z=z1−α/2,h=zσ/nP ⁣(−z≤X‾−μσ/n≤z)=1−αP(X‾−h≤μ≤X‾+h)=1−α\begin{gathered}z=z_{1-\alpha/2},\quad h=z\sigma/\sqrt n\\P\!\left(-z\le\frac{\overline X-\mu}{\sigma/\sqrt n}\le z\right)\\=1-\alpha\\P(\overline X-h\le\mu\le\overline X+h)\\=1-\alpha\end{gathered}

여기서 z는 표준정규 양쪽 꼬리에 α/2씩 남기는 양의 수입니다. σ/√n이 양수여서 부등식에 곱해도 방향이 바뀌지 않습니다. μ를 가운데로 정리한 대수 과정이 신뢰구간을 만듭니다.

분포가 미지 모수에 의존하지 않는 이런 표준화량을 피벗이라고 부릅니다. 원분포가 정규가 아니면 같은 구간을 CLT 근사로 쓸 여지가 있어도 이 유한 표본의 정확한 정규 증명과는 구별해야 합니다.

Assume iid N(μ, σ²), known σ>0. The average is exactly N(μ, σ²/n), so Z=(X̄−μ)/(σ/√n) has a standard-normal law independent of unknown μ.

z=z1−α/2,h=zσ/nP ⁣(−z≤X‾−μσ/n≤z)=1−αP(X‾−h≤μ≤X‾+h)=1−α\begin{gathered}z=z_{1-\alpha/2},\quad h=z\sigma/\sqrt n\\P\!\left(-z\le\frac{\overline X-\mu}{\sigma/\sqrt n}\le z\right)\\=1-\alpha\\P(\overline X-h\le\mu\le\overline X+h)\\=1-\alpha\end{gathered}

The positive z leaves α/2 in each tail. A positive scale preserves inequality directions. Rearranging the event produces the interval.

A quantity whose distribution does not depend on the unknown parameter is a pivot. A nonnormal source may support an asymptotic approximation, but not this exact finite-sample normal proof.

기초Foundations

7. 분위수와 오른쪽 꼬리 임계값의 표기를 구별한다7. Distinguish a quantile from an upper-tail critical value

이 교재에서 z_{1−α/2}는 Φ(z)=1−α/2를 만족하는 분위수입니다. 같은 양의 수를 어떤 교재는 오른쪽 꼬리확률 α/2를 아래첨자로 써 z_{α/2}라고 부릅니다. 아래첨자만 보고 음수를 골라서는 안 됩니다.

Φ(z1−α/2)=1−α/2P(Z>z1−α/2)=α/2\begin{gathered}\Phi(z_{1-\alpha/2})=1-\alpha/2\\P(Z>z_{1-\alpha/2})=\alpha/2\end{gathered}

95%이면 α=.05, 한쪽 꼬리는 .025이며 양의 분위수는 약 1.95996398454입니다. 1.96은 반올림,2는 더 거친 기억값입니다. 90%와 99%의 값은 약 1.644854,2.575829입니다.

구간 끝점 계산에는 수치근사가 들어갑니다. 모형 아래의 확률 항등식과 구현이 출력한 유한 자릿수는 같은 층위가 아닙니다. 실습은 임계값을 근사라고 표시합니다.

Here z_{1−α/2} denotes the quantile satisfying Φ(z)=1−α/2. Some books label the same positive critical value by its right-tail probability α/2. Read the definition, not the subscript alone.

Φ(z1−α/2)=1−α/2P(Z>z1−α/2)=α/2\begin{gathered}\Phi(z_{1-\alpha/2})=1-\alpha/2\\P(Z>z_{1-\alpha/2})=\alpha/2\end{gathered}

For 95%, each tail is .025 and z≈1.95996398454. The values 1.96 and two are rounded approximations. The 90% and 99% values are about 1.644854 and 2.575829.

Separate the mathematical coverage identity from finite-digit numerical endpoints. The labs label critical values as approximate.

기초Foundations

8. 알려진 σ=2, n=25를 손으로 계산한다8. Work through known σ=2 and n=25 by hand

가상 iid 정규 모형에서 σ=2, n=25이고 관측평균이 10입니다. 평균 표준오차는 2/5=.4입니다. 95% 구간의 반너비는 약 1.959964×.4=.7839856입니다.

SE⁡=.4,half-width≈.7839856,C(x)≈[9.2160144, 10.7839856].\begin{gathered} \operatorname{SE}=.4,\\ \text{half-width}\approx .7839856,\\ C(x)\approx[9.2160144,\ 10.7839856]. \end{gathered}

계산 순서는 σ→표준오차→임계값 곱→평균의 양옆입니다. σ=2 자체를 그대로 곱하면 평균의 불확실성을 개별 관측의 변동과 섞게 됩니다.

이 구간은 모평균 μ가 표적입니다. 새 관측 하나가 이 좁은 구간에 95% 확률로 들어온다고 말하지 않습니다. 새 관측의 변동은 뒤의 예측구간에서 따로 더합니다.

In a hypothetical iid normal model, known σ=2, n=25 and observed mean 10. The mean SE is .4. A 95% interval has half-width about 1.959964×.4=.7839856.

SE⁡=.4,half-width≈.7839856,C(x)≈[9.2160144, 10.7839856].\begin{gathered} \operatorname{SE}=.4,\\ \text{half-width}\approx .7839856,\\ C(x)\approx[9.2160144,\ 10.7839856]. \end{gathered}

Calculate SD, then SE, then critical times SE, then endpoints. Multiplying by the original SD would mix mean uncertainty with observation variation.

The target is μ. A 95% mean interval is not a 95% interval for one new observation; prediction adds that extra variation later.

기초Foundations

9. z구간 실습: 평균·표본 크기·알려진 σ를 바꾼다9. z-interval lab: change the mean, sample size and known SD

평균 10, 알려진 σ=2, n=25, 수준 .95에서 앞 계산을 재현하세요. n을 100으로 바꾸면 표준오차와 반너비가 절반이 되는지 확인합니다. 평균을 옮기는 것은 중심을 이동시키며 다른 입력을 고정한 너비는 바꾸지 않습니다.

σ=0은 원법칙이 상수라는 별도 퇴화 모형입니다. 이 실습의 양의 분산 피벗은 미정의로 표시합니다. 관측표준편차가 0인 것을 모표준편차를 이미 안다는 주장으로 바꾸지 않습니다.

아주 작은 양의 너비가 화면 반올림 때문에 같은 끝점으로 보일 수 있습니다. 이 경우 양의 계산 폭과 표시의 붕괴를 구별합니다. 숫자 표시가 같다고 수학적 불확실성도 정확히 0이라고 판정하지 않습니다.

Reproduce mean 10, known σ=2, n=25, level .95. Changing n to 100 halves the SE and half-width. Moving the mean shifts the center without changing width when other inputs stay fixed.

Known σ=0 describes a separate constant-law case; the lab’s positive-variance pivot is undefined there. Zero observed sample spread does not establish known zero population SD.

An extremely small positive width can disappear in rounded endpoint display. Distinguish a positive computed width from numerical endpoint collapse.

기초Foundations

10. 표본 수·신뢰수준·척도가 너비를 바꾸는 방식10. How sample size, confidence and scale affect width

알려진 σ의 z구간 반너비는 zσ/√n입니다. 같은 수준에서 n을 4배로 하면 절반이 됩니다. n을 두 배로 한다고 절반이 되는 것은 아닙니다.

같은 n, σ에서 신뢰수준을 90%에서 99%로 높이면 더 큰 z가 필요해 구간이 넓어집니다. 더 높은 포함 보장을 원하면서 같은 데이터에서 무조건 더 좁아지길 기대할 수는 없습니다.

w=z1−α/2σnw≤d ⟺ n≥(z1−α/2σd)2\begin{gathered}w=z_{1-\alpha/2}\frac{\sigma}{\sqrt n}\\w\le d\ \Longleftrightarrow\ n\ge\left(\frac{z_{1-\alpha/2}\sigma}{d}\right)^2\end{gathered}

목표 반너비 d>0를 정하면 충분한 n을 위 식으로 설계하고 정수로 올림합니다. 이는 σ를 알려진 값으로 고정한 설계입니다. 실제 σ가 다르거나 표집 의존성이 있으면 계획을 다시 봅니다.

The known-SD z half-width is zσ/√n. Quadrupling n halves it; doubling n does not.

At fixed n and σ, a 99% interval is wider than a 90% interval. More coverage generally costs width under the same procedure.

w=z1−α/2σnw≤d ⟺ n≥(z1−α/2σd)2\begin{gathered}w=z_{1-\alpha/2}\frac{\sigma}{\sqrt n}\\w\le d\ \Longleftrightarrow\ n\ge\left(\frac{z_{1-\alpha/2}\sigma}{d}\right)^2\end{gathered}

Round the sufficient size upward for a positive target half-width d. This plan fixes known σ. Different spread or dependence requires reconsidering the design.

기초Foundations

11. σ를 s로 바꾸면 분모도 표본마다 움직인다11. Replacingσ by s makes the denominator random

대부분의 실제 자료에서는 모표준편차 σ를 모릅니다. n≥2에서 s²=Σ(X_i−X̄)²/(n−1)을 계산합니다. 앞 장에서 s²의 불편성을 배웠지만, s나 s가 들어간 비율이 정규분포라는 뜻은 아닙니다.

T=X‾−μs/ns2=1n−1∑i(Xi−X‾)2\begin{gathered}T=\frac{\overline X-\mu}{s/\sqrt n}\\s^2=\frac1{n-1}\sum_i(X_i-\overline X)^2\end{gathered}

같은 평균 오차라도 이번 s가 작으면 비율은 커지고 s가 크면 작아집니다. 분모 추정의 불확실성을 반영해야 합니다. iid 정규모형에서는 그 정확한 분포가 자유도 n−1의 Student t입니다.

n=1은 s²의 분모가 0입니다. n≥2여도 관측 s=0인 표본에서는 이 비율을 유한한 값으로 만들 수 없습니다. 실습은 이를 별도로 표시하며 0을 임의로 넣어 정규표를 읽지 않습니다.

Usually population σ is unknown. For n≥2, estimate variance by s²=Σ(X_i−X̄)²/(n−1). Unbiasedness of s² does not make a ratio using s standard normal.

T=X‾−μs/ns2=1n−1∑i(Xi−X‾)2\begin{gathered}T=\frac{\overline X-\mu}{s/\sqrt n}\\s^2=\frac1{n-1}\sum_i(X_i-\overline X)^2\end{gathered}

The same mean error gives a larger ratio with a smaller s. Under iid normal sampling, the exact ratio law is Student t with n−1 degrees of freedom.

At n=1, the variance formula is undefined. Even for n≥2, observed s=0 makes this positive-spread ratio undefined. Do not silently fill it with zero.

대학원 연결Graduate bridge

12. 정규 평균과 잔차 제곱합에서 t분포를 만든다12. Build a t variable from the normal mean and residual sum of squares

선택 심화입니다. n≥2인 iid N(μ, σ²), σ>0 표본에서 Z=√n(X̄−μ)/σ는 표준정규이고 Q=(n−1)s²/σ²는 자유도 n−1의 χ²분포를 가집니다. 또한 Z와 Q는 독립입니다.

T=ZQ/ν∼tνν=n−1\begin{gathered}T=\frac{Z}{\sqrt{Q/\nu}}\sim t_\nu\\\nu=n-1\end{gathered}

정규 표본벡터를 평균 방향과 그에 직교한 잔차 방향으로 나누면 이 결과를 이해할 수 있습니다. 잔차 방향은 n−1차원이며 서로 독립인 표준정규 좌표의 제곱합이 χ²입니다. 정규벡터의 직교 성분 독립성이 핵심입니다.

이 벡터 분해의 일반 정리는 선택 해석학·선형대수 연결입니다. 일반 비정규 원자료에서 평균과 표본분산이 독립이라고 자동으로 쓰면 안 됩니다. ‘상관이 작아 보인다’는 관찰만으로 이 정확한 t증명을 대체하지 않습니다.

Optional theory: for an iid N(μ, σ²) sample with n≥2 and σ>0, Z=√n(X̄−μ)/σ is standard normal and Q=(n−1) s²/σ² isχ² with n−1 degrees of freedom. Moreover, Z and Q are independent.

T=ZQ/ν∼tνν=n−1\begin{gathered}T=\frac{Z}{\sqrt{Q/\nu}}\sim t_\nu\\\nu=n-1\end{gathered}

Decompose the normal sample vector into its mean direction and orthogonal residual directions. The residual space has n−1 dimensions, and squared independent standard-normal coordinates sum toχ². Orthogonal normal components are independent.

The general vector decomposition is an optional linear-algebra bridge. Mean and sample variance are not automatically independent for a nonnormal source; small observed correlation cannot replace the exact argument.

기초Foundations

13. 작은 자유도의 t는 꼬리가 두껍다13. A t law with few degrees of freedom has heavier tails

분모 Q/ν가 작은 값이 될 수 있어 t비율에는 큰 절대값이 더 자주 나옵니다. 같은 양쪽 꼬리 .025를 남기는 95% 임계값은 자유도 1에서 약 12.7062,3에서 3.18245,24에서 2.06390입니다. 표준정규의 약 1.95996보다 큽니다.

자유도가 커지면 Q/ν가 1에 가까워져 t분포가 표준정규에 접근합니다. 그러나 ‘30이면 무조건 정규’라는 문턱 정리는 아닙니다. 꼬리 수준·원자료 조건·필요한 정확도에 따라 차이가 남습니다.

자유도 1의 t는 Cauchy여서 평균이 존재하지 않지만 분위수와 확률구간은 정의됩니다. 평균 존재와 임계값 계산 가능성은 서로 다른 질문입니다. n=2인 정규 평균구간의 t₁을 이 이유로 금지할 필요는 없습니다.

A small random denominator can create larger absolute t values. Two-sided 95% critical values are about 12.7062 at df 1, 3.18245 at df 3, and 2.06390 at df 24, above the standard-normal 1.95996.

As df grows, Q/ν concentrates near one and the t law approaches normality. There is no universal rule that 30 makes every tail difference irrelevant.

The df 1 t law is Cauchy and has no mean, but its quantiles exist. Moment existence and quantile calculation are different. This does not invalidate the t₁ procedure for two normal observations.

기초Foundations

14. t피벗을 뒤집으면 평균의 t신뢰구간이다14. Invert the t pivot to obtain a mean confidence interval

iid 정규모형에서 s>0인 표본을 보았다고 합시다. t_{1−α/2, n−1}을 왼쪽 누적확률 1−α/2의 양의 분위수로 씁니다. 양의 s/√n을 곱하고 μ를 정리합니다.

t=t1−α/2,n−1h=tsnC(X)=[X‾−h, X‾+h]\begin{gathered}t=t_{1-\alpha/2,n-1}\\h=t\frac{s}{\sqrt n}\\C(X)=[\overline X-h,\ \overline X+h]\end{gathered}

정규 독립 표본과 양의 모분산 아래 명목 포함률은 정확히 1−α입니다. 이 연속 모형에서는 s=0인 사건의 확률이 0이며, 그 영사건 위의 절차 정의를 별도로 정해도 일반 포함률을 바꾸지 않습니다.

실제 반올림 자료의 모든 값이 같으면 s=0이 관측될 수 있습니다. 이를 근거로 모평균을 완전히 알았다고 쓰지 않습니다. 작업 모형·측정 해상도와 맞는 다른 처리가 필요한 경계라고 표시합니다.

Under iid normal sampling, consider an observed sample with s>0. Let t_{1−α/2, n−1} be the positive left-CDF quantile. Multiply by positive s/√n and rearrange for μ.

t=t1−α/2,n−1h=tsnC(X)=[X‾−h, X‾+h]\begin{gathered}t=t_{1-\alpha/2,n-1}\\h=t\frac{s}{\sqrt n}\\C(X)=[\overline X-h,\ \overline X+h]\end{gathered}

The ideal independent normal model with positive population variance gives exact coverage 1−α. There, s=0 is a probability-zero event; defining the procedure separately on it does not alter overall coverage.

Rounded actual records can all coincide. Observed zero spread does not prove complete knowledge of the mean; flag a model/resolution boundary rather than asserting certainty.

기초Foundations

15. 네 값 4,1,2,3으로 t구간을 계산한다15. Calculate a t interval from four values 4, 1, 2, 3

가상 iid 정규 표본 (4,1,2,3)의 평균은 2.5입니다. 평균 주위 제곱편차 합은 2.25+2.25+.25+.25=5여서 s²=5/3, 표준오차 √(5/12)≈.645497입니다.

x‾=2.5,s2=5/3,ν=3t.975,3≈3.182446half-width=t.975,35/12≈2.05426C(x)≈[.44574, 4.55426]\begin{gathered}\overline x=2.5,\quad s^2=5/3,\quad\nu=3\\t_{.975,3}\approx3.182446\\\text{half-width}=t_{.975,3}\sqrt{5/12}\\\approx2.05426\\C(x)\approx[.44574,\ 4.55426]\end{gathered}

같은 s를 이미 아는 σ라고 잘못 간주해 1.96을 쓰면 더 좁은 구간을 얻습니다. 숫자 s를 계산했다는 사실은 σ를 사전에 정확히 알고 있었다는 사실과 다릅니다.

관측값 중 일부가 구간 바깥에 있는지로 평균 신뢰구간의 성패를 판정하지 않습니다. 목표는 네 표본값 자체나 다음 값이 아니라 정한 원법칙의 μ입니다.

A hypothetical iid normal sample (4, 1, 2, 3) has mean 2.5 and centered squared sum five. Thus s²=5/3 and SE√(5/12)≈.645497.

x‾=2.5,s2=5/3,ν=3t.975,3≈3.182446half-width=t.975,35/12≈2.05426C(x)≈[.44574, 4.55426]\begin{gathered}\overline x=2.5,\quad s^2=5/3,\quad\nu=3\\t_{.975,3}\approx3.182446\\\text{half-width}=t_{.975,3}\sqrt{5/12}\\\approx2.05426\\C(x)\approx[.44574,\ 4.55426]\end{gathered}

Using 1.96 as if s were a known population σ would give a narrower interval under a different information assumption.

Do not judge mean-interval coverage by whether sample observations lie inside. Its target is the source-law μ, not those observations or one future value.

기초Foundations

16. t구간 실습: 자유도와 추정된 표준오차를 읽는다16. t-interval lab: read degrees of freedom and estimated SE

기본 평균 10, s=2, n=25, 수준 .95에서 자유도 24, 임계값 약 2.06390, 반너비 약 .825559를 확인합니다. z실습과 같은 숫자 2를 입력해도 그 뜻이 알려진 σ인지 표본 s인지 다릅니다.

n을 2로 줄이면 자유도 1의 큰 임계값이 나옵니다. s를 두 배로 하면 같은 n·수준에서 너비도 두 배입니다. s=0이나 n=1에서는 양의 표준오차 t피벗의 경계 안내를 읽으세요.

이 계산기에 자료 요약을 넣었다고 원자료가 iid 정규임이 검증되는 것은 아닙니다. 실습은 그 모형을 가정했을 때의 계산과 조건을 함께 보여 줍니다.

At mean 10, s=2, n=25, level .95, inspect df 24, critical about 2.06390 and half-width .825559. The same number two means known σ in the z lab but estimated s here.

At n=2, the df 1 critical is much larger. Doubling s doubles width at fixed n and level. Read the boundary explanation for s=0 or n=1.

Entering summary statistics does not validate iid normal sampling. The calculator shows a conditional calculation and its assumptions.

기초Foundations

17. 비정규 자료의 t구간은 조건을 갖춘 근사로 읽는다17. For nonnormal data, read a t interval as a qualified approximation

iid이고 0<σ²<∞이면 앞 장의 CLT와 s_n의 일치성으로 √n(X̄−μ)/s_n은 점근적으로 표준정규에 가까워집니다. 큰 자유도의 t임계값도 정규임계값에 접근합니다. 이런 근거로 비정규 자료에 t형 작업구간을 쓸 수 있습니다.

그러나 유한 n의 정확 t법칙이 생긴 것은 아닙니다. 매우 비대칭이거나 큰 꼬리가 있는 법칙, 강한 의존성, 서로 다른 추출 확률, 표집 누락은 별도로 검토해야 합니다. 표본 크기가 30이나 100이라는 숫자만으로 모든 조건을 대신할 수 없습니다.

특히 새 한 관측의 예측구간에는 표본평균 CLT가 원관측의 모양을 정규로 바꾸어 주지 않습니다. 큰 n으로 평균은 정규근사에 가까워져도 원래 개인값의 꼬리는 남을 수 있습니다. 평균구간과 개별 예측의 조건을 따로 읽는 이유입니다.

Under iid positive finite variance, the CLT and consistent s_n make √n(X̄−μ)/s_n asymptotically standard normal. Large-df t critical values also approach normal criticals. This can support a working t-style mean interval.

It does not create an exact finite-sample t law. Skewness, heavy tails, dependence, unequal sampling and missing coverage need separate attention. A sample-size label such as 30 or 100 cannot replace these conditions.

The CLT for a mean does not normalize one new observation. Even with large n, individual tails can remain nonnormal. Mean inference and individual prediction therefore require distinct checks.

기초Foundations

18. 모평균과 새 한 관측은 다른 표적이다18. The population mean and one new observation are different targets

평균을 정확히 알아도 다음 개인의 값은 서로 다를 수 있습니다. 모평균 μ에 대한 불확실성은 많은 표본으로 줄일 수 있지만, 새 관측 Y_new의 개인별 변동 σ²는 원법칙의 일부입니다.

예측구간은 아직 보지 않은 새 결과를 포함하도록 자료로 만드는 구간입니다. 평균 신뢰구간을 그대로 새 개인에게 쓰면 필요한 변동을 빠뜨려 너무 좁을 수 있습니다.

‘다음’이라는 시간 표현만으로 독립성이 생기지는 않습니다. 시간적으로 상관된 다음 분기, 같은 점포의 반복 결과는 추가 구조가 있을 수 있습니다. 이 장의 기본 예측 공식은 훈련 표본과 독립이며 같은 법칙인 새 관측을 가정합니다.

Even a perfectly known mean does not determine the next individual value. More training data can reduce uncertainty about μ, but new-outcome variation σ² remains part of the source law.

A prediction interval targets an unseen outcome. Reusing a mean confidence interval can omit that variation and be too narrow.

Calling an outcome “next” does not establish independence. A future quarter or repeated store outcome can have additional dependence. The basic formula here assumes an independent new observation from the same law.

기초Foundations

19. 알려진 σ의 예측오차에는 두 분산이 더해진다19. Known-SD prediction error adds two variances

훈련값 X₁,…, X_n은 iid N(μ, σ²), σ>0이고, 같은 법칙의 Y_new가 훈련 표본 전체와 독립이라고 합시다. Y_new−X̄의 평균은 0입니다. 독립이므로 두 분산을 더합니다.

Var⁡(Ynew−X‾)=σ2+σ2n=σ2(1+1/n),Ynew−X‾σ1+1/n∼N(0,1).\begin{gathered} \operatorname{Var}(Y_{\rm new}-\overline X) =\sigma^2+\frac{\sigma^2}{n}\\ =\sigma^2(1+1/n),\\ \frac{Y_{\rm new}-\overline X}{\sigma\sqrt{1+1/n}} \sim N(0,1). \end{gathered}

따라서 새 한 관측의 z예측구간은 X̄±zσ√(1+1/n)입니다. 평균구간의 σ/√n보다 큰 척도이며 새 관측의 변동을 포함합니다.

Y_new와 X̄가 상관되면 공분산 항 −2Cov(Y_new, X̄)가 생깁니다. 같은 자료를 재사용하거나 시계열의 다음 값을 예측할 때 이 항을 자동으로 0이라고 두지 않습니다.

Let training X₁,…, X_n be iid N(μ, σ²), σ>0, and let Y_new follow the same law independently of the entire training sample. Their difference Y_new−X̄ has mean zero. Independence adds the two variances.

Var⁡(Ynew−X‾)=σ2(1+1/n),Ynew−X‾σ1+1/n∼N(0,1).\begin{gathered} \operatorname{Var}(Y_{\rm new}-\overline X) =\sigma^2(1+1/n),\\ \frac{Y_{\rm new}-\overline X}{\sigma\sqrt{1+1/n}} \sim N(0,1). \end{gathered}

The resulting interval is X̄±zσ√(1+1/n). Its scale exceeds the mean SE because it includes new-outcome variation.

Dependence introduces−2Cov(Y_new, X̄). Do not silently remove it when reusing data or predicting a dependent time-series future.

기초Foundations

20. 추정한 s를 쓰는 정규 예측구간의 t피벗20. The t pivot for normal prediction with estimated SD

iid 정규 훈련 표본과 독립인 새 정규 관측에서는 Y_new−X̄도 정규입니다. 훈련 표본의 잔차 제곱합은 훈련 평균과 독립이고 새 관측과도 독립이므로 이 차이와 독립입니다.

Ynew−X‾s1+1/n∼tn−1PI⁡(X)=X‾ ± t1−α/2,n−1s1+1/n\begin{gathered}\frac{Y_{\rm new}-\overline X}{s\sqrt{1+1/n}}\sim t_{n-1}\\\operatorname{PI}(X)\\=\overline X\ \pm\ t_{1-\alpha/2,n-1}s\sqrt{1+1/n}\end{gathered}

조건은 n≥2, 양의 모분산, 같은 정규법칙과 독립 새 결과입니다. s>0인 표본에서 계산하며 이상적 연속 모형의 s=0 영사건은 별도로 처리합니다.

명목 예측 포함률은 훈련 표본과 새 관측을 함께 반복하는 확률입니다. 이번 훈련 자료에 조건부로 고정했을 때도 모든 경우에 정확히 95%라는 다른 주장을 자동으로 얻은 것은 아닙니다.

With normal training data and an independent new normal outcome, the difference is normal. The training residual sum of squares is independent of both the training mean and the new outcome, hence independent of their difference.

Ynew−X‾s1+1/n∼tn−1PI⁡(X)=X‾ ± t1−α/2,n−1s1+1/n\begin{gathered}\frac{Y_{\rm new}-\overline X}{s\sqrt{1+1/n}}\sim t_{n-1}\\\operatorname{PI}(X)\\=\overline X\ \pm\ t_{1-\alpha/2,n-1}s\sqrt{1+1/n}\end{gathered}

Require n≥2, positive population variance, the same normal law and independent future data. Compute on s>0 and handle the ideal model’s null zero-spread event separately.

Nominal prediction coverage repeats both training data and the future observation. It does not automatically assert exactly 95% conditional coverage for every realized training set.

기초Foundations

21. 표본 수를 늘려도 새 관측의 폭은 남는다21. New-outcome width remains as training size grows

같은 모형과 같은 임계값에서 새 한 관측 PI 반너비와 평균 CI 반너비의 비는 √(n+1)입니다. n=25이면 √26≈5.099입니다. 같은 표본으로 두 표적을 계산하면 폭이 크게 다른 것이 정상입니다.

s1+1/ns/n=n+1\frac{s\sqrt{1+1/n}}{s/\sqrt n}=\sqrt{n+1}

알려진 σ에서 n→∞이면 평균 CI 반너비는 0으로 가지만 새 한 관측 PI 반너비는 zσ로 갑니다. σ를 추정하는 정규모형에서도 s→σ와 t임계값의 수렴으로 같은 극한 구조가 나타납니다.

따라서 개인 예측오차를 평균 추정의 √n만으로 계속 줄일 수 없습니다. 원자료의 변동을 설명하는 유용한 특징이나 다른 예측 모형이 있을 수 있지만, 그 경우 조건부 표적과 검증 절차를 새로 정해야 합니다.

With the same sample and critical value, the one-outcome PI to mean-CI half-width ratio is√(n+1), about 5.099 at n=25. Different targets naturally give different widths.

s1+1/ns/n=n+1\frac{s\sqrt{1+1/n}}{s/\sqrt n}=\sqrt{n+1}

For known σ, mean-CI half-width tends to zero while a one-outcome PI tends to zσ. Estimated-SD normal procedures have the same limiting structure as s and t criticals converge.

Increasing n alone cannot remove individual source variation. Feature-based conditional prediction is another problem requiring an appropriate target and validation.

기초Foundations

22. 새 m개 평균의 예측과 새 m개 전부의 포함은 다르다22. Predicting a future mean differs from covering every future value

n≥2인 iid N(μ, σ²), σ>0 훈련 표본과, 같은 법칙의 iid 미래 표본 m≥1개를 생각합시다. 두 표본 전체는 서로 독립입니다. 미래 평균 Ȳ_new 자체의 분산은 σ²/m입니다. 훈련 평균의 분산을 더하면 예측오차 분산은 σ²(1/n+1/m)입니다.

PI⁡future mean=X‾ ± t1−α/2,n−1s1n+1m\begin{gathered}\operatorname{PI}_{\text{future mean}}\\=\overline X\ \pm\ t_{1-\alpha/2,n-1}s\sqrt{\frac1n+\frac1m}\end{gathered}

m=1이 앞 공식입니다. n이 고정된 채 m→∞이면 미래 평균의 흔들림은 줄지만 훈련 평균의 불확실성은 남습니다. n만 커지고 m이 고정되어도 미래 평균의 변동 σ²/m은 남습니다.

이 구간이 새 m개 값을 모두 포함한다는 뜻은 아닙니다. 여러 새 값의 동시 포함은 다른 사건이며 다중 예측이나 동시 보장 문제가 됩니다. ‘평균’이라는 표적 단어를 빼먹지 않습니다.

Take an iid N(μ, σ²) training sample with n≥2 and σ>0, and an iid future sample of size m≥1 from the same law. The entire future sample is independent of the training sample. Its mean has variance σ²/m. Add training-mean variance to get prediction-error variance σ²(1/n+1/m).

PI⁡future mean=X‾ ± t1−α/2,n−1s1n+1m\begin{gathered}\operatorname{PI}_{\text{future mean}}\\=\overline X\ \pm\ t_{1-\alpha/2,n-1}s\sqrt{\frac1n+\frac1m}\end{gathered}

The previous formula has m=1. Increasing only m leaves training uncertainty; increasing only n leaves the variation of the finite future mean.

This does not cover all m individual values simultaneously. That is a different event and requires a different simultaneous guarantee.

기초Foundations

23. 예측 실습: 평균 CI와 새 관측 PI를 나란히 본다23. Prediction lab: compare mean CI with a future-outcome PI

평균 10, 척도 2, n=25, 수준 .95를 넣고 알려진 σ의 z모형과 추정 s의 t모형을 구별해 선택합니다. 같은 중심에서 평균 CI와 새 한 관측 PI의 폭을 비교하세요.

새 관측 수 m을 늘리면 표적은 새 m개의 평균으로 바뀝니다. 출력의 표적 설명을 읽고, 여러 개 전부가 구간 안에 든다는 뜻으로 바꾸지 않습니다. m=1로 돌아오면 앞의 √(n+1) 폭 비율을 확인할 수 있습니다.

입력 숫자가 같아도 알려진 모표준편차와 관측 표본표준편차는 다른 가정입니다. 미래가 훈련과 다른 환경이거나 의존되어 있다면 화면의 정규 공식만으로 명목 보장을 얻지 못합니다.

Use mean 10, spread 2, n=25, level .95. Distinguish known-SD z and estimated-SD t models, then compare the mean CI with a one-new-outcome PI.

Increasing future count m changes the target to a future mean. Read the target label rather than interpreting simultaneous coverage of every value. At m=1, check the √(n+1) width ratio.

Equal input numbers can represent different information assumptions. Distribution shift or future dependence is not repaired by the displayed normal formula.

기초Foundations

24. 허용구간·Bayesian 구간과도 구별한다24. Distinguish tolerance and Bayesian intervals too

예측구간은 정한 새 결과를 포함하는 사건을 다룹니다. 허용구간은 모집단 분포의 일정 비율 이상을 포함한다는 명제 자체에 신뢰수준을 붙이는 다른 절차입니다. 예를 들어 ‘95% 신뢰로 모집단의 90% 이상을 덮는다’에는 두 수준이 있습니다.

Bayesian 신용구간은 사전분포와 가능도로 만든 사후분포에서 모수가 구간에 속할 확률을 정합니다. 같은 숫자의 구간이 우연히 나와도 빈도주의 반복 포함률과 사후확률의 정의가 같아지는 것은 아닙니다.

어느 구간을 쓰든 표적·조건·수준의 의미를 밝혀야 합니다. 이 장의 실습은 빈도주의 평균 CI와 예측 PI, 이항비율 CI에 집중하며 모든 종류를 같은 ‘오차범위’로 부르지 않습니다.

A prediction interval concerns specified future outcomes. A tolerance interval instead attaches confidence to containing at least a specified fraction of a population distribution. “95% confidence to cover at least 90% of the population” contains two levels.

A Bayesian credible interval uses a posterior parameter distribution formed from prior and likelihood. Numerically identical endpoints do not make posterior probability and repeated-sampling coverage the same definition.

State target, conditions and level meaning for each interval. These labs focus on frequentist mean, proportion and prediction procedures.

기초Foundations

25. 비율의 Wald 구간은 추정 표준오차를 대입한 근사다25. The Wald proportion interval plugs in an estimated SE

iid Bernoulli(p)의 성공 K개에서 p̂=K/n이고 정확한 표준오차는 √[p(1−p)/n]입니다. p를 모르므로 그 자리에 p̂를 넣으면 흔히 보는 Wald 구간을 얻습니다.

p^ ± z1−α/2p^(1−p^)n\widehat p\ \pm\ z_{1-\alpha/2}\sqrt{\frac{\widehat p(1-\widehat p)}{n}}

이 식은 유한 표본의 정확한 정규 피벗에서 나온 것이 아닙니다. CLT와 표준오차 대입을 이용한 근사이며 특히 작은 n이나 0·1에 가까운 p에서 포함률이 나쁠 수 있습니다.

끝점이 0보다 작거나 1보다 클 수도 있습니다. 매개변수 범위 [0,1]과 교집합하는 것은 표시를 정리하지만 원래 근사 절차의 포함 실패를 자동으로 고치지는 않습니다.

For iid Bernoulli(p), the proportion p̂=K/n has exact SE√[p(1−p)/n]. Substituting p̂ for unknown p produces the Wald interval.

p^ ± z1−α/2p^(1−p^)n\widehat p\ \pm\ z_{1-\alpha/2}\sqrt{\frac{\widehat p(1-\widehat p)}{n}}

This is not an exact finite-sample normal pivot. Its approximation can have poor coverage for small n or near endpoint probabilities.

Endpoints can fall outside[0, 1]. Intersecting with the parameter space cleans the display but does not repair the underlying finite-sample approximation.

기초Foundations

26. 성공 0개가 참확률 0을 증명하지는 않는다26. Zero observed successes do not prove a zero success probability

n=10, K=0이면 Wald 추정 표준오차는 0이라 구간이 [0,0]입니다. 하지만 실제 모형 p=.1에서도 성공 0개의 확률은 .9¹⁰≈.348678입니다. 그 사건에서 [0,0]은 .1을 놓칩니다.

P.1(K=0)=.910≈.348678P.1{.1∈CWald(K)}≤1−.910<.95\begin{gathered}P_{.1}(K=0)=.9^{10}\approx .348678\\P_{.1}\{.1\in C_{\rm Wald}(K)\}\\\le1-.9^{10}<.95\end{gathered}

이 한 사건만으로도 명목 95%보다 훨씬 낮을 수 있음을 알 수 있습니다. 모든 나머지 사건이 포함에 성공한다고 해도 약 .651322를 넘지 못합니다.

자료에 성공이 없다는 관측과 확률법칙의 성공 가능성이 없다는 주장은 다릅니다. 이 차이는 희귀 결함·드문 이탈·위험 사건을 해석할 때 특히 중요합니다. 여기서 숫자는 정한 이항 모형의 계산입니다.

At n=10, K=0, the Wald plug-in SE is zero and the interval [0, 0]. Yet under true p=.1, the event K=0 has probability .9¹⁰≈.348678, and that interval misses .1.

P.1(K=0)=.910≈.348678P.1{.1∈CWald(K)}≤1−.910<.95\begin{gathered}P_{.1}(K=0)=.9^{10}\approx .348678\\P_{.1}\{.1\in C_{\rm Wald}(K)\}\\\le1-.9^{10}<.95\end{gathered}

Even if every remaining event covered, the coverage could not exceed about .651322. One event suffices to refute a 95% guarantee here.

No observed success differs from no possible success under a law. This distinction matters for rare events; the numbers here belong to an explicit binomial model.

학부 연결 · 선택Undergraduate bridge · optional

27. Wilson 구간은 후보 p의 분산으로 부등식을 푼다27. Wilson solves the inequality using each candidate p’s variance

Wald는 관측 p̂의 분산을 고정했지만, Wilson은 후보 p마다 p(1−p)를 써서 |p̂−p|≤z√[p(1−p)/n]을 만족하는 p를 모읍니다. 내부 후보에서 정규 score 기준을 뒤집는 접근입니다.

n(p^−p)2≤z2p(1−p)(n+z2)p2−(2np^+z2)p+np^2≤0\begin{gathered}n(\widehat p-p)^2\le z^2p(1-p)\\(n+z^2)p^2-(2n\widehat p+z^2)p\\\quad+n\widehat p^2\le0\end{gathered}

p에 대한 이차부등식을 풀면 구간이 됩니다. 같은 표준정규 근사라도 어느 표준오차를 후보 검정에 쓰고 역으로 푸는지가 결과를 바꿉니다.

끝점 후보 p=0,1에서는 원 score 비율의 분모가 0일 수 있습니다. 구간 끝점은 위의 나눗셈 없는 부등식의 연속 확장으로 처리하며,0/0의 score를 정의했다고 주장하지 않습니다.

Instead of freezing the observed plug-in variance, Wilson collects candidate p satisfying |p̂−p|≤z√[p(1−p)/n]. For interior candidates, this inverts a normal score criterion.

n(p^−p)2≤z2p(1−p)(n+z2)p2−(2np^+z2)p+np^2≤0\begin{gathered}n(\widehat p-p)^2\le z^2p(1-p)\\(n+z^2)p^2-(2n\widehat p+z^2)p\\\quad+n\widehat p^2\le0\end{gathered}

Solve this quadratic inequality in p. Different treatment of candidate versus observed variance changes the interval.

At endpoint candidates, the score ratio can be undefined. Use the continuous extension of the division-free inequality, not a claimed definition of 0/0.

기초Foundations

28. Wilson의 중심과 끝점은 표본비율과 다를 수 있다28. Wilson’s center and endpoints differ from the raw proportion

양의 분모를 가진 이차근 공식을 정리하면 다음 중심 c와 반너비 h가 나옵니다. 구간은 [c−h, c+h]입니다.

c=p^+z2/(2n)1+z2/n,h=z1+z2/np^(1−p^)n+z24n2.\begin{gathered} c=\frac{\widehat p+z^2/(2n)}{1+z^2/n},\\ h=\frac{z}{1+z^2/n} \sqrt{\frac{\widehat p(1-\widehat p)}n+\frac{z^2}{4n^2}} . \end{gathered}

K=0이면 아래끝은 0, 위끝은 z²/(n+z²)로 양수입니다. n=10, 수준 .95에서는 위끝이 약 .277533입니다. 전부 성공한 경우도 대칭적으로 1보다 작은 아래끝을 가집니다.

Wald의 퇴화 문제를 개선하지만 Wilson도 일반적으로 모든 유한 n, p에서 명목 포함률을 정확히 보장하는 절차는 아닙니다. 다음 정확 이항 절차와 포함률을 직접 비교합니다.

The quadratic roots yield a center c and half-width h, with interval [c−h, c+h].

c=p^+z2/(2n)1+z2/n,h=z1+z2/np^(1−p^)n+z24n2.\begin{gathered} c=\frac{\widehat p+z^2/(2n)}{1+z^2/n},\\ h=\frac{z}{1+z^2/n} \sqrt{\frac{\widehat p(1-\widehat p)}n+\frac{z^2}{4n^2}} . \end{gathered}

At K=0, the lower endpoint is zero and upper z²/(n+z²), about .277533 at n=10, level .95. All-success samples have a symmetric inward lower bound.

This improves the Wald degeneracy but does not generally guarantee nominal finite-sample coverage for every n, p. Compare it with the exact binomial procedure.

기초Foundations

29. Clopper–Pearson은 정확한 두 꼬리로 후보를 남긴다29. Clopper–Pearson retains candidates using exact binomial tails

관측 성공 개수를 k로 고정합니다. 후보 p의 법칙에서 그만큼 작거나 큰 개수가 나올 꼬리확률을 정확히 계산합니다. 각 꼬리가 α/2보다 작으면 해당 후보를 제외합니다.

p∈CCP(k)⟺p∈[0,1] and{Pp(K≤k)≥α/2,Pp(K≥k)≥α/2.\begin{gathered}p\in C_{\rm CP}(k)\quad\Longleftrightarrow\\p\in[0,1]\ \text{and}\\\begin{cases}P_p(K\le k)\ge\alpha/2,\\P_p(K\ge k)\ge\alpha/2.\end{cases}\end{gathered}

두 꼬리 모두 관측 k를 포함합니다. 등호를 허용하는 닫힌 구간이며, 한쪽에서 근사 정규 꼬리를 대신 쓰지 않습니다. k=0의 아래끝은 0, k=n의 위끝은 1입니다.

‘정확’은 이 이항 법칙에서 유한 표본의 보장을 갖는 절차라는 뜻입니다. 초월적인 끝점의 숫자를 컴퓨터가 무한 자릿수로 정확히 출력한다는 뜻은 아닙니다. 실습은 표시 끝점과 정확 포함 판정을 구분합니다.

Fix observed success count k. Under each candidate p, compute the exact probability of counts at least as low or at least as high. Exclude a candidate when a tail is smaller than α/2.

p∈CCP(k)⟺p∈[0,1] and{Pp(K≤k)≥α/2,Pp(K≥k)≥α/2.\begin{gathered}p\in C_{\rm CP}(k)\quad\Longleftrightarrow\\p\in[0,1]\ \text{and}\\\begin{cases}P_p(K\le k)\ge\alpha/2,\\P_p(K\ge k)\ge\alpha/2.\end{cases}\end{gathered}

Both tails include k and equality is retained. This is a closed equal-tailed interval. The lower endpoint at k=0 is zero; the upper at k=n is one.

Exact refers to the finite-binomial procedure’s guarantee, not infinitely precise printed endpoints. The lab separates numerical endpoints from exact membership decisions.

학부 연결 · 선택Undergraduate bridge · optional

30. 정확 절차의 포함률이 명목 수준 이상인 이유30. Why the exact procedure covers at least its nominal level

고정된 참 p에서 후보가 빠지는 것은 두 꼬리 중 하나가 α/2보다 작은 경우입니다. 너무 큰 K의 꼬리가 α/2 미만인 첫 경계 k₀를 택하면 그쪽 실패사건의 확률은 P_p(K≥k₀)<α/2입니다. 경계가 없으면 그 실패확률은 0입니다.

작은 K 쪽도 같은 방식입니다. 두 실패사건의 합집합 확률은 각 확률의 합보다 크지 않으므로 α를 넘지 않습니다.

Pp{p∉CCP(K)}≤αPp{p∈CCP(K)}≥1−α\begin{gathered}P_p\{p\notin C_{\rm CP}(K)\}\le\alpha\\P_p\{p\in C_{\rm CP}(K)\}\ge1-\alpha\end{gathered}

이산 질량을 α/2에 딱 맞게 잘라 내지 못할 수 있어 포함률은 명목 수준보다 커집니다. 보수적이라는 말은 이 포함률의 뜻이며, 모든 다른 기준에서 무조건 더 좋은 구간이라는 뜻은 아닙니다. 길이가 더 길 수 있고 최단 길이도 일반적으로 보장하지 않습니다.

At a fixed true p, exclusion requires one exact tail to be below α/2. For the upper-count failure region, choose its first count k₀. Its probability is P_p(K≥k₀)<α/2, or zero if no such count exists.

The lower-count region has the same bound. A union bound gives total noncoverage no greater than α.

Pp{p∉CCP(K)}≤αPp{p∈CCP(K)}≥1−α\begin{gathered}P_p\{p\notin C_{\rm CP}(K)\}\le\alpha\\P_p\{p\in C_{\rm CP}(K)\}\ge1-\alpha\end{gathered}

Discrete masses cannot always match the tail allocation exactly, so coverage can exceed nominal. Conservative refers to that guarantee, not superiority under every criterion or shortest interval length.

기초Foundations

31. 성공 0개에서도 정확 구간의 위끝은 양수다31. The exact upper endpoint stays positive with zero successes

k=0에서는 P_p(K=0)=(1−p)^n입니다. 위끝 u는 (1−u)^n=α/2를 만족합니다. 전부 성공한 k=n은 대칭적으로 아래끝을 계산합니다.

CCP(0)=[0, 1−(α/2)1/n],CCP(n)=[(α/2)1/n, 1].\begin{gathered} C_{\rm CP}(0)=\left[0,\ 1-(\alpha/2)^{1/n}\right],\\ C_{\rm CP}(n)=\left[(\alpha/2)^{1/n},\ 1\right]. \end{gathered}

n=10, 수준 .95에서 성공 0개 구간은 약 [0,.308497]입니다. Wald의 [0,0]과 다르며 관측되지 않은 성공 가능성을 고려합니다.

내부 k의 끝점은 불완전 beta 함수의 역함수로 수치 계산할 수 있습니다. beta 함수가 등장한다고 자동으로 사전분포를 쓴 Bayesian 구간이 되는 것은 아닙니다. 여기서는 정확 이항 꼬리를 푸는 수학적 도구입니다.

At k=0, the upper endpoint u solves(1−u)^n=α/2. The all-success case gives the symmetric lower endpoint.

CCP(0)=[0, 1−(α/2)1/n],CCP(n)=[(α/2)1/n, 1].\begin{gathered} C_{\rm CP}(0)=\left[0,\ 1-(\alpha/2)^{1/n}\right],\\ C_{\rm CP}(n)=\left[(\alpha/2)^{1/n},\ 1\right]. \end{gathered}

For n=10, level .95, zero successes give about [0, .308497], rather than Wald’s[0, 0].

Interior endpoints can be computed through inverse incomplete-beta functions. Their appearance does not automatically introduce a Bayesian prior; here they solve exact binomial-tail equations.

기초Foundations

32. 비율 구간 실습: 세 절차의 조건과 끝점을 비교한다32. Proportion lab: compare three procedures and their endpoints

k=0, n=10, 수준 .95에서 Wald, Wilson, Clopper–Pearson을 차례로 선택하세요. 위끝이 각각 0, 약 .277533, 약 .308497인지 확인합니다. k=n으로 바꾸어 반대 끝점도 비교합니다.

같은 명목 수준이라도 길이와 실제 포함률은 다릅니다. ‘exact’ 표시를 수치 끝점이 무한 자릿수로 보장됐다는 뜻으로 읽지 말고, 이항 법칙 아래의 수학적 절차 보장으로 읽습니다.

관측 순서·고정 n·독립·같은 p가 이항법칙의 조건입니다. 같은 고객을 여러 번 복사하거나 성공이 나올 때까지 멈춘 자료에 고정 n 비율 공식을 그대로 적용하지 않습니다.

At k=0, n=10, level .95, compare Wald, Wilson and Clopper–Pearson. The upper endpoints are zero, about .277533 and .308497. Repeat at k=n.

Equal nominal levels do not imply equal width or finite coverage. Exact labels a mathematical binomial guarantee, not infinitely precise numeric endpoints.

The binomial law assumes fixed n, independent trials and common p. Copied customers or stopping after a success do not automatically satisfy that sampling scheme.

기초Foundations

33. 포함률은 모든 가능한 자료에서 성공확률을 더한 값이다33. Coverage sums success probabilities over all possible data

고정 n의 이항 실험에서는 가능한 성공 개수가 0,…, n뿐입니다. 각 k의 구간이 고정된 참 p를 포함하는지 표시한 뒤 그 k의 정확 질량을 더하면 포함률입니다.

Cov⁡p(C)=∑k=0n1{p∈C(k)}(nk)pk(1−p)n−k\begin{gathered}\operatorname{Cov}_p(C)\\=\sum_{k=0}^{n}1_{\{p\in C(k)\}}\binom nkp^k(1-p)^{n-k}\end{gathered}

서로 다른 구간을 같은 비중으로 세면 안 됩니다. n=10의 가운데 성공 개수와 극단 성공 개수는 같은 확률이 아닙니다. 표본 수가 큰 모의실험 대신 여기서는 가능한 개수 전부를 정확히 합할 수 있습니다.

p는 이론을 평가하기 위해 고정한 모형의 진실입니다. 실제 분석자가 미지 p를 이미 안다는 뜻이 아닙니다. 여러 가능한 p에서 절차가 얼마나 잘 작동하는지 검사하는 단계입니다.

A fixed-n binomial experiment has only counts 0,…, n. Mark whether each interval contains the fixed true p, then sum the corresponding exact binomial masses.

Cov⁡p(C)=∑k=0n1{p∈C(k)}(nk)pk(1−p)n−k\begin{gathered}\operatorname{Cov}_p(C)\\=\sum_{k=0}^{n}1_{\{p\in C(k)\}}\binom nkp^k(1-p)^{n-k}\end{gathered}

Do not count distinct intervals equally: central and extreme counts have different probabilities. Complete enumeration replaces simulation error for this finite law.

The p input is a hypothetical truth for evaluating a procedure, not evidence that an analyst knows the unknown parameter in actual inference.

학부 연결 · 선택Undergraduate bridge · optional

34. 정확 확률·수치 끝점·표시 자릿수를 분리한다34. Separate exact probabilities, numerical endpoints and display digits

구간 끝점을 .3085로 반올림한 뒤 p=.30849를 넣으면 표시만으로 포함 여부를 판정할 때 다른 답을 낼 수 있습니다. 반올림은 눈으로 읽는 도움이지 원래 부등식을 바꾸는 권한이 아닙니다.

실습의 Clopper–Pearson 포함 여부는 끝점의 근사값을 비교하지 않습니다. 입력 십진수·분수를 정확한 유리수로 읽고 두 이항 꼬리가 정확한 α/2 이상인지 검사합니다. 임의의 작은 허용오차를 더해 등호를 바꾸지 않습니다.

Wald·Wilson은 계산한 정규 임계값 자체가 수치근사입니다. 그 표시 임계값을 정확한 십진 상수로 고정한 뒤, 제곱 부등식과 이항 질량 합은 유리수로 계산합니다. 따라서 보고된 포함률은 그 구현된 기준의 정확 확률이고, 무한 정밀도의 이상적 임계값과의 구별은 남습니다.

계산기는 신뢰수준 .5~.999, 유한 열거 n≤200 같은 수치 지원 범위를 둡니다. 이는 브라우저의 재현 가능한 계산 범위이지 신뢰구간 이론이 그 밖에서 정의되지 않는다는 뜻은 아닙니다.

Rounding an endpoint to .3085 can change a membership decision near it. Display rounding helps reading; it does not redefine the original inequality.

Clopper–Pearson membership uses exact rational input probabilities and central-tail comparisons, not approximate endpoint comparisons or arbitrary tolerance padding.

Wald and Wilson use a numerical normal critical value. The lab treats its reported decimal as exact for squared-inequality membership and exact binomial mass summation. Thus coverage is exact for the implemented criterion, while the ideal infinite-precision critical remains distinct.

Numerical support limits such as level .5–.999 and enumeration n≤200 belong to the browser implementation, not the mathematical existence of interval procedures.

기초Foundations

35. 포함률 실습: 명목 수준과 실제 확률을 대조한다35. Coverage lab: compare nominal level with actual probability

n=10, p=.1, 명목 .95를 놓고 세 절차를 비교하세요. k=0의 구간과 그 표본 질량 .9¹⁰을 먼저 읽습니다. 해당 사건을 포함하는지와 전체 성공확률에 얼마를 기여하는지 연결해 보세요.

p=.5로 바꾸면 이산적인 포함률이 달라집니다. CP는 명목 이상이지만 언제나 명목과 같지는 않습니다. Wilson도 p에 따라 명목보다 조금 낮을 수 있습니다. 한 p에서 맞은 결과를 모든 p에서의 보장으로 늘리지 않습니다.

각 막대의 성공·실패는 ‘이번 진실이 이 구간 안에 있나’라는 모형상 판정입니다. 이를 한 실제 구간 안의 모수에 대한 사후확률이라고 바꾸지 않습니다.

Compare three procedures at n=10, p=.1, nominal level .95. Inspect the k=0 interval and its sampling mass .9¹⁰ before reading total coverage.

Move p to .5 and observe discrete coverage changes. CP is at least nominal but generally not equal to it. Wilson can fall below nominal at some parameters. One successful p does not establish a family-wide guarantee.

Covered bars mark whether a fixed model truth lies in each possible interval. They are not posterior probabilities for a parameter inside one observed interval.

대학원 연결Graduate bridge

36. 전체 반복 포함률과 자료에 조건부인 포함률은 다를 수 있다36. Overall repeated coverage differs from conditional coverage

95%의 전체 포함률은 모든 가능한 표본을 평균 낸 성질입니다. 특정한 관측 패턴, 아주 좁은 구간이 나온 표본만 고른 경우에도 같은 95%가 자동으로 유지되는 것은 아닙니다.

예측에서는 훈련 자료 D와 미래 Y를 함께 반복하는 P{Y∈PI(D)}와, 이번 훈련 자료 d를 고정한 P{Y∈PI(d)|D=d}를 구분합니다. 전자가 .95라고 후자가 모든 d에서 .95일 필요는 없습니다.

P{Y∈PI⁡(D)}=E ⁣[P{Y∈PI⁡(D)∣D}]\begin{gathered}P\{Y\in\operatorname{PI}(D)\}\\=E\!\left[P\{Y\in\operatorname{PI}(D)\mid D\}\right]\end{gathered}

조건부 위험과 평균 위험을 나누었던 DATA01·STAT07의 생각과 연결됩니다. 이 장은 보편적인 조건부 포함 보장을 새로 증명한 것이 아니라, 정한 절차의 전체 포함 성질과 그 한계를 정확히 구별합니다.

Overall 95% coverage averages over possible samples. Selecting a particular observation pattern or only unusually narrow intervals need not preserve the same conditional rate.

For prediction, distinguish P{Y∈PI(D)} repeating training and future data from coverage conditional on this realized training set. The former can equal .95 without the latter equaling .95 at every d.

P{Y∈PI⁡(D)}=E ⁣[P{Y∈PI⁡(D)∣D}]\begin{gathered}P\{Y\in\operatorname{PI}(D)\}\\=E\!\left[P\{Y\in\operatorname{PI}(D)\mid D\}\right]\end{gathered}

This connects conditional versus average risk from DATA01 and STAT07. No universal conditional-coverage theorem is claimed here.

대학원 연결Graduate bridge

37. 선택 심화: 구간은 후보별 판정의 역집합으로 볼 수 있다37. Optional bridge: an interval can invert candidate-wise decisions

후보 μ₀마다 |X̄−μ₀|≤zσ/√n이면 남긴다고 합시다. 남는 후보를 모두 모으면 X̄±zσ/√n이라는 같은 구간입니다. 자료의 위치를 묻는 판정과 후보 모수의 위치를 묻는 구간이 같은 부등식의 다른 방향입니다.

∣x‾−μ0∣≤zσ/n⟺μ0∈[x‾−zσ/n, x‾+zσ/n]\begin{gathered}|\overline x-\mu_0|\le z\sigma/\sqrt n\\\Longleftrightarrow\\\mu_0\in[\overline x-z\sigma/\sqrt n,\ \overline x+z\sigma/\sqrt n]\end{gathered}

다음 검정 장에서는 남기고 버리는 기준과 오류 확률을 더 자세히 배웁니다. 이 장에서는 부등식의 역집합이라는 원리만 이해하면 됩니다.

이항의 양쪽 판정에는 여러 정의가 있습니다. 여기 CP는 각 꼬리 α/2 기준의 역집합입니다. 어떤 소프트웨어의 다른 양쪽 p값과 언제나 같은 반전 결과라고 기계적으로 연결하지 않습니다.

Retain candidate μ₀ when |X̄−μ₀|≤zσ/√n. Collecting all retained candidates gives the familiar mean interval. The same inequality can be read as a data criterion or a parameter set.

∣x‾−μ0∣≤zσ/n⟺μ0∈[x‾−zσ/n, x‾+zσ/n]\begin{gathered}|\overline x-\mu_0|\le z\sigma/\sqrt n\\\Longleftrightarrow\\\mu_0\in[\overline x-z\sigma/\sqrt n,\ \overline x+z\sigma/\sqrt n]\end{gathered}

The next chapter develops tests and error probabilities. Here focus on inversion of the inequality.

Two-sided binomial decisions have several definitions. CP inverts equal-tail α/2 criteria, not necessarily every software definition of a two-sided p-value.

학부 연결 · 선택Undergraduate bridge · optional

38. 여러 구간·중간 확인·선택 후 보고에는 다른 보장이 필요하다38. Multiple intervals and data-dependent selection need their own guarantees

독립 자료들로 만든 정확한 95% 구간 10개가 각자 다른 고정 표적을 다룬다고 합시다. 전부 동시에 성공할 확률은 .95¹⁰≈.598737입니다. 각 구간의 95%와 열 개의 동시 95%는 다릅니다.

일반적으로 독립을 가정하지 않아도 각 실패확률이 α/10 이하라면 합집합 상계로 하나라도 실패할 확률은 α 이하입니다. 이 Bonferroni 원리는 더 높은 개별 수준을 요구할 수 있어 너비에 비용이 있습니다.

P{at least one failure}≤∑j=110P(failure j)≤α\begin{gathered}P\{\text{at least one failure}\}\\\le\sum_{j=1}^{10}P(\text{failure }j)\le\alpha\end{gathered}

자료가 늘 때마다 구간을 계산하고 마음에 드는 때 멈추는 것도 고정 n 절차와 다릅니다. 이 장의 고정 표본 포함률을 아무 중단 시점의 보장으로 읽지 않습니다. 순차 보장과 선택 후 추론은 뒤의 심화 주제입니다.

Ten exact 95% intervals from independent data sets each target a fixed parameter. Their simultaneous success probability is .95¹⁰≈.598737, not .95.

Without independence, if each failure probability is at most α/10, a union bound still limits any failure toα. This Bonferroni principle can require wider individual intervals.

P{at least one failure}≤∑j=110P(failure j)≤α\begin{gathered}P\{\text{at least one failure}\}\\\le\sum_{j=1}^{10}P(\text{failure }j)\le\alpha\end{gathered}

Repeatedly inspecting intervals and stopping when pleased is also different from fixed n. Sequential and post-selection guarantees require additional theory.

기초Foundations

39. 같은 점포의 전후 변화는 쌍을 유지해 표준오차를 구한다39. Preserve store pairs when estimating the SE of change

같은 점포의 전후 고용 Y_before, Y_after에서 변화 D=Y_after−Y_before를 만듭니다. 두 시점이 양의 상관을 가질 수 있으므로 원분산은 공분산 항을 포함합니다.

Var⁡(D)=Var⁡(Yafter)+Var⁡(Ybefore)−2Cov⁡(Yafter,Ybefore),SE⁡^(D‾)=sD/n.\begin{gathered} \operatorname{Var}(D)=\operatorname{Var}(Y_{\rm after}) +\operatorname{Var}(Y_{\rm before})\\ \quad-2\operatorname{Cov}(Y_{\rm after},Y_{\rm before}),\\ \widehat{\operatorname{SE}}(\overline D)=s_D/\sqrt n . \end{gathered}

같은 완전쌍과 같은 분모 n−1로 구한 표본 분산·공분산에도 동일한 제곱합 항등식이 성립합니다. 전후를 서로 다른 점포처럼 독립 처리하면 다른 표준오차를 얻을 수 있습니다.

이것은 점포 사이가 독립인 작업 모형의 평균 변화 구간입니다. 한 점포의 변화량과 정책이 없었을 반사실의 차이는 별도 인과 표적입니다. 쌍을 유지했다고 정책 효과가 자동 식별되지는 않습니다.

For a store’s before and after outcomes, define D=Y_after−Y_before. Their covariance contributes to change variance.

Var⁡(D)=Var⁡(Yafter)+Var⁡(Ybefore)−2Cov⁡(Yafter,Ybefore),SE⁡^(D‾)=sD/n.\begin{gathered} \operatorname{Var}(D)=\operatorname{Var}(Y_{\rm after}) +\operatorname{Var}(Y_{\rm before})\\ \quad-2\operatorname{Cov}(Y_{\rm after},Y_{\rm before}),\\ \widehat{\operatorname{SE}}(\overline D)=s_D/\sqrt n . \end{gathered}

The same identity holds for sample variances and covariance using the same complete pairs and n−1 denominator. Treating waves as unrelated stores can give a different SE.

A paired mean-change interval under a working between-store model is not automatically an identified causal policy-effect interval.

기초Foundations

40. 좁은 구간도 표집·결측·집단 구조의 근거를 대신하지 않는다40. Narrow intervals do not replace sampling and missingness arguments

표준오차를 줄여도 관측되지 않은 집단이 계속 빠져 있다면 목표 차이가 남을 수 있습니다. 가용 임금의 평균과 모든 근로자의 평균은 결측 과정에 대한 근거 없이 같은 목표가 아닙니다.

같은 학교·점포·국가 안에서 반복된 행은 독립 정보 n개가 아닐 수 있습니다. 층화·군집·가중 추출이라면 해당 설계에 맞는 분산을 써야 합니다. 계산표 행 수를 그대로 √n에 넣는 것이 모든 설계의 일반 공식은 아닙니다.

구간을 보고할 때 단위, 표적 집단, 가용수·제외수, 가정한 표집법칙, 구간 절차를 함께 씁니다. 이후 설문·회귀·패널 장에서 더 복잡한 구조를 배울 때도 이 순서를 유지합니다.

Reducing SE does not remove a target mismatch from persistently missing groups. An available-wage mean is not automatically the all-worker mean.

Repeated rows within a school, store or country may not be independent information. Stratification, clustering and weights need a matching variance calculation; row count alone is not a universal √n denominator.

Report units, target population, available and excluded counts, sampling assumptions and interval procedure together. Keep this order when later survey, regression and panel methods add complexity.

학부 연결 · 선택Undergraduate bridge · optional

41. 단위 변환은 포함 사건을 보존하지만 표적도 변환한다41. Monotone transformations preserve inclusion while transforming the target

해당 정의역에서 엄격히 증가하는 함수 g라면 L≤θ≤U는 g(L)≤g(θ)≤g(U)와 같습니다. 엄격히 감소하는 함수이면 끝점 순서를 뒤집습니다. 이처럼 일대일인 단조함수이고 구간 전체가 정의역 안에 있다는 조건 아래 포함 사건의 동치가 보존됩니다. 상수 구간이 있는 단조 비감소 함수는 역방향 동치를 자동 보장하지 않습니다.

θ∈[L,U]⟺eθ∈[eL,eU]\theta\in[L,U] \quad\Longleftrightarrow\quad e^\theta\in[e^L,e^U]

로그값 평균 μ의 구간을 지수화하면 exp(μ)의 구간입니다. 로그정규 모형에서 원값 산술평균은 exp(μ+σ²/2)이므로 같은 표적이 아닙니다. 추가 분산 항 없이 화폐 임금 평균 구간이라고 부르면 잘못입니다.

반면 새 로그 관측의 PI를 지수화하면 대응하는 새 원값의 PI로 읽을 수 있습니다. 이 경우에도 로그 변환 정의역과 원단위를 확인하며, 원자료가 실제로 그 작업 모형을 만족하는지는 별도입니다.

For strictly increasing g on the relevant domain, L≤θ≤U is equivalent to g(L)≤g(θ)≤g(U); a strictly decreasing transformation reverses endpoints. The map must be one-to-one and defined on the entire interval. A merely nondecreasing map with flat portions does not automatically give the reverse implication.

θ∈[L,U]⟺eθ∈[eL,eU]\theta\in[L,U] \quad\Longleftrightarrow\quad e^\theta\in[e^L,e^U]

Exponentiating a log-mean interval targets exp(μ). Under a lognormal model, the original arithmetic mean is exp(μ+σ²/2), a different quantity.

Exponentiating a PI for one new log value instead targets its corresponding new original-scale value. Transformation domains, units and model adequacy still matter.

기초Foundations

42. 완전한 고정 프레임의 평균에는 표집 오차가 없을 수 있다42. A complete fixed-frame mean may have no sampling uncertainty

관심 대상이 보관한 네 분기 지수 자체의 균등 평균이라면 네 값을 모두 알고 있으므로 목표를 정확히 계산할 수 있습니다. 이 고정 목표를 요약하는 데 신뢰구간을 의무적으로 붙일 이유는 없습니다.

그 네 값에서 일부를 가정하여 복원 추첨하면 그때 새 표집실험의 평균이 무작위가 됩니다. 완전 프레임의 알려진 평균을 기준으로 절차의 포함률을 검산할 수 있습니다.

또 다른 표적, 예를 들어 미래 주택지수의 평균이나 전국 개인 거래가격을 알려면 새로운 모형과 자료 근거가 필요합니다. 알려진 표의 합을 계산하는 문제, 표집법칙을 평가하는 문제, 미래나 더 넓은 모집단을 추론하는 문제를 구별합니다.

If the target is the equal-weight mean of four retained quarter values and all are known, the target is directly calculable. A CI is not mandatory for describing that fixed quantity.

Assumed replacement draws create a separate random sampling experiment. Its interval coverage can then be checked against the known frame mean.

A future housing mean or national individual transaction-price target requires another model and evidence. Distinguish known-table arithmetic, sampling-procedure evaluation and broader inference.

기초Foundations

43. 실제 BIS 네 분기에서 정규 참조구간의 포함률을 직접 센다43. Enumerate normal-reference coverage on four actual BIS quarters

한국 2024년 실질 주택지수 108.3502,107.7932,107.4475,107.4756의 알려진 균등 평균은 107.766625입니다. 네 기록에서 n=4회 독립 복원 추첨하는 모형은 순서열 4⁴=256개를 가집니다.

정규 참조 임계값과 알려진 경험분산을 쓰는 평균구간의 포함률은 명목 90·95·99%에서 각각 113/128,243/256,255/256입니다. 특히 95% 참조값의 실제 유한 포함률은 243/256≈.949219로 .95와 다릅니다.

mean coverage:113128,243256,255256\begin{gathered}\text{mean coverage:}\\\frac{113}{128},\qquad\frac{243}{256},\qquad\frac{255}{256}\end{gathered}

새 한 기록까지 4개를 더 곱한 1024개 튜플에서 PI 포함률은 459/512,489/512,1입니다. 계산은 유한 사건의 정확 열거이며 표시된 수치 임계값을 기준으로 부등식을 판정합니다.

원법칙은 네 원자의 경험법칙이라 정규가 아닙니다. 이 결과는 바로 그 명시적 모형의 계산이지 실제 주택시계열의 신뢰수준이나 새로운 분기 예측 검증이 아닙니다.

The four actual Korea 2024 real housing indices are 108.3502, 107.7932, 107.4475, 107.4756, with known equal-record mean 107.766625. Four iid replacement draws give 256 ordered samples.

Using normal-reference criticals and the known empirical variance yields mean-interval coverages 113/128, 243/256 and 255/256 at nominal 90%, 95%, 99%. In particular, .949219 is not exactly .95.

mean coverage:113128,243256,255256\begin{gathered}\text{mean coverage:}\\\frac{113}{128},\qquad\frac{243}{256},\qquad\frac{255}{256}\end{gathered}

Including one new draw gives 1024 tuples and PI coverages 459/512, 489/512 and one. Finite events are exactly enumerated using the reported numerical critical constants.

The four-atom source is not normal. This checks the explicit experiment, not actual housing time-series confidence or future-quarter predictive validity.

기초Foundations

44. 실제 로그 임금에서 평균 CI와 새 한 값 PI의 폭을 비교한다44. Compare a mean CI and one-value PI for actual log wages

Card의 1976년 남성 기록 3613행 중 가용 로그 임금 3010개를 사용하면 평균은 약 6.261831918, s≈.443797651, 평균 SE≈.008089129입니다. 비관측 603개를 0으로 바꾸지 않습니다.

독립 정규 작업 모형의 95% t평균구간은 약 [6.245971137,6.277692699]입니다. 새 로그값 하나의 작업 PI는 약 [5.391509944,7.132153891]로 훨씬 넓습니다. 같은 자료의 서로 다른 표적입니다.

mean CI≈[6.245971, 6.277693],one-value PI≈[5.391510, 7.132154].\begin{gathered} \text{mean CI}\approx[6.245971,\ 6.277693],\\ \text{one-value PI}\approx[5.391510,\ 7.132154]. \end{gathered}

이 수치는 정확한 원자료 모멘트와 수치 t분위수로 계산한 작업구간입니다. 원조사 iid·정규성·결측 무시 가능성·현대 근로자 대표성이 검증되었다고 해석하지 않습니다. 로그 구간을 화폐 산술평균 구간으로 바꾸는 문제도 별도입니다.

Use 3010 available log wages from 3613 male Card records in 1976. The mean is about 6.261831918, s≈.443797651 and mean SE≈.008089129. Preserve 603 unavailable values.

A working independent-normal 95% t mean interval is about [6.245971137, 6.277692699]. The working PI for one new log value is much wider: [5.391509944, 7.132153891].

mean CI≈[6.245971, 6.277693],one-value PI≈[5.391510, 7.132154].\begin{gathered} \text{mean CI}\approx[6.245971,\ 6.277693],\\ \text{one-value PI}\approx[5.391510,\ 7.132154]. \end{gathered}

These calculations use exact retained-data moments and numerical t quantiles. They do not validate original iid normal sampling, missingness assumptions or current-worker representativeness. Currency arithmetic-mean intervals remain a different target.

기초Foundations

45. 실제 점포쌍의 FTE 변화와 작업구간을 읽는다45. Read working intervals for actual paired-store FTE changes

실제 점포 410행 중 전후 FTE가 모두 있는 완전쌍은 384개, 제외된 불완전쌍은 26개입니다. FTE는 full-time+.5×part-time+managers로 구성한 지표입니다. 같은 코드가 있더라도 서로 다른 원행을 조용히 합치지 않습니다.

전체 완전쌍 변화 평균은 −541/7680≈−.0704427FTE, 쌍을 유지한 평균 SE는 약 .4604186입니다. 전후를 독립이라고 잘못 놓은 참고 SE는 약 .6881356으로 다릅니다.

working 95% mean CI≈[−.975707, .834822] FTE\begin{gathered}\text{working 95\% mean CI}\\\approx[-.975707,\ .834822]\ \text{FTE}\end{gathered}

집단 NJ·PA를 나누어도 각자의 쌍과 분모를 유지합니다. 전체 작업구간이 0을 포함한다는 사실은 효과가 정확히 0이라는 증명도, 최저임금 정책의 인과효과가 식별되었다는 주장도 아닙니다. 평균 변화와 정책 반사실은 다른 표적입니다.

새 점포 변화의 정규 작업 PI는 약 [−17.8330,17.6921]FTE입니다. 평균구간과 다른 표적이며, 원래 조사설계와 미래 적용 가능성에 대한 검토를 대신하지 않습니다.

Of 410 actual store rows, 384 have complete before/after FTE pairs and 26 are excluded. FTE is full-time+.5×part-time+managers. Preserve distinct original rows even when codes coincide.

The complete-pair mean change is −541/7680≈−.0704427 FTE, with paired mean SE≈.4604186. Treating waves as independent gives a different reference SE≈.6881356.

working 95% mean CI≈[−.975707, .834822] FTE\begin{gathered}\text{working 95\% mean CI}\\\approx[-.975707,\ .834822]\ \text{FTE}\end{gathered}

Keep pair identity and denominators within NJ and PA too. Inclusion of zero neither proves an exactly zero effect nor identifies a minimum-wage causal effect.

A working normal PI for a new store change is about [−17.8330, 17.6921] FTE. It targets a different quantity and does not establish survey-design or future-deployment validity.

기초Foundations

46. 실제 자료 실습: 알려진 목표·작업 CI·작업 PI를 구별한다46. Actual-data lab: distinguish a known target, working CI and working PI

국가에서는 알려진 네 기록과 256·1024개 가정 튜플의 정확 포함률을, 사람에서는 가용 로그 임금의 평균 CI와 새 한 값 PI를 봅니다. 기업에서는 전체·NJ·PA의 완전쌍 변화와 쌍 유지 SE를 선택합니다.

수준을 .90,.95,.99로 바꾸어 너비와 유한 포함률을 대조하세요. 국가의 알려진 평균은 새로 추정해야 하는 미지 값이 아니라 절차 검산의 기준입니다. 사람·점포 작업구간의 계산값은 실제 모집단 포함률이 관측되었다는 인증이 아닙니다.

어떤 숫자가 원기록, 어떤 숫자가 계산한 요약, 어떤 부분이 가정한 미래·재표집인지 표시를 따라 읽습니다. 구간의 양 끝을 원문 자료의 새 행으로 더하지 않습니다.

For countries, inspect the known four-record target and exact 256/1024-tuple coverage. For people, compare log-mean CI with one-value PI. For stores, choose all, NJ or PA complete pairs and paired SEs.

Compare levels .90, .95, .99. The country mean is a known audit reference, not an unknown quantity requiring inference. Computed person/store working intervals are not observed certificates of population coverage.

Trace original records, derived summaries and assumed future or resampling experiments separately. Interval endpoints are not additional observed source rows.

기초Foundations

47. 실제 국가·사람·점포 자료의 구간 사례47. Interval case studies using actual country, person and store data

국가 사례 · 이미 아는 네 분기 평균에는 새 불확실성이 생기지 않는다

BIS의 2024년 한국 전국 실질 주거용 부동산 가격지수 네 값은 108.3502, 107.7932, 107.4475, 107.4756입니다. 기준은 2010년 평균=100이며 원화 아파트 가격이 아닙니다. 네 값의 균등 평균 μ0=107.766625는 이미 완전히 계산된 고정 요약입니다. 그 평균을 알기 위해 신뢰구간이 필요한 것은 아닙니다. 여기서는 이 알려진 숫자를 정답 기준으로 삼아, 별도로 정의한 재표집 절차의 구간 포함률을 실험합니다.

가정 실험은 네 분기 이름표에서 복원·독립으로 네 번 고르는 것입니다. 가능한 순서 튜플 4⁴=256개를 모두 셉니다. 새 선택값 한 개를 추가하면 4⁵=1024개의 튜플입니다. 이때 새 선택은 같은 과거 네 값 중 하나이며 실제로 관측한 다음 해 분기가 아닙니다. 원래 분기 시계열이 iid였다는 주장도 아닙니다.

1. 평균을 담는 구간과 새 선택값을 담는 구간

Iμ=[X‾n±z1−α/2σ0n]Inew=[X‾n±z1−α/2σ01+1n]\begin{gathered}I_\mu=\left[\overline X_n\pm z_{1-\alpha/2}\frac{\sigma_0}{\sqrt n}\right]\\I_{\rm new}=\left[\overline X_n\pm z_{1-\alpha/2}\sigma_0\sqrt{1+\frac1n}\right]\end{gathered}

σ0²는 네 값의 알려진 균등 법칙 분산입니다. 첫 구간의 목표는 고정 μ0, 두 번째의 목표는 독립적인 새 선택값입니다. 정규 iid 모집단에서 σ를 안다면 위 규칙은 명목 포함률을 갖지만, 이 유한 네 값의 법칙은 정규분포가 아닙니다. 따라서 “정규 참조 규칙”이라고 부르고 실제 포함률은 모든 가능한 튜플에서 직접 계산합니다.

유한 재표집 법칙에서 직접 센 포함률
명목 정규 수준평균구간: μ0 포함 수/256정확 평균 포함률예측구간: 새 선택 포함 수/1024정확 새 선택 포함률
90%226/256113/128918/1024459/512
95%243/256243/256978/1024489/512
99%255/256255/2561024/10241
먼저 생각한 뒤 풀이 보기: 95%라는 이름을 붙이면 이 자료에서도 정확히 .95인가요?

아닙니다. 모든 256개 구간 중 μ0를 담는 비율은 243/256입니다. 새 선택값에 대한 예측규칙의 정확 포함률은 489/512입니다. 명목 수준, 실제 모형 아래 포함률, 현실 자료에 대한 타당성은 서로 다른 개념입니다. 이 계산은 오직 지정한 유한 재표집 법칙의 정확 포함률입니다.

먼저 생각한 뒤 풀이 보기: 왜 예측구간은 더 넓나요?
Var⁡(Xnew−X‾n)=σ02+σ02n\operatorname{Var}(X_{\rm new}-\overline X_n)=\sigma_0^2+\frac{\sigma_0^2}{n}

평균 추정의 흔들림에 새 선택값 자체의 변동까지 더하기 때문입니다. 95% 참조에서 평균 반폭은 약 0.355978 지수포인트, 새 선택 반폭은 약 0.795992입니다. 독립인 새 선택이라는 조건이 없으면 공분산 항까지 다시 고려해야 합니다.

먼저 생각한 뒤 풀이 보기: 관측 뒤 고정된 구간 안에 μ0가 있을 확률이 95%인가요?

이 빈도주의 절차에서는 μ0가 고정되어 있고 선택 전에 구간이 무작위입니다. 어떤 구간이 만들어진 뒤에는 μ0를 포함하거나 포함하지 않습니다. 포함률은 절차를 같은 법칙으로 반복할 때의 성질입니다. 이 사례는 모든 반복 가능성을 열거하므로 그 차이를 직접 확인할 수 있습니다.

자료: BIS · 실제 한국 실질 주택지수 · 실제 값·선택 법칙 CSV

사람 사례 · 로그임금의 SD, 평균의 SE, 새 관측의 범위

Card 공개 복제 자료의 1976년 청년 남성 3,613행 중 원문이 절단한 로그임금은 3,010행에 관측됩니다. 603개 비관측과 원래 절단을 유지합니다. 원시 시간당 임금은 센트 기준이지만 여기서는 공표된 로그 열을 그대로 씁니다. 이 관측 열의 무가중 평균은 이미 계산할 수 있는 요약입니다. 별도로 같은 분포에서 iid 표집됐다는 작동모형을 놓으면 미지 평균모수의 구간을 계산할 수 있으나, 실제 수집 설계·조사 가중치·선택을 검증한 것은 아닙니다.

실제 관측 열에서 계산한 세 수치
양값 (원자료 로그 눈금)무엇의 변동인가
관측 평균6.2618319183010개 기록의 중심
표본 SD s0.443797651기록들 사이의 흩어짐
추정 SE=s/√n0.008089129iid 작동모형 아래 평균의 흔들림
Iμ=L‾±t.975,n−1sLnInew=L‾±t.975,n−1sL1+1n\begin{gathered}I_\mu=\overline L\pm t_{.975,n-1}\frac{s_L}{\sqrt n}\\I_{\rm new}=\overline L\pm t_{.975,n-1}s_L\sqrt{1+\frac1n}\end{gathered}

n=3010, 자유도 3009에서 t.975≈1.960752688를 사용합니다. 두 식이 정확한 95% 빈도주의 포함률을 갖는 표준 정리는 정규 iid 모형을 전제로 합니다. 비정규 iid에서 평균 구간은 충분한 모멘트와 적절한 큰 표본 근사에 기대지만, 새 개인 값의 예측구간까지 표본 수만으로 정당화되지는 않습니다. 아래 구간은 이 가정을 명시한 계산이며 모든 남성의 실제 모집단 구간으로 인증하지 않습니다.

같은 자료의 서로 다른 구간 목표
목표95% 작동 구간 하한상한너비
분포의 평균모수6.2459711376.2776926990.031721562
정규 iid 모형의 새 선택 한 값5.3915099447.1321538911.740643947
먼저 생각한 뒤 풀이 보기: 관측 수가 많으면 개인 간 임금 차이도 0이 되나요?

아닙니다. 평균의 SE는 n의 제곱근으로 작아지지만 개별 기록의 SD는 그와 다른 양입니다. 새 한 값의 예측 반폭에는 sL 자체의 변동이 남습니다. 평균이 정밀하게 추정돼도 개인들의 값이 좁게 모여 있다는 뜻은 아닙니다.

먼저 생각한 뒤 풀이 보기: 맞춘 예측구간 안에 원래 기록이 들어가는 비율을 세면 새 예측 검증인가요?

이 자료 안의 비율은 1439/1505≈0.956146179입니다. 같은 데이터로 구간을 만들고 같은 기록을 다시 세었으므로 설명적 적합도일 뿐입니다. 별도 모집단·미래 관측의 포함률 검증과 다릅니다. 종속성·수집 선택·절단·603개 비관측은 구간 폭만 줄인다고 사라지지 않습니다.

먼저 생각한 뒤 풀이 보기: 로그 구간의 끝점에 지수를 취하면 평균 임금 구간인가요?

평균 로그의 구간을 지수화하면 exp(μL)라는 기하 중심에 대한 변환 구간입니다. 일반적으로 E[exp(L)]인 수준 평균과 다릅니다. 원자료 통화 기준·시간당 단위도 함께 보존해야 합니다. 여기서는 현재 가치의 임금이나 교육의 인과효과로 바꾸어 제시하지 않습니다.

자료: David Card · 실제 익명 NLS 복제 자료 · 실제 값·선택 법칙 CSV

기업·점포 사례 · 같은 점포의 전후 기록은 한 쌍이다

Card·Krueger가 공개한 1992년 뉴저지·펜실베이니아 패스트푸드 점포 자료 410행을 원 public.dat와 대조했습니다. 원 SAS 프로그램과 같은 FTE=전일제+0.5×시간제+관리자 정의를 씁니다. 이는 환산 고용량이며 서로 다른 사람 수를 새로 센 값이 아닙니다. 폐점·미응답·부분 결측을 임의로 0으로 바꾸지 않습니다. 두 시점 FTE가 모두 관측된 같은 점포 384개를 선택하면 NJ309, PA75개입니다.

점포 i의 관측 변화 Di=FTEafter,i−FTEbefore,i를 먼저 계산합니다. 아래 평균과 구간은 이 완전 짝 표에 대한 무가중 요약과 작동모형 계산입니다. 두 시점의 단순 변화 자체는 최저임금 정책의 인과효과가 아닙니다. 두 지역의 조사·점포 선택·기타 변화와 추가 식별 가정 없이 정책 때문이라고 해석하지 않습니다.

SE⁡^(D‾)=sDmIμD=D‾±t.975,m−1sDm\begin{gathered}\widehat{\operatorname{SE}}(\overline D)=\frac{s_D}{\sqrt m}\\I_{\mu_D}=\overline D\pm t_{.975,m-1}\frac{s_D}{\sqrt m}\end{gathered}
실제 동일 점포의 짝 변화와 작동 평균 구간
집단완전 짝 m평균 변화 (FTE)변화 SD평균 SE95% 작동 구간
all384-0.0704439.0223250.460419[-0.975707, 0.834822]
NJ3090.4666678.4521950.480829[-0.479458, 1.412791]
PA75-2.28333310.8536281.253269[-4.780526, 0.213860]

1. 짝을 지우면 표준오차가 달라진다

sD2=safter2+sbefore2−2sbefore,afters_D^2=s_{\rm after}^2+s_{\rm before}^2-2s_{{\rm before},{\rm after}}
정확히 같은 완전 짝 집합에서 비교
집단짝을 유지한 SE공분산을 무시한 독립 시점 참조 SE전후 표본 공분산 (FTE²)
all0.4604185770.68813562250.216710693
NJ0.4808285710.74800385650.724459400
PA1.2532689991.69078219948.302297297
먼저 생각한 뒤 풀이 보기: 왜 이번에는 짝 SE가 더 작은가요?

실제 전후 공분산이 양수라 차이의 분산에서 그 두 배가 빠지기 때문입니다. 전체384점포의 짝 SE는 약 .460419 FTE, 같은 행에서 공분산을 무시한 참조는 .688136 FTE입니다. 짝을 쓰면 언제나 작아진다는 일반 명제는 아닙니다. 공분산의 부호·크기와 무엇을 비교하는지 확인합니다.

먼저 생각한 뒤 풀이 보기: 384개가 많으니 t구간의 가정은 자동으로 맞나요?

아닙니다. iid 점포와 공통 평균·유한 분산, 작은 표본에서의 정규성 등 작동 조건을 확인해야 합니다. 동일 체인·지역의 의존성이 있으면 단순 점포 iid SE가 부적절할 수 있습니다. 큰 m은 원래 표본 설계·선택·군집 문제를 자동으로 고치지 않습니다. 여기서는 이 조건을 인증하지 않고 공식을 적용했을 때의 결과를 표시합니다.

먼저 생각한 뒤 풀이 보기: 구간에 0이 들어가면 관측 변화가 없었다는 뜻인가요?

아닙니다. 실제 점포 변화와 표본평균은 이미 관측되어 있습니다. 구간은 작동모형에서 평균모수의 정밀도를 표현합니다. 0을 포함하는 결과만으로 실제 변화가 모두 0이거나 정책효과가 없음을 증명하지 않습니다. 검정과 효과크기를 연결하는 방법은 다음 장에서 따로 다룹니다.

자료: Card·Krueger · 실제 공개 점포 복제 자료 · 실제 값·선택 법칙 CSV

가정256개 표본·세 수준 평균 구간 CSV · 가정 표본·새 선택의3072개 튜플 CSV · 정확 포함률 CSV · 로그임금 두 구간 CSV · 점포 짝 통계·구간 CSV · 출처·가공·해시 기록

Country case · A known four-quarter mean does not acquire new uncertainty

Four actual 2024 BIS Korea-wide real residential price-index values are 108.3502,107.7932,107.4475 and 107.4756. The 2010 average is 100; these are not KRW apartment prices. Their uniform mean μ0=107.766625 is already a completely known fixed summary. It does not need a confidence interval to be described. Use that known target only to evaluate interval procedures in a separately defined resampling experiment.

The assumed experiment takes four independent replacement draws from the four quarter tickets. Enumerate all 4⁴=256 ordered samples. Adding one independent draw gives 4⁵=1024 tuples. The new draw is another of the same historical four values, not an observed quarter next year. This does not assert that the original quarterly time series was iid.

1. Covering a mean differs from containing one new draw

Iμ=[X‾n±z1−α/2σ0n]Inew=[X‾n±z1−α/2σ01+1n]\begin{gathered}I_\mu=\left[\overline X_n\pm z_{1-\alpha/2}\frac{\sigma_0}{\sqrt n}\right]\\I_{\rm new}=\left[\overline X_n\pm z_{1-\alpha/2}\sigma_0\sqrt{1+\frac1n}\right]\end{gathered}

σ0² is the known variance of the four-value uniform law. The first target is fixed μ0; the second is one independent new draw. These rules have nominal coverage for a normal iid population with known σ. The finite four-value law is not normal, so call them normal-reference rules and calculate actual coverage over all possible tuples.

Coverage counted directly under the finite resampling law
Nominal normal levelMean intervals covering μ0 /256Exact mean coveragePrediction intervals containing new draw /1024Exact new-draw coverage
90%226/256113/128918/1024459/512
95%243/256243/256978/1024489/512
99%255/256255/2561024/10241
Think first, then reveal: Does naming a rule 95% make its coverage exactly .95 here?

No. The fraction of all 256 intervals covering μ0 is 243/256. The prediction rule’s exact new-draw coverage is 489/512. Nominal level, coverage under a specified law and validity for real acquisition are different concepts. This calculation certifies only the defined finite resampling law.

Think first, then reveal: Why is the prediction interval wider?
Var⁡(Xnew−X‾n)=σ02+σ02n\operatorname{Var}(X_{\rm new}-\overline X_n)=\sigma_0^2+\frac{\sigma_0^2}{n}

It includes new-draw variation in addition to variation of the estimated mean. At the 95% reference, the mean halfwidth is about 0.355978 index points, versus 0.795992 for a new draw. Without independence, covariance must also be considered.

Think first, then reveal: After observing an interval, is there 95% probability that fixed μ0 lies inside it?

In this frequentist procedure μ0 is fixed while the interval is random before sampling. A realized interval either covers it or does not. Coverage describes repetition under the same law. Enumerating all possible samples makes that distinction visible.

Source: BIS · actual Korea real housing index · Actual values and selection-law CSV

Person case · Log-wage SD, mean SE and a new observation’s range

Of 3613 men in Card’s public 1976 replication data,3010 have the source-trimmed log wage. Preserve 603 unobserved values and original trimming. Raw hourly wages use cents; this analysis retains the published log column. Its unweighted observed mean is already a descriptive summary. A separate working iid sampling model permits an interval for an unknown distribution mean, without verifying actual acquisition, survey weights or selection.

Three summaries from the actual observed log column
QuantityValue (source log scale)What varies?
Observed mean6.261831918Center of 3010 records
Sample SD s0.443797651Variation between records
Estimated SE=s/√n0.008089129Mean variation under the working iid model
Iμ=L‾±t.975,n−1sLnInew=L‾±t.975,n−1sL1+1n\begin{gathered}I_\mu=\overline L\pm t_{.975,n-1}\frac{s_L}{\sqrt n}\\I_{\rm new}=\overline L\pm t_{.975,n-1}s_L\sqrt{1+\frac1n}\end{gathered}

For n=3010 and 3009 degrees of freedom, t.975≈1.960752688. Exact 95% coverage for these standard formulas assumes a normal iid model. Under nonnormal iid sampling, a mean interval can rely on suitable moments and a large-sample approximation; sample size alone does not validate an individual prediction interval. These calculations state their assumptions rather than certify coverage for all men.

Different interval targets from the same data
TargetWorking 95% lower boundUpper boundWidth
Distribution mean parameter6.2459711376.2776926990.031721562
One new normal-iid-model draw5.3915099447.1321538911.740643947
Think first, then reveal: Does a large sample eliminate differences between people’s wages?

No. Mean SE shrinks with the square root of n; individual-record SD is a different quantity. Variation of one new value remains in its prediction halfwidth. A precisely estimated mean does not imply tightly clustered individual values.

Think first, then reveal: Does counting original records inside the fitted prediction interval validate future prediction?

The in-data fraction is 1439/1505≈0.956146179. The same data fitted the interval and supplied the counted records, so this is descriptive fit, not validated coverage for separate or future observations. Dependence, selection, trimming and 603 unobserved wages are not repaired by narrowing an interval.

Think first, then reveal: Does exponentiating the mean-log interval give an interval for mean wage?

It transforms an interval for μL into one for exp(μL), a geometric center. That generally differs from the level mean E[exp(L)]. Retain the source currency convention and hourly unit. These are not current-value wages or causal effects of education.

Source: David Card · actual anonymized NLS replication records · Actual values and selection-law CSV

Company/store case · Before and after observations belong to the same store

Compare 410 rows of Card and Krueger’s public 1992 New Jersey–Pennsylvania fast-food store data against public.dat. Use their SAS definition FTE=full-time+0.5×part-time+managers. This is equivalent employment, not a new count of distinct people. Do not zero-fill closures, nonresponse or partial missingness. Exactly 384 stores have both FTE values observed:309 in NJ and 75 in PA.

First calculate each store’s observed change Di=FTEafter,i−FTEbefore,i. The means and intervals below summarize the unweighted complete-pair table under stated working assumptions. A two-wave observed change is not itself an identified minimum-wage policy effect. Policy attribution requires additional design and identification assumptions about regions, stores and other changes.

SE⁡^(D‾)=sDmIμD=D‾±t.975,m−1sDm\begin{gathered}\widehat{\operatorname{SE}}(\overline D)=\frac{s_D}{\sqrt m}\\I_{\mu_D}=\overline D\pm t_{.975,m-1}\frac{s_D}{\sqrt m}\end{gathered}
Actual paired changes and working mean intervals
GroupComplete pairs mMean change (FTE)Change SDMean SEWorking 95% interval
all384-0.0704439.0223250.460419[-0.975707, 0.834822]
NJ3090.4666678.4521950.480829[-0.479458, 1.412791]
PA75-2.28333310.8536281.253269[-4.780526, 0.213860]

1. Erasing pairing changes the standard error

sD2=safter2+sbefore2−2sbefore,afters_D^2=s_{\rm after}^2+s_{\rm before}^2-2s_{{\rm before},{\rm after}}
Compare exactly the same complete-pair sets
GroupPaired SEIncorrect independent-wave SE referenceBefore/after sample covariance (FTE²)
all0.4604185770.68813562250.216710693
NJ0.4808285710.74800385650.724459400
PA1.2532689991.69078219948.302297297
Think first, then reveal: Why is the paired SE smaller here?

Actual before/after covariance is positive, so twice it is subtracted in the change variance. For 384 stores, paired SE is about .460419 FTE versus .688136 FTE when covariance is ignored on the same rows. Pairing does not universally reduce every SE; examine covariance’s sign, size and the comparison target.

Think first, then reveal: Does having 384 stores automatically validate the t interval?

No. Examine the working conditions: iid stores, a common mean, finite variance and normality for an exact small-sample t result. Chain or geographic dependence can invalidate a simple iid-store SE. A large m does not repair sampling, selection or clustering automatically. The displayed formula results do not certify those conditions.

Think first, then reveal: Does an interval containing zero mean no observed changes occurred?

No. Store changes and their sample means have already been observed. An interval addresses precision for a working model’s mean parameter. Including zero proves neither that all actual changes were zero nor that a policy had no effect. The next chapter connects testing with effect size separately.

Source: Card and Krueger · actual public store replication records · Actual values and selection-law CSV

256 assumed samples at three mean-interval levels CSV · 3072 assumed sample/new-draw tuples CSV · Exact coverage CSV · Two log-wage intervals CSV · Paired store moments and intervals CSV · Sources, processing and hashes

기초Foundations

48. 공식 읽기와 다음 검정 장의 질문48. Primary readings and questions for the next chapter

MIT18.05 Class22의 슬라이드 3~12에서 분위수 표기·정규 평균의 z/t구간·피벗 뒤집기를 읽습니다. 그 자료의 오른쪽 꼬리 임계값 표기와 이 교재의 왼쪽 분위수 표기를 먼저 대응시키세요.

NIST 평균 신뢰한계에서는 구간의 해석과 t공식을 읽고, 정확 유한 표본의 정규 조건과 비정규 근사를 구별합니다. NIST 예측한계의 첫 설명은 새 m개 평균의 √(1/n+1/m)을 확인하는 데 씁니다.

R 공식 binom.test 문서의 Details는 Clopper–Pearson 보장과 일반적으로 최단 길이가 아니라는 점을 확인해 줍니다. 수치 끝점을 계산하는 것과 원자료에서 이항 표집 가정을 확인하는 것은 다른 작업입니다.

다음 장에서는 후보값을 버리는 검정의 오류·검정력·효과크기를 다룹니다. ‘구간에 0이 들어감’과 ‘효과가 0임을 입증함’을 구별하고, 목표와 설계를 먼저 적는 습관을 이어갑니다.

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

Read slides 3–12 of MIT 18.05 Class 22 for critical notation, z/t intervals and pivot inversion. Match its right-tail labels to this text’s left-CDF quantiles.

Use NIST confidence limits for the mean for interpretation and the t formula while retaining the exact normal versus approximate nonnormal distinction. The opening of NIST prediction limits gives √(1/n+1/m) for a future mean.

The Details in official R binom.test documentation state the Clopper–Pearson coverage guarantee and lack of general shortest length. Numerical endpoints do not validate original binomial sampling assumptions.

The next chapter develops errors, power and effect sizes for tests. Continue distinguishing inclusion of zero from proof of a zero effect, and define target and design first.

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 stat11-reproduce.py
Rscript --vanilla --encoding=UTF-8 stat11-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.

모분산을 모를 때 평균의 표준오차Mean standard error when variance is unknown

MIT OCW · John Tsitsiklis, RES.6-012,20.7

본문에서 공식 강의를 보며 알려진 σ와 자료로 계산한 s를 구별합니다. 구간 공식에 숫자를 넣기 전에 표집·모멘트·근사 조건을 확인해 보세요.Watch the official lecture in the chapter and separate known σ from estimated s. Identify sampling, moment and approximation conditions before substituting numbers into an interval rule.

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

보고 읽은 뒤 답하기Respond after watching/reading s가 크다는 것과 평균의 SE가 크다는 것은 같은가요?Is a large s the same statement as a large mean SE?

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

같지 않습니다. iid 작동모형에서 SE는 s/√n이므로 자료의 흩어짐뿐 아니라 n에도 의존합니다.No. Under the working iid model, SE=s/√n depends on sample size as well as dispersion.

예지 네이만 · 구간을 만드는 절차의 포함률Jerzy Neyman: coverage of an interval procedure

University of St Andrews · MacTutor

대학 소개의 신뢰구간 기여 부분을 읽습니다. 이미 정해진 평균의 확률을 바꾸는 대신 표본에 따라 달라지는 구간 절차를 생각해 봅니다.Read the university account of Neyman’s contribution to confidence intervals. Think about a sample-dependent interval procedure rather than assigning a new probability to a fixed mean.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 고정 μ0와 무작위 구간 중 어떤 것이 반복에 따라 바뀌나요?Which changes across repetitions: fixed μ0 or the random interval?

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

고정된 같은 법칙을 반복할 때 표본과 구간이 달라집니다. 그 구간들이 μ0를 포함하는 비율이 절차의 포함률입니다.The sample and interval change under repetition of the same law. Their fraction covering μ0 is the procedure’s coverage.

평균 신뢰구간의 목표와 해석The target and interpretation of a mean confidence interval

NIST/SEMATECH e-Handbook · Confidence Limits for the Mean, definition/interpretation only

앞부분의 절차 해석과 t구간 정의만 읽습니다. 정규 iid에서는 정확한 t정리이며, 다른 표집이나 비정규 자료에서는 조건과 근사를 별도로 검토한다는 설명을 함께 적용합니다.Read the opening procedure interpretation and t-interval definition. Apply the exact normal-iid theorem only under its conditions; assess assumptions and approximations for other designs and distributions.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 이번 구간에 평균이95% 확률로 들어 있다고 말해도 되나요?Can we say this realized interval contains the fixed mean with95% probability?

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

이 빈도주의 해석에서는 절차의 반복 포함률을 말합니다. 관측 뒤 그 구간은 목표를 담거나 담지 않습니다.The frequentist interpretation concerns repeated-procedure coverage. After observation, that interval either covers the target or does not.

평균 구간과 새 관측 예측구간의 폭Widths of mean and new-observation prediction intervals

NIST Dataplot · Prediction Limits, opening formula with explicit normal/iid assumptions

새 m개 평균의 예측식에서 m=1을 넣어 봅니다. 기존 평균의 추정 변동에 새 관측의 변동이 왜 추가되는지 실제 로그임금 예와 연결합니다.Set m=1 in the prediction formula for a mean of new observations. Connect added new-observation variation to the actual log-wage example.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 원래 표본이 커지면 개별값 PI도 반드시0폭으로 줄어드나요?Must an individual-value PI shrink to zero width as the original sample grows?

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

아닙니다. 새 한 관측 자체의 변동이 남습니다. 평균 CI와 서로 다른 목표입니다.No. Variation of one new observation remains. Its target differs from the mean CI.

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

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

1. 평균과 다음 값의 두 표적Two different targets

한 반의 평균 키 μ를 추정하는 구간과 다음 학생의 키 Y_new를 예측하는 구간은 같은가요? 자료가 많아지면 둘 다 폭이 0으로 가나요?

Are an interval for a class mean μ and an interval for the next student’s height Y_new the same? Must both widths vanish with more training data?

풀이와 확인할 이유Solution and explanation

표적이 다릅니다. 같은 iid 정규법칙에서 평균의 불확실성은 표본 수와 함께 줄지만, 새 학생의 개인별 변동은 남습니다. 기본 한 관측 PI의 폭은 일반적으로 0이 되지 않습니다.

The targets differ. Mean uncertainty shrinks under the model, but individual variation remains. A one-observation PI generally retains positive limiting width.

2. 20g와 4g의 차이The difference between 20 g and 4 g

iid 모형의 관측 SD가 20g, n=25입니다. 평균 SE를 구하고 개별 관측의 변동도 같은 크기로 줄었는지 설명하세요.

An iid source has observation SD 20 g and n=25. Find mean SE and explain whether individual variation shrank too.

풀이와 확인할 이유Solution and explanation
SE⁡(X‾)=20/25=4 g.\operatorname{SE}(\overline X)=20/\sqrt{25}=4\text{ g}.

개별 SD는 여전히 20g입니다. 평균을 내어 줄어드는 것은 평균 통계량의 변동입니다.

SE⁡(X‾)=4 g.\operatorname{SE}(\overline X)=4\text{ g}.

Individual SD remains 20 g. Averaging reduces variability of the mean statistic.

3. 95%의 올바른 해석Interpret 95% correctly

이번 자료의 평균 신뢰구간 [9.2,10.8]을 얻었습니다. ‘미지 μ가 여기에 있을 사후확률은 .95’라고 써도 되나요?

A realized mean CI is[9.2, 10.8]. May its frequentist calculation alone be described as posterior probability .95 that μ lies there?

풀이와 확인할 이유Solution and explanation

이 빈도주의 계산만으로는 안 됩니다. 정한 모형·조건 아래 반복 표본으로 만드는 구간 절차의 포함률이 95%라는 뜻입니다. 사후확률에는 별도의 사전분포·사후모형이 필요합니다.

No. The level concerns repeated sampling coverage of the procedure under its assumptions. A posterior probability needs a separately defined prior and posterior model.

4. 관측 전 무작위인 것은 무엇인가What is random before observation?

고정 모수 μ와 구간 C(X)=[L(X), U(X)]에서 P_μ{μ∈C(X)}는 무엇의 무작위성을 평균 내나요?

For fixed μ and C(X)=[L(X), U(X)], what randomness is averaged in P_μ{μ∈C(X)}?

풀이와 확인할 이유Solution and explanation

표집법칙에 따른 자료 X와 그 자료가 만드는 구간의 무작위성입니다. 고정 μ를 매번 새로 무작위 추첨한 확률은 아닙니다. 관측 후에는 양 끝도 이번 숫자로 고정됩니다.

Random sampling data and their resulting intervals. The calculation does not repeatedly draw a new random parameter. After observation, this interval’s endpoints are fixed numbers.

5. 폭 0과 폭 무한대Zero and infinite widths

늘 실수 전체를 내는 구간과 늘 추정값 한 점만 내는 구간을 비교하세요. 너비만으로 좋은 절차를 정할 수 있나요?

Compare the entire real line with a single estimated point. Can width alone identify a good procedure?

풀이와 확인할 이유Solution and explanation

실수 전체는 항상 포함하지만 정보가 거의 없고, 한 점은 좁지만 연속 표집모형에서 목표를 맞힐 확률이 0일 수 있습니다. 같은 표적·조건·수준에서 포함률과 너비를 함께 비교해야 합니다.

The first always covers but narrows nothing; the second is narrow but can have zero coverage in a continuous model. Compare coverage and width together.

6. z피벗의 구간 반전Invert a z pivot

iid N(μ, σ²), 알려진 σ>0에서 P(−z≤(X̄−μ)/(σ/√n)≤z)=1−α입니다. μ의 구간을 부등식으로 유도하세요.

Under iid N(μ, σ²) with known σ>0, invert the central standard-normal event into an interval for μ.

풀이와 확인할 이유Solution and explanation
−zσ/n≤X‾−μ≤zσ/n,X‾−zσ/n≤μ≤X‾+zσ/n.\begin{gathered} -z\sigma/\sqrt n\le\overline X-\mu\le z\sigma/\sqrt n,\\ \overline X-z\sigma/\sqrt n\le\mu\le \overline X+z\sigma/\sqrt n . \end{gathered}

양의 척도를 곱하고 μ를 정리했습니다. 이 모형에서 각 사건이 동일하므로 포함확률도 같습니다.

X‾−zσ/n≤μ≤X‾+zσ/n.\overline X-z\sigma/\sqrt n\le\mu\le\overline X+z\sigma/\sqrt n.

Multiply by the positive scale and rearrange. The events are identical, preserving coverage under the model.

7. 두 꼬리와 분위수Two tails and a quantile

95% 양쪽 정규 평균구간에서 α, 한쪽 꼬리확률, 왼쪽 누적 분위수 수준, 양의 z값을 각각 적으세요.

For a two-sided 95% normal mean interval, state α, one-tail probability, left-CDF quantile level and positive z.

풀이와 확인할 이유Solution and explanation

α=.05, 한쪽 꼬리 .025, 왼쪽 누적수준 .975, z≈1.95996398454입니다. 오른쪽 꼬리확률 .025를 아래첨자로 쓰는 교재도 같은 양의 수를 가리킬 수 있으므로 표기 정의를 읽습니다.

They are .05, .025, .975 and about 1.95996398454. A book using a right-tail subscript can label the same positive value differently.

8. 알려진 σ의 기본 계산A known-SD calculation

가상 iid 정규자료의 평균 10, 알려진 σ=2, n=25입니다. 95% z구간의 SE·반너비·끝점을 계산하세요.

A hypothetical normal sample has mean 10, known σ=2 and n=25. Calculate SE, half-width and a 95% z interval.

풀이와 확인할 이유Solution and explanation
SE⁡=2/5=.4,w≈1.959963985(.4)=.783985594,C(x)≈[9.216014406, 10.783985594].\begin{gathered} \operatorname{SE}=2/5=.4,\\ w\approx1.959963985(.4)=.783985594,\\ C(x)\approx[9.216014406,\ 10.783985594]. \end{gathered}

이것은 모평균 구간입니다. 새 한 관측을 위한 같은 수준의 PI는 더 넓습니다.

SE⁡=.4w≈.783985594,C(x)≈[9.216014406, 10.783985594].\begin{gathered} \operatorname{SE}=.4\\w\approx .783985594,\\ C(x)\approx[9.216014406,\ 10.783985594]. \end{gathered}

The target is the population mean, not one future value.

9. 반너비를 절반으로 줄이기Halve the half-width

알려진 σ와 신뢰수준을 고정한 z구간에서 n=25를 얼마로 바꾸어야 반너비가 절반이 되나요?

At fixed known σ and confidence level, change n=25 to make a z half-width half as large.

풀이와 확인할 이유Solution and explanation

반너비는 1/√n에 비례하므로 n을 4배인 100으로 바꿉니다. n=50은 1/√2배이지 절반이 아닙니다.

Use n=100. Width scales with 1/√n; doubling to 50 reduces it only by 1/√2.

10. 더 높은 신뢰수준의 비용The cost of a higher level

같은 평균·n·σ에서 90% z구간과 99% z구간을 비교하세요. 중심과 너비는 어떻게 변하나요?

Compare 90% and 99% z intervals at the same mean, n and σ. What changes?

풀이와 확인할 이유Solution and explanation

중심은 같은 표본평균입니다. 양의 임계값이 약 1.644854에서 2.575829로 커져 99% 구간이 넓습니다. 높은 반복 포함률을 위해 더 많은 후보를 남깁니다.

The center stays fixed. Increasing the critical from about 1.644854 to 2.575829 widens the 99% interval.

11. 네 값의 표본표준편차Sample SD from four values

표본 (4,1,2,3)에서 평균, s², s/√n을 구하세요. 모표준편차를 이미 아는 계산인가요?

For (4, 1, 2, 3), find the mean, s² and s/√n. Is population σ already known?

풀이와 확인할 이유Solution and explanation
x‾=2.5s2=53s/n=512≈.645497224.\begin{gathered}\overline x=2.5\\s^2=\frac5{3}\\s/\sqrt n=\sqrt{\frac5{12}}\approx .645497224.\end{gathered}

자료로 s를 추정한 것입니다. 알려진 σ의 z절차와 같은 정보 조건이 아닙니다.

x‾=2.5s2=5/3s/n=5/12.\begin{gathered}\overline x=2.5\\s^2=5/3\\s/\sqrt n=\sqrt{5/12}.\end{gathered}

No. The spread is estimated from this sample.

12. t₁의 평균은 없어도 분위수는 있다A t₁ quantile exists without a mean

n=2의 iid 정규 평균구간은 t₁ 임계값을 씁니다. t₁이 Cauchy라 평균이 없으므로 이 구간도 정의되지 않는다는 주장을 평가하세요.

A two-observation iid normal mean interval uses t₁. Does its Cauchy lack of expectation make the interval undefined?

풀이와 확인할 이유Solution and explanation

틀렸습니다. t₁의 평균 존재와 분위수 존재는 다릅니다. 양의 모분산 아래 정규 표본의 피벗은 t₁이고 95% 양쪽 임계값은 약 12.7062로 정의됩니다. s=0의 예외 표본 처리는 별도입니다.

No. Quantiles exist even when the mean does not. The two-sided 95% critical is about 12.7062 under the normal pivot assumptions. Zero observed s is a separate boundary.

13. 네 값의 95% t구간A 95% t interval for four values

가상 iid 정규 표본 (4,1,2,3)에서 평균 2.5, SE=√(5/12), 자유도 3입니다. t_.975,3≈3.182446을 써 95% 구간을 계산하세요.

For the hypothetical normal sample (4, 1, 2, 3), mean 2.5 and SE√(5/12), use df 3 critical 3.182446 to calculate a 95% interval.

풀이와 확인할 이유Solution and explanation
w≈3.1824465/12≈2.05426C(x)≈[.44574, 4.55426]\begin{gathered}w\approx3.182446\sqrt{5/12}\\\approx2.05426\\C(x)\approx[.44574,\ 4.55426]\end{gathered}

이번 구간이 표본값 전부를 덮는지로 평균 μ의 포함 성패를 판정하지 않습니다.

w≈2.05426C(x)≈[.44574, 4.55426].\begin{gathered}w\approx2.05426\\C(x)\approx[.44574,\ 4.55426].\end{gathered}

Covering sample observations is not the definition of covering the population mean.

14. s=0과 모표준편차 0의 구별Observed zero s versus known zero σ

반올림한 실제 관측값이 모두 같아 s=0입니다. t구간을 한 점으로 보고 모평균을 완전히 안다고 결론내려도 되나요?

Rounded actual records all coincide, giving s=0. May a point t interval be treated as complete knowledge of the mean?

풀이와 확인할 이유Solution and explanation

안 됩니다. 양의 표준오차를 나누는 t피벗은 미정의이고, 반올림·측정 해상도·원모형을 검토해야 합니다. 알려진 σ=0인 상수법칙은 다른 가정입니다. 이상적 연속 정규모형에서 s=0은 영사건이라는 점과 실제 기록의 경계도 구별합니다.

No. The positive-spread pivot is undefined and measurement resolution or modeling needs review. Known σ=0 is a different constant-law assumption. The ideal continuous normal model’s null event is not the same as a practical rounded-data issue.

15. 큰 n이 개인값을 정규로 바꾸나Does large n normalize individual values?

비정규 iid 유한 분산 자료에서 n이 매우 큽니다. 평균 t형 근사의 근거와 새 개인값 PI의 정규 가정을 구별하세요.

For a large iid finite-variance but nonnormal sample, distinguish support for a mean t-style approximation from assumptions for a normal individual PI.

풀이와 확인할 이유Solution and explanation

평균은 CLT와 일치하는 s로 studentized 점근 정규성을 가질 수 있습니다. 그러나 원래 개인값의 분포는 n이 커졌다고 정규로 바뀌지 않습니다. 새 한 관측에 정규 PI를 쓰려면 원법칙·조건부 예측 모형의 적합성이 별도로 필요합니다.

The CLT and consistent s can justify an asymptotic mean pivot. They do not change the source law of a new individual observation to normal.

16. 독립 새 관측의 예측오차 분산Variance of an independent prediction error

훈련 n≥1개는 서로 독립이며 같은 평균 μ와 유한 분산 σ²를 가집니다. 같은 평균·분산의 새 관측은 훈련 표본 전체와 독립입니다. Var(Y_new−X̄)를 구하세요. 이 분산 계산에 정규성이 필요한가요?

The n≥1 training observations are mutually independent with common mean μ and finite variance σ². A new observation with the same moments is independent of the entire training sample. Find Var(Y_new−X̄). Does this variance identity need normality?

풀이와 확인할 이유Solution and explanation
Var⁡(Ynew−X‾)=σ2+σ2/n=σ2(1+1/n)\begin{gathered}\operatorname{Var}(Y_{\rm new}-\overline X)\\=\sigma^2+\sigma^2/n=\sigma^2(1+1/n)\end{gathered}

이 분산 항등식에는 같은 유한 분산과 독립 조건이 필요하고 정규성은 필요하지 않습니다. 그 오차를 정확히 정규 또는 t로 표준화하는 분포 주장은 정규 조건을 추가로 사용합니다.

Var⁡(Ynew−X‾)=σ2+σ2/n=σ2(1+1/n)\begin{gathered}\operatorname{Var}(Y_{\rm new}-\overline X)\\=\sigma^2+\sigma^2/n=\sigma^2(1+1/n)\end{gathered}

Normality is unnecessary for the variance identity. It is added for the exact normal or t distribution of the standardized error.

17. 새 관측이 의존한다면A dependent new observation

Cov(Y_new, X̄)=c이고 두 분산이 σ², σ²/n입니다. 예측오차 분산에 어떤 항이 더 필요한가요?

If Cov(Y_new, X̄)=c and variances are σ² and σ²/n, what is the prediction-error variance?

풀이와 확인할 이유Solution and explanation
Var⁡(Ynew−X‾)=σ2+σ2/n=σ2(1+1/n)\begin{gathered}\operatorname{Var}(Y_{\rm new}-\overline X)\\=\sigma^2+\sigma^2/n=\sigma^2(1+1/n)\end{gathered}

독립이면 c=0이지만 비독립이어도 공분산이 0일 수 있습니다. 근거 없이 이 항을 버리지는 않습니다. 같은 점포의 다음 결과나 시계열은 의존을 검토해야 합니다. 양의 공분산이면 이 차이의 분산을 줄이는 방향입니다.

Var⁡(Ynew−X‾)=σ2+σ2/n=σ2(1+1/n)\begin{gathered}\operatorname{Var}(Y_{\rm new}-\overline X)\\=\sigma^2+\sigma^2/n=\sigma^2(1+1/n)\end{gathered}

Do not discard c without justification. Positive covariance reduces variation of this difference.

18. 알려진 σ의 두 반너비Two known-SD half-widths

iid 정규 훈련 모형에서 σ=2, n=25, 수준 .95입니다. 같은 법칙의 새 관측은 훈련 표본 전체와 독립입니다. 평균 CI와 새 한 관측 PI의 반너비를 z≈1.959963985로 계산하세요.

Under an iid normal training model and an independent new observation from the same law, σ=2, n=25, level .95. Use z≈1.959963985 to calculate mean-CI and one-outcome-PI half-widths.

풀이와 확인할 이유Solution and explanation
wmean=z(2/5)≈.783985594,wnew=2z1+1/25≈3.997558,wnewwmean=26.\begin{gathered} w_{\rm mean}=z(2/5)\approx .783985594,\\ w_{\rm new}=2z\sqrt{1+1/25}\approx3.997558,\\ \frac{w_{\rm new}}{w_{\rm mean}}=\sqrt{26}. \end{gathered}

두 번째 수치는 새 관측의 변동을 더합니다. 같은 평균 중심이어도 표적이 다릅니다.

wmean≈.783985594,wnew=2z1.04≈3.997558,wnew/wmean=26.\begin{gathered} w_{\rm mean}\approx .783985594,\\ w_{\rm new}=2z\sqrt{1.04}\approx3.997558,\\ w_{\rm new}/w_{\rm mean}=\sqrt{26}. \end{gathered}

The second includes new-outcome variation.

19. t구간의 폭 비율The t-interval width ratio

같은 n=25, s>0, 수준의 t평균구간과 새 한 독립 정규관측 PI를 비교하세요. 폭 비율은 임계값이나 s에 의존하나요?

At n=25, s>0, compare a t mean interval with a PI for one independent new normal outcome. Does their width ratio depend on the critical or s?

풀이와 확인할 이유Solution and explanation
t s1+1/nt s/n=n+1=26≈5.099020\begin{gathered}\frac{t\,s\sqrt{1+1/n}}{t\,s/\sqrt n}=\sqrt{n+1}\\=\sqrt{26}\approx5.099020\end{gathered}

같은 임계값과 s가 약분되므로 이 비율은 여기서는 n에만 의존합니다. 양의 s와 같은 표본·수준·모형을 비교한 결과입니다.

wPI/wCI=26≈5.099020.w_{\rm PI}/w_{\rm CI}=\sqrt{26}\approx5.099020.

The shared positive s and critical cancel. Compare the same sample, level and model.

20. 새 아홉 개 평균의 분산 척도Predicting a mean of nine future observations

같은 정규법칙 N(μ, σ²), σ>0에서 훈련 n=25개와 미래 m=9개가 각각 iid이며 두 표본 전체도 서로 독립입니다. 미래 평균의 예측오차 분산과 평균 CI 대비 폭 비율을 구하세요.

Training size 25 and future size 9 are each iid from the same N(μ, σ²) law with σ>0, and the two entire samples are independent. Find prediction-error variance and the width ratio to the mean CI.

풀이와 확인할 이유Solution and explanation
Var⁡(Y‾new−X‾)=σ2(1/25+1/9)=34225σ2wfuture meanwmean CI=1+25/9=343\begin{gathered}\operatorname{Var}(\overline Y_{\rm new}-\overline X)\\=\sigma^2(1/25+1/9)=\frac{34}{225}\sigma^2\\\frac{w_{\rm future\ mean}}{w_{\rm mean\ CI}}\\=\sqrt{1+25/9}=\frac{\sqrt{34}}3\end{gathered}

이 구간은 미래 아홉 개의 평균을 위한 것이지 아홉 개 값 전부를 덮는 구간이 아닙니다.

Var⁡(Y‾new−X‾)=σ2(1/25+1/9)=34225σ2wfuture meanwmean CI=1+25/9=343\begin{gathered}\operatorname{Var}(\overline Y_{\rm new}-\overline X)\\=\sigma^2(1/25+1/9)=\frac{34}{225}\sigma^2\\\frac{w_{\rm future\ mean}}{w_{\rm mean\ CI}}\\=\sqrt{1+25/9}=\frac{\sqrt{34}}3\end{gathered}

The target is the future mean, not simultaneous containment of all nine values.

21. n과 m 중 하나만 늘릴 때Increasing only n or only m

같은 iid 정규법칙의 미래 m개 평균 예측에서 오차분산은 σ²(1/n+1/m)입니다. n만 무한히 늘릴 때와 m만 늘릴 때 남는 분산을 구하세요.

For a future mean under the same iid normal law, error variance is σ²(1/n+1/m). What remains when only n or only m grows?

풀이와 확인할 이유Solution and explanation

고정 m에서 n→∞이면 σ²/m, 고정 n에서 m→∞이면 σ²/n이 남습니다. 훈련의 불확실성과 미래 평균의 변동은 서로 다른 두 항입니다.

At fixed m, the limit is σ²/m. At fixed n, it is σ²/n. Training uncertainty and future-mean variation are separate components.

22. 미래 평균과 미래 전부A future mean versus every future value

미래 관측 10개의 평균에 대한 95% PI를 계산했습니다. 이 구간이 그 10개를 모두 포함할 확률도 95%인가요?

A 95% PI targets the mean of ten future observations. Does it also cover all ten individual values with 95% probability?

풀이와 확인할 이유Solution and explanation

아닙니다. 평균이라는 한 결과의 포함 사건과 개별 값 열 개의 동시 포함 사건은 다릅니다. 후자에는 그 사건을 표적으로 정한 다중 예측 절차가 필요합니다.

No. Containing the mean and containing every individual value are different events requiring different procedures.

23. 빈도주의와 사후 구간Frequentist and posterior intervals

한 자료에서 빈도주의 CI와 Bayesian 신용구간의 숫자가 같았습니다. 두 해석도 같은가요?

A confidence interval and Bayesian credible interval happen to have equal endpoints. Are their interpretations identical?

풀이와 확인할 이유Solution and explanation

아닙니다. CI의 수준은 정한 법칙 아래 반복 표본 구간의 포함률이고, 신용구간은 사전·가능도로 만든 사후분포에서의 모수 확률입니다. 수치 일치는 정의와 가정을 동일하게 만들지 않습니다.

No. One level concerns repeated sampling coverage; the other a posterior parameter distribution formed from prior and likelihood. Matching numbers do not equate definitions.

24. 허용구간의 두 수준Two levels in a tolerance interval

‘95% 신뢰로 모집단 값의 90% 이상을 덮는 구간’은 평균 CI, 새 한 값 PI, 허용구간 중 무엇에 해당하나요?

“With 95% confidence, the interval covers at least 90% of population values.” Which interval type is this?

풀이와 확인할 이유Solution and explanation

허용구간의 형태입니다. 90%는 덮을 모집단 분포의 비율,95%는 그 비율을 만족하는 절차의 신뢰수준입니다. 한 개인의 예측 포함률 95%나 평균 모수의 CI와 다릅니다.

A tolerance interval. Ninety percent is the population fraction; ninety-five percent is confidence in achieving that fraction. It differs from a mean CI or one-outcome PI.

25. Wald의 0 성공 폭Wald width with zero successes

n=10, k=0, 명목 95%에서 Wald 추정 표준오차와 구간을 구하세요. 참 p가 반드시 0이라는 뜻인가요?

At n=10, k=0, nominal 95%, find the Wald estimated SE and interval. Must true p be zero?

풀이와 확인할 이유Solution and explanation

p̂=0이라 추정 SE=0, 구간 [0,0]입니다. 그러나 양의 p에서도 성공이 없을 수 있습니다. 이 퇴화는 작은 표본·끝점 근처에서 Wald 근사의 한계를 보여 줍니다.

The plug-in SE is zero and interval [0, 0]. Positive p can still produce no observed successes; the degeneracy exposes a finite-sample approximation problem.

26. 한 사건으로 Wald 보장을 반박한다Refute a Wald guarantee using one event

참 p=.1, n=10입니다. k=0일 때의 [0,0] Wald 구간만 고려해 전체 포함률의 상계를 구하고 95% 보장과 비교하세요.

At true p=.1, n=10, use only the zero-success event and its Wald interval [0, 0] to bound total coverage.

풀이와 확인할 이유Solution and explanation
coverage⁡≤1−.910≈.6513215599<.95\begin{gathered}\operatorname{coverage}\le1-.9^{10}\\\approx .6513215599<.95\end{gathered}

나머지 사건 전부가 성공한다고 해도 이 상계를 넘지 못합니다. 실제 포함률을 완전히 계산하지 않아도 95% 보장이 아님을 증명했습니다.

coverage⁡≤1−.910≈.6513215599<.95\begin{gathered}\operatorname{coverage}\le1-.9^{10}\\\approx .6513215599<.95\end{gathered}

Even perfect coverage on every other event cannot repair this deficit.

27. Wilson 이차식 유도Derive Wilson’s quadratic

내부 후보 p에서 n(p̂−p)²≤z²p(1−p)를 p에 대한 이차부등식으로 정리하세요.

Rearrange n(p̂−p)²≤z²p(1−p) into a quadratic inequality in candidate p.

풀이와 확인할 이유Solution and explanation
(n+z2)p2−(2np^+z2)p+np^2≤0.(n+z^2)p^2-(2n\widehat p+z^2)p+n\widehat p^2\le0.

왼쪽의 np²−2np̂p+np̂²에 오른쪽 항을 옮겼습니다. 위로 열린 이차식이므로 두 근 사이의 후보가 남습니다.

(n+z2)p2−(2np^+z2)p+np^2≤0.(n+z^2)p^2-(2n\widehat p+z^2)p+n\widehat p^2\le0.

The positive quadratic coefficient means retained candidates lie between its roots.

28. Wilson의 0 성공 위끝Wilson’s zero-success upper endpoint

n=10, k=0, z≈1.959963985에서 Wilson 구간을 구하세요. Wald와 비교하세요.

For n=10, k=0, z≈1.959963985, calculate the Wilson interval and compare with Wald.

풀이와 확인할 이유Solution and explanation
CWilson=[0,z210+z2]≈[0,.277532800]\begin{gathered}C_{\rm Wilson}=\left[0,\frac{z^2}{10+z^2}\right]\\\approx[0,.277532800]\end{gathered}

양의 위끝이 있어 Wald의 [0,0]과 다릅니다. 그렇다고 모든 p에서 명목 이상의 포함률이 보장된다는 뜻은 아닙니다.

CWilson≈[0,.277532800].C_{\rm Wilson}\approx[0,.277532800].

The positive upper bound differs from Wald’s[0, 0], without establishing a universal finite-sample coverage guarantee.

29. 정확 0 성공 구간 유도Derive an exact zero-success interval

n=10, k=0, 수준 .95에서 CP 위끝을 이항 확률방정식으로 구하세요.

For n=10, k=0, level .95, derive the CP upper endpoint from a binomial-tail equation.

풀이와 확인할 이유Solution and explanation
(1−u)10=.025u=1−.0251/10≈.308497108.\begin{gathered}(1-u)^{10}=.025\\u=1-.025^{1/10}\approx .308497108.\end{gathered}

아래끝은 0입니다. 성공이 관측되지 않았다고 참확률 0을 확정하지 않습니다.

(1−u)10=.025u≈.308497108.\begin{gathered}(1-u)^{10}=.025\\u\approx .308497108.\end{gathered}

The lower endpoint is zero. Observing no success does not establish a zero true probability.

30. 전부 성공한 정확 구간An exact all-success interval

n=10, k=10, 수준 .95에서 CP 아래끝과 구간을 구하세요.

For n=10, k=10, level .95, find the CP lower endpoint and interval.

풀이와 확인할 이유Solution and explanation
ℓ10=.025ℓ=.0251/10≈.691502892CCP≈[.691502892,1].\begin{gathered}\ell^{10}=.025\\\ell=.025^{1/10}\approx .691502892\\C_{\rm CP}\approx[.691502892,1].\end{gathered}

전부 성공해도 참 p가 반드시 1이라고 결론내리지 않습니다.

ℓ=.0251/10≈.691502892CCP≈[.691502892,1].\begin{gathered}\ell=.025^{1/10}\approx .691502892\\C_{\rm CP}\approx[.691502892,1].\end{gathered}

All observed successes do not prove p=1.

31. CP의 등호 경계An equality boundary in CP membership

n=2, 참 p=.5, 명목 수준 .5라 α/2=.25입니다. k=0의 왼꼬리와 k=2의 오른꼬리를 계산하고 CP 포함 여부·전체 포함률을 구하세요.

At n=2, true p=.5, nominal level .5 so α/2=.25, inspect the extreme tails for k=0 and 2. Find CP membership and overall coverage.

풀이와 확인할 이유Solution and explanation

각 극단 꼬리는 .25로 기준과 같습니다. ≥ 기준으로 등호를 남기므로 k=0,1,2가 모두 .5를 포함합니다. 전체 포함률은 1입니다. 명목 .5와 실제 포함률이 달라도 보수적 보장과 모순이 아닙니다.

Each relevant extreme tail equals .25 and is retained by the inclusive criterion. All three counts cover .5, so coverage is one, consistent with an at-least-nominal guarantee.

32. 정확 구간의 합집합 증명A union-bound proof for exact intervals

고정 참 p에서 CP 아래쪽·위쪽 비포함 사건 각각의 확률이 α/2 이하입니다. 전체 포함 보장을 유도하고 독립이 필요한지 답하세요.

At fixed true p, each CP noncoverage side has probability at most α/2. Derive overall coverage and state whether independence is needed.

풀이와 확인할 이유Solution and explanation
P(miss either side)≤P(lower miss)+P(upper miss)≤α\begin{gathered}P(\text{miss either side})\\\le P(\text{lower miss})+P(\text{upper miss})\\\le\alpha\end{gathered}

포함률은 1−α 이상입니다. 합집합 상계는 독립을 요구하지 않습니다. 이산 꼬리 때문에 정확히 명목 수준일 필요는 없습니다.

P(any miss)≤αP(coverage)≥1−α.\begin{gathered}P(\text{any miss})\le\alpha\\P(\text{coverage})\ge1-\alpha.\end{gathered}

The union bound requires no independence. Discreteness can make coverage exceed nominal.

33. n=10 공정 이항의 CP 포함률CP coverage for ten fair trials

참 p=.5, n=10, 명목 .95의 CP 구간에서 포함 성공 개수는 k=2,…,8입니다. 정확 포함률을 구하세요.

At true p=.5, n=10, nominal .95, the CP intervals cover for k=2,…, 8. Calculate exact coverage.

풀이와 확인할 이유Solution and explanation
P(2≤K≤8)=1−221024=501512=.978515625\begin{gathered}P(2\le K\le8)=1-\frac{22}{1024}\\=\frac{501}{512}=.978515625\end{gathered}

명목 .95보다 높습니다. 일곱 성공 개수를 7/11로 세는 것은 질량을 무시한 다른 계산입니다.

P(2≤K≤8)=1−221024=501512=.978515625\begin{gathered}P(2\le K\le8)=1-\frac{22}{1024}\\=\frac{501}{512}=.978515625\end{gathered}

Use binomial masses, not an equal count of seven successful intervals out of eleven.

34. Wilson 끝점에서 0/0을 피한다Avoid 0/0 at a Wilson endpoint

관측 p̂=0, 후보 p=0일 때 정규 score 비율은 0/0입니다. Wilson의 p=0 포함을 어떻게 해석하나요?

With observed p̂=0, candidate p=0 makes the score ratio 0/0. How is Wilson inclusion interpreted?

풀이와 확인할 이유Solution and explanation

나눗셈 없는 부등식 n(p̂−p)²≤z²p(1−p)의 연속 확장을 씁니다. 양변이 0이라 후보가 남습니다. score의 0/0 값을 0이라고 정의한 것이 아닙니다.

Use the division-free inequality n(p̂−p)²≤z²p(1−p), continuously extended to the endpoint. Both sides are zero; this does not define the score ratio 0/0.

35. 반올림 끝점으로 판정하면Membership from a rounded endpoint

끝점 .308497…을 .3085로 표시했습니다. 후보 p=.308499를 표시값만으로 포함시켜도 되나요?

An endpoint .308497… is displayed as.3085. May p=.308499 be included using the display alone?

풀이와 확인할 이유Solution and explanation

안 됩니다. 원래 끝점보다 커도 표시 반올림값보다 작을 수 있습니다. CP에서는 입력 후보의 정확 이항 꼬리를 기준과 비교하고, Wald·Wilson에서는 정한 수치 임계값의 원부등식을 사용합니다. 임의 여유를 더하지 않습니다.

No. It can exceed the original bound while remaining below the rounded label. Use the procedure’s original criterion rather than padding the displayed interval.

36. 수치 z와 정확 질량 합Numerical z with exact mass summation

Wilson 실습이 수치 z를 계산한 뒤 그 십진수를 고정해 정확 유리수 제곱 비교와 이항 질량 합을 합니다. ‘정확 포함률’의 정확한 범위는 무엇인가요?

A Wilson lab fixes its reported numerical z as a decimal constant, then uses rational squared comparisons and binomial mass sums. What is exact?

풀이와 확인할 이유Solution and explanation

그 보고된 z를 상수로 사용하는 구현된 기준의 표집확률은 정확하다는 뜻입니다. 무한 정밀도의 이상적인 정규 분위수까지 정확히 계산되었다는 뜻은 아닙니다. 수치 임계값과 사건 판정·확률 합의 층위를 구별합니다.

The sampling probability of that implemented criterion is exact. The ideal infinite-precision normal quantile is still approximated. Separate critical computation, event membership and probability summation.

37. 독립 구간 열 개의 동시 성공Simultaneous success of ten independent intervals

독립 표본으로 만든 정확 95% 구간 10개가 각각 고정 표적을 다룹니다. 모두 성공할 확률과 적어도 하나 실패할 확률을 구하세요.

Ten exact 95% intervals from independent samples target fixed parameters. Find all-success and any-failure probabilities.

풀이와 확인할 이유Solution and explanation
P(all cover)=.9510≈.5987369392P(any miss)≈.4012630608.\begin{gathered}P(\text{all cover})=.95^{10}\approx .5987369392\\P(\text{any miss})\approx .4012630608.\end{gathered}

독립 사건이라는 추가 조건으로 곱했습니다. 각 구간의 수준 .95와 동시 수준을 혼동하지 않습니다.

P(all cover)=.9510≈.5987369392P(any miss)≈.4012630608.\begin{gathered}P(\text{all cover})=.95^{10}\approx .5987369392\\P(\text{any miss})\approx .4012630608.\end{gathered}

The product uses independence. Individual 95% levels are not a simultaneous 95% guarantee.

38. 독립 없이 Bonferroni 보장A Bonferroni guarantee without independence

구간 10개의 동시 포함률을 적어도 .95로 만들려 합니다. 각 구간 실패확률을 .005 이하로 보장하면 충분한가요?

To guarantee simultaneous coverage at least .95 for ten intervals, is per-interval failure at most .005 sufficient?

풀이와 확인할 이유Solution and explanation
P(any miss)≤10(.005)=.05.P(\text{any miss})\le10(.005)=.05.

충분합니다. 각 신뢰수준이 적어도 .995이면 합집합 상계로 동시 .95 이상을 얻습니다. 독립은 필요하지 않습니다. 구간 폭이 더 넓어질 수 있습니다.

P(any miss)≤10(.005)=.05.P(\text{any miss})\le10(.005)=.05.

Yes. Individual level at least .995 suffices by a union bound without independence, possibly at greater width.

39. 마음에 들 때까지 확인하기Inspecting until a desired conclusion appears

고정 n에서 95%를 보장하는 절차를 n마다 반복 계산하고 원하는 결론이 나오면 멈춥니다. 중단한 구간에도 같은 보장을 자동 적용할 수 있나요?

A fixed-n 95% procedure is repeatedly inspected and stopped when a desired conclusion appears. Does its original guarantee automatically cover the selected stopping time?

풀이와 확인할 이유Solution and explanation

아닙니다. 자료에 따라 선택한 시점의 사건은 고정 n 사건과 다릅니다. 어떤 중단 규칙을 썼는지 밝히고 순차적·선택 후 보장이 필요합니다. 이 장의 고정 표본 결과만으로 그 보장을 새로 얻지 못합니다.

No. The data-dependent selected event differs from a fixed-n event. State the stopping rule and use an appropriate sequential or post-selection argument.

40. 후보 판정과 구간의 같은 부등식The same inequality as a candidate set

양의 h에서 |x̄−μ₀|≤h를 만족하는 후보 μ₀ 전체를 구하세요. 신뢰구간 반전과 어떻게 연결되나요?

For h>0, collect candidates μ₀ satisfying |x̄−μ₀|≤h. Relate this to interval inversion.

풀이와 확인할 이유Solution and explanation
∣x‾−μ0∣≤h⟺x‾−h≤μ0≤x‾+h\begin{gathered}|\overline x-\mu_0|\le h\\\Longleftrightarrow\\\overline x-h\le\mu_0\le\overline x+h\end{gathered}

고정 자료에서 후보를 모으면 [x̄−h, x̄+h]입니다. 정규 피벗의 적절한 h를 쓰면 앞의 평균구간을 얻습니다. 검정의 오류 의미는 다음 장에서 더 다룹니다.

μ0∈[x‾−h,x‾+h].\mu_0\in[\overline x-h,\overline x+h].

Choosing the appropriate normal-pivot h gives the mean interval. The next chapter develops decision-error interpretation further.

41. 짝 차이의 분산을 직접 전개한다Expand the variance of paired changes

같은 n≥2개의 완전한 짝에서 Dᵢ=Yᵢ−Xᵢ입니다. n−1 분모의 표본분산과 표본공분산을 사용해 s²_D를 전개하세요.

For the same n≥2 complete pairs, let Dᵢ=Yᵢ−Xᵢ. Use sample variances and covariance with denominator n−1 to derive s²_D.

풀이와 확인할 이유Solution and explanation
Di−D‾=(Yi−Y‾)−(Xi−X‾),sD2=sY2+sX2−2sXY,SE⁡^(D‾)2=sD2n.\begin{gathered} D_i-\overline D=(Y_i-\overline Y)-(X_i-\overline X),\\ s_D^2=s_Y^2+s_X^2-2s_{XY},\\ \widehat{\operatorname{SE}}(\overline D)^2=\frac{s_D^2}{n}. \end{gathered}

첫 두 줄은 표본 제곱합의 항등식입니다. 마지막 줄을 평균의 추정 SE 제곱으로 읽을 때에는 쌍들 사이 iid 같은 작업 가정을 더 사용합니다. 먼저 같은 짝의 차이를 만든 뒤 평균을 냅니다. 서로 다른 결측 삭제 집합의 분산을 위 항등식에 섞으면 같은 합을 전개한 식이 아니게 됩니다.

sD2=sY2+sX2−2sXY,SE⁡^(D‾)2=sD2/n.\begin{gathered} s_D^2=s_Y^2+s_X^2-2s_{XY},\\ \widehat{\operatorname{SE}}(\overline D)^2=s_D^2/n. \end{gathered}

The sample-variance identity is algebraic. Reading s²_D/n as the estimated sampling variance of the mean additionally uses a working assumption such as iid pairs. All terms must use the same complete pairs and denominator.

42. 공분산을 지우면 표준오차가 바뀐다Dropping covariance changes the SE

실제 384개 완전 점포 짝에서 평균 변화의 짝 SE는 약 .4604185768 FTE입니다. 전후 독립이라고 잘못 계산하면 약 .6881356219 FTE입니다. 왜 다르며 작은 SE가 언제나 보장되나요?

For 384 actual complete store pairs, the paired mean-change SE is about .4604185768 FTE. Incorrectly treating waves as independent gives about .6881356219 FTE. Explain the difference and whether pairing always lowers SE.

풀이와 확인할 이유Solution and explanation

같은 점포의 두 측정에는 표본공분산이 있습니다. 이 자료의 양의 공분산을 버리면 차이 분산의 −2sXY 항이 없어져 SE가 커집니다. 다른 자료에서 공분산이 음수라면 반대일 수 있으므로 짝지음은 언제나 작은 SE라는 법칙이 아닙니다. 두 수치 모두 선택한 작업 모형의 추정 SE이며 표집 설계를 증명하지 않습니다.

Positive covariance in these pairs contributes the negative term−2sXY. Dropping it inflates the estimated difference variance here. Negative covariance could reverse the comparison. Neither numerical SE establishes the field sampling model.

43. 결측 편향을 폭으로 고치지는 못한다A narrow interval does not repair missingness bias

관측 가능한 임금 기록만으로 아주 좁은 95% 작업 CI를 계산했습니다. 원래 모집단의 평균에도 95% 포함 보장이 자동으로 생기나요?

A very narrow 95% working CI uses only available wage records. Does it automatically give 95% coverage for the original population mean?

풀이와 확인할 이유Solution and explanation

아닙니다. 가용 기록의 법칙과 원래 목표 모집단의 법칙이 같다는 근거가 필요합니다. 자료가 많아 관측 평균의 표준오차가 줄어도 비관측 집단의 체계적 차이는 남을 수 있습니다. 결측 처리·표집 가정과 구간 절차의 조건을 각각 확인합니다.

No. A link between the available-record law and target population is required. Increasing the available count can shrink SE while a systematic missing-group difference remains. Audit missingness and sampling separately from interval algebra.

44. 짝 384개는 독립 관측 768개가 아니다384 pairs are not 768 independent observations

점포 파일 410행 중 전후 FTE 완전 짝은 384개, 비완전 행은 26개입니다. 전후 숫자가 768개 있으니 독립 표본 크기 768이라고 해도 되나요?

A 410-row store file has 384 complete before/after FTE pairs and 26 incomplete rows. Do 768 available paired numbers imply an independent sample size of 768?

풀이와 확인할 이유Solution and explanation

안 됩니다. 변화의 관측 단위는 한 점포의 완전 짝입니다. 짝 평균 변화의 분모는 384이며, t 작업구간의 자유도는 383입니다. 두 시점 간 의존을 무시해 768개 iid 측정으로 재분류하지 않습니다. 별도로 점포 간 독립 가정도 검토해야 합니다.

No. One complete store pair supplies one change. The mean-change sample size is 384 and working t degrees of freedom 383. Two waves are not automatically independent; between-store independence also needs its own justification.

45. 감소 변환에서는 끝점 순서를 바꾼다Reverse endpoints under a decreasing transform

θ의 구간이 [1,3]이고 ψ=−2θ+5입니다. ψ의 변환 구간과 포함 사건의 관계를 구하세요.

An interval for θ is[1, 3], and ψ=−2θ+5. Find the transformed interval and relate coverage events.

풀이와 확인할 이유Solution and explanation
ψ∈[−2(3)+5,−2(1)+5]=[−1,3].\psi\in[-2(3)+5,-2(1)+5]=[-1,3].

감소함수이므로 위끝을 변환한 값이 새 아래끝입니다. θ∈[1,3]과 ψ∈[−1,3]은 같은 사건이어서 원래 구간의 포함 보장을 보존합니다. 함수가 일대일인 이 예의 성질을 사용했습니다.

ψ∈[−1,3].\psi\in[-1,3].

The decreasing one-to-one map reverses endpoints. The transformed and original containment events coincide, so their coverage probabilities agree.

46. 로그 평균 구간의 지수화Exponentiating a log-mean interval

작업 모형에서 W=log Y∼N(μ, σ²)이고 Y>0입니다. μ의 CI를 지수화하면 무엇의 구간인가요? Y의 산술평균도 같은가요?

Under a working model W=log Y∼N(μ, σ²), Y>0, what target results from exponentiating a CI for μ? Is it the arithmetic mean of Y?

풀이와 확인할 이유Solution and explanation
median⁡(Y)=eμE[Y]=eμ+σ2/2.\begin{gathered}\operatorname{median}(Y)=e^\mu\\E[Y]=e^{\mu+\sigma^2/2}.\end{gathered}

지수화한 CI는 eμ의 구간입니다. 양의 로그정규 모형에서는 중앙값과 기하평균 모수에 연결됩니다. 산술평균에는 σ²도 들어가므로 μ 구간의 끝점만 지수화해서 그 평균 구간이라고 부를 수 없습니다.

median⁡(Y)=eμE[Y]=eμ+σ2/2.\begin{gathered}\operatorname{median}(Y)=e^\mu\\E[Y]=e^{\mu+\sigma^2/2}.\end{gathered}

The transformed target is eμ, not generally E[Y]. The arithmetic mean also depends on σ².

47. 로그 예측구간은 무엇을 보존하는가What a transformed log prediction interval preserves

새 W_new=log Y_new의 PI가 [a, b]입니다. 지수화한 구간은 어떤 예측 사건을 보존하나요? 로그 원측정 단위의 의미도 설명하세요.

A PI for a new W_new=log Y_new is[a, b]. What prediction event does exponentiation preserve? Explain the role of source measurement units.

풀이와 확인할 이유Solution and explanation
Wnew∈[a,b]⟺Ynew∈[ea,eb].W_{\rm new}\in[a,b]\quad\Longleftrightarrow\quad Y_{\rm new}\in[e^a,e^b].

단조성으로 새 양의 값의 포함 사건을 보존합니다. 이것은 평균 CI의 지수화와 다른 표적입니다. 원자료가 센트/시간 단위를 로그화했다면 지수화도 그 수준 단위를 반환하며, 임의로 달러/시간이라고 바꾸지 않습니다. 작업 로그법칙의 타당성은 별도 조건입니다.

Ynew∈[ea,eb]⟺Wnew∈[a,b].Y_{\rm new}\in[e^a,e^b]\quad\Longleftrightarrow\quad W_{\rm new}\in[a,b].

The same new-outcome containment event is preserved. This differs from a transformed mean CI. If source levels were cents per hour, the inverse transform returns those units, not automatically dollars per hour. The working log-law assumptions still matter.

48. 전체 포함률과 자료조건부 포함률Overall versus training-conditional coverage

훈련 자료 X와 독립 미래 값 Y의 PI가 전체적으로 P(Y∈C(X))=.95를 만족합니다. 거의 모든 훈련 자료 x에서 P(Y∈C(x)|X=x)=.95도 따라오나요?

A PI satisfies P(Y∈C(X))=.95 over independent training data X and future Y. Must P(Y∈C(x)|X=x)=.95 for almost every training sample x?

풀이와 확인할 이유Solution and explanation
P(Y∈C(X))=E ⁣[P(Y∈C(X)∣X)]\begin{gathered}P(Y\in C(X))\\=E\!\left[P(Y\in C(X)\mid X)\right]\end{gathered}

따라오지 않습니다. 조건부 포함률의 평균이 .95라는 것과 각 값이 .95라는 것은 다릅니다. 평균 5가 모든 수가 5라는 뜻이 아닌 것과 같습니다. 정규 t 예측구간의 이 장 보장은 훈련·미래를 함께 반복하는 포함률입니다.

P(Y∈C(X))=E ⁣[P(Y∈C(X)∣X)]\begin{gathered}P(Y\in C(X))\\=E\!\left[P(Y\in C(X)\mid X)\right]\end{gathered}

No. An average conditional coverage of .95 need not make each conditional value .95. The t prediction result here repeats both training and future data.

49. 이미 알려진 네 기록의 평균The mean of four fully known records

실제 한국 2024년 분기 주택지수 네 값은 108.3502,107.7932,107.4475,107.4756입니다. 네 값 전체의 고정 평균과 그 평균을 알기 위한 CI의 필요성을 설명하세요.

The actual KOR 2024 quarterly real housing-index values are 108.3502, 107.7932, 107.4475, 107.4756. Find their complete fixed-frame mean and explain whether a CI is needed to know it.

풀이와 확인할 이유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 extra sampling interval is needed to calculate the fully observed frame mean. Replacement-sample intervals and uncertainty about future quarters are separate experiments and targets.

50. 가상 복원 실험의 평균 포함률Mean coverage in a hypothetical replacement experiment

앞의 실제 네 값을 같은 확률로 네 번 복원 추첨하면 256개 순서 표본이 같은 확률을 가집니다. 알려진 프레임 분산의 명목 95% z구간은 243개 표본에서 μ_F를 포함합니다. 포함률과 의미를 구하세요.

Four equally likely draws with replacement from the actual four-value frame give 256 equally likely ordered samples. A nominal 95% known-frame-SD z interval covers μ_F in 243 samples. Calculate and interpret coverage.

풀이와 확인할 이유Solution and explanation
coverage⁡=243256=.94921875.\operatorname{coverage}=\frac{243}{256}=.94921875.

정규 임계값을 썼어도 실제 선택법칙은 네 원자의 이산법칙이므로 정확히 .95일 필요가 없습니다. 이 계산은 정한 복원 실험의 정확 열거이며 원분기 시계열이 iid 정규라는 검증이 아닙니다.

coverage⁡=243/256=.94921875.\operatorname{coverage}=243/256=.94921875.

A normal critical value does not make this discrete law normal. Enumeration is exact for the chosen experiment, not validation of an iid normal model for the original quarterly series.

51. 가상 미래 한 추첨의 예측 포함률Prediction coverage for one hypothetical future draw

같은 네 원자 프레임에서 훈련 네 번과 독립 미래 한 번을 복원 추첨합니다. 4⁵개 순서 표본 중 978개에서 명목 95% z 예측구간이 미래 값을 포함합니다. 정확 포함률을 구하세요.

Use four replacement training draws and one independent future draw from the same four-atom frame. A nominal 95% z PI covers in 978 of 4⁵ ordered outcomes. Find exact coverage.

풀이와 확인할 이유Solution and explanation
coverage⁡PI=9781024=489512=.955078125\begin{gathered}\operatorname{coverage}_{\rm PI}=\frac{978}{1024}\\=\frac{489}{512}=.955078125\end{gathered}

미래 한 값이 추가되어 분모가 1024입니다. 평균 CI의 243/256과 다른 사건을 셉니다. 새 추첨은 가정한 프레임 추첨이며 실제 미래 분기를 관측한 것이 아닙니다.

coverage⁡PI=9781024=489512=.955078125\begin{gathered}\operatorname{coverage}_{\rm PI}=\frac{978}{1024}\\=\frac{489}{512}=.955078125\end{gathered}

The extra draw changes the denominator and target. It is an assumed frame draw, not an observed future quarter.

52. 256개 표본의 같은 가중치는 어디서 오는가Why the 256 ordered samples have equal weights

네 값을 네 번 복원 추첨할 때 256개 순서 표본이 같은 확률인 이유는 무엇인가요? 원자 선택확률이 서로 다르거나 무복원이라면 그대로 세면 되나요?

Why are all 256 ordered four-draw replacement samples equally likely? May they be counted equally under unequal atom probabilities or sampling without replacement?

풀이와 확인할 이유Solution and explanation

각 번이 독립이고 각 원자 확률이 1/4이므로 각 순서 표본 확률이 (1/4)⁴입니다. 서로 다른 선택확률이면 각 순서의 곱 확률로 가중해야 합니다. 무복원은 가능한 표본과 의존 구조 자체가 달라집니다. 단순 표본 개수의 비율이 확률과 같은지는 선택법칙으로 판단합니다.

Independence and four equal probabilities make each ordered probability (1/4)⁴. Unequal probabilities require products of the appropriate weights. Without replacement, the support and dependence change. Equal counting must be justified by the sampling law.

53. 실제 로그 임금의 평균과 개인 폭Actual log-wage mean width versus individual width

가용 로그 임금 n=3010, s≈.4437976513,95% t 임계값≈1.9607526883입니다. 평균 CI 반폭과 새 한 값 PI 반폭을 계산하고 비율을 구하세요.

Available log wages have n=3010, s≈.4437976513 and 95% t critical≈1.9607526883. Compute mean-CI and one-new-value-PI half-widths and their ratio.

풀이와 확인할 이유Solution and explanation
hCI=t s/3010≈.01586078108hPI=t s1+1/3010≈.8703219736hPI/hCI=3011≈54.87257968\begin{gathered}h_{\rm CI}=t\,s/\sqrt{3010}\\\approx .01586078108\\h_{\rm PI}=t\,s\sqrt{1+1/3010}\\\approx .8703219736\\h_{\rm PI}/h_{\rm CI}=\sqrt{3011}\\\approx54.87257968\end{gathered}

모두 로그 원측정 좌표의 폭입니다. 이 PI는 원현장의 iid 정규성을 검증한 것이 아니라 명시한 작업 모형의 계산입니다.

hCI=t s/3010≈.01586078108hPI=t s1+1/3010≈.8703219736hPI/hCI=3011≈54.87257968\begin{gathered}h_{\rm CI}=t\,s/\sqrt{3010}\\\approx .01586078108\\h_{\rm PI}=t\,s\sqrt{1+1/3010}\\\approx .8703219736\\h_{\rm PI}/h_{\rm CI}=\sqrt{3011}\\\approx54.87257968\end{gathered}

Widths use source log coordinates. They are working-model calculations, not an iid normality validation of the field data.

54. 3010이라는 분모의 범위The scope of a 3010-record denominator

Card 파일 3613행 중 로그 임금은 3010개 가용,603개 비관측입니다. 가용 평균에 대한 t 작업구간의 분모와 이 결과를 옮길 때의 한계를 적으세요.

Of 3613 Card rows, 3010 log wages are available and 603 unavailable. State the denominator for an available-mean working t interval and limits on transferring its conclusion.

풀이와 확인할 이유Solution and explanation

가용 평균 SE는 s/√3010이고 자유도는 3009입니다. 비관측 603개를 평균 계산에 0으로 넣지 않습니다. 무가중 가용 로그 평균이 설문 가중 모집단의 임금평균·전체 남성 평균·미래 임금법칙을 자동 추정하지는 않습니다. 원변수의 로그와 화폐 수준도 구별합니다.

Use SE=s/√3010 and df 3009. Do not zero-fill the 603 missing logs. The unweighted available-record target is not automatically a survey-weighted population mean, a broader male population target or a future wage law. Logs also differ from currency levels.

55. 실제 점포 평균 변화의 구간 재구성Reconstruct the actual mean store-change interval

384개 완전 점포 짝에서 평균 변화 −541/7680 FTE, 짝 SE≈.4604185768, t₃₈₃,.₉₇₅≈1.9661771911입니다. 95% 평균 작업구간을 계산하세요.

For 384 complete store pairs, mean change is −541/7680 FTE, paired SE≈.4604185768 and t₃₈₃,.₉₇₅≈1.9661771911. Calculate the 95% working mean interval.

풀이와 확인할 이유Solution and explanation
d‾=−541/7680≈−.0704427083h≈1.9661771911(.4604185768)≈.9052645041C≈[−.9757072125, .8348217958]\begin{gathered}\overline d=-541/7680\approx-.0704427083\\h\approx1.9661771911(.4604185768)\\\approx.9052645041\\C\approx[-.9757072125,\ .8348217958]\end{gathered}

한 점포의 고용 수준 구간도, 정책의 인과효과 구간도 아닙니다. 완전 짝의 평균 변화라는 표적을 유지합니다.

d‾=−541/7680≈−.0704427083h≈1.9661771911(.4604185768)≈.9052645041C≈[−.9757072125, .8348217958]\begin{gathered}\overline d=-541/7680\approx-.0704427083\\h\approx1.9661771911(.4604185768)\\\approx.9052645041\\C\approx[-.9757072125,\ .8348217958]\end{gathered}

The target is the complete-pair mean change, not an individual employment level or identified causal policy effect.

56. 0을 포함한다는 결론의 한계What containing zero does not establish

점포 변화 작업 CI [−.9757,.8348] FTE가 0을 포함합니다. ‘실제 평균 변화는 정확히 0’ 또는 ‘최저임금 정책은 효과가 없다’고 결론낼 수 있나요?

A working store-change CI[−.9757, .8348] FTE includes zero. Does this prove the true mean change is exactly zero or that a minimum-wage policy has no effect?

풀이와 확인할 이유Solution and explanation

둘 다 아닙니다. 0이 후보집합에 남았다는 것과 참값이 0으로 증명되었다는 것은 다릅니다. 정책 인과효과를 말하려면 비교·배정·교란 등에 대한 추가 설계가 필요합니다. 통계적 결론과 실무적으로 중요한 변화 크기의 판단도 구별합니다.

Neither. Zero remains a retained candidate; it is not proved to be the true value. Causal policy claims require a separate design and assumptions. Statistical compatibility also differs from practical importance.

57. 음의 변화와 음의 수준은 다르다A negative change differs from a negative level

실제 점포 평균 변화의 PI는 약 [−17.8330,17.6921] FTE입니다. 아래끝이 음수이니 고용 인원 예측이 불가능하다는 뜻인가요?

A working PI for one store’s FTE change is approximately[−17.8330, 17.6921]. Does its negative lower endpoint predict an impossible negative employment count?

풀이와 확인할 이유Solution and explanation

이 구간의 변수는 전후 고용의 차이이므로 음의 값은 감소를 뜻합니다. 음의 고용 수준을 예측한 것이 아닙니다. 다만 작업 정규법칙은 실제 점포별 유한 범위나 제약을 모두 반영하지 못할 수 있으므로 예측 대상·원단위·모형 조건을 함께 밝혀야 합니다.

No. The variable is a before/after difference; negative values mean decreases. The working normal law may still omit bounds or constraints of actual stores. State the target, units and assumptions.

58. 정확 열거가 검증하는 것What exact enumeration validates

네 고정 주택지수의 복원 실험을 빠짐없이 열거해 포함률을 계산했습니다. 원래 분기들이 독립·동일분포라는 사실까지 증명한 것인가요?

Every replacement outcome from a fixed four-quarter housing-index frame was enumerated. Does this prove that the original quarters are iid?

풀이와 확인할 이유Solution and explanation

아닙니다. 열거는 우리가 명시한 선택법칙 아래 계산을 확인합니다. 원자료의 시간의존성·구조변화·계절성·자료 생성과정을 그 선택법칙과 같게 만들지는 않습니다. 실제 입력을 쓰는 가정 실험과 원현장에 대한 검증을 구별합니다.

No. Enumeration verifies calculations under the stated selection law. It does not remove time dependence, structural change or seasonality from the original process. Actual inputs in an assumed experiment are not field-model validation.

59. 큰 n과 새 관측의 꼬리Large n does not normalize a new individual outcome

비정규 iid 자료라도 큰 n에서 평균의 CLT가 적용됩니다. 이 사실만으로 새 관측 한 개의 정규 PI도 점점 정확해지나요?

A CLT applies to means from a nonnormal iid law at large n. Does that alone make a normal PI for one new observation increasingly exact?

풀이와 확인할 이유Solution and explanation

아닙니다. 평균은 많은 값을 모아 표준화하지만 새 한 관측의 법칙은 같은 원법칙으로 남습니다. 미래 평균의 크기 m도 커지면 별도의 CLT를 고려할 수 있지만, m=1의 꼬리가 정규화되는 것은 아닙니다. 개별 예측에는 해당 분포나 다른 검증된 예측 절차가 필요합니다.

No. Averaging standardizes many values; one future value retains the original law. A growing future mean size m could support another CLT, but m=1 does not acquire normal tails.

60. 구간을 보고하기 전 여섯 질문Six questions before reporting an interval

실제 자료의 구간 하나를 보고하려고 합니다. 추정 표적부터 포함 의미까지 여섯 가지 핵심 감사 질문을 제안하세요.

Propose six audit questions for a real-data interval, from target to coverage meaning.

풀이와 확인할 이유Solution and explanation

①평균·비율·새 값·미래 평균 중 무엇을 포함하는가? ②관측·짝·군집·추출 단위와 유효 분모는 무엇인가? ③선택·독립·동일법칙·정규성 조건 중 무엇이 근거를 가지는가? ④표준편차는 알려진 값인가, 표본 추정인가? ⑤명목 수준과 실제·근사·보수적 포함률을 구별했는가? ⑥결측·가중·변환·여러 구간 선택·중단 규칙·인과 해석에 추가 조건이 필요한가? 폭이 좁다는 사실만으로 이 질문들을 대신하지 않습니다.

Ask: What is the target—mean, proportion, new value or future mean? What are the observational, pair, cluster and sampling units and valid denominator? Which selection, independence, common-law and normality assumptions are supported? Is SD known or estimated? Is coverage nominal, exact, approximate or conservative? What extra conditions concern missingness, weights, transforms, multiplicity, stopping or causality? A narrow width does not answer these questions.

자료와 출처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