추정량·편향·일치성·효율성Estimators, bias, consistency and efficiency
두 시행의 손계산에서 위험 비교·분산 유도·정보 하한·실제 표집 모형으로From two-trial calculations to risk comparisons, variance derivations, information bounds and actual-frame sampling models
실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions
기초Foundations
1. 같은 자료에도 여러 추정 규칙을 쓸 수 있다1. The same data can support several estimation rules
동전을 두 번 던져 1,0을 얻었습니다. 성공확률을 얼마나 잡을까요? 성공 비율은 1/2입니다. 첫 결과만 쓰면 1이고, 성공 1개와 실패 1개를 계산 규칙에 더하면 (1+1)/(2+2)=1/2입니다. 이번에는 두 규칙이 같아도 다른 표본에서는 달라집니다.
이 장은 어떤 규칙을 ‘좋다’고 부를 근거를 배웁니다. 평균적으로 목표를 맞히는가, 반복했을 때 얼마나 흔들리는가, 큰 표본에서 목표로 모이는가, 정한 조건 아래 더 정밀한 규칙이 가능한가를 각각 묻습니다.
Two coin outcomes are one and zero. The sample proportion is one half. Using only the first outcome gives one. Adding one success and one failure in the calculation gives (1+1)/(2+2)=one half. Agreement on this sample does not make the rules identical.
This chapter asks what makes a rule good: its average target, repeated-sample variation, large-sample concentration, and attainable precision under stated assumptions. These are different questions.
기초Foundations
2. 모수·추정량·추정값의 세 층위를 구별한다2. Distinguish parameter, estimator and realized estimate
모수 θ는 정한 확률법칙에서 알고 싶은 값입니다. Bernoulli 모형의 p, 임금 법칙의 평균 μ가 예입니다. 표본 X₁,…,X_n은 그 모형 아래 아직 관측하지 않은 확률변수입니다.
θ:targetTn=Tn(X1,…,Xn)tn=Tn(x1,…,xn)
추정량 T_n은 표본을 숫자로 바꾸는 규칙이자 관측 전의 확률변수입니다. 추정값 t_n은 이번 자료를 넣은 숫자입니다. ‘평균의 분산’은 규칙 T_n의 반복분포를 말하며, 이번 숫자 하나가 스스로 흔들린다는 뜻은 아닙니다.
보관된 자료의 완전한 평균 자체가 목표라면 그것은 이미 계산할 수 있는 고정 프레임의 요약입니다. 이를 새로운 모집단의 추정이라고 부르려면 어떤 법칙과 추출 과정을 가정했는지 더 밝혀야 합니다.
A parameter θ is a target under a specified law: Bernoulli p or a wage-law mean μ, for example. Before observation, X₁,…, X_n are random data under that model.
θ:targetTn=Tn(X1,…,Xn)tn=Tn(x1,…,xn)
The estimator is a data-to-number rule and a random variable before observation. The estimate is the number obtained this time. Its sampling variance concerns repeated possible data, not a fixed number vibrating by itself.
A complete retained-frame mean may simply be a known descriptive target. Interpreting it as estimation for another population requires a further model and sampling argument.
기초Foundations
3. 계산 규칙에 모르는 정답을 넣지 않는다3. A usable rule cannot contain the unknown answer
모평균 μ를 알고 싶을 때 T=μ라고 쓰면 오차는 항상 0입니다. 하지만 정답을 이미 알아야 계산하므로 추정 방법이 아닙니다. 규칙은 관측값과 미리 정한 상수·설계 정보를 사용해야 합니다.
T=1/2는 계산 가능한 상수 규칙입니다. 실제 p가 1/2일 때 우연히 완벽해도 모든 p를 알아내는 규칙은 아닙니다. 실습에서 p를 움직이는 것은 통계학자가 정답을 미리 안다는 뜻이 아니라, 여러 가상 진실에서 같은 규칙을 평가하기 위한 장치입니다.
규칙을 고르는 데 사용한 정보도 기록합니다. 실제 시험 정답을 보고 그 값과 같은 상수를 골랐다면, 정답을 보기 전 사용할 수 있는 추정 절차와 비교할 수 없습니다.
Writing T=μ gives zero error when estimating μ, but it requires the unknown answer. A usable estimator must be computable from observed data and specified constants or design information.
The constant rule T=1/2 is computable. It is perfect at the particular truth p=1/2, yet cannot discover every p. Moving p in a lab evaluates a fixed rule under hypothetical truths; it does not give the analyst the unknown answer.
Record how the rule was chosen. Selecting a constant after inspecting held-out answers is different from deploying a rule before those answers exist.
기초Foundations
4. 두 시행의 모든 가능한 표본을 나열한다4. Enumerate every sample of two trials
독립 Bernoulli(1/2) 두 개의 순서 있는 결과는 (0,0),(0,1),(1,0),(1,1)입니다. 각각 확률 1/4입니다. 성공 비율 T=(X₁+X₂)/2의 값은 0,1/2,1이며 가운데 값은 두 표본에서 나옵니다.
P(T=0)=41P(T=21)=21P(T=1)=41
첫 시행만 쓰는 U=X₁은 0,1을 각각 확률 1/2로 줍니다. 두 규칙의 기대값은 모두 1/2이지만 T가 가운데에 더 모여 있습니다. 같은 중심과 같은 분포는 다릅니다.
이 손계산은 모의실험이 아닙니다. 정한 모형에서 모든 표본과 그 확률을 빠짐없이 합한 정확한 표집분포입니다. 실제 동전을 새로 두 번 관측했다고 부르지 않습니다.
Two independent fair Bernoulli trials have ordered outcomes (0, 0), (0, 1), (1, 0), (1, 1), each with probability one quarter. Their proportion T takes zero, one half and one; the middle value comes from two samples.
P(T=0)=41P(T=21)=21P(T=1)=41
The first-only rule U=X₁ assigns probability one half to each endpoint. Both expectations equal one half, but T concentrates more near the center. Equal centers do not imply equal laws.
This is exact enumeration under a model, not a simulation or two newly observed actual coin tosses.
기초Foundations
5. 추정량 실습: 규칙과 표집분포를 함께 바꾼다5. Estimator lab: inspect a rule and its sampling law
n과 모형의 p를 정하고 평균, 첫 시행, 고정 이동 평균, add-one, 상수 규칙을 비교하세요. 점 하나는 가능한 추정값이고 세로 높이는 그 값의 확률입니다. 점들의 가로 위치와 확률의 합을 구별합니다.
기본 n=5,p=1/2에서 평균 규칙을 보고 n=2로 내려 앞 절의 세 점을 재현하세요. 첫 시행으로 바꾸면 n을 늘려도 두 점이 그대로 남습니다. 상수는 한 점에 확률 1을 주지만 그 점이 목표와 같은지는 따로 보아야 합니다.
p=0,1에서는 시행 자체가 상수입니다. 평균과 첫 시행의 위험은 0이지만, add-one은 유한 n에서 0이나 1을 약간 안쪽으로 옮깁니다. 이동 규칙은 확률 범위 밖 추정값을 낼 수도 있으며 그 사실을 숨기지 않습니다.
Choose n and the model p, then compare the mean, first-only, shifted mean, add-one and constant rules. Horizontal points are possible estimates; heights are their probabilities.
Start at n=5, p=1/2, then reproduce the previous three-point law at n=2. The first-only rule retains two points as n grows. A constant puts probability one on one point, which need not match the target.
At p=0 or one, observations themselves are constant. The mean and first-only risks vanish; add-one still shifts inward at finite n. A shifted rule can produce estimates outside the parameter range and is not silently clipped.
기초Foundations
6. 추정량의 평균은 가능한 추정값의 가중평균이다6. An estimator expectation averages possible estimates
한 번의 추정값 0.5를 보고 ‘기대값도 0.5’라고 정하지 않습니다. 기대값은 가능한 모든 표본을 그 확률로 평균 냅니다. 이항 성공 개수 K의 확률을 a_k라 하면 T=g(K)의 기대값은 Σg(k)a_k입니다.
Ep[T]=k=0∑ng(k)(kn)pk(1−p)n−k
아래첨자 p는 어떤 진실의 법칙으로 평균을 냈는지 알려 줍니다. 같은 규칙 g를 고정해도 p가 바뀌면 표본의 확률과 기대값이 달라집니다.
계산에 필요한 기댓값이 존재하는지 확인합니다. 유한 Bernoulli 표본과 유한 상수의 규칙은 모두 유한한 값을 가지므로 이 장의 기본 합은 안전합니다. 무한 꼬리의 일반 모형에서는 적분 가능성이 별도 조건입니다.
A realized estimate of .5 does not establish an expectation of .5. Expectation averages every possible sample using its model probability. For T=g(K), average g(k) over the binomial count law.
Ep[T]=k=0∑ng(k)(kn)pk(1−p)n−k
The subscript p specifies the law used for averaging. Keep the rule g fixed while changing the truth p; sample probabilities and expectation can change.
Check existence of expectations. Finite Bernoulli samples with finite constants cause no integrability difficulty here; infinite-tail models require additional conditions.
기초Foundations
7. 편향은 한 번의 오차가 아니라 평균적인 치우침이다7. Bias is average displacement, not one realized error
추정오차 T−θ는 표본마다 달라집니다. 편향 b(θ)=E_θ[T]−θ는 그 오차의 평균입니다. 오른쪽으로 +.1 치우친 규칙도 이번 표본에서는 왼쪽 오차를 낼 수 있습니다.
bT(θ)=Eθ[T]−θT unbiased on Θ⟺∀θ∈Θ:bT(θ)=0
불편추정량이라고 부를 때는 보통 모수공간의 모든 θ에서 기대값이 목표와 같다는 뜻입니다. 한 점에서만 편향이 0인 것은 ‘그 점에서 편향 0’이라고 구별합니다.
편향의 부호는 위·아래 방향을, 크기는 원래 목표의 단위를 가집니다. 평균 임금 편향은 임금 단위, 분산추정량의 편향은 임금 단위의 제곱입니다.
The error T−θ changes across samples. Bias b(θ)=E_θ[T]−θ is its expectation. A rule with positive bias can still underestimate on a particular sample.
bT(θ)=Eθ[T]−θT unbiased on Θ⟺∀θ∈Θ:bT(θ)=0
Unbiasedness usually refers to every parameter value in the specified family. Zero bias at one point is a separate, pointwise statement.
Bias has the target’s units. Bias for a mean wage has wage units; bias for a wage variance has squared wage units.
기초Foundations
8. 불편해도 이번에는 크게 틀릴 수 있다8. Unbiased does not mean accurate on each sample
p=.5에서 첫 동전만 쓰면 추정값은 항상 0 또는 1입니다. 평균적으로 .5라 불편하지만 모든 표본에서 절대오차가 .5입니다. ‘편향 0’은 ‘오차 0’이 아닙니다.
두 공정 시행 평균은 같은 불편성을 가지면서 가운데 .5를 확률 1/2로 반환합니다. 분산은 첫 시행 .25, 평균 .125입니다. 불편성 하나만으로 두 규칙을 고를 수 없는 이유입니다.
실제 업무에서 ‘편향’이라는 말은 대표성 부족이나 시스템적 차별 등 더 넓은 의미로도 쓰입니다. 여기서는 명시한 확률 모형과 모수에 대한 기대오차라는 수학적 정의를 사용합니다. 이 값 하나가 자료 수집의 모든 문제를 판정하지는 않습니다.
At p=.5, the first coin gives zero or one, always an absolute error of .5. It is unbiased because its expectation is .5. Zero bias is not zero error.
The two-trial mean has the same unbiasedness but assigns probability one half to the exact center. Its variance .125 is below the first-only variance .25.
Bias also has broader everyday meanings. Here it means expected error relative to a specified model and parameter. This mathematical quantity alone does not judge every data-collection problem.
기초Foundations
9. 추정량의 분산은 목표 주변이 아니라 자신의 평균 주변이다9. Estimator variance is centered at its own expectation
분산은 T가 E[T] 주위에서 얼마나 흔들리는지 나타냅니다. 목표 θ에서 멀리 떨어진 상수도 분산은 0입니다. 따라서 분산이 작다는 사실만으로 좋은 추정이라고 판단하면 안 됩니다.
Varθ(T)=Eθ[(T−Eθ[T])2]
온도 θ=20°C를 추정하며 T=30°C를 늘 내놓는 기계는 분산 0, 편향 +10°C입니다. ‘안정적’이라는 장점이 ‘정확하다’는 결론으로 바뀌지는 않습니다. 이 예는 가정한 기계이며 실제 온도 측정 자료가 아닙니다.
표준오차는 이 추정량 분산의 제곱근입니다. 개별 관측의 표준편차와 추정 규칙의 표준오차를 구분하는 앞 장의 원칙이 그대로 이어집니다.
Variance measures fluctuation around E[T], not around θ. A constant far from the target has zero variance. Low variance alone does not establish a good estimator.
Varθ(T)=Eθ[(T−Eθ[T])2]
A hypothetical instrument always reporting 30°C for a 20°C target has zero variance and bias +10°C. Stability does not imply accuracy. This is a model example, not actual temperature data.
The estimator’s standard error is the square root of this variance. Keep it distinct from an individual observation’s SD.
기초Foundations
10. 손실과 위험을 정해야 좋은 규칙을 비교할 수 있다10. Specify loss and risk before comparing rules
오차를 얼마나 불편하게 여길지 정한 함수가 손실입니다. 제곱 손실 L(t,θ)=(t−θ)²은 큰 오차를 더 강하게 벌줍니다. 그 손실을 표집법칙으로 평균 낸 것이 위험 R(θ,T)입니다.
R(θ,T)=Eθ[L(T,θ)]MSEθ(T)=Eθ[(T−θ)2]
절대 손실 |t−θ|, 잘못된 분류의 비용, 과소예측을 더 크게 벌주는 손실을 쓰면 순위가 달라질 수 있습니다. 이 장의 기본 비교는 MSE라고 정확히 밝힙니다.
모수 추정의 위험과 다음 사람의 결과 예측 위험도 표적이 다릅니다. 평균 μ를 얼마나 잘 추정하는지와 새 관측 Y를 얼마나 잘 맞히는지를 같은 오차라고 부르지 않습니다.
A loss function states how errors are penalized. Squared loss (t−θ)² penalizes larger errors more heavily. Risk averages that loss over the sampling law.
R(θ,T)=Eθ[L(T,θ)]MSEθ(T)=Eθ[(T−θ)2]
Absolute loss, classification costs or asymmetric underprediction penalties can rank rules differently. The default comparison here is explicitly squared-error risk.
Estimating a parameter and predicting a new outcome are also different targets. Error in estimating μ is not the same as error in predicting the next Y.
기초Foundations
11. MSE를 분산과 편향 제곱으로 직접 분해한다11. Derive the variance-plus-squared-bias identity
The cross term vanishes because centered T has expectation zero, not because bias and variance are independent. Bias is a fixed number under the model.
For an unbiased rule, MSE equals variance. Otherwise add squared bias. Compare both center and spread.
기초Foundations
12. MSE와 RMSE의 단위·숫자를 읽는다12. Read the units and numbers of MSE and RMSE
가정한 질량 추정량의 편향이 +2g, 분산이 9g²이면 MSE는 9+2²=13g²입니다. 표준오차는 3g, RMSE는 √13g입니다. 서로 같은 숫자가 아닙니다.
SE(T)=Var(T)RMSE(T)=MSE(T)
g에서 kg으로 나누기 1000을 하면 편향·표준오차·RMSE는 1000분의 1, 분산·MSE는 10⁶분의 1이 됩니다. 같은 두 규칙의 순위는 양의 단위 변환으로 바뀌지 않습니다.
분산 σ² 자체를 추정한다면 목표 단위가 이미 g²이므로 그 추정량의 MSE 단위는 g⁴입니다. ‘분산의 분산’을 보고 g²이라고 쓰지 않도록 괄호를 확인합니다.
A hypothetical mass estimator has bias +2 g and variance 9 g². Its MSE is 13 g², SE is 3 g, and RMSE is√13 g. These summarize different features.
SE(T)=Var(T)RMSE(T)=MSE(T)
Converting g to kg divides bias, SE and RMSE by 1000, and variance and MSE by 10⁶. A positive unit change preserves the ranking of the same two rules.
When estimating a variance measured in g², the estimator’s MSE has units g⁴. Do not mistake variance-estimation risk for the variance target itself.
기초Foundations
13. iid 평균의 불편성과 MSE를 차례로 유도한다13. Derive unbiasedness and MSE of the iid mean
X_i가 iid이고 평균 μ, 유한 분산 σ²를 가집니다. n≥1에서 기대값의 선형성으로 E[X̄_n]=μ입니다. 독립 때문에 서로 다른 관측의 공분산이 0이 되어 분산은 σ²/n입니다.
기대값의 등식은 독립 없이도 같은 평균이면 성립합니다. 분산의 단순 공식은 공분산 조건을 더 사용합니다. 두 줄에 같은 조건을 무심코 붙이지 않습니다.
평균이 불편하다는 주장은 표집법칙의 μ에 대한 것입니다. 편의표본의 법칙 평균이 관심 모집단 평균과 다르면, 그 다른 목표에 대한 불편성은 자동으로 따라오지 않습니다.
Let iid X_i have mean μ and finite variance σ². Linearity gives E[X̄_n]=μ. Independence removes cross-covariances and gives variance σ²/n for n≥1.
E[Xn]Var(Xn)MSEμ(Xn)=μ,=nσ2,=nσ2.
The expectation identity needs equal means but not independence. The simple variance formula uses the additional covariance restriction.
Unbiasedness refers to the sampling-law mean. A convenience-sample law may have a different mean from the population of interest; that target mismatch is not removed by this calculation.
기초Foundations
14. 첫 시행만 쓰면 불편하지만 집중하지 않는다14. Using only the first observation is unbiased but may not concentrate
n개를 모아 놓고 T_n=X₁만 쓰는 규칙을 생각합니다. iid 유한 분산 모형에서 E[T_n]=μ지만 분산은 항상 σ²입니다. 표본을 더 받아도 규칙이 버리므로 정밀해지지 않습니다.
Bernoulli(p),0<p<1에서 첫 시행은 언제나 0 또는 1입니다. 0<ε<min(p,1−p)를 택하면 |T_n−p|≥ε의 확률이 모든 n에서 1입니다. 이 규칙은 일치하지 않습니다.
p=0,1에서는 원변수가 이미 상수여서 첫 시행도 정확합니다. ‘첫 시행은 절대 일치하지 않는다’고 경계를 빼먹지 않습니다. 가족 전체에서 일치하는가와 특정 p에서 일치하는가는 별도 명제입니다.
Collect n observations but use T_n=X₁. Under an iid finite-variance law it is unbiased for μ, yet its variance stays σ². Extra data cannot improve a rule that discards them.
For Bernoulli 0< p<1, choose ε smaller than both p and 1−p. The error is at least ε with probability one for every n, so consistency fails.
At p=0 or one, the source is already constant and the first observation is exact. Distinguish a family-wide property from a property at a particular parameter.
기초Foundations
15. 평균을 고정된 값만큼 이동하면 편향이 남는다15. A fixed shift leaves persistent bias
T_n=X̄_n+c이고 c는 모르는 μ와 무관하게 미리 정한 유한 상수입니다. E[T_n]=μ+c이므로 편향은 c, 분산은 σ²/n입니다. 상수를 더하면 흔들림은 바뀌지 않습니다.
MSEμ(Tn)=nσ2+c2⟶c2
c=.1이면 n이 아무리 커져도 .01의 MSE가 남습니다. 이것은 가정한 계산 규칙의 이동이지 측정 장비에 실제 .1의 오류가 있었다는 관측이 아닙니다.
c≠0일 때 X̄_n→μ의 확률수렴은 T_n→μ+c로 이어집니다. 집중은 하지만 다른 값에 집중합니다. ‘변동이 줄었다’만 보고 목표를 맞혔다고 쓰면 안 됩니다.
Let T_n=X̄_n+c for a finite constant chosen without the unknown μ. Bias is c and variance remains σ²/n. Adding a constant changes the center, not the variation.
MSEμ(Tn)=nσ2+c2⟶c2
At c=.1, a squared-error floor of .01 remains. This is an assumed computational shift, not evidence of an actual measurement-device error.
When c≠0, the rule concentrates around μ+c. Concentration alone does not establish concentration at the intended target.
기초Foundations
16. 한 점에서 완벽한 상수는 모든 모수를 추정하지 못한다16. A perfect constant at one truth is not a universal estimator
a=.5,p=.5에서는 평균 규칙보다 MSE가 작습니다. 그렇다고 .5가 미지의 모든 성공확률을 알아내는 방법은 아닙니다. p=.1로 바꾸면 상수 MSE는 .16이고 평균 MSE는 .09/n입니다.
이 비교는 같은 규칙을 여러 가능한 진실에서 평가해야 하는 이유를 보여 줍니다. 실제 정답을 보고 상수를 조정한 뒤 ‘위험 0’이라고 보고하면 관측 전 규칙의 성능을 평가한 것이 아닙니다.
For fixed T=a estimating Bernoulli p, variance is zero, bias a −p and MSE(a −p)². Risk vanishes at p=a but increases away from that point.
At a=p=.5, the constant beats the sample mean pointwise. At p=.1, the same constant has MSE .16 versus .09/n for the mean.
This motivates evaluating the same rule across possible truths. Retuning a constant after seeing the answer does not evaluate a pre-observation estimator.
기초Foundations
17. add-one은 관측을 늘리는 대신 계산을 안쪽으로 당긴다17. Add-one shrinks the calculation without adding observations
성공 K개와 전체 n개에서 A_n=(K+1)/(n+2)를 계산합니다. 공식은 성공 1과 실패 1을 더한 모양이지만 실제로 두 고객이나 동전을 새로 관측한 것은 아닙니다.
An=n+2K+1=n+2nnK+n+2221
따라서 원래 성공 비율과 .5의 가중평균입니다. n이 작을 때 .5로 더 많이 당기고 n이 커질수록 원래 비율의 비중이 커집니다. K=0이어도 추정값은 양수, K=n이어도 1보다 작습니다.
이 장에서는 하나의 비교 규칙으로 평가합니다. 별도의 사전분포를 도입하면 Bayesian 해석도 가능하지만, 그 해석이 없어도 빈도주의 표집위험을 직접 계산할 수 있습니다.
With K successes among n trials, compute A_n=(K+1)/(n+2). The formula resembles adding a success and a failure, but no new customers or tosses were actually observed.
An=n+2K+1=n+2nnK+n+2221
It is a weighted average of the observed proportion and .5. Small samples shrink more strongly toward .5; the original proportion gains weight as n grows. Estimates stay strictly between zero and one.
Here it is a comparison rule with directly calculable sampling risk. A Bayesian interpretation requires a separately specified prior and is not needed for these calculations.
기초Foundations
18. add-one의 편향과 분산을 정확히 계산한다18. Calculate add-one bias and variance exactly
K∼Binomial(n,p)이므로 E[K]=np,Var(K)=np(1−p)입니다. 상수 더하기와 척도 나누기 규칙을 차례로 적용합니다.
Bias is zero at p=.5 but generally nonzero elsewhere, so this is not a family-wide unbiased rule. Both squared bias and variance nevertheless vanish for every fixed p.
At p=0, the rule has zero variance but positive squared bias 1/(n+2)². The ordinary proportion already has zero error there, so add-one cannot be universally superior.
기초Foundations
19. 어느 규칙이 좋은지는 p에 따라 달라질 수 있다19. The preferred rule can depend on the truth
n=2,p=.5에서 평균 MSE는 1/8=.125,add-one은 1/32=.03125입니다. p=0에서는 평균 MSE 0,add-one MSE 1/16입니다. 같은 손실에서도 순위가 바뀝니다.
분모는 모두 양수이므로 부등식을 곱해서 정리해도 방향이 바뀌지 않습니다. n=2의 경계는 p(1−p)=.1이며 p=(1±√.6)/2입니다. 가운데에서는 add-one이, 충분히 바깥에서는 평균이 낮은 위험을 가집니다.
모르는 p에 따라 우열이 달라지는 것은 통계적 선택의 실제 어려움입니다. 어떤 p 구간, 어떤 손실, 어떤 추가 근거를 중시하는지 정해야 하며 한 예의 우승을 모든 모형의 우승으로 늘리지 않습니다.
At n=2, p=.5, the proportion has MSE 1/8 and add-one 1/32. At p=0, the proportion has zero risk while add-one has 1/16. Even with the same loss, the ranking changes.
All denominators are positive. At n=2, the crossing solves p(1−p)=.1, or p=(1±√.6)/2. Add-one wins in the middle and the proportion sufficiently near the endpoints.
A ranking depending on unknown p is a genuine decision problem. State the parameter region, loss and extra evidence rather than generalizing from one winning example.
기초Foundations
20. 위험 실습: 편향 제곱과 분산을 따로 읽는다20. Risk lab: read squared bias and variance separately
같은 n,p에서 다섯 규칙의 기대값·편향·분산·MSE를 비교합니다. 편향의 부호와 편향 제곱의 비음수를 혼동하지 마세요. MSE 막대가 분산과 편향 제곱의 합인지 손으로 확인합니다.
n=2,p=.5에서 add-one과 상수를 보고,p를 .1과 0으로 바꾸세요. 그다음 이동 상수를 .1에서 0으로 바꾸면 shifted 규칙이 평균과 정확히 같아지는지도 확인합니다.
이 표는 입력한 가정 모형의 정확한 위험입니다. 실제 미지 p를 직접 알려 주는 자료 분석 결과는 아닙니다. 한 점의 편향 0과 가족 전체의 불편성 표시는 의도적으로 분리합니다.
Compare expectations, biases, variances and MSEs of five rules at the same n, p. The bias can be negative while squared bias cannot. Verify each MSE as variance plus squared bias.
Inspect add-one and the constant at n=2, p=.5, then move p to .1 and zero. Setting the shift from .1 to zero should make the shifted rule exactly match the mean.
These are exact risks under an input model, not observed estimates of the unknown true p. Pointwise zero bias and family-wide unbiasedness have separate indicators.
학부 연결 · 선택Undergraduate bridge · optional
21. 불편성은 제곱근이나 제곱을 취하면 보존되지 않을 수 있다21. Nonlinear transformations need not preserve unbiasedness
E[T]=θ라고 해서 E[T²]=θ²가 되지는 않습니다. 유한 분산이면 E[T²]=θ²+Var(T)입니다. 따라서 불편한 평균을 제곱해 모평균 제곱을 추정하면 대개 위로 치우칩니다.
E[T2]=θ2+Var(T)E[V]≤E[V]V≥0,E[V]<∞
반대로 불편한 비음수 분산추정량 V의 제곱근은 일반적으로 표준편차에 대해 아래로 치우칠 수 있습니다. 제곱근의 오목성에 대한 Jensen 부등식 때문입니다. V가 상수이면 등호이고, 비상수이면 제곱근의 엄격 오목성으로 엄격 부등식입니다.
변환 후의 목표도 정확히 적어야 합니다. 평균 로그 임금을 지수화한 값은 임금의 기하평균과 연결되며 화폐 임금의 산술평균과 같다고 자동 선언할 수 없습니다.
E[T]=θ does not imply E[T²]=θ². With finite variance, the difference is Var(T). Squaring an unbiased mean generally introduces upward bias for the squared-mean target.
E[T2]=θ2+Var(T)E[V]≤E[V]V≥0,E[V]<∞
Taking a square root of an unbiased nonnegative variance estimator generally produces downward bias for the SD target. Jensen applies to the concave square-root function, strictly so for nonconstant V.
Specify the transformed target. Exponentiating mean log wages relates to a geometric mean, not automatically to the arithmetic mean in currency.
기초Foundations
22. 일치성은 고정된 진실에서 모든 고정 허용오차를 다룬다22. Consistency controls every fixed tolerance at a fixed truth
추정량 수열 T_n이 θ에 일치한다는 것은 모든 ε>0에서 P_θ(|T_n−θ|≥ε)→0이라는 뜻입니다. 앞 장의 확률수렴을 추정 규칙의 목표에 적용한 정의입니다.
TnPθθ⟺∀ε>0:Pθ(∣Tn−θ∣≥ε)→0
θ와 허용오차를 먼저 고정하고 n을 보냅니다. 모든 θ에서 성립하는 일치성과 한 θ에서만 성립하는 것을 구별합니다. 균등 일치성은 sup_θ의 극한까지 요구하는 더 강한 개념으로, 그 이름만으로 같은 뜻이라고 하지 않습니다.
일치성은 무한 수열의 성질입니다. 어떤 n의 표준오차가 작아 보인다는 그림이나 한 번 맞힌 결과만으로 증명하지 않습니다. 유한 표본의 정확도를 보장하려면 정량 상계도 함께 확인합니다.
An estimator sequence T_n is consistent for θ when every fixed positive tolerance has an error probability tending to zero. This applies convergence in probability to an estimation target.
TnPθθ⟺∀ε>0:Pθ(∣Tn−θ∣≥ε)→0
Fix the truth and tolerance before letting n grow. Consistency at every parameter is different from consistency at one point. Uniform consistency adds a supremum over parameters and is stronger.
A finite graph or one accurate estimate is not a proof about an infinite sequence. Quantitative error bounds address finite-sample precision separately.
기초Foundations
23. MSE가 0으로 가면 일치성을 얻는다23. Vanishing MSE is sufficient for consistency
MSE가 0으로 간다고 가정합시다. 제곱오차는 비음수입니다. Markov 부등식을 적용하면 MSE를 허용오차 제곱으로 나눈 값이 큰 오차확률의 상계가 됩니다.
따라서 편향이 0으로 가고 분산도 0으로 가면 일치합니다. 평균은 σ²/n,add-one은 앞 절의 두 항이 모두 0이 되어 이 방법으로 증명할 수 있습니다.
상계가 1보다 크면 확률 상계로는 1과의 작은 값을 씁니다. 큰 상계는 정리가 틀렸다는 뜻이 아니라 그 n에서 느슨한 정보를 준다는 뜻입니다. 실습은 정확한 위험과 그 위험으로 만든 상계를 따로 표시합니다.
Suppose MSE tends to zero. Squared error is nonnegative. Markov bounds a large-error probability by MSE divided by squared tolerance.
Pθ(∣Tn−θ∣≥ε)≤ε2MSEθ(Tn)⟶0.
Bias tending to zero and variance tending to zero therefore suffice. This proves consistency of the finite-variance mean and of add-one using their exact formulas.
Cap a probability bound at one. A larger algebraic bound is loose, not a contradiction. The lab separates the exact risk from the probability bound derived from it.
기초Foundations
24. 편향이 있어도 점점 작아지면 일치할 수 있다24. A biased rule can be consistent when its bias shrinks
T_n=X̄_n+1/n을 생각합니다. 각 유한 n에서 편향은 1/n이므로 불편추정량이 아닙니다. 하지만 iid 유한 분산이면 분산 σ²/n과 편향 제곱 1/n²이 모두 0으로 갑니다.
MSEμ(Tn)=nσ2+n21→0
고정 c의 이동 평균과 1/n의 축소 이동을 혼동하지 마세요. 전자는 c²가 남고 후자는 사라집니다. 실습의 shifted 입력은 n에 대해 고정된 상수이므로 이 수열 예를 만들려면 n마다 이동값을 1/n으로 정하는 별도 규칙을 써야 합니다.
add-one 역시 유한 n에서 일반적으로 편향이 있지만 일치합니다. 불편성은 각 표본 크기의 기대값, 일치성은 표본 크기를 늘리는 전체 수열의 집중을 묻습니다.
Consider T_n=X̄_n+1/n. It has nonzero bias 1/n at every finite n, yet under iid finite variance its variance σ²/n and squared bias 1/n² both vanish.
MSEμ(Tn)=nσ2+n21→0
A shrinking 1/n shift differs from a fixed c shift, whose squared bias remains. The lab’s shifted input is fixed across n; the 1/n example defines a separate sequence of rules.
Add-one is another generally biased but consistent estimator. Unbiasedness concerns each finite-size expectation; consistency concerns concentration along the sequence.
대학원 연결Graduate bridge
25. 일치성만으로 MSE나 편향의 수렴을 결론내리지 않는다25. Consistency alone need not imply vanishing MSE or bias
MSE→0은 충분조건이지 일치성의 정의와 동치가 아닙니다. 드물게 매우 큰 오차가 나면 오차확률은 줄어도 제곱오차의 평균은 커질 수 있습니다.
선택 심화로, X_i=θ인 상수 관측의 가상 iid 가족과 독립 U∼Uniform(0,1)을 생각합니다. 정답 θ를 공식에 넣는 대신 관측값 X₁을 써서 T_n=X₁+n·1{U<1/n}을 정의합니다. U는 규칙이 추가한 명시적 무작위화입니다.
일치하지만 편향은 1이고 MSE는 발산합니다. 같은 U를 쓰면 거의 확실한 수렴까지 성립합니다. 유한 표본의 기대값이 각각 존재한다는 사실만으로 극한과 기대값을 교환할 수 없다는 앞 장의 교훈입니다.
Vanishing MSE is sufficient, not necessary, for consistency. Rare but very large errors can keep expected squared error large while their probability shrinks.
For an optional counterexample, take a hypothetical iid constant family X_i=θ and an independent U uniform on (0, 1). Define the randomized estimator T_n=X₁+n·1{U<1/n}. It uses the observation X₁, not the unknown θ in its calculation.
The rule is consistent despite constant bias and diverging MSE. With the same U it even converges almost surely. Finite expectations at each n do not alone permit interchanging limit and expectation.
같은 p와 고정 이동값·상수에서 n별 MSE를 비교합니다. 평균과 add-one은 0으로 가지만 첫 시행은 보통 일정하고, 고정 이동 평균은 이동 제곱이 남습니다. 특정 p와 같은 상수는 그 점에서만 정확합니다.
허용오차 ε를 정해 MSE/ε²와 1의 작은 값도 확인하세요. 이는 큰 오차사건의 상계이며 정확 확률과 다릅니다. MSE가 0으로 가는 식을 증명한 뒤 그 상계를 일치성에 연결합니다.
유한 n 목록을 아무리 길게 그려도 그 점들만으로 무한 극한을 증명한 것은 아닙니다. 실습의 일치성 표시는 각 규칙의 해석식과 이 장의 증명에 근거합니다. p=0,1의 예외와 가족 전체의 성질을 함께 읽으세요.
Compare MSE across n while keeping p, shift and constant fixed. The mean and add-one approach zero; the first-only risk generally stays constant; the shifted mean retains squared shift. A matching constant is exact only at its particular truth.
Inspect min(1, MSE/ε²) for a positive tolerance. It bounds a large-error probability rather than equaling it. Connect the bound to a proven vanishing-MSE formula.
A finite list of points is not proof of an infinite limit. Consistency indicators rely on analytic formulas and the chapter’s arguments. Read endpoint exceptions separately from family-wide properties.
기초Foundations
27. 평균을 추정한 뒤 남는 제곱편차를 유도한다27. Derive the squared deviations remaining after fitting a mean
iid 평균 μ와 유한 분산 σ²를 가정하고 n≥2라고 합시다. Q=Σ(X_i−X̄_n)²를 원래 μ 주변의 제곱합으로 바꾸면 평균을 맞추느라 줄어든 양이 드러납니다.
QE[Q]=i∑(Xi−μ)2−n(Xn−μ)2,=nσ2−nnσ2=(n−1)σ2.
따라서 S_n²=Q/(n−1)은 σ²에 불편합니다. V_n=Q/n은 기대값 (n−1)σ²/n이므로 일반적으로 아래로 치우칩니다. 이 결과에는 정규분포가 필요하지 않습니다.
원래 모평균 μ를 이미 안다면 Σ(X_i−μ)²/n이 불편합니다. 알려진 중심과 자료로 추정한 중심을 섞어서 언제나 n−1이어야 한다고 외우지 않습니다.
Assume iid mean μ, finite variance σ² and n≥2. Rewrite Q=Σ(X_i−X̄_n)² around the true mean to reveal the amount removed by fitting the center.
QE[Q]=i∑(Xi−μ)2−n(Xn−μ)2,=(n−1)σ2.
Thus S_n²=Q/(n−1) is unbiased, whereas V_n=Q/n has expectation(n−1)σ²/n. Normality is not required.
If μ is known, Σ(X_i−μ)²/n is unbiased. The correction depends on whether the center was known or estimated.
기초Foundations
28. n−1은 독립 정보가 사라지는 구조와 연결된다28. The n-minus-one correction reflects a constraint on residuals
평균 주위 편차 r_i=X_i−X̄_n은 합이 0입니다. 첫 n−1개 편차를 알면 마지막은 그 합의 음수로 정해집니다. 이것이 잔차 공간 차원이 n−1이라는 기하학적 직관입니다.
이 직관만으로 모든 모형의 불편성 공식을 증명한 것은 아닙니다. 앞 절의 기대값 계산이 정확한 근거입니다. 가중평균, 상관된 관측, 복잡한 회귀에서는 잔차 구조와 확률 조건을 다시 계산해야 합니다.
예를 들어 두 값 2,4는 평균 3, 제곱편차 합 2입니다. n분모는 1,n−1분모는 2입니다. 어느 값이 ‘맞다’인지는 고정 두 값의 기술적 분산을 구하는지,iid 모분산의 불편추정을 원하는지에 달려 있습니다.
Residuals r_i=X_i−X̄_n sum to zero. Once the first n−1 are known, the last is determined. This gives the geometric intuition of an n−1 dimensional residual space.
The intuition is not a proof for every model. The preceding expectation calculation supplies the result. Weights, dependence and regression require reconsidering residual structure and probability assumptions.
Values 2, 4 have mean 3 and centered squared sum 2. Dividing by n gives 1; by n−1 gives 2. The appropriate quantity depends on whether the target is fixed-record descriptive variance or unbiased estimation of an iid-law variance.
학부 연결 · 선택Undergraduate bridge · optional
29. 두 분모의 분산추정량은 모두 일치할 수 있다29. Both variance denominators can give consistent estimators
iid이고 E[X²]<∞이면 원점 두 번째 표본모멘트가 E[X²]로, 표본평균이 μ로 확률수렴합니다. 차이를 만들면 V_n이 σ²로 수렴합니다.
Here n≥2. Nonnegativity of Var(Y²) gives μ₄≥σ⁴. Zeroσ² forces Y=0 almost surely and henceμ₄=0. The lab rejects incompatible moment inputs.
기초Foundations
31. 정규모형에서는 편향된 분산 규칙이 MSE를 줄일 수 있다31. A biased variance rule can reduce MSE in a normal model
정규 원분포는 μ₄=3σ⁴입니다. 앞 식에 대입하면 S_n²의 분산과 MSE는 2σ⁴/(n−1)입니다. V_n은 더 작은 분산에 편향 제곱 σ⁴/n²를 더합니다.
MSE(Sn2)MSE(Vn)=n−12σ4,=n2(2n−1)σ4.
예를 들어 n=5,σ²=1이면 S_n² MSE=.5,V_n MSE=.36입니다. 불편한 규칙이 항상 낮은 MSE를 갖는다는 주장을 반박합니다.
이 결과는 정규모형에서 두 지정 규칙을 비교한 것입니다. 모든 추정량 중 V_n이 최선이라고 증명한 것도, 모든 원분포에서 순위가 같다고 한 것도 아닙니다. 다른 손실이면 다시 비교해야 합니다.
A normal source has μ₄=3σ⁴. Substituting gives variance and MSE 2σ⁴/(n−1) for S_n². For V_n, add squared bias σ⁴/n² to its reduced variance.
MSE(Sn2)MSE(Vn)=n−12σ4,=n2(2n−1)σ4.
At n=5, σ²=1, the risks are .5 and .36. Unbiasedness does not guarantee lower MSE.
This compares two specified rules under a normal source. It neither proves global optimality of V_n nor the same ranking under every source or loss.
기초Foundations
32. 원분포를 바꾸면 같은 분모의 순위도 바뀐다32. Changing the source law can reverse the variance-rule ranking
가정한 공정 부호 Y=−1,+1의 평균은 0, 분산은 1, 네 번째 중심모멘트도 1입니다. 같은 분산 1의 정규분포보다 꼬리와 네 번째 모멘트 구조가 다릅니다.
MSE(Sn2)MSE(Vn)=n(n−1)2,=n32(n−1)+n21.
n=10이면 S_n² 위험은 1/45≈.0222222,V_n 위험은 .028입니다. 이때는 불편한 규칙이 낮습니다. 같은 n과 분산이라도 μ₄가 달라지면 위험 비교가 달라집니다.
평가하려는 법칙의 조건을 빼고 ‘n분모가 언제나 더 낫다’ 또는 ‘n−1이 언제나 더 낫다’고 일반화하면 안 됩니다. 목적이 기술적 요약인지 추정인지도 먼저 고정합니다.
A hypothetical fair sign±1 has mean zero, variance one and fourth central moment one. This differs from the fourth moment of a unit-variance normal source.
MSE(Sn2)MSE(Vn)=n(n−1)2,=n32(n−1)+n21.
At n=10, the risks are 1/45≈.0222222 and .028. The unbiased rule now wins. Equal variance and sample size do not fix the risk without higher-moment information.
Neither denominator is universally preferable for every inferential goal and source law. Fix the task before ranking rules.
기초Foundations
33. 분산 실습: 원분산과 추정량 위험의 단위를 나눈다33. Variance lab: separate the target variance from estimator risk
n, 원분산 σ², 중심 네 번째 모멘트 μ₄를 바꾸며 두 분모의 기대값·편향·분산·MSE를 읽습니다. σ²=1,μ₄=3은 정규의 첫 네 모멘트와 같은 입력이고,μ₄=1은 공정 부호의 입력입니다.
n=10에서 두 입력을 비교해 순위가 바뀌는지 확인하세요. σ²=0이면 μ₄도 0이어야 합니다. μ₄<σ⁴나 분산 0인데 양의 μ₄를 요구하는 입력은 실제 확률법칙의 모멘트와 맞지 않습니다.
μ₄=3σ⁴라는 등식만으로 원분포가 정규라고 식별되는 것은 아닙니다. 여기서는 그 모멘트를 사용하는 위험 공식이 같다는 뜻입니다. 원래 측정단위가 g이면 표적은 g², 위험은 g⁴입니다.
Change n, source variance σ² and fourth central momentμ₄. Read expectation, bias, variance and MSE for both denominators. Inputsσ²=1, μ₄=3 match normal moments;μ₄=1 matches the fair-sign example.
At n=10, check the reversed ranking. Zero variance requires zero fourth central moment. Inputsμ₄<σ⁴ or positiveμ₄ with zero variance are incompatible with a probability law.
Matchingμ₄=3σ⁴ does not identify a normal distribution. It matches the moment inputs to this risk formula. For original g units, the variance target uses g² and its squared-error risk g⁴.
학부 연결 · 선택Undergraduate bridge · optional
34. 효율성을 말할 때 비교 대상과 조건을 명시한다34. Efficiency needs an explicit benchmark and class
두 불편추정량이 같은 목표를 추정한다면 작은 분산을 선호할 수 있습니다. 두 편향추정량까지 포함하면 분산만이 아니라 MSE 등 정한 위험을 비교해야 합니다.
‘효율적’이라는 말은 불편추정량 중 최소 분산, 특정 하한 달성, 또는 큰 표본에서의 한계 분산 비교 등 문맥에 따라 다릅니다. 이 장의 실습은 정규성 조건을 만족하는 Bernoulli 내부 모수에서 불편 Cramér–Rao 하한을 기준으로 삼습니다.
정규성 조건은 ‘원자료가 정규분포’라는 말이 아닙니다. 미분과 기대값의 교환, 고정된 지지집합 같은 정보 부등식의 조건입니다. 다음 절에서 각각 어디에 쓰이는지 직접 봅니다.
For two unbiased estimators of the same target, lower variance can be preferred. Once biased rules enter, compare the stated risk rather than variance alone.
Efficiency can mean minimum variance within an unbiased class, attainment of an information bound, or an asymptotic variance comparison. The lab uses the ordinary unbiased Cramér–Rao bound for interior Bernoulli parameters under regularity.
Regularity does not mean a normal source distribution. It refers to conditions such as fixed support and exchanging differentiation with expectation.
대학원 연결Graduate bridge
35. 점수함수는 가능도의 모수 방향 변화율이다35. A score measures change of log likelihood with the parameter
여기부터는 미분을 사용하는 선택 심화입니다. 관측한 이진 시행열 x에서 K=Σx_i라고 하면 p에 대한 가능도는 p^K(1−p)^{n−K}입니다. 관측열을 고정하고 p를 움직입니다.
U는 score라고 부르며 시험 성적과는 다릅니다. 큰 양의 값은 그 자료에서 p를 조금 높일 때 로그 가능도가 커지는 방향임을 뜻합니다. 실제 효과의 인과 변화율이 아닙니다.
p=0,1에서는 로그와 분모가 특이해집니다. 원래 Bernoulli 법칙은 끝점에서 잘 정의되지만 이 내부 미분식은 같은 방식으로 평가하지 않습니다.
This optional section uses differentiation. For a fixed binary sequence with K successes, the likelihood is p^K(1−p)^{n−K}. Vary p while holding the observed sequence fixed.
The score is a log-likelihood derivative, not a grade. Its sign gives a local likelihood direction for the observed data; it is not a causal derivative.
The Bernoulli law remains defined at p=0 or one, but these interior logarithmic expressions require separate endpoint treatment.
대학원 연결Graduate bridge
36. Fisher 정보는 점수함수의 제곱 평균이다36. Fisher information is an expected squared score
내부 Bernoulli 가족에서 E_p[K]=np이므로 E_p[U]=0입니다. 따라서 점수함수의 제곱 평균은 분산과 같습니다.
In(p)=Ep[U(p)2]=p2(1−p)2Varp(K)=p(1−p)n.
독립 관측의 score는 합이고 서로 공분산이 0이므로 정보가 n배로 더해집니다. 관측값을 복사하면 독립 정보가 n배가 된다는 결론을 그대로 쓸 수 없습니다.
여기서 정보는 확률모형과 모수 좌표에 따라 정의되는 수량입니다. 모수 단위를 바꾸면 수치도 달라집니다. 고객의 가치나 국가의 중요도를 평가한 점수가 아닙니다.
For the interior Bernoulli family, E_p[K]=np makes the score expectation zero. Expected squared score therefore equals its variance.
In(p)=Ep[U(p)2]=p2(1−p)2Varp(K)=p(1−p)n.
Independent scores add without cross-covariance, giving n times one-observation information. Copying one outcome does not create n independent units of information.
Information depends on the statistical family and parameter coordinates. It is not a measure of a customer’s value or a country’s importance.
대학원 연결Graduate bridge
37. 불편 Cramér–Rao 하한을 공분산으로 증명한다37. Prove the unbiased Cramér–Rao bound through covariance
모르는 p를 직접 쓰지 않는 추정량 T가 열린 가족 0<p<1 전체에서 불편하고 분산이 유한하다고 합시다. 이 유한 표본공간은 p에 따라 바뀌지 않고 각 확률이 미분 가능하므로 합과 미분을 교환할 수 있습니다.
마지막은 E[U]=0을 사용합니다. Cauchy–Schwarz를 적용하면 공분산의 제곱이 두 분산의 곱보다 작거나 같으므로 다음을 얻습니다.
1Varp(T)≤Varp(T)In(p),≥In(p)1=np(1−p).
정규분포를 가정하지 않았습니다. 불편성의 전 가족 조건과 미분 교환이 핵심입니다. 일반 연속 모형에서는 적분 교환·지지집합 조건이 별도 가정이며 자동으로 참이라고 두지 않습니다.
Let a finite-variance estimator T, not containing unknown p, be unbiased throughout 0< p<1. The finite sample space is fixed and probabilities are differentiable, allowing a derivative through the sum.
No normal source was assumed. Family-wide unbiasedness and derivative interchange are essential. General continuous models need their own support and interchange conditions.
학부 연결 · 선택Undergraduate bridge · optional
38. 평균은 하한을 달성하고 첫 시행은 정보를 버린다38. The mean attains the bound while first-only discards information
Bernoulli 평균의 분산은 p(1−p)/n이므로 내부 모수의 불편 하한과 같습니다. 따라서 그 가족의 불편추정량 중 더 작은 분산을 가진 규칙은 없습니다.
eff(T)=Varp(T)1/In(p)
이 기준으로 평균 효율성은 1, 첫 시행의 효율성은 1/n입니다. n=10이면 첫 시행은 .1입니다. n=1에서는 두 규칙이 같아 효율성도 같습니다.
이것이 모든 편향추정량과 모든 손실에서 평균이 최선이라는 뜻은 아닙니다. add-one이나 상수의 점별 MSE가 더 작았던 앞 사례와 모순되지 않습니다. 비교한 클래스와 기준이 다릅니다.
The Bernoulli mean has variance p(1−p)/n, exactly the interior unbiased lower bound. No estimator unbiased throughout this family can have smaller variance there.
eff(T)=Varp(T)1/In(p)
The mean has efficiency one and the first-only rule 1/n. They coincide at n=1.
This does not make the mean best among biased rules under every loss. Lower pointwise MSE for add-one or a constant is compatible with a bound restricted to the unbiased class.
대학원 연결Graduate bridge
39. 한 점의 편향 0은 불편 하한 적용에 충분하지 않다39. Zero bias at one point is not enough for the unbiased bound
p=.5에서 상수 .5는 편향 0·분산 0입니다. add-one도 그 점에서 편향 0이고 분산은 평균보다 작습니다. 그런데 두 규칙 모두 전체 p 가족에서 불편하지 않으므로 앞 하한의 조건을 만족하지 않습니다.
같은 정규성 조건에서 m(p)=E_p[T]가 미분 가능하면 공분산은 1이 아니라 m′(p)가 됩니다. 편향 b=m−p를 쓰면 다음 일반화가 나옵니다.
Varp(T)≥In(p)[m′(p)]2=In(p)[1+b′(p)]2
상수는 m′=0이라 하한도 0입니다. add-one은 m′=n/(n+2)이므로 그 분산 np(1−p)/(n+2)²과 정확히 맞습니다. 단순히 ‘불편 하한을 깼다’고 보고하는 대신 조건이 어디에서 달라졌는지 설명합니다.
At p=.5, the constant .5 has zero bias and variance. Add-one also has zero bias there and smaller variance than the mean. Neither is unbiased throughout the family, so the ordinary unbiased bound does not apply.
Under the same regularity, write differentiable m(p)=E_p[T]. The covariance in the proof becomes m′(p), not necessarily one.
Varp(T)≥In(p)[m′(p)]2=In(p)[1+b′(p)]2
A constant has zero derivative and zero lower bound. Add-one has derivative n/(n+2), yielding its exact variance np(1−p)/(n+2)². State the changed conditions instead of claiming a violation of the unbiased bound.
대학원 연결Graduate bridge
40. 지지집합이 모수와 함께 바뀌면 보통 증명이 깨질 수 있다40. Parameter-dependent support can invalidate the ordinary argument
선택 반례로 iid Uniform(0,θ),θ>0을 생각합니다. 최대값 M=maxX_i는 F_M(m)=(m/θ)^n,0≤m≤θ를 가집니다. 이 식을 적분하면 E[M]=nθ/(n+1),E[M²]=nθ²/(n+2)입니다.
T=nn+1MEθ[T]=θVarθ(T)=n(n+2)θ2
지지집합의 끝 θ도 함께 움직입니다. 내부 밀도 θ^{−n}의 로그 미분만 잡으면 −n/θ가 되어 기대 score가 0이라는 중간 단계부터 실패합니다. 움직이는 경계의 기여를 버린 것입니다.
그러므로 앞 Bernoulli 식의 모양만 다른 가족에 끼워 넣으면 안 됩니다. 이 반례는 ‘모든 정보 부등식이 없다’가 아니라 보통의 정규성 증명을 조건 없이 쓰지 말라는 뜻입니다.
For an optional counterexample, take iid Uniform(0, θ), θ>0. The maximum M has CDF(m/θ)^n for 0≤m≤θ. Integration gives E[M]=nθ/(n+1) and E[M²]=nθ²/(n+2).
T=nn+1MEθ[T]=θVarθ(T)=n(n+2)θ2
The support endpointθ moves with the parameter. Differentiating only the interior densityθ^{−n} gives score−n/θ, whose expectation is not zero. The discarded moving boundary invalidates the ordinary argument.
Do not transplant the Bernoulli formula into another family without checking conditions. This does not deny every possible information inequality; it identifies the failure of this regular proof.
기초Foundations
41. 효율성 실습: 적용 가능한 하한인지 먼저 확인한다41. Efficiency lab: first check whether the bound applies
평균·첫 시행을 골라 내부 p에서 정보와 불편 하한, 선택한 규칙의 분산을 확인하세요. 평균의 하한/분산은 1, 첫 시행은 1/n입니다.
p=.5에서 add-one과 상수를 선택하면 점별 편향은 0이어도 전 가족 불편 조건 표시가 꺼집니다. 그때 불편 효율성 수치를 억지로 계산해 1보다 큰 ‘우수성’이라고 보고하지 않습니다.
p=0 또는 1에서는 이 정규 score 계산을 미정의로 표시합니다. 원래 추정량의 위험은 별도로 잘 정의됩니다. 계산식의 정의역과 원확률법칙의 정의역이 같은 것은 아닙니다.
Select the mean or first-only rule and inspect information, the unbiased bound and the rule’s variance at an interior p. Bound divided by variance is one for the mean and 1/n for first-only.
At p=.5, add-one and the constant can have zero pointwise bias while failing family-wide unbiasedness. The lab does not report an inapplicable ratio above one as superior unbiased efficiency.
At p=0 or one, the regular score calculation is undefined even though estimator risks remain defined. A formula’s domain need not equal the domain of the underlying probability family.
대학원 연결Graduate bridge
42. 선택 심화: 조건부 평균으로 첫 시행을 개선한다42. Optional bridge: improve first-only by conditioning
Bernoulli의 성공 합 K를 알 때, 동일한 합을 갖는 순서열은 내부 p에서 같은 확률입니다. n개 위치 중 k개가 성공이므로 첫 위치의 조건부 성공확률은 k/n입니다.
Ep[X1∣K]=nK,0<p<1
즉 첫 시행의 조건부 평균이 전체 평균입니다. 앞 STAT07의 제곱오차 분해로 조건부 평균을 쓰면 위험이 증가하지 않습니다.
E[(T−θ)2]=E[(E[T∣S]−θ)2]+E[Var(T∣S)]
여기서는 조건부 규칙 k/n이 미지 p를 포함하지 않아 계산 가능한 추정량입니다. 일반적인 Rao–Blackwell 연결에서는 조건화한 규칙이 모수와 무관하게 계산되는지 확인해야 합니다. 충분통계량과 더 깊은 최적성은 이후 수리통계에서 이어갑니다.
Given K=k successes, all binary sequences with that count have equal probability at interior p. Symmetry makes the first position’s conditional success probability k/n.
Ep[X1∣K]=nK,0<p<1
The conditional expectation of first-only is the full mean. The STAT07 squared-error decomposition shows why conditioning cannot increase risk.
E[(T−θ)2]=E[(E[T∣S]−θ)2]+E[Var(T∣S)]
Here k/n is computable without unknown p. A general Rao–Blackwell construction must likewise yield a parameter-free rule. Sufficiency and deeper optimality continue in mathematical statistics.
기초Foundations
43. 실제 국가 자료: 네 주택지수에서 분산추정량을 비교한다43. Actual country data: compare variance rules on four housing-index records
보관한 BIS 한국 실질 주택지수의 2024년 네 분기는 108.3502,107.7932,107.4475,107.4756입니다. 기준은 2010년 평균=100입니다. 원화 거래가격이나 개별 주택 네 채의 값이 아닙니다.
네 분기를 각각 확률 1/4로 독립 복원 추첨하는 별도 모형을 정의합니다. n=2이면 순서 있는 16개 쌍을 전부 나열해 두 분모의 추정값과 위험을 계산할 수 있습니다. 여기서 원시계열이 iid였다고 검증한 것이 아닙니다.
n을 1000으로 바꾸어도 새 분기 1000개가 생기는 것은 아닙니다. 고정 네 기록 위의 재표집법칙에서 표본 크기를 바꾼 것입니다. 지수의 제곱 단위인 분산 표적과 네제곱 단위의 MSE를 나누어 읽습니다.
The retained BIS Korea real residential-property index records for 2024 are 108.3502, 107.7932, 107.4475, 107.4756, with 2010 average=100. They are not KRW transaction prices or four individual houses.
Define a separate experiment drawing these quarters independently with replacement, each with probability 1/4. At n=2, enumerate all 16 ordered pairs and both variance rules. This does not establish that the original housing time series is iid.
A resample of 1000 is not 1000 newly observed quarters. Separate the squared-index variance target from fourth-power-index MSE.
기초Foundations
44. 실제 사람 자료: 로그 임금의 목표와 세 규칙을 보존한다44. Actual person data: preserve the log-wage target and compare three rules
보관한 Card 자료는 1976년 남성 기록 3613행이며 원문에서 절단 처리된 로그 임금의 가용값은 3010개, 비관측값은 603개입니다. 가용값을 무가중으로 평균한 고정 목표는 약 6.261831917744입니다.
이 가용값에서 iid 복원 추첨을 가정하여 평균·첫 추첨·평균+.1의 위험을 비교합니다. 첫 규칙과 두 번째는 같은 목표에 불편하지만 첫 추첨만 쓰면 분산이 줄지 않습니다. +.1은 선택한 이동 가정이며 실제 측정오류를 발견한 수치가 아닙니다.
원래 시간당 임금의 단위가 센트였더라도 이 열은 로그입니다. 로그 평균을 화폐 임금의 산술평균이라 부르지 않습니다. 이 계산은 조사 가중치·결측 보정·현대 전체 취업자의 대표성을 추가로 확보한 것이 아니며 교육의 인과수익률도 아닙니다.
The retained Card data have 3613 male records from 1976, with 3010 available source-trimmed log-wage values and 603 unavailable values. Their fixed unweighted observed mean is about 6.261831917744.
Under a separately assumed iid replacement law, compare the mean, first draw and mean +.1. The first two are unbiased for the same empirical target, but first-only does not gain precision. The +.1 is a chosen shift, not a discovered measurement error.
The column is logarithmic even though source hourly wages were recorded in cents. Mean log wage is not arithmetic mean currency wage. This calculation adds no survey weighting, missingness correction, current-worker representativeness or causal schooling return.
기초Foundations
45. 실제 기업 자료: 이탈 비율과 add-one 위험을 비교한다45. Actual company data: compare churn proportion and add-one risk
UCI Iranian Churn의 보관 자료에는 고객 기록 3150개와 이탈 표시 495개가 있습니다. 고정 경험비율 p_F=495/3150=11/70입니다. 이 기록에서 독립 복원 추첨하는 가정 아래 두 규칙을 비교합니다.
이 고정 p_F에서는 모든 양의 n에서 add-one의 MSE가 더 작습니다. 그래도 모든 p에서 그렇다는 주장은 아닙니다. 앞 절의 p=0 반례를 함께 기억합니다.
입력 특징은 첫 9개월, 결과는 12월 말로 정리되어 3개월 간격을 둡니다. 자료의 정확한 수집연도가 제시되지 않았다는 점도 유지합니다. 경험비율 추정량의 위험 계산만으로 미래 고객 이탈 예측 성능이나 원인 분석을 검증하지 않습니다.
The retained UCI Iranian Churn data contain 3150 customer records and 495 churn labels, with empirical proportion p_F=11/70. Compare rules under an explicitly assumed iid replacement law on those records.
Add-one has lower MSE at this fixed p_F for every positive n. It does not dominate at every possible p, as the endpoint counterexample showed.
Features summarize the first nine months and outcomes the end of month twelve, a three-month gap. Exact collection years are unstated. This sampling-risk calculation does not validate future customer predictions or causal explanations.
기초Foundations
46. 실제 자료 실습: 추정 목표·규칙·단위를 먼저 읽는다46. Actual-data lab: read target, rule and units first
국가에서는 실제 네 지수와 가정한 순서쌍을, 사람에서는 가용 로그 임금의 세 규칙을, 기업에서는 비율과 add-one을 선택합니다. 각 표에서 원자료 개수와 가정한 재표집 크기 n을 따로 읽으세요.
국가 순서쌍은 언제나 2회 복원 추첨의 예입니다. 표의 일반 n 위험을 바꾸어도 그 쌍이 n개의 실제 관측으로 바뀌지는 않습니다. 사람의 결측 603개가 0으로 채워지거나 회사의 가상 두 관측이 실제 고객 수에 더해져서는 안 됩니다.
평균·편향·분산·MSE 중 어떤 값이 표집법칙의 성질인지, 어떤 값이 이번 가정 순서쌍의 실현 추정값인지 표시를 따라 확인합니다. 실제 입력, 추가 모형, 대상 모집단에 대한 주장을 별도로 기록하는 습관을 연습합니다.
Select the four actual country indices and assumed ordered pair, the three log-wage rules, or churn proportion versus add-one. Distinguish source-record count from the chosen replacement sample size n.
The country pair always illustrates two replacement draws, even when the general-n risk table changes. Missing log wages are not zero-filled; add-one does not add two actual customers.
Trace which entries describe a sampling law and which are realized estimates for one assumed pair. Record actual inputs, additional models and population claims separately.
기초Foundations
47. 실제 국가·사람·기업의 추정량 사례47. Estimator case studies using actual country, person and company data
국가 사례 · 같은 실제 주택지수에서 서로 다른 분산 추정량을 평가하기
BIS 한국 전국 실질 주거용 부동산 가격지수의 2024년 네 분기를 봅니다. 이 지수는 2010년 평균=100이며 특정 아파트의 원화 가격이나 서울 평균 매매가가 아닙니다. 실질 지수는 소비자물가 조정 지표입니다. 네 값을 모두 알고 있으므로 그 네 분기의 균등 평균과 분산은 이미 계산할 수 있습니다. 여기서 이를 정답 기준으로 놓고, 일부를 무작위로 골랐을 때 사용할 계산 규칙을 평가하는 수업 실험을 만듭니다.
실제 2024년 네 분기 실질지수
분기
실제 지수 (2010=100)
지정한 균등 확률
2024-Q1
108.3502
1/4
2024-Q2
107.7932
1/4
2024-Q3
107.4475
1/4
2024-Q4
107.4756
1/4
네 분기 균등 선택 법칙의 평균은 107.766625000 지수포인트, 분산은 0.131950581875 지수포인트²입니다. 실제 분기 시계열이 iid라는 뜻은 아닙니다. 매번 네 분기 중 하나를 복원·독립으로 고른다는 별도 실험에서만 아래의 iid 공식을 사용합니다. 목표 σ²는 이 고정된 네 분기 숫자의 분산이며 미래 주택시장 변동성의 추정값으로 바꾸어 부르지 않습니다.
선택되기 전에는 어떤 분기들이 들어올지 몰라 두 규칙의 값도 확률변수입니다. 선택 뒤 숫자를 넣어 얻은 것이 추정값입니다. 표본평균을 먼저 계산해 같은 표본의 편차를 제곱한다는 점은 두 규칙이 같고, 분모만 n과 n−1로 다릅니다. 한 번의 추정값이 정답과 다르다는 사실을 곧바로 “편향”이라고 부르지는 않습니다.
E[Vn]=nn−1σ2Bias(Vn)=−nσ2E[Sn2]=σ2
먼저 생각한 뒤 풀이 보기: n=2일 때 실제 네 값으로 편향을 직접 확인해 보세요.
복원 선택의 순서쌍은 4²=16개이고 각각 확률은 1/16입니다. CSV에는 모든 쌍과 두 추정값을 담았습니다. 16개의 V2를 평균 내면 0.065975290938, 16개의 S2²를 평균 내면 0.131950581875입니다. 비편향은 매 추정값이 정확하다는 뜻이 아니라 반복 법칙으로 평균 냈을 때 목표와 같다는 뜻입니다.
2. 비편향이면 MSE도 더 작다는 보장은 없다
MSE(T)=E[(T−θ)2]=Var(T)+(E[T]−θ)2
분산을 추정하는 문제이므로 T의 단위는 지수포인트²이고 그 MSE는 지수포인트⁴입니다. 그래프는 두 규칙의 같은 MSE 단위를 비교합니다. 편향을 0으로 만드는 규칙이 오히려 더 많이 흔들릴 수 있어, 선택한 손실과 n에 맞춰 전체 제곱오차를 비교해야 합니다.
먼저 생각한 뒤 풀이 보기: n을 늘리면 분모 n인 규칙은 계속 틀린가요?
이 iid 유한모멘트 모형에서 Vn의 편향 −σ²/n은 0으로 가고 분산도 0으로 갑니다. 두 규칙 모두 일치성을 가질 수 있습니다. 유한 표본 비편향성과 n→∞의 일치성은 다른 성질입니다. 실제 네 분기를 순서대로 한 번씩 관측한 연간 집계와 가정 복원추첨의 무한 n도 구별합니다.
심화 · MSE 표의 재현식
μ4=E[(X−μ)4]Var(Sn2)=n1(μ4−n−1n−3σ4)
MSE(Vn)=(nn−1)2Var(Sn2)+n2σ4
이 유한 네 값에서 4차 모멘트 μ4를 직접 계산하고 적용합니다. n=2는 전체 16쌍의 제곱오차 평균으로 독립 확인합니다. 공식을 쓰기 전 iid와 유한 4차 모멘트 조건을 확인해야 합니다.
David Card가 공개한 대학 근접성 연구 자료의 원 codebook과 nls.dat를 대조했습니다. 1976년 NLS 청년 남성 코호트의 3,613행 중 원문이 이상치를 절단한 로그임금은 3,010행에 있습니다. 원시 시간당 임금의 기준 단위는 센트이며, 여기서는 공표된 로그 열을 그대로 사용합니다. 603개 비관측 로그임금을 0으로 바꾸거나 임금을 새로 복원하지 않습니다. 공개 추출의 개인 번호는 원자료 행을 연결하는 익명 식별자이며 이름·연락처가 아닙니다.
이번 수업의 고정 목표 μL은 관측된 3,010개 로그임금의 무가중 평균 6.261831917744입니다. 그 경험법칙의 분산은 0.196890921311입니다. 원 NLS 조사 가중치를 적용한 전체 남성 모집단 평균이나 교육의 인과수익률을 추정하는 사례가 아닙니다. 원 codebook의 절단과 비관측이 있으므로 그 밖의 603명·전체 노동시장으로 평균을 옮기는 주장은 별도 가정이 필요합니다.
1. 같은 자료 n개로 두 비편향 규칙을 비교한다
관측된 3,010행에서 독립·복원·균등으로 n개를 고르는 실험을 지정합니다. A는 그 n개의 평균, B는 첫 번째 값만 쓰는 규칙입니다. n개를 받았지만 B는 나머지를 버립니다. 둘 다 이 법칙의 μL에 비편향입니다.
같은 iid 선택 법칙과 같은 목표, 같은 n의 두 비편향 후보를 비교하면 A의 분산은 0.001968909213, B의 분산은 0.196890921311입니다. 분산 비 B/A는 100입니다. 여기서 A가 이 두 후보 중 더 효율적이라고 말할 수 있지만, 모든 가능한 모형·추정량 가운데 보편적으로 최선이라고 증명한 것은 아닙니다.
2. 비편향이어도 일치하지 않을 수 있다
B는 n이 늘어도 첫 선택 하나만 사용하므로 분포가 좁아지지 않습니다. 원래 법칙에 서로 다른 로그임금이 있어 σL²>0입니다. 따라서 어떤 작은 양의 오차폭 밖의 확률이 계속 양수로 남습니다. 반면 A는 σL²/n→0이고 Chebyshev 부등식으로 μL에 확률수렴합니다. 유한 n의 평균이 맞는가와 큰 n에서 한 점으로 모이는가는 별개입니다.
3. 모든 추정값에 .1을 더하는 가정 규칙
Cn=Ln+0.1Bias(Cn)=0.1MSE(Cn)=nσL2+0.01
0.1은 방법 비교를 위해 임의로 넣은 로그 눈금의 보정값이며 실제 임금 인상이나 측정된 정책효과가 아닙니다. C의 분산은 A와 같지만 MSE에 0.01이 더해지고 그 항은 사라지지 않습니다. 많은 데이터를 써도 목표 μL 대신 μL+.1로 모이는 일치성 실패의 예입니다. 로그값 0은 비관측 임금의 적절한 채움값이라는 뜻도 아닙니다.
먼저 생각한 뒤 풀이 보기: 이번 계산이 실제 1976년 모든 사람의 평균임금 불확실성인가요?
아닙니다. 완전한 관측 로그열의 경험법칙을 고정해 규칙을 비교한 수업입니다. 원래 코호트의 표본 설계·가중치·비관측·절단, 로그평균과 수준평균의 차이를 더 검토해야 실제 모집단 추론이 됩니다. 표준오차가 작아진다는 산술만으로 이런 선택 문제를 해결할 수는 없습니다.
UCI가 공개한 이란 통신사 익명 고객 기록 3,150개 중 12개월 말 이탈 표식은 495개입니다. 입력 사용량은 첫 9개월 집계이며 그 뒤 3개월의 계획 간격을 두고 이탈 상태를 기록합니다. 정확한 수집 연도는 공개 설명에 없습니다. 공개 연도 2020을 수집 연도처럼 쓰지 않습니다. Charge Amount는 통화 금액이 아닌 0~9의 순서 범주이므로 평균 요금으로 해석하지 않습니다. 여기서는 실제 사용량 열과 결과 표식을 원본과 대조해 보존합니다.
고정된 전체 공개 표의 이탈 비율은 p*=495/3150=11/70≈0.157142857입니다. 이 값을 규칙 평가의 기준으로 놓습니다. 실제 회사의 모든 고객·다른 연도에 같은 비율이 적용된다고 추론하지 않습니다. 아래 반복 표본은 이 고정 기록들에서 균등·복원·독립으로 n개를 고르는 가정입니다. 따라서 이 실험의 이탈 표식 합 S는 Binomial(n,p*)를 따릅니다.
1. 표본비율과 add-one 규칙
p=nSp=n+2S+1
첫 규칙은 관측한 이탈 횟수를 전체 선택 수로 나눕니다. 두 번째는 성공·실패에 가상의 하나씩을 더하는 수치 규칙입니다. 실제 새 고객 두 명을 만들어 넣었다는 뜻이 아닙니다. 이 장에서는 규칙 자체의 빈도주의적 반복 성질을 평가하며, 사전분포를 쓴 추론으로 해석하려면 별도 모형을 명시해야 합니다.
먼저 생각한 뒤 풀이 보기: 편향이 양수인 add-one이 왜 여기서는 MSE가 더 작나요?
MSE는 편향의 제곱만이 아니라 분산도 더합니다. 이 고정 p*에서는 add-one이 분산을 줄이는 이득이 편향 비용보다 커서 표의 모든 n에서 MSE가 더 작습니다. n≤100의 각 S=0,…,n 전체 이항 확률과 두 제곱오차를 CSV로 제공하여 공식을 실제 확률 합으로 검산했습니다. 이것은 비편향만으로 모든 성능을 판단할 수 없다는 사례입니다.
먼저 생각한 뒤 풀이 보기: 그렇다면 모든 실제 이탈률에서 add-one이 더 좋나요?
그렇지 않습니다. 별도 가정 경계 p=0에서는 S=0이 항상 성립하므로 표본비율의 MSE는 0이지만 add-one은 1/(n+2)을 내어 양의 제곱오차가 생깁니다. p=0은 이 자료에서 관측한 비율이 아니라 보편적 우월성을 반박하는 수학적 비교 모형입니다. 한 데이터의 한 p에서 MSE가 작았다는 사실과 모든 모수에서 최선이라는 주장은 다릅니다.
먼저 생각한 뒤 풀이 보기: 유한 n에서 편향됐는데도 일치할 수 있나요?
가능합니다. add-one 편향 (1−2p)/(n+2)은 0으로 가고 분산 np(1−p)/(n+2)²도 0으로 갑니다. MSE가 0으로 가므로 Markov 부등식을 제곱오차에 적용하면 확률수렴을 얻습니다. 실제 미래 고객을 예측하는 문제의 검증 오차와 이 고정 법칙 아래 추정량의 MSE는 서로 다른 대상입니다.
Country case · Evaluate variance estimators on actual housing-index values
Use four actual 2024 quarters of the BIS Korea-wide real residential property price index. Its 2010 average is 100; it is not a KRW transaction price or mean Seoul apartment price. Real denotes a CPI-adjusted index. All four quarterly values are known, so their uniform mean and variance can be computed completely. Treat them as evaluation benchmarks for classroom sampling rules.
Four actual real-index observations for 2024
Quarter
Actual index (2010=100)
Assigned uniform probability
2024-Q1
108.3502
1/4
2024-Q2
107.7932
1/4
2024-Q3
107.4475
1/4
2024-Q4
107.4756
1/4
The uniform four-quarter law has mean 107.766625000 index points and variance 0.131950581875 index points². The actual quarterly time series is not thereby iid. The formulas below concern a separate experiment of independent replacement draws from those four values. Target σ² is variance of this fixed four-value law, not a forecast of future housing-market volatility.
1. An estimator is a rule; an estimate is its realized number
Before selection, the sampled quarters are random and each rule is a random variable. Substituting the observed values produces an estimate. Both rules center deviations at the same sample mean, differing only in denominator n versus n−1. One estimate differing from the target is realized error, not automatically statistical bias.
E[Vn]=nn−1σ2Bias(Vn)=−nσ2E[Sn2]=σ2
Think first, then reveal: Check the n=2 bias directly using the four actual values.
There are 4²=16 ordered replacement pairs with probability 1/16 each. The CSV includes every pair and both estimates. Averaging all V2 values gives 0.065975290938; averaging all S2² values gives 0.131950581875. Unbiasedness concerns expectation under repetition, not exactness of every individual estimate.
2. Unbiasedness alone does not guarantee smaller MSE
MSE(T)=E[(T−θ)2]=Var(T)+(E[T]−θ)2
Because the target is a variance, T has units index points² and its MSE has units index points⁴. The chart compares both rules on that same MSE scale. A rule that removes bias can vary more, so compare complete squared error for the chosen loss and n.
Think first, then reveal: Does division by n stay wrong as n grows?
Under this iid finite-moment model, Vn’s bias −σ²/n and variance both vanish. Both rules can be consistent. Finite-sample unbiasedness and n→∞ consistency are distinct properties. Also distinguish an actual one-time annual sequence of four quarters from unlimited assumed replacement draws.
Advanced · Reproduce the MSE table
μ4=E[(X−μ)4]Var(Sn2)=n1(μ4−n−1n−3σ4)
MSE(Vn)=(nn−1)2Var(Sn2)+n2σ4
Compute μ4 directly from the finite four-value law. For n=2, independently average squared errors over all sixteen pairs. Check iid and finite-fourth-moment conditions before applying these formulas.
Person case · Separate unbiasedness, efficiency and consistency using actual wage records
Compare the public college-proximity replication extract against David Card’s original codebook and nls.dat. Of 3613 records in the 1976 NLS young-men cross-section, 3010 have the source’s outlier-trimmed log-wage value. Raw hourly wages use cents; we retain the published log column itself. Do not replace 603 unobserved log wages with zero or reconstruct new wages. The public source person number is an anonymous linkage identifier, not a name or contact detail.
The fixed classroom target μL is the unweighted mean of 3010 observed log wages, 6.261831917744, with empirical variance 0.196890921311. This is not an estimate using original NLS survey weights for all men, or a causal return to schooling. Source trimming and unobserved values require additional assumptions before generalizing to the other 603 records or the wider labor market.
1. Compare two unbiased rules using the same n selected records
Specify n independent uniform replacement draws from the 3010 observed records. Rule A averages all n values. Rule B uses only the first, discarding the others despite receiving the same sample. Both are unbiased for μL under this law.
Think first, then reveal: Which rule is more efficient at n=100?
For these two unbiased candidates under the same iid law, target and n, A’s variance is 0.001968909213 versus B’s 0.196890921311. The variance ratio B/A is 100. A is more efficient among these two candidates; this is not a proof of universal optimality over all models and estimators.
2. An unbiased rule can still be inconsistent
B always uses one draw, so its distribution does not concentrate as n grows. The original law has distinct log wages and positive variance; for some positive tolerance, error probability stays positive. A instead has variance σL²/n→0 and converges in probability to μL by Chebyshev. Correct expectation at each finite n differs from concentration as n grows.
3. A deliberately shifted rule adds .1 to every estimate
Cn=Ln+0.1Bias(Cn)=0.1MSE(Cn)=nσL2+0.01
The .1 is an assumed numerical offset for comparing methods, not an observed wage increase or policy effect. C has A’s variance but an additional .01 MSE term that does not vanish. More data concentrate it around μL+.1 rather than the intended target. Nor is log value zero an appropriate replacement for an unobserved wage.
Think first, then reveal: Is this uncertainty about every person’s mean wage in 1976?
No. We fix the observed log-wage empirical law to evaluate rules. Actual population inference also needs cohort sampling design, weights, unobserved values, trimming and the difference between mean logs and mean wage levels. A small algebraic standard error does not resolve those selection issues.
Company/customer case · A biased estimator can have smaller MSE
The UCI Iranian telecom release contains 3150 anonymized customer records, including 495 month-twelve churn labels. Usage features aggregate the first nine months, followed by a three-month planning gap before the outcome. Exact collection years are unspecified; release year 2020 is not asserted as collection year. Charge Amount is an ordinal 0–9 category, not currency. Actual usage fields and outcomes are checked against the original file and retained.
The fixed public table’s churn fraction is p*=495/3150=11/70≈0.157142857. Use it as the evaluation benchmark, without generalizing automatically to all company customers or other years. Repeated samples below are specified independent uniform replacement draws from these records. Their label sum S therefore has Binomial(n,p*) law in this experiment.
1. Sample proportion and an add-one rule
p=nSp=n+2S+1
The first divides selected churn labels by sample size. The second numerically adds one to each binary category. It does not create two actual customers. Here we evaluate its repeated-sampling properties; a prior-distribution interpretation would require a separately specified inferential model.
Think first, then reveal: Why does positively biased add-one have smaller MSE here?
MSE includes variance as well as squared bias. At this fixed p*, reduced variance outweighs bias cost for every displayed n. For n≤100 the CSV supplies all S=0,…,n binomial probabilities and both squared errors, verifying the formulas through direct probability sums. Unbiasedness alone does not determine every performance criterion.
Think first, then reveal: Does add-one therefore beat the proportion at every possible churn rate?
No. In a separate boundary model p=0, S is always zero: the sample proportion has zero MSE while add-one returns 1/(n+2), yielding positive squared error. This p=0 model is a mathematical counterexample, not the observed rate here. Improvement at one data-derived p differs from universal optimality over parameters.
Think first, then reveal: Can finite-sample bias coexist with consistency?
Yes. Add-one bias (1−2p)/(n+2) and variance np(1−p)/(n+2)² both vanish. MSE→0 implies convergence in probability by applying Markov to squared error. This estimator MSE under a fixed law differs from prediction error for actual future customers.
MIT18.655 Lecture13의 슬라이드 6~12에서 정규성 조건·score·정보·Cauchy–Schwarz 증명을 순서대로 읽습니다. 연속 모형에서는 미분과 적분의 교환을 가정 없이 생략하지 않습니다.
읽은 뒤 ‘불편하면 이번에도 정확한가’,‘일치하면 작은 n에서도 좋은가’,‘하한이 있으면 항상 달성되는가’를 각각 반례와 조건으로 답해 보세요. 다음 장은 추정값 하나에 멈추지 않고 표준오차·신뢰구간·예측구간을 구분합니다. 이 장의 MSE만으로 구간의 포함확률을 이미 보장했다고 해석하지 않습니다.
Read slides 6–12 of MIT18.655 Lecture 13 for regularity, score, information and the Cauchy–Schwarz proof. Do not omit differentiation-under-integration conditions in continuous models.
Answer separately:does unbiased mean accurate this time, does consistent mean good at small n, and must a lower bound be attained? The next chapter distinguishes SEs, confidence intervals and prediction intervals. An MSE calculation alone has not established interval coverage.
자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.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.
결과 파일은 각 코드에 지정된 결과 폴더에 저장됩니다. 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.
추정량의 오차를 편향과 변동으로 나누기Decompose estimator error into bias and variance
MIT OCW · John Tsitsiklis, RES.6-012,20.4
본문에서 MSE 강의를 보며 추정량이라는 확률변수와 관측 뒤의 추정값을 구별합니다. 고객 비율 두 규칙의 분산 감소와 편향 비용을 각각 찾아보세요.Watch the MSE lecture in the chapter. Distinguish the random estimator from its realized estimate, then identify variance reduction and bias cost for the two customer-rate rules.
교재 안의 YouTube 플레이어에서 재생합니다. 원영상에서 제공하는 자막은 플레이어의 CC·설정에서 선택할 수 있습니다.Playback stays in this chapter’s YouTube player. Available captions can be selected through CC/settings.
보고 읽은 뒤 답하기Respond after watching/reading비편향 추정량은 매번 정확한가요?Is an unbiased estimator correct on every realization?
생각을 점검하는 해설Check your reasoning
아닙니다. 반복 법칙 아래 기대값이 목표와 같다는 뜻입니다. 한 번의 오차나 추정량의 분산은 남을 수 있습니다.No. Its expectation under the repetition law equals the target. Realized error and estimator variance can remain.
하랄드 크라메르 · 보험 실무에서 수리통계로Harald Cramér: from actuarial work to mathematical statistics
University of St Andrews · MacTutor
스웨덴 수학자 크라메르가 보험계리 실무와 확률·통계를 연결했다는 대학 소개를 읽습니다. “정확하다”라는 말을 평균·흩어짐·손실·큰 표본 성질 중 무엇으로 정의할지 생각합니다.Read the university account of Swedish mathematician Cramér’s actuarial work and mathematical statistics. Ask whether accuracy means expectation, dispersion, loss or a large-sample property.
보고 읽은 뒤 답하기Respond after watching/reading이 두 후보 비교만으로 어떤 추정량이 모든 모형에서 최선이라고 말할 수 있나요?Do two candidate comparisons prove one estimator best in every model?
생각을 점검하는 해설Check your reasoning
아닙니다. 목표·모형·손실·비교할 추정량의 범위를 먼저 정해야 합니다. 이 장은 정해진 후보와 법칙을 비교합니다.No. Specify target, model, loss and candidate class first. This chapter compares defined candidates under stated laws.
추정량·편향·효율성·일치성의 정의Definitions of estimators, bias, efficiency and consistency
MIT OCW14.30 · Herman Bennett, Lecture Note8, §§19–20.4
§19의 추정량/추정값, §20의 비편향·효율성·MSE·일치성을 읽습니다. 효율성 비교는 같은 목표·모형·n과 비교 범위를 명시해 실제 임금 규칙에 연결합니다.Read §19 on estimator versus estimate and §20 on unbiasedness, efficiency, MSE and consistency. Match target, model, n and candidate class before comparing the actual-wage rules.
보고 읽은 뒤 답하기Respond after watching/reading추정량의 분산과 표본분산 추정량은 같은 것인가요?Is estimator variance the same thing as a sample-variance estimator?
생각을 점검하는 해설Check your reasoning
아닙니다. Var(T)는 규칙의 반복 분포가 얼마나 변하는지이고, S²는 자료로 모분산을 계산하려는 규칙입니다. S² 자체도 확률변수라 별도 분산을 갖습니다.No. Var(T) describes variation of a rule under repetition; S² is a rule estimating a distribution’s variance. S² is itself random and has its own variance.
편향을 조금 허용하는 기준을 설명하기Explain criteria that permit some bias
MIT OCW14.310x · Assessing and Deriving Estimators, slides14–23
슬라이드14~23의 비편향·두 후보 효율성·MSE·일치성 기준을 읽고, 실제 p*=11/70에서 add-one MSE가 작은 이유를 풀이합니다. 모든 모수에서의 우월성과 한 목표에서의 비교는 구별합니다.Read slides14–23 on unbiasedness, two-candidate efficiency, MSE and consistency. Explain add-one’s lower MSE at actual p*=11/70 while distinguishing this comparison from uniform dominance across parameters.
보고 읽은 뒤 답하기Respond after watching/reading편향이 0으로 가는 것만으로 일치성을 증명했나요?Does bias tending to zero alone prove consistency?
생각을 점검하는 해설Check your reasoning
그것만으로는 부족합니다. 여기서는 분산도 0으로 가므로 MSE→0을 확인해 확률수렴을 얻습니다. 첫 관측만 쓰는 비편향 규칙은 반례입니다.Not alone. Here variance also vanishes, so MSE→0 implies convergence in probability. The unbiased first-observation-only rule is a counterexample.
연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof
먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.
1. 같은 표본의 세 추정값Three estimates from one sample
두 Bernoulli 관측이 (1,0)입니다. 성공확률 p에 대한 평균, 첫 시행,add-one의 이번 추정값을 구하세요. 이 숫자만으로 불편성을 알 수 있나요?
Two Bernoulli observations are (1, 0). Find the mean, first-only and add-one estimates of p. Can these realized numbers alone establish unbiasedness?
풀이와 확인할 이유Solution and explanation
평균은 1/2, 첫 시행은 1,add-one은 (1+1)/(2+2)=1/2입니다. 불편성은 가능한 모든 표본의 기대값에 관한 성질이라 이번 추정값만으로 판정하지 못합니다.
The estimates are 1/2, one and 1/2. Unbiasedness concerns expectation across possible samples, not a single realized estimate.
2. 정답이 들어간 규칙A rule containing the answer
미지 평균 μ를 추정하며 T=μ가 오차 0이므로 최고라고 주장합니다. T=.5와 어떤 차이가 있나요?
Someone proposes T=μ to estimate unknown μ with zero error. How does this differ from T=.5?
풀이와 확인할 이유Solution and explanation
T=μ는 알려고 하는 정답을 계산에 요구하므로 관측값에서 계산 가능한 추정 규칙이 아닙니다. T=.5는 계산 가능한 고정 규칙이지만 μ가 .5가 아닐 때 오차가 있습니다. 규칙의 계산 가능성과 특정 진실에서의 성능을 구별합니다.
The first expression needs the unknown answer and is not a computable estimator. The fixed constant .5 is computable but can be wrong at other truths. Separate implementability from pointwise performance.
3. 두 공정 시행의 정확 법칙Exact law of two fair trials
iid Bernoulli(1/2)의 n=2 평균 T의 분포·기대값·분산을 모두 구하세요.
Find the complete law, expectation and variance of the mean T of two iid Bernoulli(1/2) observations.
The centered variable has expectation zero. No extra independence assumption is needed.
10. 같은 손실인지 확인하기Check that the comparison uses the same loss
두 규칙의 분산만 비교하여 편향된 규칙까지 더 정확하다고 보고했습니다. MSE 비교를 위해 무엇을 더 확인하나요?
Variance alone was used to claim greater accuracy even for biased rules. What else must an MSE comparison check?
풀이와 확인할 이유Solution and explanation
같은 모수·표집법칙·표본 크기·단위·제곱 손실인지 먼저 고정하고 각 편향의 제곱을 더합니다. 분산이 더 작아도 편향²이 크면 MSE가 더 클 수 있습니다. 다른 손실의 순위까지 자동으로 같지는 않습니다.
Fix the same target, law, sample size, units and squared loss, then add squared bias. Reduced variance can be offset by larger bias. Other losses need their own comparison.
11. 평균과 첫 시행의 위험Mean versus first-only risk
iid Bernoulli(.3)의 n=10에서 평균과 첫 시행의 편향·분산·MSE를 비교하세요.
For ten iid Bernoulli(.3) observations, compare biases, variances and MSEs of the mean and first-only rules.
풀이와 확인할 이유Solution and explanation
두 규칙의 편향은 0입니다. 평균의 분산과 MSE는 .3·.7/10=.021, 첫 시행은 .21입니다. 같은 불편성 아래 평균이 10배 작은 분산을 가집니다.
Both biases vanish. Mean variance and MSE are .021; first-only variance and MSE are .21.
12. 고정 이동의 남는 위험Risk remaining after a fixed shift
같은 n=10,p=.3에서 T=X̄+.1의 기대값·편향·분산·MSE와 n→∞의 MSE를 구하세요.
At n=10, p=.3, use T=X̄+.1. Find expectation, bias, variance, MSE and the large-n MSE.
풀이와 확인할 이유Solution and explanation
기대값 .4, 편향 .1, 분산 .021,MSE .031입니다. 일반 MSE는 .21/n+.01이므로 극한은 .01입니다. 평균이 모이는 값도 목표 .3이 아니라 .4입니다.
They are .4, .1, .021 and .031. General MSE .21/n+.01 tends to .01, and the rule concentrates at .4 rather than .3.
Variance reduction is outweighed by squared bias .04.
16. n=10인 공정 시행의 add-oneAdd-one for ten fair trials
n=10,p=.5에서 add-one의 분산과 평균의 분산을 구하세요. 기대값이 같은 이유는 무엇인가요?
At n=10, p=.5, find add-one and ordinary mean variances, and explain their equal expectations.
풀이와 확인할 이유Solution and explanation
Var(A)=12210(1/4)=2885Var(X)=401
둘 다 기대값 .5입니다. add-one이 당기는 중심 .5와 실제 p가 같아서 이 점의 편향이 0입니다. 분산 비는 (10/12)²=25/36입니다.
Var(A)=12210(1/4)=2885Var(X)=401
Both expectations equal .5 because shrinkage points toward the true value here. The variance ratio is 25/36.
17. 위험 교차의 경계Where the risks cross
n=2에서 add-one이 평균보다 작은 MSE를 갖는 p 구간을 구하세요.
At n=2, find the p interval where add-one has strictly smaller MSE than the mean.
풀이와 확인할 이유Solution and explanation
p(1−p)>101⟺21−.6<p<21+.6
경계에서는 위험이 같고, 구간 바깥에서는 평균이 작습니다. 끝점까지 포함한 모든 p에서 add-one이 우월한 것은 아닙니다.
p(1−p)>101⟺21−.6<p<21+.6
This solves p(1−p)>.1. Risks tie at the boundaries and the mean wins outside.
18. 끝점 p=0The endpoint p=0
p=0,n≥1에서 평균·첫 시행·add-one의 위험을 비교하세요.
At p=0, n≥1, compare risks of the mean, first-only and add-one rules.
풀이와 확인할 이유Solution and explanation
평균과 첫 시행은 항상 0이라 위험 0입니다. add-one은 항상 1/(n+2)라 분산 0이지만 편향과 MSE가 각각 1/(n+2),1/(n+2)²입니다. 극한 위험은 0이어서 일치성은 성립합니다.
The first two are identically zero with zero risk. Add-one is constant 1/(n+2), with squared bias 1/(n+2)² and zero variance. It remains consistent because that bias shrinks.
19. add-one의 네 성질 유도Derive four add-one properties
For two iid Bernoulli(.5) observations, define S²=Σ(X_i−X̄)²/(n−1), with n=2. Find its two values and probabilities. Compare E[√S²] with population SD .5.
풀이와 확인할 이유Solution and explanation
두 시행이 같으면 S²=0, 다르면 S²=.5이고 각각 확률 .5입니다. E[S²]=.25라 모분산에 불편합니다.
E[S2]=2121=221<21.
제곱근의 엄격 오목성과 맞습니다. 분산에 대한 불편성이 표준편차에 대한 불편성으로 자동 전달되지 않습니다.
S² is zero for equal outcomes and .5 for unequal outcomes, each with probability one half. Its expectation is .25.
E[S2]=221<21.
Unbiased variance estimation does not imply unbiased SD estimation after a square root.
22. 일치성의 고정 순서Quantifier order for consistency
T_n이 모든 θ에서 일치한다는 정의를 쓰세요. 매 n마다 θ_n과 ε_n을 임의로 바꾸는 주장도 같은 뜻인가요?
State consistency at every θ. Does it automatically permit arbitrary changing θ_n and ε_n?
풀이와 확인할 이유Solution and explanation
각 고정 θ와 각 고정 ε>0에 대해 P_θ(|T_n−θ|≥ε)→0입니다. 모수나 허용오차를 n과 함께 임의로 바꾸는 결론은 이 점별 정의에 들어 있지 않습니다. 균등성이나 속도에 대한 추가 결과가 필요합니다.
For each fixed θ and fixed ε>0, the error probability tends to zero. Arbitrarily changing parameter or tolerance sequences need additional uniformity or rate results.
23. 편향이 있어도 일치하는 평균A biased but consistent shifted mean
iid 유한 분산 σ²의 평균 μ에 대해 T_n=X̄_n+1/n입니다. 불편성·MSE·일치성을 평가하세요.
For iid mean μ and finite variance σ², use T_n=X̄_n+1/n. Assess unbiasedness, MSE and consistency.
풀이와 확인할 이유Solution and explanation
bn=n1=0MSE(Tn)=nσ2+n21→0
각 유한 n에서 편향이 있지만 MSE→0과 Markov로 일치합니다. 고정 상수 c를 더하는 것과 다릅니다.
bn=n1=0MSE(Tn)=nσ2+n21→0
The finite-sample rule is biased but consistent by the MSE bound. A fixed nonzero shift behaves differently.
24. 불편하지만 일치하지 않는 첫 시행First-only is unbiased but inconsistent
iid Bernoulli(.3)에서 T_n=X₁입니다. ε=.1을 사용해 불편성과 일치성을 각각 평가하세요.
For iid Bernoulli(.3), let T_n=X₁. Use ε=.1 to assess unbiasedness and consistency.
풀이와 확인할 이유Solution and explanation
E[T_n]=.3이라 불편합니다. 가능한 오차 .3과 .7은 모두 .1 이상이므로 오차확률은 항상 1입니다. 따라서 일치하지 않습니다.
The expectation is .3, so it is unbiased. Both errors, .3 and .7, exceed .1, so the error probability stays one and consistency fails.
25. MSE로 확률을 제한하기Bound an error probability using MSE
For an iid Bernoulli(.5) mean with n=100, bound probability of error at least .1. Is the bound the exact probability?
풀이와 확인할 이유Solution and explanation
MSE=4001P(∣X−.5∣≥.1)≤1/1001/400=41
이는 상계입니다. 정확 확률은 Binomial(100,.5)의 K≤40 또는 K≥60 질량을 합하여 구하며 보통 상계보다 작습니다.
MSE=4001P(∣X−.5∣≥.1)≤1/1001/400=41
It is a bound. The exact event is K≤40 or K≥60 under the finite binomial law.
26. 충분한 표본 크기A sufficient sample size
같은 공정 Bernoulli 평균의 .1 이상 오차확률을 .05 이하로 MSE 상계를 써서 보장하려 합니다. 충분한 n을 구하세요.
Use the MSE bound to make error probability at most .05 for a fair Bernoulli mean with tolerance .1. Find sufficient n.
풀이와 확인할 이유Solution and explanation
4n(.1)21≤.05⟺n≥500
상계가 주는 충분 크기입니다. 정확 이항법칙에서 가능한 최소 크기라고 주장하지 않습니다.
4n(.1)21≤.05⟺n≥500
This is sufficient under the bound, not necessarily the exact binomial minimum.
27. 일치하지만 MSE가 발산하는 반례Consistency with diverging MSE
가상 모형 X_i=θ와 독립 U∼Uniform(0,1)에서 T_n=X₁+n1{U<1/n}입니다. 고정 양의 ε에 대한 오차확률, 편향,MSE를 구하세요.
In the hypothetical family X_i=θ, with independent U uniform on (0, 1), take T_n=X₁+n1{U<1/n}. Find fixed-tolerance error probability, bias and MSE.
풀이와 확인할 이유Solution and explanation
P(∣Tn−θ∣≥ε)=1/nn≥εbn=1,MSE=n
일치성은 성립하지만 편향은 사라지지 않고 MSE는 발산합니다. 규칙에는 미지 θ 대신 관측 X₁이 들어 있습니다. 추가 U를 쓴 무작위 규칙이라는 점도 명시합니다.
P(∣Tn−θ∣≥ε)=1/nn≥εbn=1,MSE=n
The rule is consistent but its MSE diverges. It is a randomized estimator using observed X₁ rather than the unknown answer.
28. 고정 이동과 축소 이동Fixed versus shrinking shifts
iid 유한 분산 평균에 .1을 더하는 수열과 1/n을 더하는 수열을 비교하세요. shifted 실습에서 .1을 고정하면 어느 쪽을 그리나요?
Compare adding .1 and adding 1/n to an iid finite-variance mean. Which does a fixed .1 shifted-lab input represent?
풀이와 확인할 이유Solution and explanation
고정 .1은 MSE가 .01로,1/n 이동은 0으로 갑니다. 실습의 고정 입력은 첫 수열입니다. 둘째 수열은 n에 따라 이동값을 바꾸는 별도 규칙이며 같은 입력을 고정해 놓고 둘째라고 해석하면 안 됩니다.
The MSE limits are .01 and zero. A fixed lab shift represents the first sequence; the second deliberately changes its rule with n.
29. 한 점에서 일치하는 상수A constant consistent at one point
Bernoulli p∈[0,1] 가족에서 T_n=.5입니다. p=.5에서 일치하나요? 가족 전체에서도 일치하나요?
For Bernoulli p∈[0, 1], let T_n=.5. Is it consistent at p=.5 and throughout the family?
풀이와 확인할 이유Solution and explanation
p=.5에서는 오차가 항상 0이라 일치합니다. 다른 고정 p에서 .5−p는 변하지 않으므로 충분히 작은 양의 ε의 오차확률이 1입니다. 따라서 가족 전체에서는 일치하지 않습니다.
It is exact and consistent at .5. Elsewhere a fixed nonzero error remains, so it is not consistent throughout the family.
30. 선택 심화: 균등한 평균 오차 상계Optional: a uniform error bound for the mean
iid Bernoulli(p)의 평균에서 p∈[0,1] 전체에 p(1−p)≤1/4를 사용하세요. 고정 ε>0에서 균등 일치성을 보일 수 있나요?
Use p(1−p)≤1/4 for every Bernoulli p∈[0, 1]. Can you establish uniform consistency at fixed ε>0?
풀이와 확인할 이유Solution and explanation
0≤p≤1supPp(∣Xn−p∣≥ε)≤4nε21→0
가능합니다. 모든 p에서 공통으로 통하는 상계이므로 sup를 취한 뒤에도 0으로 갑니다. 점별 일치성만 안다고 언제나 이런 sup 결론이 따라오는 것은 아닙니다.
0≤p≤1supPp(∣Xn−p∣≥ε)≤4nε21→0
Yes, because the same bound works for every p. Pointwise consistency alone would not establish this supremum conclusion.
31. 중심을 추정한 제곱합의 기대값Expected centered squared sum
iid 평균 μ, 분산 σ²<∞,n≥2에서 Q=Σ(X_i−X̄)²입니다. E[Q]=(n−1)σ²를 증명하세요.
For iid mean μ, finite variance σ² and n≥2, prove E[Q]=(n−1)σ² for Q=Σ(X_i−X̄)².
풀이와 확인할 이유Solution and explanation
Q=i∑(Xi−μ)2−n(X−μ)2E[Q]=nσ2−n(σ2/n)=(n−1)σ2
마지막에 n−1로 나누면 불편 분산추정량입니다. 정규성은 사용하지 않았습니다.
Q=i∑(Xi−μ)2−n(X−μ)2E[Q]=nσ2−n(σ2/n)=(n−1)σ2
Dividing by n−1 gives unbiased variance estimation without normality.
32. 모평균을 이미 아는 경우When the population mean is known
μ를 알려 준 iid 유한 분산 모형에서 W=Σ(X_i−μ)²/n은 불편한가요? 왜 n−1을 쓸 필요가 없나요?
With known μ and iid finite variance, is W=Σ(X_i−μ)²/n unbiased? Why is n−1 unnecessary?
풀이와 확인할 이유Solution and explanation
각 항의 기대값이 σ²이므로 E[W]=σ²입니다. 중심을 표본에서 맞추어 제거한 n(X̄−μ)² 항이 없기 때문입니다. 알려진 중심과 추정한 중심의 계산을 구별합니다.
Each term has expectation σ². The mean was not fitted from the sample, so the fitted-center subtraction is absent.
33. 두 값 2와 4의 두 분산Two variance calculations for 2 and 4
고정 자료 (2,4)에서 n분모·n−1분모 값을 구하고 각각 어떤 목표와 연결되는지 설명하세요.
For fixed data(2, 4), calculate the n and n−1 versions and explain their targets.
풀이와 확인할 이유Solution and explanation
평균 3, 제곱편차 합 2이므로 각각 1과 2입니다. 1은 두 고정 기록 균등법칙의 기술적 분산입니다. iid 모분산의 불편추정 규칙을 적용한 실현값은 2입니다. 숫자 차이만으로 어느 정의가 틀렸다고 하지 않습니다.
The mean is three and squared deviation sum two, giving one and two. One describes the equal-record empirical law; two is the realized unbiased iid variance rule. Different targets explain the difference.
34. 관측이 하나일 때A single observation
n=1에서 Q=Σ(X_i−X̄)²와 V=Q/n,S²=Q/(n−1)을 평가하세요. 원분산이 양수일 수도 있나요?
At n=1, evaluate Q, V=Q/n and S²=Q/(n−1). Can the source still have positive variance?
풀이와 확인할 이유Solution and explanation
Q=0,V=0이지만 S²은 0/0이라 미정의입니다. 단일 표본에서 편차가 없다는 사실이 원법칙의 분산이 0임을 뜻하지 않습니다. 일반 유한 분산 iid 모형에서 V의 편향은 −σ²입니다.
Q and V are zero, but S² is undefined 0/0. No within-sample deviations do not prove a constant source. V has bias −σ² under a general finite-variance law.
35. 일치성 조건과 MSE 조건Moment conditions for consistency and finite risk
iid 표본분산의 일치성을 원점모멘트로 보이려면 어떤 모멘트가 유한해야 하나요? 그 추정량 자체의 분산 공식을 유한하게 쓰는 조건과 비교하세요.
Which moment suffices for iid variance-estimator consistency through raw moments? Compare with the finite variance-estimator risk formula.
풀이와 확인할 이유Solution and explanation
E[X²]<∞이면 X와 X²의 대수의 법칙으로 V_n→σ²,S_n²→σ²를 얻습니다. 유한한 Var(S_n²)를 네 번째 모멘트 공식으로 쓰려면 E[(X−μ)⁴]<∞를 추가합니다. 일치성의 충분조건이 이 위험 계산 조건보다 약합니다.
A finite second moment supports LLNs for X and X², then consistency of both denominators. The finite fourth central moment is added for the stated finite Var(S_n²) and MSE calculation.
36. 네 번째 모멘트 유도의 가운데 항The middle term in the fourth-moment derivation
iid Y_i에 E[Y_i]=0,σ²=E[Y_i²],μ₄=E[Y_i⁴]<∞입니다. A=ΣY_i²,B=ΣY_i에서 E[AB²]=E[A²]인 이유를 설명하고 μ₄,σ²로 값을 쓰세요.
Let iid Y_i satisfy E[Y_i]=0, σ²=E[Y_i²] and μ₄=E[Y_i⁴]<∞. Put A=ΣY_i², B=ΣY_i. Explain E[AB²]=E[A²] and express it through μ₄ and σ².
풀이와 확인할 이유Solution and explanation
B2=A+2i<j∑YiYjE[AB2]=nμ4+n(n−1)σ4
A·Y_iY_j의 각 항에는 평균 0인 성분이 독립으로 하나 남습니다. 따라서 추가 교차항의 기대값은 0입니다. 유한 네 번째 모멘트가 이 전개의 적분 가능성을 뒷받침합니다.
B2=A+2i<j∑YiYjE[AB2]=nμ4+n(n−1)σ4
Expand B²=A+2Σ_{i< j}Y_iY_j. Every extra term has an independent centered factor whose expectation is zero. Finite fourth moment supports the required expectations.
37. 정규 n=5의 두 위험Two risks for a normal source at n=5
iid 정규 원분산 σ²=1,n=5에서 S²=Q/4와 V=Q/5의 편향·분산·MSE를 구하세요.
For iid normal source variance one and n=5, find bias, variance and MSE of S²=Q/4 and V=Q/5.
풀이와 확인할 이유Solution and explanation
S2Vbias0−.2variance.5.32MSE.5.36
V의 작은 분산이 편향 제곱 .04를 감안해도 위험을 줄입니다. 비교한 것은 이 정규모형의 두 규칙입니다.
S2Vbias0−.2variance.5.32MSE.5.36
Variance reduction outweighs squared bias .04 in this comparison.
38. 공정 부호 n=10의 반대 순위Reversed ranking for ten fair signs
(2,3)은 μ₄≥σ⁴=4를 위반합니다. (0,1)은 분산 0이면 중심변수가 거의 확실히 0이라는 조건을 위반합니다. (0,0)은 상수법칙,(1,1)은 공정 ±1 예로 가능합니다. 중심모멘트를 원점모멘트로 오해하지 않습니다.
The first violates μ₄≥σ⁴=4. The second violates the zero-variance implication. A constant law realizes(0, 0), and fair ±1 realizes(1, 1). These are central, not raw, moments.
40. 분산추정 위험의 단위Units of variance-estimation risk
원측정이 g 단위이고 σ²를 추정합니다. 추정량의 편향·표준오차·MSE는 각각 무슨 단위인가요? kg으로 바꿀 때 MSE의 배율은?
Original measurements use g and the target is σ². Give units of estimator bias, SE and MSE, and the MSE conversion to kg.
풀이와 확인할 이유Solution and explanation
편향과 추정량의 표준오차는 g²,MSE는 g⁴입니다. 원단위를 1/1000배 하면 분산 추정값은 1/10⁶배, 그 제곱오차 위험은 1/10¹²배가 됩니다.
Bias and estimator SE use g²; MSE uses g⁴. Converting the original units by 1/1000 scales variance estimates by 1/10⁶ and their MSE by 1/10¹².
41. Bernoulli 점수함수A Bernoulli score
n=10,K=7,p=.5에서 이진 시행열의 score U=(K−np)/[p(1−p)]를 구하세요. U가 양수라는 뜻은?
For n=10, K=7, p=.5, calculate U=(K−np)/[p(1−p)] and interpret its positive sign.
풀이와 확인할 이유Solution and explanation
U=.5(.5)7−10(.5)=8.
관측열을 고정하고 p를 조금 높이면 로그 가능도가 증가하는 국소 방향입니다. 회사 성공률에 개입한 인과효과라는 뜻은 아닙니다.
U=8.
For the fixed observed sequence, the log likelihood locally increases as p increases. This is not a causal intervention effect.
42. 정보의 n배 법칙Information adds for independent observations
내부 Bernoulli(p)의 한 시행 score 분산이 1/[p(1−p)]입니다. n개 독립 시행의 정보와 n=10,p=.5의 값을 구하세요. 단순 복사에도 같은 결론인가요?
One interior Bernoulli score has variance 1/[p(1−p)]. Give the n-trial information and its value at n=10, p=.5. Does copying one trial justify the same formula?
풀이와 확인할 이유Solution and explanation
In(p)=p(1−p)n,I10(.5)=40.
독립 score의 공분산이 0이라 분산이 더해집니다. 한 시행의 복사에는 독립 가정이 없으므로 정보 n배 공식을 그대로 적용하지 않습니다.
In(p)=p(1−p)n,I10(.5)=40.
Independent scores add without covariance. Copies do not justify this independent-information formula.
43. Cramér–Rao의 공분산 한 줄The covariance step in Cramér–Rao
T가 열린 Bernoulli 가족 전체에서 p에 불편하고 미지 p를 계산에 쓰지 않습니다. 유한 분산에서 Cov_p(T,U)=1을 유도하고 하한으로 연결하세요.
T is finite-variance, does not use unknown p, and is unbiased throughout the open Bernoulli family. Derive Cov_p(T, U)=1 and the variance bound.
The argument uses fixed finite support, differentiable probabilities, zero expected score and family-wide unbiasedness.
44. 첫 시행의 하한 대비 효율성First-only efficiency relative to the bound
n=10,p=.5에서 불편 CR 하한과 첫 시행 분산을 구하고 하한/분산으로 정의한 효율성을 계산하세요.
At n=10, p=.5, calculate the unbiased CR bound, first-only variance and efficiency defined as bound divided by variance.
풀이와 확인할 이유Solution and explanation
boundVar(X1)eff(X1)=401,=41,=1/41/40=101.
평균은 하한을 달성해 효율성 1입니다. 비교는 같은 내부 모형의 불편 클래스입니다.
boundVar(X1)=401,=41,eff=101.
The mean attains efficiency one within the stated unbiased class.
45. CR의 끝점과 위험의 끝점Endpoint risk versus an interior score bound
p=0에서 평균의 MSE는 0인데 CR 실습의 정규 score는 미정의입니다. 모순인가요?
At p=0, the mean has zero MSE but the regular-score display is undefined. Is this contradictory?
풀이와 확인할 이유Solution and explanation
아닙니다. 원래 Bernoulli 법칙과 평균의 위험은 끝점에서 정의되지만 로그 미분·1/[p(1−p)]를 쓰는 정규 score 논증은 내부 0<p<1에 한정됩니다. 끝점의 정확한 추정과 내부 하한 공식을 구별합니다.
No. The Bernoulli law and risk are defined at the endpoint, whereas the logarithmic score argument is restricted to 0< p<1.
46. 한 점의 불편성으로 하한을 적용하면Why pointwise zero bias does not trigger the unbiased bound
상수 T=.5는 p=.5에서 편향과 분산이 0입니다. 왜 양의 불편 CR 하한을 어겼다고 말할 수 없나요?
T=.5 has zero bias and variance at p=.5. Why is this not a violation of the positive unbiased CR bound?
풀이와 확인할 이유Solution and explanation
그 규칙은 다른 p에서 E_p[T]=.5≠p입니다. 전 가족 불편성의 미분이 1이라는 단계가 성립하지 않습니다. 실제로 기대값의 p미분은 0이고 편향된 버전 하한도 0입니다.
The rule is not unbiased throughout the family. Its expected value has derivative zero, not one, so the unbiased proof’s covariance step is unavailable.
47. add-one의 편향된 정보 하한The biased information bound for add-one
At n=10, p=.5, let m(p)=(np+1)/(n+2). Calculate [m′(p)]²/I_n(p) and compare with add-one variance.
풀이와 확인할 이유Solution and explanation
m′(p)=1210=65In(p)[m′(p)]2=4025/36=2885
add-one의 정확한 분산과 같습니다. 불편 하한 1/40보다 작아도 미분된 평균이 1이 아닌 편향 규칙이므로 모순이 없습니다.
m′(p)=1210=65In(p)[m′(p)]2=4025/36=2885
It equals the add-one variance. A derivative different from one explains why the ordinary unbiased bound 1/40 is inapplicable.
48. 움직이는 지지집합의 최대값A maximum with moving support
iid Uniform(0,θ),θ>0,n=2에서 최대값 M의 E[M]=2θ/3,E[M²]=θ²/2입니다. T=3M/2의 기대값과 분산을 구하고 보통 score 논증의 문제를 설명하세요.
For two iid Uniform(0, θ) observations, θ>0, the maximum has E[M]=2θ/3 and E[M²]=θ²/2. Find expectation and variance of T=3M/2 and explain the ordinary-score issue.
풀이와 확인할 이유Solution and explanation
E[T]=θVar(T)=492θ2−θ2=8θ2
지지집합의 끝점 θ가 움직입니다. 내부 로그밀도 미분 −2/θ만 취하면 기대 score가 0이 아니므로 정규성 증명의 전제가 깨집니다. 이 식을 Bernoulli 하한과 직접 비교하지 않습니다.
E[T]=θVar(T)=492θ2−θ2=8θ2
The support endpoint moves with θ. Differentiating only the interior density gives expected score−2/θ, not zero, so the regular proof’s premise fails.
49. 성공 합을 알 때 첫 위치The first position given the success count
n=4의 독립 Bernoulli(p),0<p<1에서 K=1이라고 알려졌습니다. P(X₁=1|K=1)을 구하고 p가 빠지는 이유를 설명하세요.
For four iid Bernoulli(p) trials, 0< p<1, given K=1, find P(X₁=1|K=1). Why does p disappear?
풀이와 확인할 이유Solution and explanation
성공이 하나인 네 순서열의 확률은 모두 p(1−p)³입니다. 첫 위치가 성공인 것은 하나이므로 조건부 확률은 1/4입니다. 일반 K=k에서도 k/n이 되어 미지 p 없이 계산됩니다.
The four sequences with one success each have probability p(1−p)³. One succeeds in the first position, so the conditional probability is 1/4. Generally it is k/n, computable without unknown p.
50. 조건부 평균의 위험 개선Risk improvement by conditioning
T가 제곱적분 가능하고 θ가 유한합니다. M=E[T|S]로 바꾸면 제곱 위험이 늘지 않음을 보이세요. 이를 실제 추정량으로 쓰려면 무엇도 확인하나요?
For square-integrable T and finite θ, show that M=E[T|S] cannot increase squared risk. What else is needed to use M as an estimator?
풀이와 확인할 이유Solution and explanation
E[(T−θ)2]=E[(M−θ)2]+E[Var(T∣S)]≥E[(M−θ)2]
조건부 평균의 직교 교차항이 0입니다. 추가로 M이 관측 정보와 알려진 규칙만으로 계산되는지 확인해야 합니다. 미지 모수에 의존하는 조건부 기댓값을 그대로 계산 가능하다고 두지 않습니다.
E[(T−θ)2]=E[(M−θ)2]+E[Var(T∣S)]≥E[(M−θ)2]
The conditional-mean cross term vanishes. M must also be computable without the unknown parameter; an abstract conditional expectation is not automatically an implementable rule.
51. BIS 고정 네 기록의 목표A target from four actual BIS records
한국 2024년 실질 주택지수 108.3502,107.7932,107.4475,107.4756을 균등 선택합니다. 평균을 구하고 ‘새 네 채의 주택 가격’이라는 해석을 평가하세요.
Uniformly select among Korea 2024 real housing indices 108.3502, 107.7932, 107.4475, 107.4756. Find the mean and assess interpreting these as four new house prices.
풀이와 확인할 이유Solution and explanation
μF=4431.0665=107.766625=8000862133
기준 2010년 평균=100인 국가 분기 지수입니다. 원화 주택 거래가격이 아닙니다. 네 분기 자료의 추첨법칙을 정한 것이 원시계열 iid 검증도 아닙니다.
μF=4431.0665=107.766625=8000862133
These national quarterly indices use 2010 average=100, not KRW transaction prices. A chosen draw law does not establish iid original quarters.
52. 가정한 BIS 순서쌍One assumed BIS ordered pair
실제 지수 Q1=108.3502,Q2=107.7932를 두 번의 복원 추첨에서 뽑았다고 가정합니다. 이번 평균,Q,n분모와 n−1분모 분산을 구하세요.
Assume two replacement draws select actual Q1=108.3502 and Q2=107.7932. Find the realized mean, Q, and the two variance estimates.
Risk has fourth-power index-point units. This is not validation of housing forecasts or original time-series independence.
54. Card 로그 임금의 세 위험Three risks for the Card log-wage frame
가용 3010개 로그 임금의 경험분산이 V_F=2548359194523461097827/12943000000000000000000입니다. n=100의 iid 복원 추첨에서 평균·첫 추첨·평균+.1의 MSE를 구하세요.
The 3010 available log-wage records have empirical variance V_F=2548359194523461097827/12943000000000000000000. Find n=100 replacement-sample MSEs of mean, first-only and mean +.1.
The target is an unweighted available-record log mean. The shift is an assumed rule, not an observed wage error.
55. 로그 평균과 결측 분모Log means and missing-data denominators
Card의 3613행 중 가용 로그 임금이 3010개이고 평균은 약 6.261831917744입니다. 603개를 0으로 채운 평균이나 그 평균의 지수값을 화폐 평균 임금이라고 해도 되나요?
Of 3613 Card rows, 3010 log wages are available with mean about 6.261831917744. May the 603 unavailable values be zero-filled and the exponentiated mean called average currency wage?
풀이와 확인할 이유Solution and explanation
안 됩니다. 0 채움은 관측되지 않은 로그값을 임의로 바꾸고 분모도 달리합니다. 로그값 0은 원임금 단위 1의 로그이며 결측 기호가 아닙니다. 평균 로그를 지수화하면 가용값의 기하평균과 연결되며 산술 화폐 임금평균과 일반적으로 다릅니다.
No. Zero-filling changes unobserved values and the denominator. A logged value of zero corresponds to a source wage of one, not a missing code. Exponentiating mean logs relates to a geometric mean, not generally an arithmetic currency mean.
56. 실제 이탈 비율의 n=10 위험Risk at n=10 for the actual churn proportion
고정 UCI 이탈 비율 p_F=11/70에서 n=10의 iid 복원 추첨을 가정합니다. 평균과 add-one의 편향·분산·MSE를 비교하세요.
At fixed UCI empirical churn proportion p_F=11/70, assume ten iid replacement draws. Compare mean and add-one bias, variance and MSE.
This holds for every positive n at this particular p_F, not for every possible p.
58. 3150개 원기록과 가정한 표본 크기Source customers versus a chosen sampling size
고객 3150개·이탈 495개의 고정 기록을 모두 요약한 비율과, 그 기록에서 n번 복원 추첨한 비율의 위험을 비교하세요. add-one의 +2는 원고객 수를 바꾸나요?
Compare the complete 3150-record churn proportion with an n-draw replacement proportion. Does add-one’s +2 change the number of actual customers?
풀이와 확인할 이유Solution and explanation
전체 고정 기록의 경험비율은 11/70으로 이미 계산된 목표입니다. 복원 추첨 평균은 그 목표에 대한 별도 표집 변동을 가지며 분산은 p_F(1−p_F)/n입니다. add-one의 +2는 계산 규칙의 일부로 실제 고객을 추가하지 않습니다. 미래 고객에 대한 예측 검증도 아닙니다.
The complete fixed-frame proportion 11/70 is already known. A separately defined replacement mean has sampling variance p_F(1−p_F)/n. The +2 belongs to the calculation rule, not newly observed customers or future predictive validation.
59. 하한을 옮겨 쓰기 전 감사Audit before transplanting a lower bound
‘분산이 CR 하한보다 작으므로 계산 오류다’라는 결론을 검토할 때 확인할 조건 네 가지를 쓰세요.
Someone concludes that variance below a CR bound proves a coding error. State four conditions to check first.
풀이와 확인할 이유Solution and explanation
같은 표적·모수 좌표·표본 크기인지, 전 가족 불편 조건인지, 지지집합·미분 교환 등 정규성 조건이 맞는지, 끝점이나 편향 규칙에 내부 불편 하한을 적용했는지 확인합니다. 또한 분산과 MSE·표준오차를 같은 단위의 수치로 잘못 비교하지 않았는지 봅니다.
Check target and parameter coordinates, unbiasedness throughout the relevant family, regularity including support and derivative interchange, and endpoint or biased-rule misuse. Also distinguish variance, MSE and SE units.
60. 다섯 성질을 한 문장으로 합치지 않기Do not merge five properties into one claim
‘편향이 없고 분산이 작으니 일치하며 효율적이고 대표성도 보장된다’는 주장을 검토하세요. 각 결론에 무엇이 더 필요한가요?
Audit: “No bias and small variance imply consistency, efficiency and representativeness.” What else is needed for each conclusion?
풀이와 확인할 이유Solution and explanation
불편성은 정한 법칙의 기대값 성질입니다. 작은 분산은 비교 대상·단위·표본 크기를 정해야 의미가 있습니다. 일치성은 n에 따른 오차확률이나 MSE의 극한을 확인해야 합니다. 효율성은 비교 클래스·하한·정규성 조건을 밝혀야 합니다. 대표성은 자료 수집과 목표 모집단을 연결하는 별도 설계 근거가 필요합니다. 어느 하나가 나머지를 자동으로 대신하지 않습니다.
Unbiasedness concerns expectation under a stated law. Small variance needs a benchmark, units and sample size. Consistency requires a sequence-level error or MSE limit. Efficiency needs its class, bound and regularity. Representativeness needs a separate sampling/design link to the target population.
자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.