M추정·영향함수·샌드위치 분산M-estimation, influence functions and sandwich variance
손실의 최적점부터 식별·일치성·질량오염 민감도와 공동 분산까지From loss minimizers to identification, consistency, contamination sensitivity and joint covariance
실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions
기초Foundations
1. 숫자 하나를 고르는 규칙에서 오차의 이론까지1. From a rule for choosing one number to an error theory
같은 임금 자료에서도 평균·중앙값·Huber 위치는 서로 다른 답을 냅니다. 어떤 것이 계산 오류이고 어떤 것이 목표의 차이일까요? 먼저 “어떤 손실을 작게 하는 수인가”를 쓰면 서로 다른 답의 이유를 설명할 수 있습니다. 그 뒤에 자료가 늘어날 때 어느 목표로 가는지, 오차는 어떤 분산을 갖는지 묻습니다.
이 장은 그 과정을 M추정이라는 틀로 묶습니다. 목적함수를 최적화하는 일, 방정식을 푸는 일, 통계적 일치성을 보이는 일은 서로 연결되지만 같은 작업은 아닙니다. 수치 알고리즘의 수렴은 선택한 자료에서 해를 찾는 성질이고, 통계적 일치성은 가정된 표집에서 자료 수가 늘어날 때의 성질입니다.
The same wage records can yield different means, medians and Huber locations. Are these computational mistakes or different targets? First state which loss each rule minimizes. Then ask where the rule converges as data grow and how its error varies.
M-estimation connects these questions. Optimizing a criterion, solving an equation and proving statistical consistency are related but distinct. Algorithmic convergence finds a solution for the selected records; statistical consistency concerns increasing data under a declared sampling law.
기초Foundations
2. 오차마다 벌점을 붙이고 평균 손실을 만든다2. Assign a penalty to each error and average the losses
관측값 x와 제안한 위치 θ 사이의 차이 r=x−θ를 잔차라고 부릅니다. 제곱 손실 r²/2는 큰 오차를 빠르게 벌주고, 절댓값 손실 |r|은 큰 오차에도 선형으로 증가합니다. “더 좋은 θ”라는 말은 어떤 벌점 규칙인지 정한 뒤에야 의미를 갖습니다.
Mn(θ)θn=n1i=1∑nm(Xi,θ),∈θ∈ΘargminMn(θ).
여기서 n≥1이고 Θ는 허용 모수공간입니다. argmin은 최솟값 자체가 아니라 그 값을 만드는 모수들의 집합입니다. 해가 없거나 여러 개일 수 있으므로 존재·유일성·대표 선택 규칙을 적습니다. 음의 로그우도도 손실로 사용할 수 있어 MLE가 이 틀에 포함됩니다.
A residual is r=x−θ. Squared loss r²/2 penalizes large errors rapidly; absolute loss grows linearly. A “better” parameter has meaning only after choosing a loss.
Mn(θ)θn=n1i=1∑nm(Xi,θ),∈θ∈ΘargminMn(θ).
Take n≥1 and parameter space Θ. Argmin is the set of parameters attaining the minimum, not the minimum value. Existence, uniqueness and selection rules matter. Negative log likelihood is one possible loss, so MLE fits this framework.
기초Foundations
3. 네 숫자의 손계산으로 M추정을 시작한다3. Start M-estimation with four hand-calculated numbers
자료 (0, 1, 2, 10)의 제곱 손실 평균을 최소화해 봅시다. θ에 대한 미분은 θ−평균입니다. 자료 평균 13/4=3.25에서 0이 되며, 두 번째 미분은 1이라 유일한 전역 최소입니다.
반면 절댓값 손실의 최소 집합은 가운데 두 수 사이 [1, 2]입니다. 관습적 중앙값 1.5는 그 중간을 고른 대표값입니다. 같은 자료라도 손실과 선택 규칙을 바꾸면 답이 달라집니다. 어느 답이 “진짜 평균”을 고쳤다고 부르지 않습니다.
For records (0, 1, 2, 10), differentiate average squared loss. The derivative vanishes at 13/4=3.25 and curvature is one, so the minimum is unique and global.
Absolute loss instead has minimizer set [1, 2]. The conventional median 1.5 selects its midpoint. Different losses and selections can produce different answers; one is not automatically a corrected “true mean.”
기초Foundations
4. 모집단 목표는 선택한 손실과 분포에 따라 정해진다4. The population target depends on the chosen loss and distribution
iid 자료의 공통 분포를 P라 하면, 적절히 정의되는 기대 손실 M(θ)=Eₚ[m(X, θ)]의 최소점을 θ⋆라고 둡니다. 이 목표는 손실과 P에 상대적입니다. 제곱 손실의 평균 목표를 유한한 기대 손실로 다루려면 제곱적분 등 조건을 먼저 확인합니다.
모형이 현실을 정확히 포함하지 않아도, 선택한 손실의 최선 근사점은 정의될 수 있습니다. 음의 로그우도에서는 적분 가능성과 지배 조건 아래 KL 차이의 최소점으로 해석합니다. 다만 그 점이 존재·유일하다는 사실이나 θ̂가 그 점으로 간다는 사실은 별도로 보입니다.
무한한 기대 손실을 무심코 빼면 ∞−∞가 됩니다. 선택 심화에서는 θ와 무관한 기준 손실을 먼저 빼서 적분 가능한 차이를 정의할 수 있습니다. 예를 들어 |X−θ|−|X|은 절댓값이 |θ| 이하라, 평균 절댓값이 없는 분포에서도 잘 정의됩니다.
For iid observations with common law P, define θ⋆ through minimization of a well-defined expected loss M(θ)=Eₚ[m(X, θ)]. The target is relative to both P and the loss. Verify integrability before treating squared-loss risk as finite.
Even a misspecified model may have a best loss-based approximation. Negative log likelihood can correspond to a KL minimizer under suitable integration and domination conditions. Existence, uniqueness and consistency remain separate claims.
Do not subtract infinite risks as ∞−∞. An advanced device subtracts a parameter-free reference loss first. For example, |X−θ|−|X| is bounded in absolute value by |θ|, even when E|X| is infinite.
기초Foundations
5. 식별은 목표를 한 점으로 구별하는 조건이다5. Identification separates the target from other parameters
최소 기대 손실이 여러 모수에서 같으면, 자료가 많아져도 그 손실만으로 한 점을 구별할 수 없습니다. 이를 수치 솔버가 실패한 일과 혼동하지 않습니다. 예를 들어 m(x, θ)=(x−θ²)²에서 θ와 −θ는 모든 x에 같은 손실을 줍니다. 양수 평균을 가진 자료에서는 두 부호의 목표가 생길 수 있습니다.
Θ를 θ≥0로 제한하면 부호 모호함을 제거할 수 있지만, 그 제한은 새 가정입니다. 일치성 정리는 어떤 모수공간에서 어떤 목표를 식별하는지 명시해야 합니다. 유일성만으로 멀리 떨어진 거의 최적점까지 배제되는지는 다음 절들의 분리 조건으로 확인합니다.
If different parameters have the same minimum expected loss, the loss alone cannot identify one point. This is not a numerical solver failure. For m(x, θ)=(x−θ²)², opposite signs give identical losses for every x.
Restricting Θ to nonnegative parameters can remove the sign ambiguity, but adds an assumption. State the space and target in a consistency theorem. Uniqueness alone may not exclude distant nearly optimal points without a separation condition.
기초Foundations
6. 고정 모수의 큰수의 법칙은 움직이는 최적점 정리가 아니다6. A law of large numbers at fixed parameters is not an argmin theorem
각 고정 θ에서 Mₙ(θ)→ᴾM(θ)가 성립해도, 자료를 본 뒤 고른 θ̂ₙ에서는 오차가 작다는 결론이 바로 나오지 않습니다. 최적화는 모수 전체를 둘러보고 가장 유리한 위치를 고르기 때문입니다. θ̂ₙ이 n과 함께 움직이면, 각 고정 점에서 사라지는 작은 골짜기를 계속 따라갈 수도 있습니다.
이는 “큰수의 법칙이 틀렸다”는 뜻이 아닙니다. 고정 점의 오차를 다루는 정리와 전체 함수 위의 최적화를 다루는 정리의 양화 순서가 다릅니다. 다음의 연속 함수 반례는 모수공간이 콤팩트이고 극한 목표가 유일해도 점별 수렴만으로 충분하지 않음을 보입니다.
Pointwise Mₙ(θ)→ᴾM(θ) for every fixed θ does not automatically control error at data-selected θ̂ₙ. Optimization searches the whole space. A moving minimizer can keep following a well that disappears at each fixed point.
The fixed-parameter law of large numbers remains correct; the quantifier needed for optimization differs. The next continuous counterexample works even on a compact space with a unique limiting target.
학부 연결 · 선택Undergraduate bridge · optional
7. 사라지는 좁은 골짜기를 따라가면 목표에서 멀어진다7. Following a shrinking well can move away from the target
Θ=[0, 1], n≥2에서 M(θ)=θ², aₙ=1−1/n, rₙ=1/(3n²)를 둡니다. Mₙ은 중심 aₙ의 좁은 삼각형 골짜기만 더한 연속 함수입니다.
고정 θ<1은 결국 움직이는 구간 [aₙ−rₙ, aₙ+rₙ] 밖이고, θ=1도 모든 n에 그 밖입니다. 따라서 점별로 Mₙ→M입니다. 하지만 골짜기 왼쪽 안에서는 기울기 2θ−2/rₙ<0, 오른쪽에서는 2θ+2/rₙ>0라 최소점은 정확히 aₙ입니다. 그 값은 aₙ²−2<0이고 밖의 값은 음수가 아닙니다.
결국 θ̂ₙ=aₙ→1인 반면 극한 함수의 유일 최소점은 0입니다. 더 촘촘하지 않은 고정 그래프 격자는 좁은 골짜기 자체를 놓칠 수 있습니다. 실습은 중심과 양끝을 직접 포함하며, 그림과 위의 증명을 구별합니다.
On Θ=[0, 1], take n≥2, M(θ)=θ², aₙ=1−1/n, rₙ=1/(3n²). Add a narrow continuous triangular well:
Every fixed θ<1 is eventually outside the moving support;θ=1 is always outside. Thus convergence is pointwise. Inside the well, the left slope 2θ−2/rₙ is negative and right slope 2θ+2/rₙ positive. The exact minimizer is aₙ, with negative value aₙ²−2; outside values are nonnegative.
Hence θ̂ₙ→1 although the limiting minimizer is zero. A fixed plotting grid can miss the shrinking well. The lab includes its exact center and endpoints; the picture does not replace the proof.
기초Foundations
8. 모든 모수의 오차를 한 번에 잡는 균등 수렴8. Uniform convergence controls all parameters together
균등 오차 Δₙ=supθ∈Θ|Mₙ(θ)−M(θ)|가 확률로 0에 가면, θ를 자료를 본 뒤 골라도 오차가 Δₙ 이하입니다. 고정 모수마다 다른 충분 표본 수를 주는 점별 수렴보다 강한 통제입니다. 확률변수인 sup의 가측성도 가정하거나 적절한 가측 버전을 사용합니다.
대조 예로 [0, 1]에서 Mₙ(θ)=θ²−2θ/n이면 Δₙ=2/n→0이고 최소점은 1/n→0입니다. 이 한 예가 모든 통계 문제를 증명한 것은 아니지만, 골짜기 반례에서 없던 전체 오차 통제가 어떻게 작동하는지 보여 줍니다.
If Δₙ=supθ∈Θ|Mₙ(θ)−M(θ)|→ᴾ0, the error remains bounded by Δₙ even at a data-selected parameter. This is stronger than separate fixed-point bounds. Assume measurability of the supremum or use an appropriate measurable version.
For comparison, Mₙ(θ)=θ²−2θ/n on [0, 1] has Δₙ=2/n and minimizer 1/n→0. This example illustrates the control missing in the shrinking-well construction; it is not a universal statistical proof.
학부 연결 · 선택Undergraduate bridge · optional
9. 목표 밖에서는 기대 손실이 일정 간격만큼 더 크다9. Expected loss stays separated outside every target neighborhood
θ⋆의 ε 근방 밖에서 기대 손실이 얼마나 더 큰지 정의합니다. 같은 ε를 고정하면 양의 간격이 남는다는 조건입니다. 바깥집합이 비어 있으면 그 사건은 애초에 불가능하여 따로 처리합니다.
δϵ=θ∈Θ:∥θ−θ⋆∥≥ϵinf{M(θ)−M(θ⋆)}>0.
Θ=[0, 1], M(θ)=θ², θ⋆=0에서는 0<ε≤1에 δₑ=ε²입니다. 유일성은 “다른 각 점의 차이가 양수”이고, 분리는 “해당 근방 밖 전체에서 양의 공통 간격”입니다. 콤팩트 공간과 연속성은 이 두 조건을 연결할 수 있지만 무제한 공간에서는 따로 확인해야 합니다.
For each fixed positive ε, require a positive expected-loss gap outside the ε-neighborhood. If that outside set is empty, the corresponding event is impossible and handled separately.
δϵ=θ∈Θ:∥θ−θ⋆∥≥ϵinf{M(θ)−M(θ⋆)}>0.
For θ² on [0, 1] with target zero, the gap is ε² for 0<ε≤1. Uniqueness gives a positive difference at each other point; separation gives one positive bound over an entire outside set. Compactness and continuity can connect them, but noncompact spaces require care.
선택 심화Optional extension
10. 두 번의 함수 오차와 최적화 오차로 일치성을 증명한다10. Two criterion errors and an optimization error prove consistency
θ̂ₙ이 가측한 Θ 값 추정량이고 Mₙ(θ̂ₙ)≤Mₙ(θ⋆)+rₙ, rₙ≥0, rₙ→ᴾ0라 합시다. 균등 오차 Δₙ→ᴾ0와 앞의 분리 조건을 가정합니다. 참 목표와 계산 목표 사이에 Mₙ을 두 번 넣으면 다음이 됩니다.
h와 s는 각각 추정점과 표적점이고, Eₙ은 각 점의 절대 목적함수 오차, Gₙ은 모집단 목적값의 차이입니다.
‖θ̂ₙ−θ⋆‖≥ε이면 왼쪽이 δₑ 이상이어야 합니다. 따라서 그 사건의 확률은 P(2Δₙ+rₙ≥δₑ) 이하이고 0으로 갑니다. 이것이 argmin 일치성입니다. 모수의 오차가 작다는 결론에는 함수의 근접뿐 아니라 분리와 근사 최적화가 함께 쓰였습니다.
Let measurable Θ-valued θ̂ₙ satisfy Mₙ(θ̂ₙ)≤Mₙ(θ⋆)+rₙ, where nonnegative rₙ→ᴾ0. Assume uniform error Δₙ→ᴾ0 and separation. Insert the empirical criterion twice:
h and s denote the estimated and target points. Eₙ is the absolute criterion error at a point; Gₙ is the population-criterion gap.
An error of at least ε forces the left side to be at least δₑ. Its probability is bounded by P(2Δₙ+rₙ≥δₑ)→0. Closeness of functions, separation and approximate optimization each play a role.
학부 연결 · 선택Undergraduate bridge · optional
11. 콤팩트성과 연속성의 역할과 한계11. What compactness and continuity supply, and what they do not
Θ가 콤팩트이고 M이 연속이며 θ⋆에서만 최소라면, 닫힌 바깥집합 ‖θ−θ⋆‖≥ε도 콤팩트입니다. 비어 있지 않으면 거기서 M의 최소가 달성되고 θ⋆의 값보다 큽니다. 따라서 분리가 따라옵니다. 그러나 콤팩트성이 표본 함수의 균등 수렴까지 만들어 주지는 않습니다. 좁은 골짜기 반례도 콤팩트 공간에 있었습니다.
비콤팩트 공간에서는 원점 근처만 잘 확인해도 추정량이 멀리 도망갈 수 있습니다. 강제성·높은 확률의 제한성·국소화 등 별도 도구가 필요합니다. 일치성 증명의 어디에 존재, 분리, 균등성, 추정량 제한성이 사용되는지 나누어 읽습니다.
On compact Θ, a continuous M with unique minimizer attains a strictly larger minimum on every nonempty closed outside set. This supplies separation. Compactness does not itself supply uniform convergence of empirical functions; the shrinking-well example was compact too.
On noncompact spaces, estimators may escape despite good behavior near the target. Coercivity, high-probability localization or tightness can be additional tools. Identify where existence, separation, uniformity and localization enter a proof.
기초Foundations
12. 수치 정밀도와 통계 정밀도는 서로 다른 오차다12. Numerical accuracy and statistical accuracy are different errors
표본 손실의 전역 최솟값보다 τₙ만큼 이내인 값을 찾았다면 τₙ→0은 위 일치성 정리에 필요한 근사 오차 조건을 줄 수 있습니다. 하지만 gradient가 작다는 사실만으로 전역 손실 오차가 작다고 할 수는 없습니다. 비볼록 함수에서는 안장점이나 다른 골짜기일 수 있습니다.
점근 선형 전개에서는 더 강한 방정식 오차가 필요합니다. √n 척도의 정리를 원하면 보통 Pₙψ(θ̂ₙ)=oᴾ(n⁻¹ᐟ²) 같은 조건을 확인합니다. 함수값 오차 oᴾ(1)로 얻은 일치성과, score 잔차가 충분히 작은 √n 정리를 구별합니다. 고정된 솔버 허용오차를 무한 n에도 자동으로 충분하다고 쓰지 않습니다.
A global criterion gap at most τₙ→0 can meet an approximate-optimization condition for consistency. A small gradient alone need not imply a small global gap in a nonconvex problem.
Root-n linear expansions usually require a stronger equation error, such as Pₙψ(θ̂ₙ)=oᴾ(n⁻¹ᐟ²). Distinguish objective accuracy sufficient for consistency from score accuracy sufficient for a root-n theorem. A fixed solver tolerance is not automatically adequate for all n.
선택 심화Optional extension
13. 균등 큰수의 법칙에는 함수군의 크기 통제가 필요하다13. A uniform law needs control over the function class
간단한 충분조건의 모양을 봅시다. Θ가 콤팩트이고 |m(x, θ)−m(x, φ)|≤L(x)‖θ−φ‖, E L(X)<∞라 합시다. 유한한 δ 격자로 Θ를 덮고, 격자의 각 점에서 큰수의 법칙을 적용합니다. 격자 사이 오차는 δ(PₙL+PL)로 통제할 수 있습니다.
모든 격자점의 m이 적분 가능하고 iid 큰수의 법칙이 적용되면, 먼저 격자의 유한 개 오차를 줄이고 δ를 작게 하여 sup 오차를 줄일 수 있습니다. 이는 한 가지 편한 충분조건이며 모든 손실에 필수인 조건은 아닙니다. 고차원·커지는 모형군·비매끄러운 함수군에서는 복잡도나 경험과정의 다른 도구가 필요합니다.
A convenient route uses compact Θ and |m(x, θ)−m(x, φ)|≤L(x)‖θ−φ‖ with integrable L. Cover Θ by a finite δ-net. Apply the iid law of large numbers at its integrable criterion values; between net points, bound errors by δ(PₙL+PL).
First control finitely many net-point errors, then reduce δ. These are sufficient, not universally necessary conditions. Growing, high-dimensional or nonsmooth classes can require other complexity or empirical-process tools.
기초Foundations
14. 실습 A · 점별과 균등 수렴을 최적점으로 비교한다14. Lab A · Compare pointwise and uniform convergence through minimizers
좁은 골짜기와 작은 선형 기울기 두 모드를 고릅니다. n, 모수 θ, 분리 반경 0<ε≤1을 바꾸면서 함수값·목표 0·최소점·sup 오차를 함께 읽습니다. 골짜기의 정확한 중심과 두 매듭을 찾아 보세요.
유한 그림이 균등 수렴의 증명은 아닙니다. 골짜기 모드의 sup 오차는 항상 2이고 최소점은 1로 갑니다. 기울기 모드의 sup 오차는 2/n이고 최소점 1/n은 0으로 갑니다. 두 모드 모두 점별로 같은 θ²에 수렴한다는 점이 핵심입니다.
Select a shrinking well or a small linear tilt. Change n, probe θ and separation radius 0<ε≤1; read criterion values, target zero, minimizer and supremum error together. Locate the well’s exact center and knots.
A finite plot is not a uniform-convergence proof. The well keeps supremum error two and minimizers tending to one; the tilt has error 2/n and minimizer 1/n tending to zero. Both converge pointwise to θ².
기초Foundations
15. M추정과 Z추정은 연결되지만 항상 같은 것은 아니다15. M-estimation and Z-estimation connect but are not identical
매끄러운 내부 최소점이면 손실의 미분이 0입니다. 그래서 손실을 직접 최소화하는 대신, 관측별 ψ(x, θ)의 평균이 0인 방정식을 풀 수 있습니다. 이를 Z추정 방정식이라고 부릅니다. 여기서 ψ를 score라고 부르더라도 반드시 확률모형의 로그우도 미분이라는 뜻은 아닙니다.
Ψn(θ)=Pnψ(θ)Ψn(θ)=n1i=1∑nψ(Xi,θ)Ψn(θn)≈0
경계 최적점에서는 도함수가 0이 아닐 수 있고, 비매끄러운 최소에서는 보통 미분 대신 부분기울기가 필요합니다. 반대로 방정식의 해가 손실의 최대나 안장점일 수도 있습니다. 선택한 손실·ψ의 정의·허용공간과 해의 선택을 함께 적습니다.
A differentiable interior minimizer has zero derivative, so one can sometimes solve an average estimating function instead of directly minimizing loss. This is Z-estimation. Calling ψ a score does not necessarily make it a log-likelihood derivative.
Ψn(θ)=Pnψ(θ)Ψn(θ)=n1i=1∑nψ(Xi,θ)Ψn(θn)≈0
Boundary minima need not have zero derivatives; nonsmooth losses may require subgradients. A root can also be a maximum or saddle. State the loss, estimating function, space and solution-selection rule together.
학부 연결 · 선택Undergraduate bridge · optional
16. 미분 부호를 먼저 고정하면 영향함수 부호가 따라온다16. Fix the derivative convention before deriving influence signs
이 장은 잔차 방향 ψ(x, θ)=x−θ를 평균의 방정식에 씁니다. 따라서 θ에 대한 미분은 −1입니다. 모수 벡터에서는 A=E[∂ψ/∂θᵀ]를 야코비안으로 정의합니다. 이 부호를 사용하면 뒤에서 영향함수는 −A⁻¹ψ가 됩니다.
AC=E[∂θ⊤∂ψ(X,θ⋆)],=−A,IF(x)=−A−1ψ(x,θ⋆).
회귀·Huber 사례에서 양의 bread 행렬을 A라고 부르는 관례도 있습니다. 주입된 사례의 그 문자는 이 장의 C=−A에 해당한다고 읽습니다. 기호 이름이 아니라 미분 정의로 대조하세요. 일반 Z추정에서 A가 대칭이거나 C가 양의 정부호일 필요는 없지만, 정칙 역행렬 공식에는 비특이성이 필요합니다.
For the mean, we choose residual-oriented ψ(x, θ)=x−θ, whose θ derivative is −1. Define vector A as the expected Jacobian. This convention gives influence −A⁻¹ψ.
AC=E[∂θ⊤∂ψ(X,θ⋆)],=−A,IF(x)=−A−1ψ(x,θ⋆).
Some regression/Huber cases label the positive bread matrix A. Read their symbol as this chapter’s C=−A. Compare definitions, not names. General Z-estimation need not have symmetric A or positive-definite C, but the regular inverse formula needs nonsingularity.
기초Foundations
17. 평균 방정식에서 부호·분산·단위를 확인한다17. Check signs, variance and units in the mean equation
ψ(x, θ)=x−θ이면 Ψₙ(θ)=표본평균−θ라 해는 표본평균입니다. 모집단 평균 μ가 존재하고 분산 σ²가 유한하면 A=−1, B=E(X−μ)²=σ²입니다. 정칙 영향은 −(−1)⁻¹(x−μ)=x−μ입니다. iid 표집과 CLT 조건 아래 √n 오차의 극한 분산은 σ²입니다.
x가 kg라면 θ와 ψ도 kg이고 A는 무차원, B는 kg²입니다. 최종 추정량의 분산 근사는 σ²/n kg²입니다. 표본에서 B̂를 n분모 잔차 제곱평균으로 만들면 HC0이고, 불편 표본분산의 n−1 조정과는 다릅니다. 어느 분모를 쓰는지 적어야 같은 수치를 재현할 수 있습니다.
For ψ=x−θ, the equation is sample mean minus θ, so its root is the mean. With finite mean μ and variance σ², A=−1, B=σ² and influence −A⁻¹ψ=x−μ. Under iid sampling and the CLT conditions, the root-n limiting variance is σ².
If x is in kg, θ and ψ are in kg, A is dimensionless and B is in kg². Estimator variance is approximated by σ²/n. Empirical B using divisor n yields HC 0, distinct from an n−1 sample-variance adjustment. Record the convention.
기초Foundations
18. 큰 잔차의 기울기를 자르는 Huber 손실18. Huber loss clips the slope of large residuals
고정 양수 c를 선택합니다. |r|≤c에서는 제곱 손실, 그 밖에서는 같은 기울기를 이어가는 직선을 씁니다. 양쪽 식이 r=±c에서 값과 1차 미분을 맞추므로 손실은 연속 미분 가능하고 볼록합니다. 다만 2차 미분은 매듭에서 보통 존재하지 않습니다.
위치 θ의 방정식에는 ψ(x, θ)=ψc(x−θ)를 씁니다. 손실의 θ 미분은 −ψ이므로 부호는 다르지만 0의 해는 같습니다. 작은 잔차는 그대로 반영하고 큰 잔차의 방정식 기여를 ±c로 제한합니다. 이 목표는 일반 분포의 평균과 같다는 보장이 없습니다.
Choose fixed c>0. Use quadratic loss inside|r|≤c and matching lines outside. Values and first derivatives match at ±c, so the loss is convex and continuously differentiable, though usually not twice differentiable at the knots.
For location, use ψ(x, θ)=ψc(x−θ). The loss’s θ derivative is −ψ, but zero roots agree. Small residuals enter unchanged; large contributions are clipped at ±c. The target need not equal a general distribution’s mean.
기초Foundations
19. 네 값에서 Huber 해를 손으로 풀고 비유일성도 본다19. Solve a Huber root by hand and inspect nonuniqueness
(0, 1, 2, 10), c=1에서 θ가 [1, 2] 안에 있다고 보고 score를 합칩니다. 0의 잔차는 −1로, 10의 잔차는 +1로 잘리고 나머지는 1−θ, 2−θ입니다. 총합 3−2θ가 0이 되는 θ=1.5가 실제 구간 안에 있어 해입니다. 이 근처 평균 score의 미분은 −2/4=−1/2입니다.
그러나 Huber 손실이 볼록이라는 사실만으로 언제나 유일하지는 않습니다. 자료 (0, 10), c=1이면 모든 θ∈[1, 9]에서 두 score가 −1, +1로 상쇄됩니다. 손실은 그 구간에서 평평합니다. 실습은 전체 해 구간과 중간 대표 5를 나누어 보여 주며, A=0인 이 경우에 정칙 영향함수 공식을 적용하지 않습니다.
For (0, 1, 2, 10), c=1 and θ∈[1, 2], the scores sum to −1+(1−θ)+(2−θ)+1=3−2θ. Thus θ=1.5 is a valid root. The local mean-score derivative is −2/4=−1/2.
Convex Huber loss need not always have a unique solution. For (0, 10), c=1, every θ∈[1, 9] has cancelling scores −1, +1 and equal minimum loss. The lab distinguishes the full interval from midpoint representative five, and avoids the regular influence formula when A=0.
기초Foundations
20. 실습 B · 원값·잔차·score와 전체 해 구간을 읽는다20. Lab B · Read values, residuals, scores and the entire root set
작은 자료·제안 θ·고정 c를 넣고 평균 또는 Huber 규칙을 고릅니다. 각 행에서 x−θ가 어떻게 score와 손실로 바뀌는지 확인하세요. 빈 자료는 평균 방정식이 미정의이고, 결측은 유효 분모에서 제외하되 원위치를 보존합니다.
해 구간이 길면 중간값은 표시 규칙입니다. 한 점만 출력하고 유일한 해처럼 부르지 않습니다. 매듭에서 좌우 미분이 다르면 A를 단일 숫자로 채우지 않으며, 미분이 존재하더라도 A=0이면 역행렬을 쓸 수 없습니다. 이 유한 경험분포 계산이 실제 iid나 점근 가정을 검증하지는 않습니다.
Enter small data, a proposed θ and fixed c; choose mean or Huber. Inspect each residual’s score and loss. Empty data have no average equation. Missing entries are excluded from available denominators while their source positions remain visible.
The midpoint of a nontrivial root interval is a display selection, not uniqueness. Different one-sided derivatives leave A undefined; A=0 prevents inversion even when a derivative exists. Empirical calculations do not certify iid or asymptotic conditions.
기초Foundations
21. 경계·빈 자료·상수 자료는 서로 다른 경계 사례다21. Boundaries, empty records and constant data are distinct cases
평균을 Θ=[0, ∞)로 제한하고 원자료 평균이 음수이면 최적점은 0입니다. 잔차 score 평균은 0이 아닐 수 있지만 제약 최소는 성립합니다. 제약이 없는 내부 방정식 정리를 그대로 적용하지 않습니다.
Bernoulli logit에서 전부 0이면 p의 닫힌 공간 MLE는 0이지만 유한 logit η의 해는 없습니다. 빈 자료는 모든 θ의 손실 합이 0이면서 평균 손실 1/n은 정의되지 않습니다. 반면 한 값만 있거나 모든 값이 같아도, c>0의 Huber 위치는 그 값으로 유일하게 정해집니다. 그러나 경험 B=0을 실제 모집단의 불확실성이 없다는 증거로 읽지는 않습니다.
For mean location constrained to [0, ∞), a negative sample mean gives boundary optimum zero without a zero residual score. An unconstrained interior-root theorem does not apply.
All-zero binary observations have closed-space probability MLE zero but no finite logit root. Empty data give zero total loss for all parameters, while average loss 1/n is undefined. Constant nonempty data have a unique fixed-c Huber location, but empirical B=0 does not establish absence of population uncertainty.
학부 연결 · 선택Undergraduate bridge · optional
22. 방정식 해의 일치성도 균등 오차와 분리로 확인한다22. Equation-root consistency also uses uniform error and separation
Ψ(θ⋆)=0이고 각 ε>0에 inf‖θ−θ⋆‖≥ε‖Ψ(θ)‖>0이라 합시다. supΘ‖Ψₙ−Ψ‖→ᴾ0, ‖Ψₙ(θ̂ₙ)‖→ᴾ0이면 삼각부등식으로 ‖Ψ(θ̂ₙ)‖→ᴾ0입니다. 분리 조건 때문에 θ̂ₙ은 목표 근방으로 가야 합니다.
dₙ is the uniform estimating-equation error; eₙ is the sample-equation residual at the estimated point.
Use absolute value or vector norm, not a requirement that Ψ itself be positive. An equation can change sign across its root. Consistency of every selected root needs the stated space and separation, not merely a successful solver.
선택 심화Optional extension
23. 다변수 전개는 선분 적분 야코비안으로 쓴다23. Use an integrated Jacobian for multivariate expansion
이제 θ⋆가 내부점이고 θ̂ₙ→ᴾθ⋆라고 합시다. 근방의 선분에서 Ψₙ이 연속 미분 가능하면 MATH18의 선분 적분 공식을 씁니다. 각 좌표에 서로 다른 중간점이 생길 수 있으므로 벡터 전체에 하나의 중간점을 임의로 넣지 않습니다.
적분 야코비안이 비특이 A로 확률수렴하는 조건을 확인합니다. 예를 들어 근방의 야코비안 균등 수렴과 모집단 야코비안의 연속성, 추정량 일치성이 충분할 수 있습니다. 한 고정 점의 미분값 수렴만으로 움직이는 선분 전체를 자동 통제하지 않습니다. Huber처럼 매끈하지 않은 ψ에는 다음 정리의 일반 선형화 조건을 별도로 보일 수 있습니다.
Assume an interior target and consistent estimator. If Ψₙ is continuously differentiable along the local segment, use the integrated-Jacobian identity. A vector-valued mean-value theorem does not generally supply one common intermediate point.
Verify convergence of the integrated matrix to nonsingular A. Local uniform Jacobian convergence, continuity and consistency can suffice; pointwise derivative convergence alone need not. Nonsmooth estimating functions can instead satisfy the general linearization condition in the next section.
선택 심화Optional extension
24. score의 CLT를 모수의 정규극한으로 옮긴다24. Transport the score CLT to a parameter limit
일치하는 θ̂ₙ에 대해 Ψₙ(θ̂ₙ)=oᴾ(n⁻¹ᐟ²), √nΨₙ(θ⋆)→ᴰN(0, B)라고 합시다. 선형화가 Ψₙ(θ̂ₙ)−Ψₙ(θ⋆)=A(θ̂ₙ−θ⋆)+oᴾ(n⁻¹ᐟ²)로 성립하고 A가 비특이라고 가정하면, 방정식을 옮겨 다음을 얻습니다.
앞 절의 정확한 적분 전개에서 Āₙ→ᴾA이면 먼저 역행렬과 score CLT로 √n 제한성을 얻을 수 있어, √n 속도를 미리 가정하는 순환을 피합니다. 더 일반적인 경험과정 접근에서는 위 나머지 조건을 정리로 입증해야 합니다. iid인 경우 Eψ=0, 유한 B=Eψψᵀ와 다변수 CLT가 score 극한의 편한 충분조건입니다.
For consistent θ̂ₙ, assume equation residual oᴾ(n⁻¹ᐟ²), score CLT √nΨₙ(θ⋆)→ᴰN(0, B), and linearization with remainder oᴾ(n⁻¹ᐟ²) and nonsingular A. Rearrangement gives:
The preceding exact integrated expansion with Āₙ→ᴾA can first establish root-n boundedness through inversion and the score CLT, avoiding circularly assuming the desired rate. General empirical-process routes must prove the stated remainder. Iid mean-zero scores with finite B=Eψψᵀ supply a convenient CLT.
학부 연결 · 선택Undergraduate bridge · optional
25. 양쪽 bread와 가운데 score 변동으로 분산을 만든다25. Build covariance from derivative bread and score variation
V=A⁻¹BA⁻ᵀ를 샌드위치라고 부르는 이유는 가운데 score 공분산 B를 두 역미분 행렬이 감싸기 때문입니다. 행렬곱의 순서는 바꿀 수 없습니다. A가 비대칭인 일반 방정식에서는 오른쪽이 반드시 A⁻ᵀ입니다.
대입 행렬의 일치성과 앞의 정칙조건이 필요합니다. score 평균이 정확히 0인 해에서는 B̂가 n분모 중심 score 공분산과 같습니다. 근사 해에서는 평균을 뺀 공분산과 미중심 제곱합이 유한하게 다르므로 정의를 기록합니다. 유효 해와 적절히 작은 방정식 잔차 아래에는 같은 극한을 가질 수 있습니다.
The sandwich V=A⁻¹BA⁻ᵀ places score covariance B between inverse derivative matrices. Keep the multiplication order. For nonsymmetric A, the right factor must be inverse transpose.
Plug-in consistency and regularity remain necessary. At an exact zero-average-score root, B̂ equals n-divisor centered score covariance. Approximate roots have different finite centered and uncentered versions; state the convention. Sufficiently small equation errors can make them asymptotically equivalent.
A는 비특이어야 보통 역행렬을 쓸 수 있습니다. B는 공분산이므로 대칭 양의 준정부호여야 하지만 특이해도 됩니다. 실제로 vᵀA⁻¹BA⁻ᵀv=(A⁻ᵀv)ᵀB(A⁻ᵀv)≥0입니다. 특이 A에 의사역행렬을 넣는 것은 다른 문제이므로 정칙 추론을 자동 복구하지 않습니다.
HC1은 회귀에서 흔히 HC0에 n/(n−p)를 곱한 조정입니다. p는 적합한 계수 수이며 n>p여야 이 식을 쓸 수 있습니다. 조정은 유한 표본 관례이고 모든 모형에서 정확한 불편성·정규성·포함률을 주는 정리가 아닙니다. 예를 들어 기본 A=diag(−1, −2), B=[[1, 0.5], [0.5, 4]]이면 √n 샌드위치는 [[1, 0.25], [0.25, 1]]입니다.
A must be invertible for the regular formula. B is symmetric PSD but may be singular. The sandwich remains PSD because its quadratic form is a B-quadratic form in A⁻ᵀv. Replacing singular A by a pseudoinverse is a different problem, not an automatic repair.
HC 1 commonly multiplies regression HC 0 by n/(n−p), requiring n> p fitted coefficients. It is a finite-sample convention, not universal exact unbiasedness or coverage. For default A=diag(−1, −2), B=[[1, .5], [.5, 4]], the root-n sandwich is [[1, .25], [.25, 1]].
기초Foundations
27. 실습 C · 비대칭 A와 공동 변동 B를 계산한다27. Lab C · Calculate with nonsymmetric A and joint score covariance B
2×2 A, B와 n, 자유도 조정의 p를 바꿉니다. A의 정의는 평균 score 야코비안입니다. inverseA·√n 공분산·추정량 HC0 공분산·HC1 보조 조정을 차례로 읽고 n의 위치를 확인하세요.
비대칭 A를 허용하지만 비대칭 B나 준정부호가 아닌 B는 공분산 입력으로 거부합니다. A가 특이면 정칙 공식은 미정의이고, n≤p이면 HC1만 별도로 미정의일 수 있습니다. 계산이 가능한 행렬이라고 통계 전제가 성립한 것은 아닙니다.
Change 2×2 A, B, n and adjustment parameter count p. A is the mean-score Jacobian. Read inverse A, root-n covariance, estimator HC 0 and HC 1 in order; locate the division by n.
Nonsymmetric A is allowed, but B must be symmetric PSD. Singular A makes the regular inverse formula unavailable; n≤p can leave only HC 1 undefined. Matrix computability does not establish statistical assumptions.
선택 심화Optional extension
28. 방정식에 상수를 곱해도 올바른 샌드위치는 같다28. Rescaling an equation leaves the correctly formed sandwich unchanged
비특이 상수 행렬 H를 써 ψ̃=Hψ로 방정식을 바꾸면 같은 해를 가집니다. 이때 Ã=HA, B̃=HBHᵀ입니다. 둘 다 함께 변환해야 영향과 샌드위치가 보존됩니다.
A_H와 B_H는 방정식을 H로 재표현한 뒤의 두 행렬입니다. 앞의 C=−A 표기와 혼동하지 않습니다.
스칼라 score에 −1을 곱해도 A 부호만 같이 바꾸면 IF는 같습니다. 그러나 ψ만 바꾸고 A나 B를 옛 값으로 두면 틀립니다. 모수 자체의 단위를 바꾸는 재표현은 방정식 행의 재조합과 별개이며, 모수 야코비안으로 최종 공분산을 다시 변환합니다.
For constant invertible H, the equation ψ̃=Hψ has the same roots, with Ã=HA and B̃=HBHᵀ. Transform both components to preserve influence and covariance.
A_H and B_H are the two matrices after rescaling the equation by H; they do not change the earlier C=−A convention.
A sign reversal of scalar ψ is harmless when A changes too. Changing ψ alone gives wrong formulas. Reparameterizing parameter units is a separate operation, handled by the parameter Jacobian on final covariance.
기초Foundations
29. 올바른 우도모형의 역정보는 샌드위치의 특수한 경우다29. Correct-model inverse information is a special sandwich case
ψ가 정칙 로그우도 score이고 모형이 올바르면 Eψ=0, B=I, A=−I라는 정보 항등식이 성립할 수 있습니다. 그러면 A⁻¹BA⁻ᵀ=I⁻¹로 단순화됩니다. 공통 지지집합·미분과 적분 교환·유한 정보 등 STAT19의 조건을 유지합니다.
잔차 score ψ=x−θ는 분산으로 나눈 정규 우도 score와 같은 정의가 아닙니다. 이 경우 A=−1, B=σ²이므로 C=−A=1과 B가 일반적으로 같지 않습니다. “모형이 정규라 A와 B는 늘 같다”는 식으로 score의 척도를 생략하면 안 됩니다.
For a regular correctly specified likelihood score, the identities can give Eψ=0, B=I and A=−I. Then A⁻¹BA⁻ᵀ=I⁻¹. Retain STAT19’s support, interchange and finite-information conditions.
Residual score ψ=x−θ is not the variance-scaled Gaussian likelihood score. It has A=−1, B=σ², so positive bread C=1 does not generally equal B. State the score scale rather than assuming equality from a model name.
기초Foundations
30. 오지정은 표준오차만의 문제가 아니라 목표의 문제이기도 하다30. Misspecification can change the target as well as its covariance
작업 모형이 참분포를 포함하지 않으면, 잘 식별된 θ⋆가 기대 손실의 최선 근사점일 수 있습니다. 샌드위치는 정칙조건 아래 그 목표 주위의 반복 변동을 다룹니다. 목표 자체가 사용자의 원래 과학적·정책적 질문과 같은지는 별도입니다.
예를 들어 비선형 조건부 평균을 직선으로 근사하면 OLS는 선택한 분포와 손실의 선형 투영을 추정할 수 있습니다. HC 분산을 붙여도 직선이 모든 x에서 참 조건부 평균이 되거나, 누락 변수가 해결되거나, 계수가 인과효과가 되지는 않습니다. 잘못된 식별을 더 정밀하게 계산하는 일과 식별을 고치는 일을 구분합니다.
Under misspecification, a well-identified θ⋆ may be the best expected-loss approximation. A regular sandwich describes repeated variation around that target. Whether it answers the original scientific question is separate.
A line fitted to a nonlinear conditional mean may estimate a distribution-specific linear projection. HC covariance does not make the line pointwise correct, remove omitted-variable problems or turn a coefficient into a causal effect. Precision does not repair identification.
기초Foundations
31. 영향함수는 한 점에 작은 질량을 더하는 국소 미분이다31. Influence differentiates a small added point mass
통계 규칙을 분포 P에 수 θ(P)를 대응시키는 함수로 봅니다. 한 점 z에 질량 ε를 더하되 기존 질량을 1−ε로 줄여 총합을 1로 유지합니다. 이 변화 방향의 미분이 영향함수입니다.
PϵIF(z;P)=(1−ϵ)P+ϵδz,=ϵ↓0limϵθ(Pϵ)−θ(P).
이 정의에는 어떤 목표 함수와 어떤 해 선택을 쓰는지가 포함됩니다. 미분이 항상 존재하는 것은 아닙니다. z는 가정 스트레스 점일 수 있고 실제 관측이라고 주장하지 않습니다. ε=0.01의 유한 변화와 ε→0의 미분은 같다는 보장이 없으므로 둘을 실습에서 나란히 계산합니다.
View the statistical rule as a distribution functional θ(P). Add mass ε at z while shrinking existing mass by 1−ε to preserve total mass. Its directional derivative is influence:
PϵIF(z;P)=(1−ϵ)P+ϵδz,=ϵ↓0limϵθ(Pϵ)−θ(P).
The target and root-selection rule belong to the definition, and the derivative need not exist. A stress point is not a newly observed record. A finite .01 contamination shift need not equal its infinitesimal approximation; the lab compares both.
선택 심화Optional extension
32. 모집단 방정식을 미분해 영향함수의 부호를 확인한다32. Differentiate the population equation to obtain the influence sign
첫 항은 기준 방정식에서 0입니다. E IF=0이고 유한 2차 모멘트가 있으면 E IF IFᵀ=A⁻¹BA⁻ᵀ입니다. 오염 미분과 앞의 점근 선형표현이 같은 함수를 갖는다는 연결이지만, 한 유한 자료의 미분 계산만으로 모집단 선형표현을 증명한 것은 아닙니다.
Suppose θ(P)=θ⋆ solves Eₚψ(X, θ⋆)=0 with nonsingular A. When the contaminated root is differentiable and interchange/remainder conditions hold, differentiate its equation at ε=0:
m is the zero mean score at the original target; I denotes its influence function.
The first term vanishes at the reference root. Mean-zero influence with finite second moments has covariance A⁻¹BA⁻ᵀ. This connects contamination derivatives with asymptotic linearity, but a finite empirical derivative alone does not prove a population expansion.
기초Foundations
33. 평균의 영향함수는 오염값이 멀어질수록 커진다33. Mean influence grows as the contamination value moves away
유한 평균 μ에 대해 μ(Pε)=(1−ε)μ+εz이므로 IFmean(z)=z−μ입니다. 이 경우에는 θ+εIF가 모든 ε∈[0, 1]에서 정확합니다. 하지만 z를 멀리 보내면 |IF|가 제한 없이 커집니다. 평균이 큰 값에 민감하다는 말을 질량 미분으로 정확히 표현한 것입니다.
실제 한 행의 y만 바꾸는 도함수와는 다른 변화입니다. 표본평균에서 그 도함수는 1/n인 반면 경험분포의 질량오염 영향은 z−표본평균입니다. 평균을 새 관측 한 개로 업데이트할 때 ε=1/(n+1)을 쓰면 (n평균+z)/(n+1)과 연결됩니다. 변화 방식과 n 척도를 먼저 확인합니다.
For finite mean μ, the mixture mean is (1−ε)μ+εz, so IFmean(z)=z−μ. Here μ+εIF is exact for every ε∈[0, 1]. Influence is unbounded as z moves away, formalizing mean sensitivity.
This differs from changing one response value. A sample mean’s derivative with respect to one value is 1/n; empirical mass-contamination influence is z−mean. Adding one new record corresponds to ε=1/(n+1). Identify the perturbation and sample-size scale.
학부 연결 · 선택Undergraduate bridge · optional
34. 고정 c Huber의 유계 영향과 필요한 분모34. Bounded fixed-c Huber influence requires a nonzero denominator
기준 P가 θ⋆±c에 원자를 갖지 않고, 미분·선형화 조건이 성립한다고 합시다. C=P(|X−θ⋆|<c)>0이면 A=−C입니다. 영향과 √n 분산은 다음과 같습니다.
c가 유한해도 C가 0이면 이 공식을 쓸 수 없고, C가 작으면 영향 상한은 큽니다. 또한 유계 영향은 이 국소 질량오염 방향의 성질이지 모든 결측·선택·의존·측정 문제의 해결을 뜻하지 않습니다. Huber 목표는 평균과 다를 수 있고, 분산도 반드시 평균보다 작지는 않습니다.
Assume no reference atoms at θ⋆±c and the needed differentiation/linearization conditions. With C=P(|X−θ⋆|< c)>0, A=−C:
Finite c does not repair C=0, and a small positive C gives a large bound. Bounded influence concerns this local contamination direction, not every missingness, selection, dependence or measurement problem. The target can differ from the mean and need not have smaller variance.
기초Foundations
35. 유한 오염에서는 방정식을 다시 풀어 나머지를 본다35. Re-solve under finite contamination to inspect the remainder
자료 (0, 1, 2, 10), c=1의 Huber 위치는 1.5, C=1/2입니다. z=20이면 IF=1/(1/2)=2입니다. ε=0.1에서 1차 예측은 1.7입니다. 새 혼합 방정식은 (1−ε)×기존 평균 score+ε×새 점의 score=0입니다.
θ가 [1, 2] 안이면 기존 평균 score=(3−2θ)/4, 새 점 score=1이므로 해는 θ=1.5+2ε/(1−ε)입니다. ε=0.1에서는 약 1.722222가 되어 1차 예측과 약 0.022222 차이 납니다. 이 식도 해가 해당 구간 안에 있는 ε에서만 유효하므로 매듭을 넘어가면 다른 조각으로 다시 풀어야 합니다.
For (0, 1, 2, 10), c=1, the Huber root is 1.5 and C=1/2. A stress point z=20 has IF=2. At ε=.1, the linear prediction is 1.7. The actual mixture equation combines (1−ε) times the original average score with ε times the new point score.
For θ∈[1, 2], it is (1−ε)(3−2θ)/4+ε=0, hence θ=1.5+2ε/(1−ε). At ε=.1 this is 1.722222…, not 1.7. That formula holds only while its root remains in the stated piece; crossing a knot requires another piece.
기초Foundations
36. 실습 D · 국소 예측과 유한 혼합의 재계산을 비교한다36. Lab D · Compare local predictions with finite-mixture recomputation
원자료를 보존한 채 가정 점 z와 ε를 선택합니다. 평균 또는 고정 c Huber에 대해 기준 해, IF, θ+εIF, 혼합 해 전체와 나머지를 봅니다. ε=0과 1도 정의된 혼합의 경계이며 1에서는 새 점만 남습니다.
기준 해가 비유일하거나 정칙 미분이 없으면 IF 칸을 미정의로 남깁니다. 혼합의 유한 해는 그래도 계산될 수 있습니다. 중간 대표값끼리 비교하는 규칙과 해 집합 자체를 혼동하지 않습니다. 이 스트레스 실험은 새 사람을 조사하거나 원파일을 바꾸는 일이 아닙니다.
Preserve records and choose a hypothetical point z and mass ε. For mean or fixed-c Huber, compare the base root, IF, linear prediction, entire recomputed root set and remainder. At ε=1 only the added point remains.
Nonunique roots or unavailable regular derivatives leave IF undefined even when a finite mixture root can be computed. Distinguish midpoint comparisons from root sets. Stress scenarios neither collect people nor alter source files.
선택 심화Optional extension
37. 매듭 원자는 좌우 미분을 따로 보아야 한다37. Atoms at score knots require separate one-sided derivatives
기준 위치 t에서 잔차가 정확히 ±c인 질량이 있으면 C를 단순히 안쪽 질량으로만 계산해 미분을 정할 수 없습니다. t를 왼쪽으로 움직일 때와 오른쪽으로 움직일 때 안쪽에 들어오는 경계 질량이 다릅니다. pI=P(|X−t|<c), p₋=P(X=t−c), p₊=P(X=t+c)라 쓰면 다음과 같습니다.
Ψ−′(t)Ψ+′(t)=−(pI+p−),=−(pI+p+).
p₋≠p₊이면 미분이 존재하지 않습니다. 두 경계 질량이 같으면 합쳐진 평균 score의 미분은 존재할 수도 있습니다. 예를 들어 자료 (0, 2), c=1, t=1에서는 pI=0, p₋=p₊=1/2라 양쪽 미분이 −1/2입니다. 각 관측 score의 꺾임과 평균 score 전체의 미분 가능성을 구별합니다. 이 유한 계산이 일반 비매끄러운 추정의 CLT를 대신하지는 않습니다.
Atoms at residual ±c change left and right derivatives differently. Write pI=P(|X−t|< c), p₋=P(X=t−c), p₊=P(X=t+c).
Ψ−′(t)Ψ+′(t)=−(pI+p−),=−(pI+p+).
Unequal knot masses prevent differentiability. Equal masses can cancel the kink in the aggregate score. For records (0, 2), c=1, t=1, the inside mass is zero but both knot masses are 1/2, giving derivative −1/2. Distinguish individual score knots from differentiability of their average; this finite check does not prove a general nonsmooth-estimator CLT.
기초Foundations
38. 단위를 바꾸면 고정 cutoff도 같은 비율로 바꾼다38. A unit conversion must scale the fixed cutoff too
x′=a+s x, s>0으로 단위를 바꾸고 c′=s c, θ′=a+sθ로 두면 잔차 r′=s r입니다. ψsc(sr)=sψc(r), ρsc(sr)=s²ρc(r)이므로 해 집합도 같은 방식으로 이동·확대됩니다. IF는 s배, 분산은 s²배이고 A는 이 위치 좌표에서는 같은 무차원 값입니다.
kg를 g로 바꾸면서 c를 옛 숫자로 고정하면 단위만 바꾼 것이 아니라 다른 강건 손실을 선택한 것입니다. 또 고정 c와, 자료에서 scale을 추정해 c=k·scale로 바꾸는 절차는 다릅니다. 공동 scale 추정에서는 위치·scale 방정식을 함께 쓴 A, B와 IF가 필요합니다.
For x′=a+s x with s>0, also use c′=s c and θ′=a+sθ. Then ψsc(sr)=sψc(r) and ρsc(sr)=s²ρc(r), so the entire root set transforms affinely. Influence scales by s, variance by s², and this location-coordinate A remains dimensionless.
Changing kg to g while keeping the old numeric cutoff changes the loss, not merely units. A fixed cutoff also differs from estimating scale and setting c=k·scale. Joint location-scale fitting needs joint equations and new A, B and influence.
기초Foundations
39. 실습 E · cutoff·단위·해 집합과 민감도의 절충을 읽는다39. Lab E · Inspect cutoff, units, root sets and sensitivity trade-offs
고정 c와 양의 단위 배율, 이동량을 선택합니다. 원래 자료와 변환 자료에서 cutoff와 해 구간이 같은 비율로 바뀌는지 확인하세요. 원칙적으로 음의 배율은 부호 반전도 다뤄야 하므로 이 실습은 양의 배율로 범위를 정합니다.
c를 줄이면 큰 잔차의 score 한계가 줄지만, C도 바뀌므로 IF 상한이나 분산이 언제나 감소하는 것은 아닙니다. pI와 매듭 질량, 정칙성, 유일성을 함께 읽습니다. 자동 추정 scale이나 소프트웨어 기본값을 여기의 고정 c 계산과 같은 절차라고 부르지 않습니다.
Choose fixed c, a positive unit scale and a shift. Check affine transformation of both cutoff and the full root interval. This lab restricts scaling to positive values; negative scales would require explicit sign-reversal handling.
Reducing c clips score contributions more tightly, but changes C too, so influence bounds or variance need not decrease monotonically. Read inside/knot masses, regularity and uniqueness together. Estimated-scale software defaults are not the same procedure.
학부 연결 · 선택Undergraduate bridge · optional
40. OLS의 score와 한 행의 두 가지 민감도40. OLS scores and two different sensitivities of a record
z=(1, x)ᵀ, ψ=z(y−zᵀβ)로 두면 A=−Ezzᵀ, B=E[e²zzᵀ]입니다. Ezzᵀ가 비특이고 필요한 모멘트·표집 조건이 성립하면 정칙 공식을 쓸 수 있습니다. 이분산이면 e²의 조건부 평균이 x에 따라 달라져, B=σ²Ezzᵀ라는 동분산 단순화가 일반적으로 깨집니다.
IF(z,y;P)∂yi∂β^=(Ezz⊤)−1ze,=(X⊤X)−1zi.
첫 식은 분포의 한 원자에 질량을 더하는 영향이고, 둘째는 x를 고정한 채 yᵢ 값만 바꾸는 도함수입니다. 잔차와 n 척도가 다릅니다. 잔차를 자르는 Huber 회귀도 z가 매우 크면 zψ(e)의 영향이 커질 수 있어, 위치의 유계 score만으로 고 leverage에 대한 보편적 강건성을 선언하지 않습니다.
For z=(1, x)ᵀ and ψ=z(y−zᵀβ), A=−Ezzᵀ and B=E[e²zzᵀ]. Nonsingular design moments and suitable sampling/moment conditions support the regular formula. Heteroskedasticity generally prevents B=σ²Ezzᵀ.
IF(z,y;P)∂yi∂β^=(Ezz⊤)−1ze,=(X⊤X)−1zi.
The first perturbs distribution mass; the second changes one response at fixed x. They differ by residual and n scaling. Even clipped residual scores can yield large regression influence through unbounded z, so bounded location scores do not imply universal leverage robustness.
정상 시계열에서 적절한 합가능성과 CLT가 성립하면 장기 공분산 Ω=Σh Cov(ψ₀, ψh)를 쓰는 샌드위치로 확장할 수 있습니다. 군집에서는 군집 합 score와 독립 군집 수가 중요합니다. 일반 정리를 자동 적용하지 말고 METR16 등에서 표집 단위·의존 조건·공분산 추정의 유효성을 다시 다룹니다.
Independence reduces mean-score variance to B/n. Dependence retains cross-score covariances; computing HC 0 alone does not account for time, space or cluster dependence.
Under suitable stationarity, summability and CLT conditions, a long-run covariance Ω=Σh Cov(ψ₀, ψh) can replace B. Cluster inference concerns cluster-sum scores and independent cluster counts. METR16 revisits units, dependence assumptions and covariance estimation instead of treating this as an automatic extension.
선택 심화Optional extension
42. 비정칙·약한 식별·경계에서는 공식이 실패할 수 있다42. Nonregularity, weak identification and boundaries can change the theory
A가 0 또는 특이면 1차 방정식이 모수 오차를 충분히 구별하지 못합니다. 예를 들어 Ψₙ(θ)=θ³−표본평균에서 X의 참평균이 0이고, √n 표본평균이 비퇴화 N(0, σ²), σ>0으로 분포수렴한다고 합시다. 그러면 n¹ᐟ⁶θ̂는 그 정규변수의 실수 세제곱근으로 수렴하므로 해의 척도는 n⁻¹ᐟ⁶입니다. A=0에 억지 역수를 넣어 √n 정규라고 할 수 없습니다.
경계에서는 제한된 정규 투영이나 비대칭 법칙이, 밀도 없는 중앙값에서는 다른 속도가 생길 수 있습니다. 영향함수가 유계인지와 breakdown point, 실제 선택 편향, 인과 식별도 다른 질문입니다. 정칙 이론의 조건을 적는 일은 형식적 경고가 아니라 적용 범위를 결정하는 핵심입니다.
Singular or zero A means the first-order equation does not distinguish errors sufficiently. For Ψₙ(θ)=θ³−sample mean, assume true mean zero and a nondegenerate N(0, σ²), σ>0 limit for the root-n sample mean. Then n¹ᐟ⁶θ̂ converges to that normal variable’s real cube root, giving n⁻¹ᐟ⁶ scale. Inverting A=0 cannot produce a root-n normal theorem.
Boundaries can yield projected or asymmetric limits; irregular medians can have different rates. Bounded influence, breakdown, selection bias and causal identification are different questions. The conditions determine which theorem applies.
기초Foundations
43. 실제 국가 직선의 같은 계수와 다른 작업 분산43. The same actual country line has different working covariance formulas
2024년 실제 16국에서 x=실질 GDP/명÷10000, y=기간 기대수명 년을 씁니다. 기술적 직선은 절편 약 72.970869, 기울기 약 1.739588입니다. 고전 동분산 기울기 SE 약 0.367547, HC0 약 0.362188, HC1 약 0.387195를 같은 계수에 붙일 수 있습니다.
이 차이는 새로운 국가 자료나 계수 변경이 아니라 분산 규칙의 차이입니다. 기울기 SE 단위는 기대수명 년/(2015년 불변 10000USD/명)입니다. 사례의 양의 bread 표기는 C=−A로 읽고, 한 국가 y의 도함수와 그 원행의 질량오염 IF를 구분합니다. 선택 16국이 세계 무작위 표본이거나 GDP의 인과효과라는 주장은 하지 않습니다.
Use actual 2024 data for sixteen countries, x=real GDP/person divided by 10000, y=period life expectancy in years. The descriptive intercept and slope are about 72.970869 and 1.739588. Slope SEs are about.367547 classical, .362188 HC 0 and.387195 HC 1.
These are covariance conventions for the same coefficients, not new records. Slope-SE units are years per 10000 constant-2015 USD/person. Read case positive bread as C=−A and distinguish fixed-response derivatives from mass influence. Neither random worldwide sampling nor a GDP causal effect is established.
기초Foundations
44. 실제 로그임금에서 유계 영향과 작은 SE는 다른 성질이다44. Bounded influence and smaller SE differ in actual log wages
원 3613행 중 가용 로그임금 3010개의 평균은 약 6.261831918입니다. 고정 c=0.5의 Huber 위치는 약 6.271470720입니다. cutoff 안의 관측은 2240개, 정확한 매듭 관측은 0개라 C=2240/3010=32/43이고 영향 상한 c/C=43/64입니다.
평균 HC0 작업 분산은 약 0.0000654123이고 Huber는 약 0.0000695938입니다. Huber의 영향이 유계여도 이 기준에서 SE는 더 큽니다. 서로 다른 목표·민감도·효율의 절충을 보고합니다. 가정 점 z=100은 실제 임금 관측이 아니며, 선택 ε의 혼합 재계산은 원자료를 바꾸지 않습니다. 결측 603행과 1976년 로그 센트임금 처리도 보존합니다.
Among 3613 source rows, 3010 available log wages have mean about 6.261831918. Fixed c=.5 Huber location is 6.271470720. There are 2240 strict-inside values and no knot values, giving C=32/43 and influence bound 43/64.
Mean HC 0 working variance is about.0000654123; Huber variance is about.0000695938. Bounded influence does not guarantee smaller SE here. Report the target/sensitivity/efficiency trade-off. Stress z=100 is not an actual wage, and finite-mixture scenarios preserve original records, 603 missing rows and 1976 source log-cent processing.
기초Foundations
45. 이진 score의 항등식은 고객 가정을 검증하지 않는다45. A binary-score identity does not validate customer assumptions
3150개 실제 고객 기록의 이탈 495개로 p̂=11/70입니다. intercept-only logit η=log[p/(1−p)]에서 ψ=y−p, A=−p(1−p), B̂=p̂(1−p̂)입니다. 경험 B와 양의 C=−A가 같아 HC0 샌드위치와 모형식 1/[np̂(1−p̂)]가 정확히 같습니다.
이 일치는 이진값과 표본비율의 대수 항등식입니다. 고객 독립·위험 동질성·정확 모형을 검정한 결과가 아닙니다. p의 IF는 y−p이고 η의 IF는 (y−p)/[p(1−p)]라 좌표가 다르면 영향도 다릅니다. 고정 내부 p에서는 유한하지만 경계로 가면 logit 영향이 커지고 p=0/1에는 유한 logit이 없습니다.
The actual source has 495 churn events among 3150 records, p̂=11/70. For intercept-only logit η=log[p/(1−p)], ψ=y−p, A=−p(1−p) and empirical B̂=p̂(1−p̂). Thus HC 0 sandwich equals model formula 1/[np̂(1−p̂)] exactly.
This is a binary-data algebraic identity, not a test of independence, homogeneous risks or model correctness. Probability influence is y−p; logit influence divides by p(1−p). Coordinate changes alter sensitivity. Finite interior p permits finite values; near boundaries logit influence grows and at p=0/1 finite logits do not exist.
기초Foundations
46. 실습 F · 실제 원행의 score·영향·가정 시나리오를 대조한다46. Lab F · Compare actual-record scores, influence and hypothetical scenarios
국가 원행을 바꾸어 score·질량오염 IF·고정 y 미분의 차이를 보고, 개인에서는 고정된 15개 IF 질의와 12개 재계산 시나리오를 선택합니다. 고객에서는 y=0/1의 score와 두 좌표의 영향을 비교합니다.
개인 혼합의 재계산값은 원자료에서 검산해 보관한 시나리오이고 실습은 1차 공식과 나머지를 대조합니다. 아무 입력이나 새로 계산한 것처럼 표시하지 않습니다. 기술량·경험 기준의 미분·가정 iid 작업 분산과 실제 표집 보장은 다른 층위입니다.
Select country source rows to compare score, mass influence and fixed-response derivatives. For people, choose among fifteen stored influence queries and twelve recomputed scenarios. For customers, compare outcomes 0/1 and influence in two coordinates.
Person mixture roots are stored source-checked scenarios; the engine compares their first-order formulas and remainders rather than claiming arbitrary new-data recomputation. Distinguish descriptions, empirical-reference derivatives, working iid variance and actual sampling guarantees.
기초Foundations
47. 국가·개인·고객 사례를 원자료와 함께 읽는다47. Read country, person and customer cases alongside sources
국가 사례 · 같은 직선, 다른 오차 가정의 샌드위치
World Bank 실제 2024년 16국가의 x=1인당 실질 GDP/10000, y=기간 기대수명으로 절편을 포함한 직선을 기술적으로 적합합니다. x 한 단위는 2015년 불변 10,000USD/인, y는 년입니다. 기간 기대수명은 개인 수명 예측이 아닙니다. 미리 선택한 국가 프레임이므로 아래 SE 공식을 계산했다는 사실만으로 세계 국가의 무작위 표본이나 GDP가 건강을 만드는 인과효과가 입증되지 않습니다.
z_i=(1,x_i)ᵀ와 ψ_i=z_i(y_i−z_iᵀβ)를 사용하면 OLS는 평균 score가 0인 M 추정 방정식입니다. A=평균 z_i z_iᵀ, B=평균 ψ_iψ_iᵀ를 따로 계산하고 V_HC0=A⁻¹BA⁻ᵀ/n으로 붙입니다. 분모 n은 바깥에 한 번 더 필요합니다. A와 B만으로 만든 A⁻¹BA⁻ᵀ는 √n 스케일의 극한 공분산에 대응하며 추정량 자체의 분산과 구별합니다.
n1i∑ψi(β)=0V0=n1A−1BA−TV1=n−2nV0
V₀와 V₁은 각각 이 사례의 HC0와 HC1 공분산 추정치입니다.
같은 관측 OLS 기울기의 세 작업 분산 · 소수 반올림
규칙
기울기 분산
기울기 SE
동분산 고전식
0.1350910111
0.36754729
HC0 샌드위치
0.1311800231
0.36218783
HC1 · n/(n−2) 조정
0.1499200264
0.38719508
기울기 SE 단위는 기대수명 년/(2015년 불변 10,000USD/인)입니다. 전체 행렬의 절편·기울기 성분은 단위가 서로 다르므로 모든 칸에 같은 단위를 붙이지 않습니다. 동분산 가정에서는 이 ψ 정의의 B가 σ²A와 연결됩니다. score를 σ²로 나눈 정규 우도 score와 혼동해 항상 A=B라고 쓰지 않습니다. 이분산에 대한 샌드위치도 국가 간 의존·선택·측정오류·누락변수·인과 식별을 자동으로 해결하지 않습니다.
먼저 생각한 뒤 풀이 보기: 원 결과 y 한 개를 1년 바꾸는 민감도와 영향함수는 같은가요?
다릅니다. x를 고정한 y의 미소 변화에 대한 계수 도함수는 (XᵀX)⁻¹z_i입니다. 경험분포의 한 원행에 질량을 더하는 영향함수는 A⁻¹z_i e_i이며 잔차와 n 스케일이 들어갑니다. CSV에는 두 계산을 다른 열로 보존합니다. 그 민감도도 실제로 y를 1년 늘리는 정책의 인과효과는 아닙니다.
사람 사례 · 극단값에 둔감한 위치와 원래 평균은 다른 목표다
Card의 실제 가용 3010개 lwage76은 1976년 시간당 임금(센트)의 원 극단값 정리 로그 변수입니다. 원 3613개 행과 결측603개를 보존합니다. 평균은 약 6.261831918, 고정 cutoff c=0.5 로그 단위의 Huber 위치는 약 6.271470720입니다. Huber 위치는 평균의 오류를 고친 “진짜 평균”이 아니라 다른 손실로 정의한 위치입니다. c=0.5는 설명을 위해 선택했으며 자료에서 scale을 함께 추정한 값이 아닙니다.
N_in은 문턱 안쪽 잔차의 개수입니다. 이 사례의 양의 bread 기호 Â는 앞 본문의 Ĉ에 해당하며, 앞 본문의 미분 행렬 Â와는 부호가 반대입니다.
실제 기록에서 cutoff 안에는 2240개, score의 꺾이는 점 위에는 0개가 있어 이 경험분포의 국소 미분을 확인할 수 있습니다. A=32/43, |IF_Huber(z)|≤c/A=43/64입니다. 평균의 영향함수 z−평균은 z를 멀리 보낼수록 커지지만 고정 c의 Huber 영향은 위 한계로 잘립니다. 이것은 이 위치 함수의 국소 질량 오염 민감도이며 모든 데이터 오류·선택 편향에 대한 보편적 보호는 아닙니다.
IFH(z;F)=Aψc(z−θ)V0=nA2BFε=(1−ε)F+εδz
V₀는 이 사례의 θ̂에 대한 HC0 분산 추정치입니다. 여기서 A는 사례가 사용하는 양의 bread 표기입니다.
기존 경험분포 F의 질량을 1−ε로 줄이고 별도 점 z에 질량 ε를 더해 총질량 1을 유지합니다. 이렇게 정한 ε=0.001 또는 0.01의 12개 시나리오에서 Huber 방정식을 다시 정확히 풀고 θ+ε IF(z)와 비교합니다. z=100 같은 값은 스트레스 입력이지 실제 사람 임금 관측이라고 주장하지 않습니다. 원자료는 바꾸지 않았고 작은 ε의 1차 근사가 유한 ε에서 언제나 정확하다고도 하지 않습니다. 가정 분포를 바꾸는 과정과 새로운 사람을 조사한 과정은 다릅니다.
고정 c의 작업 HC0 분산 · 로그 단위²
위치 규칙
관측 위치
작업 분산
작업 SE
산술 로그 평균
6.261831918
0.0000654123
0.008087785
고정 c Huber 위치
6.271470720
0.0000695938
0.008342287
먼저 생각한 뒤 풀이 보기: 영향함수가 유계이면 SE도 더 작아야 하나요?
아닙니다. 여기서는 Huber 작업 분산이 평균의 HC0 분산보다 오히려 큽니다. 다른 목표·손실과 민감도의 절충을 보고해야 합니다. 공동 scale 추정이나 다른 cutoff를 쓰면 영향함수와 샌드위치를 다시 유도해야 합니다. iid·일치성·미분·A≠0 조건 없이 이 SE를 실제 모집단 보장으로 읽지 않습니다.
고객 실무 사례 · 샌드위치와 모형식이 같아도 가정이 확인된 것은 아니다
UCI 실제 3150개 익명 고객 기록에서 이탈은 495개입니다. 원자료 row_id는 공개 파일 위치이며 수집 연도·기업명이 제공되지 않는 정보를 만들어 내지 않습니다. 모든 기록을 하나의 intercept-only logit 작업모형에 넣으면 p̂=11/70, η̂=log[p̂/(1−p̂)]≈-1.679642171입니다. η는 확률이 아니라 log odds입니다. 원 설명의 처음 9개월 특성과 12개월 결과를 구분하며 이 풀링 모형을 실제 모든 고객의 동일 위험이라는 사실로 선언하지 않습니다.
0/1 자료에서 p̂를 그 비율로 대입하면 경험분산 B는 대수적으로 p̂(1−p̂)=A와 같습니다. 따라서 HC0 샌드위치 B/(nA²)와 모형식 1/(nA)가 여기서는 정확히 같습니다. 이 수치 일치는 고른 이진 score의 항등식이어서, 실제 고객 독립성이나 위험 동질성을 검정한 증거가 아닙니다. 연관된 고객 score 사이 공분산 항은 이 독립 관측 식에 들어 있지 않습니다.
먼저 생각한 뒤 풀이 보기: 영향함수도 확률에서 log odds로 그대로 가져오면 되나요?
아닙니다. 확률 p의 기준 영향은 y−p이고 log odds의 영향은 이를 p(1−p)로 나눈 것입니다. 고정된 내부 p에서 두 결과의 영향은 유한하지만 p가 0이나 1로 가까워지면 log odds 민감도는 커집니다. 매개변수·척도·경계 조건을 보존해야 합니다.
Country case · Same fitted line, different covariance assumptions
Fit a descriptive intercept-and-slope line using actual 2024 World Bank data for sixteen selected countries: x=real GDP per person/10000, y=period life expectancy. One x unit is 10,000 constant-2015 USD/person; y is years, not individual lifespan prediction. Computing covariance formulas does not turn this chosen frame into a random worldwide sample or identify a causal effect of GDP on health.
With z_i=(1, x_i)ᵀ and ψ_i=z_i(y_i−z_iᵀβ), OLS solves a zero-mean-score M-estimating equation. Compute A=mean(z_i z_iᵀ) and B=mean(ψ_iψ_iᵀ) separately, then V_HC0=A⁻¹BA⁻ᵀ/n. The outer division by n matters: A⁻¹BA⁻ᵀ corresponds to the √n-scaled limiting covariance, not directly to covariance of the estimator.
n1i∑ψi(β)=0V0=n1A−1BA−TV1=n−2nV0
V₀ and V₁ denote this case’s HC0 and HC1 covariance estimates.
Three working covariance rules for the same observed slope · rounded
Rule
Slope variance
Slope SE
Classical homoskedastic
0.1350910111
0.36754729
HC0 sandwich
0.1311800231
0.36218783
HC1 · n/(n−2)
0.1499200264
0.38719508
Slope SE has units of life-expectancy years per 10,000 constant-2015 USD/person. Intercept and slope covariance coordinates have different units. Under homoskedasticity, this ψ convention connects B to σ²A, not automatically B=A; do not conflate it with variance-scaled normal-likelihood scores. A heteroskedasticity sandwich does not automatically repair country dependence, selection, measurement error, omitted variables or causal identification.
Think first, then reveal: Is perturbing one y value by a year the same as a contamination influence function?
No. Fixed-design response sensitivity is (XᵀX)⁻¹z_i. Contamination influence at an observed row is A⁻¹z_i e_i, with residual and n scaling. The CSV keeps distinct columns. Neither derivative identifies an intervention that actually raises life expectancy.
Person case · A less sensitive location is a different target from the original mean
Card’s 3,010 available lwage76 values are source-trimmed logs of 1976 hourly wages measured in cents/hour; preserve all 3,613 source rows and 603 unavailable values. The observed mean is approximately 6.261831918 and fixed-cutoff Huber location (c=.5 log units) is approximately 6.271470720. Huber location is defined by a different loss, not a corrected “true mean.” The cutoff is a chosen teaching constant, not a jointly estimated scale.
N_in counts residuals strictly inside the threshold. This case’s positive bread  corresponds to Ĉ in the preceding theory, with the opposite sign to its derivative matrix Â.
There are 2240 actual residuals strictly inside the cutoff and none on score knots, allowing this reference distribution’s local derivative. A=32/43 and |IF_Huber(z)|≤c/A=43/64. The mean influence z−mean grows for distant z, while fixed-c Huber influence is clipped. This is local mass-contamination sensitivity of that functional, not universal protection against data errors or selection bias.
IFH(z;F)=Aψc(z−θ)V0=nA2BFε=(1−ε)F+εδz
V₀ denotes this case’s HC0 variance estimate for θ̂. A retains the case’s positive-bread convention.
Scale the original empirical distribution’s mass by 1−ε, then add mass ε at a chosen z so total mass remains one. For twelve explicit scenarios with ε=.001 or .01, recompute the Huber root exactly and compare it with θ+ε IF(z). A value such as z=100 is a stress input, not an actual observed wage. Original records remain unchanged; first-order local approximations need not be exact at finite ε. Altering a hypothetical reference distribution does not collect new people.
Fixed-cutoff working HC0 variances · log units²
Location rule
Observed location
Working variance
Working SE
Arithmetic log mean
6.261831918
0.0000654123
0.008087785
Fixed-c Huber location
6.271470720
0.0000695938
0.008342287
Think first, then reveal: Must bounded influence also give a smaller SE?
No. Here the Huber working variance is larger than the mean’s HC0 variance. Report the trade-off between targets, loss and sensitivity. Joint scale estimation or another cutoff requires a new influence/sandwich derivation. Actual guarantees still require iid, consistency, differentiability and nonsingular A conditions.
Customer-practice case · Equal sandwich and model formulas do not validate the assumptions
The actual UCI source has 495 churn events in 3,150 anonymous records. Assigned row_id is public-file position; do not invent collection years or company identity. An intercept-only logit working model gives p̂=11/70 and η̂=log[p̂/(1−p̂)]≈-1.679642171. The parameter η is log odds, not probability. Distinguish the source’s first-nine-month attributes and month 12 outcome; pooling does not establish equal risks for all actual customers.
Scores and reference influence from the two actual outcomes
Observed outcome
Actual count
Score
Logit IF
Probability IF
0
2655
-11/70
-70/59
-11/70
1
495
59/70
70/11
59/70
For 0/1 outcomes with p̂ equal to their proportion, the empirical B algebraically equals p̂(1−p̂)=A. Thus HC0 sandwich B/(nA²) and model formula 1/(nA) agree exactly here. This binary-score identity does not test actual independence or homogeneous risk. Cross-covariances among linked customers’ scores are absent from the independent-observation formula.
Think first, then reveal: Can probability influence be copied unchanged to log odds?
No. Probability influence is y−p; log-odds influence divides it by p(1−p). Both outcomes have finite influence at a fixed interior p, but log-odds sensitivity grows near 0 or 1. Preserve parameterization, scale and boundary conditions.
기초Foundations
48. 정리의 조건과 계산 소프트웨어의 정의를 대조한다48. Compare theorem conditions with software definitions
오지정과 스칼라 샌드위치 연결은 Stanford STATS200 Lecture16의 §16.2를 읽습니다. 이 장의 식별·균등성·내부성·미분·CLT 조건을 유지하며, 점별 큰수의 법칙 하나로 argmin이나 모든 모멘트 수렴을 결론내리지 않습니다.
최종 보고서에는 목표 손실과 모수공간, 해의 존재·선택, 원자료 분모, 고정 cutoff와 단위, A의 미분 부호, B의 중심화·분모, 추정량 분산의 /n, 의존·결측·경계 조건을 기록합니다. 같은 식을 계산했다는 사실과 실제 과학적 보장을 구분해야 재현과 해석이 가능합니다.
For scalar misspecification/sandwich reasoning, read Stanford STATS 200 Lecture 16, §16.2. Retain identification, uniformity, interiority, differentiation and CLT conditions; pointwise laws alone prove neither argmin consistency nor moment convergence.
Report the target loss, space, existence and root selection, source denominators, fixed cutoff and units, A sign, B centering/divisor, final covariance/n, and dependence, missingness and boundary conditions. Calculating a formula is different from establishing an actual scientific guarantee.
자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.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.
MIT · 최소제곱에서 일반 M 추정으로MIT · From least squares to general M-estimation
MIT OCW18.642 · Peter Kempthorne,Lecture11
공식 자막의 M 추정 소개에서 제곱손실·절대편차·음의 로그밀도가 서로 다른 목적함수가 되는 부분을 따라갑니다. 금융 사례 수치를 현재 국가·임금·고객 자료에 옮기지 말고 각 목표와 ψ를 직접 적어 보세요.Follow the M-estimation introduction connecting squared loss, absolute deviations and negative log density. Do not transfer financial-example numbers to these sources; write each target and ψ explicitly.
교재 안의 YouTube 플레이어에서 재생합니다. 원영상에서 제공하는 자막은 플레이어의 CC·설정에서 선택할 수 있습니다.Playback stays in this chapter’s YouTube player. Available captions can be selected through CC/settings.
보고 읽은 뒤 답하기Respond after watching/readingrobust SE를 붙이면 최소제곱 계수도 Huber 계수로 바뀌나요?Does attaching a robust SE change OLS coefficients into Huber coefficients?
생각을 점검하는 해설Check your reasoning
아닙니다. 샌드위치 분산의 선택과 추정 방정식·목표를 바꾸는 것은 다릅니다.No. A sandwich variance choice differs from changing the estimating equation and target.
피터 후버 · 위치 추정의 강건성과 계산Peter Huber · Robust location and computation
Buja and Künsch · author-posted Statistical Science interview
저자 제공 소개에서 위상수학에서 통계로 옮겨 위치 강건 추정과 계산을 연구한 경로를 읽습니다. 생애 소개를 읽었다는 것과 원 위치 추정 논문의 전체 증명을 읽었다는 것은 구별합니다.Read the authors’ introductory account of Huber’s move from topology to statistics and robust location/computation. A biographical introduction is distinct from reading the original location-estimation proof.
보고 읽은 뒤 답하기Respond after watching/reading강건한 위치가 언제나 산술 평균을 더 정확히 추정하나요?Does a robust location always estimate the arithmetic mean more accurately?
생각을 점검하는 해설Check your reasoning
아닙니다. 분포·손실·목표가 다를 수 있으므로 어떤 기능적 대상을 추정하는지 먼저 정해야 합니다.No. Distribution, loss and target can differ; define the functional first.
Stanford · 잘못 지정한 모형의 샌드위치Stanford · Sandwich variance under misspecification
Zhou Fan · STATS200,Lecture16 §16.2
§16.2의 score Taylor 전개·A와 B의 별도 기대값·바깥 n 스케일을 읽습니다. 실제 iid와 적절한 정칙 조건이 필요하며 자료에 의존이 있으면 같은 식이 자동으로 강건하지 않습니다. 표본분산 n−1과 HC0 평균제곱 n의 유한 보정도 구별합니다.Read §16.2’s score Taylor expansion, separate A/B expectations and outer n scaling. Iid and regularity conditions remain necessary; dependence is not automatically repaired. Distinguish n−1 score-variance correction from HC0 mean-square normalization.
보고 읽은 뒤 답하기Respond after watching/reading틀린 분포 가정이면 샌드위치를 무조건 쓸 수 있나요?Is a sandwich automatically valid whenever a distribution is misspecified?
생각을 점검하는 해설Check your reasoning
아닙니다. 추정 목표의 식별·일치성·미분·모멘트·비특이성과 의존 구조에 맞는 추론 조건이 따로 필요합니다.No. Identification, consistency, differentiability, moments, nonsingularity and dependence conditions still matter.
R 공식 문서 · ψ 반환값·가중치·scale을 구별하기R documentation · Distinguish ψ outputs, weights and scale
MASS official manual · rlm argument definitions
Arguments의 psi·weights·scale.est 정의를 읽습니다. 이 문서의 deriv=0 소프트웨어 계약은 ψ(u)/u를 반환한다는 점을 확인합니다. 본문의 고정 c 위치 계산은 rlm의 기본 공동 scale·튜닝 설정과 같은 절차라고 주장하지 않습니다.Read the psi, weights and scale.est argument definitions. The deriv=0 software contract returns ψ(u)/u. This chapter’s fixed-c location is not claimed identical to rlm’s default scale/tuning procedure.
보고 읽은 뒤 답하기Respond after watching/reading이름이 Huber이면 cutoff·scale·가중치도 전부 같은가요?Does the Huber name imply identical cutoff, scale and weighting?
생각을 점검하는 해설Check your reasoning
아닙니다. 수학적 목적과 소프트웨어 인자·반환 계약을 함께 확인해야 합니다.No. Check the mathematical objective together with argument and return-value contracts.
연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof
먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.
1. 손실이 달라지면 답도 달라진다Different losses, different answers
자료 (0, 1, 2, 10)의 제곱 손실 r²/2 최소점과 절댓값 손실 최소 집합·중간 대표를 구하세요.
For records (0, 1, 2, 10), find the squared-loss minimizer, the absolute-loss minimizing set and its midpoint.
풀이와 확인할 이유Solution and explanation
제곱 손실의 미분은 θ−13/4이므로 유일 해는 3.25입니다. 절댓값 손실은 가운데 두 값 사이 [1, 2]에서 최소이고 중간 대표는 1.5입니다. 같은 자료의 다른 목표·선택 규칙이므로 수치 불일치가 계산 오류를 뜻하지 않습니다.
Squared-loss derivative is θ−13/4, so the unique minimum is 3.25. Absolute loss is minimized throughout [1, 2], with midpoint 1.5. Different targets and selections explain the different answers.
For f(θ)=(θ−2)²+7, find min and argmin on R. What changes on Θ=(2, ∞)?
풀이와 확인할 이유Solution and explanation
R에서는 최솟값은 7, argmin 집합은 {2}입니다. 열린 공간 (2, ∞)에서는 하한 7이지만 달성되지 않아 min은 없고 argmin은 공집합입니다. 함수값과 그 값을 만드는 모수, 하한과 달성을 구별합니다.
On R, the minimum value is seven and argmin is{2}. On the open space, the infimum is seven but unattained, so there is no minimum and the argmin set is empty.
3. 부호 식별의 실패Failure to identify a sign
손실 m(x, θ)=(x−θ²)², Θ=R이고 E[X]=4, E[X²]<∞입니다. 기대 손실의 최소 집합을 구하세요.
For m(x, θ)=(x−θ²)², Θ=R, E[X]=4 and E[X²]<∞, find the population minimizers.
풀이와 확인할 이유Solution and explanation
기대 손실은 Var(X)+(4−θ²)²입니다. θ²=4가 최소라 목표 집합은 {−2, 2}입니다. 한 부호를 식별하려면 비음수 모수공간 같은 추가 가정이 필요합니다.
Expected loss is Var(X)+(4−θ²)². It is minimized by θ=−2 or 2. Choosing one sign needs another assumption, such as a nonnegative space.
4. 적분 가능한 조정 손실An integrable adjusted loss
E|X|이 무한일 수 있습니다. |X−θ|−|X|이 모든 고정 유한 θ에서 적분 가능한 이유와 표본 최소점에 미치는 영향을 설명하세요.
Even if E|X| is infinite, why is |X−θ|−|X| integrable for finite fixed θ? Does subtracting the reference change sample minimizers?
풀이와 확인할 이유Solution and explanation
역삼각부등식으로 차이의 절댓값이 |θ| 이하입니다. 확률측도에서 이 상수는 적분 가능하므로 차이의 기대값은 유한합니다. 표본에서 Σ|xᵢ|는 θ와 무관해 빼도 최소 집합은 바뀌지 않습니다. 무한 기대값끼리 직접 뺀 것과 구별합니다.
The reverse triangle inequality bounds its absolute value by |θ|. Subtracting the parameter-free sum Σ|xᵢ| leaves sample minimizers unchanged. This defines an integrable difference rather than subtracting two infinite expectations.
On [0, 1], define Mₙ(θ)=θ²−2max(0, 1−|θ−aₙ|/rₙ), aₙ=1−1/n, rₙ=1/(3n²), n≥2. Explain pointwise convergence to θ² and inconsistent minimizers.
풀이와 확인할 이유Solution and explanation
고정 θ<1은 결국 움직이는 구간 밖이고 1도 항상 밖입니다. 그래서 각 고정 점에서 차이가 결국 0입니다. 그러나 골짜기 안의 좌우 기울기가 각각 음수·양수라 최소점은 aₙ→1입니다. 극한 최소점 0으로 가지 않습니다. sup 차이는 항상 2이므로 균등 수렴은 실패합니다.
Each fixed point eventually lies outside the moving support, including endpoint one. Yet the left/right slopes inside the well make its center aₙ the unique minimizer, tending to one rather than zero. Supremum objective error stays two.
For Θ=[0, 1], n≥2, Mₙ(θ)=θ²−2θ/n, find the minimizer, supremum error and limit.
풀이와 확인할 이유Solution and explanation
제곱을 완성하면 (θ−1/n)²−1/n²이므로 최소점은 1/n입니다. |Mₙ−θ²|=2θ/n의 sup은 2/n입니다. 균등 오차가 사라지고 최소점도 목표 0으로 갑니다.
Complete the square to obtain (θ−1/n)²−1/n². The minimizer is 1/n; supremum error is 2/n. Both error and minimizer distance to zero vanish.
8. 분리 간격의 범위The range of a separation gap
M(θ)=θ², Θ=[0, 1], θ⋆=0입니다. ε=0.2와 ε=2에서 목표 바깥집합과 분리 조건을 설명하세요.
For θ² on [0, 1] with target zero, describe outside sets and gaps for ε=.2 and ε=2.
풀이와 확인할 이유Solution and explanation
ε=0.2에서는 바깥집합 [0.2, 1]의 최소 손실 차이가 0.04입니다. ε=2에서는 바깥집합이 비어 있어 그런 추정오차 사건은 불가능합니다. 비어 있는 집합의 inf를 확장실수 +∞로 두거나 따로 처리하며 ε²=4를 실제 달성 간격처럼 쓰지 않습니다.
The first outside set is [.2, 1] with gap .04. The second is empty, so that estimation-error event is impossible. Treat the empty infimum as+∞ or separately; do not call four an attained gap.
For Θ=[0, 1], M(θ)=θ², Δₙ=supΘ|Mₙ−M|≤.002, rₙ≤.001 and Mₙ(θ̂ₙ)≤Mₙ(0)+rₙ, give a sufficient bound on|θ̂ₙ|.
풀이와 확인할 이유Solution and explanation
앞 부등식으로 θ̂ₙ²≤0.005입니다. 따라서 |θ̂ₙ|≤√0.005≈0.0707107입니다. 이는 주어진 실제 상계들이 성립하는 상황의 결정적 결론이며, 그 상계의 성립 확률은 별도 정보입니다.
The criterion gap gives θ̂ₙ²≤.005, hence |θ̂ₙ|≤√.005≈.0707107. This is conditional on the stated bounds; their probability is separate information.
11. 콤팩트 공간의 분리 증명Separation on a compact space
콤팩트 Θ, 연속 M, 유일 최소점 θ⋆를 가정합니다. 비어 있지 않은 닫힌 ε-바깥집합에서 분리 간격이 양수인 이유를 설명하세요.
Assume compact Θ, continuous M and unique minimizer θ⋆. Why is the gap positive on a nonempty closed ε-outside set?
풀이와 확인할 이유Solution and explanation
바깥집합은 콤팩트이므로 연속 M이 거기서 최소를 달성합니다. 그 점은 θ⋆가 아니므로 유일성에 의해 M값이 M(θ⋆)보다 큽니다. 그 양의 차이가 공통 간격입니다. 표본 함수의 균등 수렴은 이 논증의 결론이 아닙니다.
The set is compact, so M attains its minimum there. Its minimizer differs from θ⋆, giving a strictly larger value by uniqueness. This proves separation, not uniform convergence of empirical objectives.
12. 작은 gradient와 전역 최적화Small gradients versus global optimization
f(θ)=(θ²−1)²의 θ=0에서 미분과 함수값을 구하세요. 작은 gradient만으로 전역 최적화 오차를 보장할 수 있나요?
For f(θ)=(θ²−1)², find derivative and value at zero. Does a small gradient guarantee a small global gap?
풀이와 확인할 이유Solution and explanation
f′(0)=0이지만 f(0)=1이고 f(±1)=0입니다. 따라서 정확히 0인 gradient도 전역 손실 gap 1을 가질 수 있습니다. 여기서 0은 국소 최대입니다. 근사 argmin 조건에는 함수 gap의 보증이나 추가 볼록 구조가 필요합니다.
The derivative is zero, but f(0)=1 while f(±1)=0. This stationary point is a local maximum with global gap one. An approximate-argmin claim needs a gap guarantee or additional structure such as convexity.
13. score 부호의 고정Fix the score sign
유한 평균 μ=E[X]에서 평가한 ψ=x−θ의 A와 IF=−A⁻¹ψ를 구하세요. 대신 ψ̃=θ−x를 쓰면 어떻게 바뀌나요?
For finite mean μ=E[X], evaluate mean score ψ=x−θ at θ=μ and find A and IF=−A⁻¹ψ. What if ψ̃=θ−x?
풀이와 확인할 이유Solution and explanation
첫 정의는 A=−1이라 IF=x−μ입니다. 두 번째는 Ã=1, ψ̃=μ−x라 −Ã⁻¹ψ̃ 역시 x−μ입니다. score와 미분의 부호를 함께 바꾸면 같은 영향입니다.
The first has A=−1 and IF=x−μ. The second has Ã=1 and ψ̃=μ−x, again giving IF=x−μ. Transform both the function and its derivative.
14. 평균 score의 분모The divisor in a mean score
자료 (0, 1, 2, 10)에서 θ=1일 때 잔차 score 합과 평균을 구하세요. 해에서는 무엇이 0이 되나요?
For (0, 1, 2, 10) and θ=1, compute residual-score sum and average. What is zero at the root?
풀이와 확인할 이유Solution and explanation
잔차는 (−1, 0, 1, 9)라 합은 9, 평균은 9/4입니다. 평균 해 θ=13/4에서는 합과 평균이 모두 0입니다. n을 바꾸면 score 합과 평균의 크기는 달라도 같은 0해를 갖습니다.
Residuals are (−1, 0, 1, 9), sum nine and average 9/4. At θ=13/4, both vanish. A sum and average have different scales but the same zero roots.
15. Huber 손실의 접합Joining Huber pieces
c=1에서 r=0.5, r=3의 Huber 손실과 score를 구하고, r=1에서 두 손실 조각의 값을 비교하세요.
For c=1, find Huber loss and score at r=.5 and r=3. Compare the two loss formulas at r=1.
풀이와 확인할 이유Solution and explanation
r=0.5에서는 손실 1/8, score 1/2입니다. r=3에서는 손실 3−1/2=5/2, score 1입니다. r=1에서는 두 손실식 모두 1/2이고 미분도 1로 일치합니다. 2차 미분까지 같다는 뜻은 아닙니다.
At .5, loss is 1/8 and score 1/2. At three, loss is 5/2 and score one. Both pieces give loss 1/2 and derivative one at the knot, without matching second derivatives.
16. 네 값의 Huber 해A four-record Huber root
자료 (0, 1, 2, 10), 고정 c=1에서 Huber 위치를 풀고, 해에서의 score와 평균 θ미분 A를 구하세요.
For (0, 1, 2, 10), c=1, solve the Huber location and find scores and mean θ-derivative A at the root.
풀이와 확인할 이유Solution and explanation
θ∈[1, 2]의 score 합은 −1+(1−θ)+(2−θ)+1=3−2θ이므로 해는 3/2입니다. score는 (−1, −1/2, 1/2, 1)이고 평균 미분은 −2/4=−1/2입니다. 해가 가정한 조각 안에 있는지도 확인했습니다.
On [1, 2], score sum is 3−2θ, so the root is 3/2. Scores are (−1, −1/2, 1/2, 1), and mean derivative is −1/2. The resulting root lies in the assumed piece.
17. 볼록하지만 평평한 최소 구간A flat minimum despite convexity
자료 (0, 10), c=1의 Huber 최소 집합·중간 대표·그 대표에서의 A를 구하세요.
For records (0, 10), c=1, find the Huber minimizer set, its midpoint and A at that midpoint.
풀이와 확인할 이유Solution and explanation
θ∈[1, 9]의 두 score가 −1, +1로 상쇄되어 그 전체가 최소 집합입니다. 중간 대표는 5이고, 그 근방에서 평균 score가 상수 0이라 A=0입니다. 볼록성만으로 유일성이나 정칙 역미분이 생기지 않습니다.
The scores cancel throughout [1, 9], the complete minimizer set. Its midpoint is five, where the average score is locally zero and A=0. Convexity supplies neither uniqueness nor a regular inverse derivative.
18. 제약 최소는 score 0이 아닐 수 있다A constrained minimum need not have zero score
자료 (−3, −1)의 제곱 손실 위치를 Θ=[0, ∞)에서 최소화합니다. 해와 ψ=x−θ의 평균을 구하세요.
Minimize squared location loss for (−3, −1) over Θ=[0, ∞). Find the solution and average ψ=x−θ.
풀이와 확인할 이유Solution and explanation
무제약 평균은 −2지만 허용되지 않으므로 제약 해는 0입니다. 거기서 평균 score는 −2입니다. 경계 최소에 내부 score=0 필요조건을 적용하지 않습니다.
The unconstrained mean −2 is infeasible, so the constrained solution is zero. Average score there is −2. Interior zero-score conditions do not apply at this boundary.
19. 빈 자료와 상수 자료Empty versus constant records
고정 c=1에서 빈 자료와 자료 (4, 4, 4)의 Huber 위치를 비교하세요. 경험 B=0의 의미도 설명하세요.
For fixed c=1, compare Huber location for empty data and (4, 4, 4). Interpret empirical B=0.
풀이와 확인할 이유Solution and explanation
빈 자료의 평균 손실과 평균 score는 미정의입니다. 비어 있지 않은 상수 자료의 위치는 유일하게 4, score는 모두 0이라 경험 B=0입니다. 이것은 고정 경험분포의 변동이 없다는 계산이지 실제 모집단 분산이 0이라는 증명은 아닙니다.
Empty data have undefined average loss and score. Constant nonempty records have unique location four and empirical B=0. This is a property of the empirical reference, not proof of zero population uncertainty.
20. 방정식 분리에는 노름이 필요하다Equation separation needs a norm
평균 방정식의 모집단 Ψ(θ)=μ−θ에서 “θ가 μ와 다르면 Ψ(θ)>0”을 분리 조건으로 써도 될까요?
For mean equation Ψ(θ)=μ−θ, can separation require Ψ(θ)>0 whenever θ≠μ?
풀이와 확인할 이유Solution and explanation
아닙니다. θ>μ에서는 Ψ가 음수입니다. 대신 |Ψ(θ)|=|θ−μ|이므로 |θ−μ|≥ε인 집합에서 절댓값의 inf가 ε입니다. 벡터 방정식에서도 값의 대소 대신 노름의 분리를 사용합니다.
No. It is negative to the right of μ. Instead|Ψ(θ)|=|θ−μ|, so the absolute-value infimum outside distance ε is ε. Vector equations likewise use a norm.
21. 행렬 전개의 공통 중간점A common intermediate point?
벡터 Ψₙ의 두 점 차이를 하나의 공통 중간점 ξ에서 DΨₙ(ξ)(θ̂−θ⋆)로 항상 쓸 수 있나요? 안전한 공식을 쓰세요.
Can a vector difference always be written DΨₙ(ξ)(θ̂−θ⋆) at one common intermediate ξ? Give a safe formula.
풀이와 확인할 이유Solution and explanation
일반 벡터값 함수에는 그런 공통 중간점이 보장되지 않습니다. 선분에서 연속 미분 가능하면 적분 야코비안을 씁니다.
For A=[[1, 1], [0, 1]], B=I₂, find A⁻¹ and A⁻¹BA⁻ᵀ. Compare using A⁻¹ on the right instead.
풀이와 확인할 이유Solution and explanation
A⁻¹=[[1, −1], [0, 1]]입니다. 올바른 샌드위치는 [[2, −1], [−1, 1]]로 대칭입니다. 잘못된 오른쪽 역행렬을 쓰면 [[1, −2], [0, 1]]로 비대칭이 되어 공분산을 나타내지 못합니다.
The inverse is [[1, −1], [0, 1]]. The correct sandwich is [[2, −1], [−1, 1]]. Using the inverse again gives nonsymmetric [[1, −2], [0, 1]], not a covariance.
첫 B는 특이지만 (v₁+v₂)²≥0인 준정부호라 유효하고 샌드위치는 B 그대로입니다. 둘째 A는 역행렬이 없어 보통 정칙 공식을 쓸 수 없습니다. 의사역행렬 대입이 같은 추론을 자동 정당화하지 않습니다.
The first B is singular PSD and valid; the sandwich equals B. The second A is noninvertible, so the regular inverse formula is unavailable. A pseudoinverse would require separate justification.
27. HC1의 자유도 경계The HC 1 degrees-of-freedom boundary
HC0 분산이 양수라고 가정합니다. n=16, p=2에서 HC1/HC0 분산 비와 SE 비를 구하세요. n=p인 경우도 설명하세요.
Assume positive HC 0 variance. For n=16, p=2, find HC 1/HC 0 variance and SE ratios. What happens at n=p?
풀이와 확인할 이유Solution and explanation
분산 비는 16/14=8/7이고 SE 비는 √(8/7)≈1.069045입니다. n=p이면 분모가 0이라 이 HC1 조정은 정의되지 않습니다. 조정이 가능해도 실제 포함률을 정확히 보장하는 것은 아닙니다.
The variance ratio is 8/7 and SE ratio √(8/7)≈1.069045. At n=p, the adjustment denominator is zero. Defined HC 1 does not itself give exact coverage.
28. 방정식 배율과 IFEquation scaling and influence
A≠0인 정칙 스칼라 방정식에서 ψ를 ψ̃=3ψ로 바꿉니다. A, B, IF와 √n 분산이 어떻게 바뀌는지 쓰세요.
In a regular scalar equation with A≠0, replace ψ by 3ψ. How do A, B, influence and root-n variance change?
풀이와 확인할 이유Solution and explanation
Ã=3A, B̃=9B입니다. IF는 −(3A)⁻¹3ψ=−A⁻¹ψ로 같고 B̃/ò=B/A²입니다. B만 옛 값으로 남기면 잘못된 1/9배 분산을 계산하게 됩니다.
A becomes 3A and B becomes 9B. Influence and B/A² are unchanged. Keeping the old B would incorrectly shrink variance by 1/9.
29. 정규 모형과 잔차 scoreNormality and a residual score
X가 평균 μ, 양의 분산 σ²>0인 정규라고 합시다. ψ=X−μ의 C=−A와 B를 구하세요. 이 score에서 C=B가 항상 성립하나요?
For normal X with mean μ and positive variance σ²>0, find C=−A and B for ψ=X−μ. Must they agree?
풀이와 확인할 이유Solution and explanation
C=1, B=σ²라 σ²=1일 때만 같습니다. 정규 로그우도 score (X−μ)/σ²를 쓰면 C=B=1/σ²입니다. 정보 항등식은 score 정의와 정칙 모형을 함께 사용합니다.
C=1 and B=σ², so equality requires σ²=1. The variance-scaled likelihood score (X−μ)/σ² instead gives C=B=1/σ². Preserve the score definition.
30. 양의 bread라는 용어의 범위The scope of “positive bread”
일반 Z방정식에서 A=[[0, 1], [−1, 0]]입니다. C=−A를 양의 정부호라고 불러도 될까요?
For a general Z-equation A=[[0, 1], [−1, 0]], may C=−A be called positive definite?
풀이와 확인할 이유Solution and explanation
아닙니다. A와 C는 비대칭인 가역 회전 행렬입니다. C라는 부호 변환은 항상 정의할 수 있지만 “양의 bread”라는 말은 적절한 손실 곡률이나 특정 위치 방정식에서만 씁니다. 일반 샌드위치는 A의 비특이성과 B의 준정부호를 사용합니다.
No. It is nonsymmetric and invertible. C is simply a sign convention here; positivity needs additional loss-curvature structure. The general sandwich requires nonsingular A and PSD B.
31. 질량오염에서 전체 확률은 1Total probability under contamination
Pε=(1−ε)P+εδz에서 ε=0.1입니다. 원자료 4개가 각 질량 1/4이었다면 새 질량과 합은 무엇인가요?
For Pε=(1−ε) P+εδz with ε=.1 and four original equal-mass records, find new masses and total.
풀이와 확인할 이유Solution and explanation
각 원자료는 0.9/4=0.225, 새 점은 0.1입니다. 합은 4×0.225+0.1=1입니다. 원자료 질량을 그대로 두고 0.1을 더하면 1.1이 되어 이 혼합 실험과 다릅니다.
Each old mass is .225 and the new point mass .1, total one. Retaining old masses unchanged and adding .1 would give 1.1, a different construction.
32. 평균의 유한 혼합은 정확하다The mean mixture formula is exact
기준 평균 μ=3.25, z=20, ε=0.1입니다. 평균 IF와 혼합 평균·1차 예측을 비교하세요.
For μ=3.25, z=20, ε=.1, compare influence, mixture mean and first-order prediction.
풀이와 확인할 이유Solution and explanation
IF=20−3.25=16.75입니다. μ+εIF=4.925이고 직접 혼합 평균 0.9×3.25+0.1×20도 4.925입니다. 평균은 분포에 선형이라 이 경우 나머지가 정확히 0입니다.
Influence is 16.75. Both μ+εIF and .9μ+.1z equal 4.925. Linearity of the mean makes the finite remainder exactly zero.
33. 한 행의 값 변화와 질량오염Changing a value versus contaminating mass
n=4인 평균에서 한 값만 Δ만큼 바꾸는 변화와, 기준 경험분포에 점 z의 질량 ε를 넣는 변화를 구별하세요.
For a four-record mean, compare changing one value by Δ with adding point-mass contamination ε at z.
풀이와 확인할 이유Solution and explanation
전자는 평균 변화가 Δ/4라 그 값에 대한 도함수는 1/4입니다. 후자는 ε(z−표본평균)이며 질량오염 IF는 z−표본평균입니다. 같은 “한 점 영향”이라는 표현으로 도함수와 IF의 n 척도를 섞지 않습니다.
The first changes the mean by Δ/4, with response derivative 1/4. The second changes it by ε(z−mean), with mass influence z−mean. These perturbations have different n scales.
34. Huber 영향 상한과 분모A Huber bound and its denominator
고정 c=1이고 기준 C=1/2, θ⋆=1.5입니다. z=20과 z=1.75의 IF를 구하세요.
For fixed c=1, C=1/2, θ⋆=1.5, find IF at z=20 and z=1.75.
풀이와 확인할 이유Solution and explanation
z=20의 잔차는 18.5라 score가 1로 잘려 IF=2입니다. z=1.75의 score는 0.25라 IF=0.5입니다. 모든 z에 대한 상한 c/C=2이며, 이는 이 기준에서 C>0이라는 조건을 사용합니다.
The first clipped score is one, giving IF two. The second score is .25, giving IF .5. The absolute bound is c/C=2, using positive C at this reference.
35. C가 작으면 유계 영향도 클 수 있다A small C can give large bounded influence
고정 c=1에서 C=0.5와 C=0.01을 비교하세요. C=0이면 같은 공식이 주는 결론은 무엇인가요?
With c=1, compare C=.5 and C=.01. What about C=0?
풀이와 확인할 이유Solution and explanation
영향 상한은 각각 2와 100입니다. “유계”라는 말이 작은 민감도를 뜻하지는 않습니다. C=0에는 나눗셈을 할 수 없어 정칙 IF 공식이 미정의입니다. 무한대라는 숫자를 자동 정답으로 넣기보다 선형화 실패와 다른 이론 필요를 기록합니다.
Bounds are two and 100. Bounded need not mean small. At C=0, the regular formula is unavailable; record failed linearization rather than automatically inserting infinity as an influence value.
자료 (0, 1, 2, 10), c=1, z=20, ε=0.1입니다. θ∈[1, 2]에서 혼합 방정식을 풀고 IF 예측과 차이를 구하세요.
For (0, 1, 2, 10), c=1, z=20, ε=.1, solve the mixture equation on [1, 2] and compare with the influence prediction.
풀이와 확인할 이유Solution and explanation
기준은 1.5, IF=2라 예측은 1.7입니다. 정확 혼합 방정식은 0.9(3−2θ)/4+0.1=0이라 θ=31/18≈1.722222입니다. 나머지는 1/45≈0.022222입니다. 해가 [1, 2]에 있어 사용한 조각이 정당합니다.
The base is 1.5 and IF two, predicting 1.7. Solving .9(3−2θ)/4+.1=0 gives 31/18≈1.722222. The remainder is 1/45. The root remains inside the assumed piece.
37. 조각 공식의 허용 범위The range of a piecewise formula
앞 식을 직접 주겠습니다: θ(ε)=1.5+2ε/(1−ε), 0≤ε<1입니다. 이 식을 θ∈[1, 2] 조각에서 유도했다면 어떤 ε 범위에서 해가 그 조각 안에 있나요?
Given θ(ε)=1.5+2ε/(1−ε), 0≤ε<1, derived assuming θ∈[1, 2], for which ε is that assumption valid?
풀이와 확인할 이유Solution and explanation
아래 경계는 자동이고 1.5+2ε/(1−ε)≤2를 풀면 ε≤1/5입니다. 따라서 [0, 1/5]에서 해당 조각과 일관됩니다. ε가 더 크면 원 방정식의 다른 조각을 풀어야 하며 같은 식을 기계적으로 외삽하지 않습니다.
The upper inequality gives 2ε≤.5(1−ε), hence ε≤1/5. The valid range is [0, 1/5]. Larger contamination requires another piece of the original equation.
38. 매듭에서 좌우 미분이 다르다Different one-sided knot derivatives
t=0, c=1에서 기준 분포가 X=−1에 1/4, X=0에 1/2, X=2에 1/4를 줍니다. 평균 Huber score의 좌우 미분을 구하세요.
At t=0, c=1, let P(X=−1)=1/4, P(X=0)=1/2, P(X=2)=1/4. Find one-sided derivatives of the mean Huber score.
풀이와 확인할 이유Solution and explanation
엄격 안쪽 질량 pI=1/2, 아래 매듭 p₋=1/4, 위 매듭 p₊=0입니다. 따라서 왼쪽 미분은 −3/4, 오른쪽은 −1/2로 다릅니다. 이 문제는 주어진 t에서의 미분 계산이며, t가 score의 해라고 가정하지 않습니다.
Inside mass is 1/2, lower-knot mass 1/4 and upper-knot mass zero. Left derivative is −3/4; right is −1/2. This computes derivatives at the specified t, without claiming it is a root.
39. 매듭이 있어도 합친 미분은 존재할 수 있다Knots can cancel in the aggregate derivative
기준 분포가 0과 2에 각각 1/2, c=1, t=1입니다. 평균 score의 미분·IF와 √n 샌드위치 계수의 형식값을 계산하세요. 유한 계산과 CLT를 구별하세요.
Put equal mass at 0 and 2, c=1, t=1. Compute the mean-score derivative, formal IF and root-n sandwich coefficient; distinguish this finite calculation from a CLT.
풀이와 확인할 이유Solution and explanation
pI=0이지만 두 매듭 질량이 1/2라 양쪽 미분이 −1/2로 같습니다. score는 −1, +1이고 B=1입니다. 따라서 기준의 오염 IF 형식은 ±2, 샌드위치 계수는 1/(1/2)²=4입니다. 이 경험 기준 미분 계산만으로 이산 모형의 iid 추정량이 같은 정규극한을 갖는다고 증명한 것은 아닙니다.
Both knot masses are 1/2, so both derivatives equal −1/2 despite zero strict-inside mass. Scores are ±1, B=1, giving formal influence ±2 and sandwich coefficient four. This empirical derivative calculation alone does not prove an iid estimator CLT for the discrete model.
40. 위치 단위와 cutoff 변환Location units and cutoff conversion
자료 (0, 1, 2, 10), c=1의 Huber 해는 1.5입니다. x′=1000x+2로 바꿀 때 같은 손실 규칙의 c′와 해를 구하세요.
The Huber root for (0, 1, 2, 10), c=1, is 1.5. Under x′=1000x+2, find equivalent c′ and root.
풀이와 확인할 이유Solution and explanation
양의 배율 1000을 cutoff에도 곱해 c′=1000으로 둡니다. 해는 1000×1.5+2=1502입니다. c′=1로 남기면 다른 벌점 규칙이 되어 단순 단위 변환의 동치가 아닙니다. IF는 1000배, 분산은 1000000배로 변환됩니다.
Use c′=1000 and transformed root 1502. Keeping cutoff one would change the loss rather than only units. Influence scales by 1000 and variance by 1000000.
41. 단위 변환에서 A와 BUnits of A and B under conversion
정칙한 고정 c 위치 방정식에서 x′=s x+a, s>0, c′=s c입니다. A, B, IF·분산이 어떻게 변환되는지 설명하세요.
For a regular fixed-cutoff location equation, use x′=s x+a, s>0, c′=s c. How do A, B, influence and variance transform?
풀이와 확인할 이유Solution and explanation
ψ′(x′, θ′)=sψ(x, θ)이고 θ′=sθ+a이므로 θ′ 미분에서 s가 상쇄되어 A′=A입니다. B′=s²B, IF′=sIF이고 추정량 분산은 s²배입니다. 모든 성분에 같은 단위를 붙이는 것이 아니라 각 정의에서 단위를 계산합니다.
Score scales by s, but differentiation with respect to θ′ cancels that factor, so A′=A. Then B′=s²B, IF′=sIF and estimator variance scales by s². Derive units from definitions.
42. 자료에서 scale을 추정하는 다른 문제Estimated scale is a different problem
고정 c=0.5의 위치 IF를 구했습니다. 다른 소프트웨어가 c=1.345×추정scale을 쓴다면 같은 IF를 그대로 옮겨도 될까요?
You derived location influence with fixed c=.5. Another procedure uses c=1.345 times estimated scale. Can you copy the same influence?
풀이와 확인할 이유Solution and explanation
아닙니다. scale이 자료에 따라 움직이면 오염이 위치와 scale 모두에 영향을 줍니다. 공동 방정식의 야코비안·공분산과 교차항을 유도하거나, scale 추정의 영향이 사라지는 특별 조건을 입증해야 합니다. 숫자 cutoff가 비슷하다는 사실만으로 같은 절차가 아닙니다.
No. Contamination can change both location and scale. Derive the joint equations and cross terms, or prove a condition eliminating scale effects. Similar numeric cutoffs do not establish equivalent procedures.
43. 회귀의 bread와 score 공분산Regression bread and score covariance
z=(1, x)ᵀ, ψ=z(y−zᵀβ), e=y−zᵀβ이고 β는 E[z e]=0인 목표점입니다. E‖z‖²와 E[e²‖z‖²]가 유한하다고 가정합니다. A와 B를 쓰고 이분산에서 B=σ²Ezzᵀ가 자동이 아닌 이유를 설명하세요.
Let z=(1, x)ᵀ, ψ=z(y−zᵀβ), e=y−zᵀβ and evaluate at a target β satisfying E[z e]=0. Assume finite E‖z‖² and E[e²‖z‖²]. Write A and B. Why is B=σ²Ezzᵀ not automatic under heteroskedasticity?
풀이와 확인할 이유Solution and explanation
A=−Ezzᵀ, B=E[e²zzᵀ]입니다. E(e²|z)가 일정한 σ²인 조건이 있으면 B=σ²Ezzᵀ로 단순화할 수 있습니다. 이분산에서는 그 조건부 제곱오차가 z와 함께 달라져 바깥으로 상수를 뺄 수 없습니다. 참 조건부 평균·투영 목표의 차이도 별도 확인합니다.
A=−Ezzᵀ and B=E[e²zzᵀ]. A constant conditional second moment E(e²|z)=σ² permits simplification. Otherwise the weight varies with z. Also distinguish a correctly specified conditional mean from a projection target.
44. OLS 응답 미분과 원행 질량 IFOLS response derivative versus record-mass influence
고정 설계 X가 full column rank이고 n개 행을 가집니다. C=XᵀX/n입니다. 원행 i의 응답 도함수와 경험분포 질량 IF의 관계를 잔차 eᵢ로 쓰세요.
For full-column-rank design X with n rows and C=XᵀX/n, relate the response derivative and empirical mass influence at row i with residual eᵢ.
풀이와 확인할 이유Solution and explanation
응답 도함수는 (XᵀX)⁻¹zᵢ=C⁻¹zᵢ/n입니다. 경험분포 질량 IF는 C⁻¹zᵢeᵢ이므로 응답 도함수의 n eᵢ배입니다. eᵢ=0이면 질량 IF는 0일 수 있어도 응답 도함수는 보통 0이 아닙니다.
The response derivative is C⁻¹zᵢ/n. Mass influence is C⁻¹zᵢeᵢ, or n eᵢ times that derivative. A zero residual can give zero mass influence without a zero response derivative.
45. 완전 복제는 독립 관측 수를 늘리지 않는다Perfect copies do not increase independent information
평균 0, 분산 1인 하나의 Z를 n번 복사해 ψᵢ=Z로 씁니다. n⁻¹ᐟ²Σψᵢ의 분산과 평균 score의 분산을 구하세요.
Copy one mean-zero, variance-one Z into ψᵢ=Z for all n records. Find variances of n⁻¹ᐟ²Σψᵢ and the average score.
풀이와 확인할 이유Solution and explanation
확대한 합은 √n Z라 분산 n이고, 평균은 Z라 분산 1입니다. 독립이라고 잘못 가정하면 각각 1과 1/n을 계산합니다. 실제 상관된 score의 교차 공분산을 생략했기 때문입니다.
The scaled sum is √n Z with variance n; the average is Z with variance one. False independence would give one and 1/n, respectively, by discarding cross-covariances.
46. A=0에서 달라지는 속도A different rate when A=0
iid Xᵢ의 평균이 0이고 √n X̄ₙ→ᴰZ∼N(0, σ²), σ>0입니다. θ̂ₙ³=X̄ₙ의 실수 해에서 맞는 확대 척도와 극한을 구하세요.
For iid Xᵢ with mean zero and √n X̄ₙ→ᴰZ∼N(0, σ²), σ>0, solve θ̂ₙ³=X̄ₙ. Find the correct scale and limit.
풀이와 확인할 이유Solution and explanation
실수 세제곱근은 연속이므로 n¹ᐟ⁶θ̂ₙ=(√n X̄ₙ)¹ᐟ³→ᴰZ¹ᐟ³입니다. √n이 아니라 n¹ᐟ⁶ 척도이며 극한은 일반 정규가 아닙니다. Ψ(θ)=θ³의 A=0이라 역미분 샌드위치를 적용할 수 없습니다.
Continuity of the real cube root gives n¹ᐟ⁶θ̂ₙ→ᴰZ¹ᐟ³. The rate is n⁻¹ᐟ⁶ and the limit is generally nonnormal. The population derivative A=0 prevents regular inverse-sandwich linearization.
47. 점근 정규성과 실제 분산의 구별Weak normality versus actual variance
√n(θ̂−θ⋆)→ᴰN(0, V)라는 정리가 있습니다. 이것만으로 nVar(θ̂)→V를 증명했다고 쓸 수 있나요?
Given √n(θ̂−θ⋆)→ᴰN(0, V), does nVar(θ̂)→V follow automatically?
풀이와 확인할 이유Solution and explanation
아닙니다. 약수렴만으로 모멘트 수렴은 따라오지 않습니다. 균등 적분 가능성 등 추가 모멘트 통제가 필요합니다. 샌드위치가 √n 극한 공분산의 일치 추정치라는 주장과 실제 분산의 점근 동등성은 조건을 나누어 보고합니다.
No. Weak convergence alone does not imply moment convergence. Additional control such as uniform integrability is needed. Distinguish estimating a limiting covariance from proving actual variance equivalence.
48. 강건 SE와 인과 식별Robust SE versus causal identification
선택된 국가의 GDP·기대수명 OLS에 HC1을 붙였습니다. 이것으로 국가 선택·누락 변수·인과효과가 해결되었다고 할 수 있나요?
You attach HC 1 to GDP/life-expectancy OLS for selected countries. Does it repair selection, omitted variables and causal identification?
풀이와 확인할 이유Solution and explanation
아닙니다. HC1은 정해진 score 변동 규칙의 조정입니다. 표집 선택, 독립성, 측정오류, 조건부 평균, 누락 변수와 정책 처치의 인과 식별은 별도 가정·설계 문제입니다. 잘 계산한 SE가 잘못된 목표를 고치지는 않습니다.
No. HC 1 adjusts a covariance rule. Sampling, independence, measurement, conditional means, omitted variables and intervention identification remain separate design/assumption questions.
49. 실제 국가 직선의 단위Units of the actual country line
실제 16국에서 x=실질GDP/명÷10000, y=기간 기대수명 년, 기술 기울기 약 1.739588입니다. x 한 단위와 기울기의 단위를 설명하세요.
For actual sixteen-country x=real GDP/person divided by 10000, y=period life expectancy in years and descriptive slope 1.739588, explain units.
풀이와 확인할 이유Solution and explanation
x 한 단위는 2015년 불변 10000USD/명입니다. 기울기는 그 단위당 기대수명 년입니다. 이 직선이 개인 수명 예측이나 GDP를 10000USD 올리는 처치의 인과효과라는 뜻은 아닙니다.
One x unit is 10000 constant-2015 USD/person. The slope is life-expectancy years per that unit. It is not individual lifespan prediction or an identified GDP-intervention effect.
50. 실제 국가 HC0·HC1 비교Actual country HC 0 and HC 1
실제 국가 n=16, p=2이고 HC0 기울기 분산 약 0.1311800231입니다. HC1과 두 SE를 근사 계산하세요.
For actual n=16, p=2 and HC 0 slope variance .1311800231, approximate HC 1 and both SEs.
풀이와 확인할 이유Solution and explanation
HC1은 8/7배인 약 0.1499200264입니다. 제곱근은 HC0 약 0.36218783, HC1 약 0.38719508입니다. 계수는 같은 OLS 값이며, 분산 규칙만 바꾸었습니다.
Multiply by 8/7 to obtain .1499200264. SEs are approximately .36218783 and .38719508. OLS coefficients stay the same; only covariance conventions differ.
51. 절편과 기울기 공분산의 단위Units in intercept/slope covariance
절편이 기대수명 년, 기울기가 기대수명 년/GDP단위입니다. 2×2 공분산의 대각·비대각 칸 단위를 쓰세요.
The intercept is in years and slope in years per GDP unit. State diagonal and cross-covariance units.
풀이와 확인할 이유Solution and explanation
절편 분산은 년², 기울기 분산은 년²/GDP단위², 교차 공분산은 년²/GDP단위입니다. 모든 칸에 같은 단위를 붙이지 않습니다. 표준오차는 각 대각 분산 단위의 제곱근입니다.
Intercept variance is years²; slope variance years²/GDP-unit²; cross covariance years²/GDP-unit. Entries do not all have one common unit. SE units are square roots of diagonal units.
52. 실제 원행의 두 민감도 수치Two sensitivities for an actual row
선택 국가의 잔차가 약 −0.61574922, n=16이고 기울기 응답 도함수가 약 0.0356966343입니다. 경험 질량 IF를 계산하세요.
For a selected country, e≈−.61574922, n=16 and slope response derivative≈.0356966343, calculate empirical mass influence.
풀이와 확인할 이유Solution and explanation
관계 IFᵢ=n eᵢ×응답도함수를 쓰면 16×(−0.61574922)×0.0356966343≈−0.351682795입니다. 응답 도함수의 양수와 질량 IF의 음수가 모순되지 않습니다. 잔차가 음수이기 때문입니다.
Multiply n times residual times response derivative: approximately −.351682795. Positive response sensitivity and negative mass influence are compatible because the residual is negative.
53. 실제 로그임금의 C와 영향 상한Actual log-wage C and influence bound
가용 로그임금 n=3010, 고정 c=1/2, 엄격 안쪽 2240개·매듭 0개입니다. C, A, Huber 영향 상한을 정확히 구하세요.
For 3010 available logs, fixed c=1/2, 2240 strict-inside values and no knots, find exact C, A and the influence bound.
풀이와 확인할 이유Solution and explanation
C=2240/3010=32/43, A=−32/43입니다. 상한은 (1/2)/(32/43)=43/64입니다. 원 3613행 중 결측 603개는 0임금이 아니며 여기의 분모는 가용 3010입니다.
C=32/43, A=−32/43 and bound c/C=43/64. The 603 unavailable rows among 3613 source rows are not zero wages; the available denominator here is 3010.
54. 유계 IF와 분산 순위Bounded IF and variance ordering
실제 로그임금의 평균 HC0 분산은 약 0.0000654123, 고정 c Huber 분산은 약 0.0000695938입니다. 유계 IF이면 더 작은 분산이라는 주장과 비교하세요.
Actual mean HC 0 variance is .0000654123 and fixed-c Huber variance .0000695938. Assess “bounded IF always means smaller variance.”
풀이와 확인할 이유Solution and explanation
이 기준에서는 Huber 분산이 더 큽니다. 유계 오염 민감도와 반복 변동의 크기는 다른 성질이며 목표도 다를 수 있습니다. 어느 규칙이 항상 우월하다고 하지 말고 손실·민감도·효율·목표의 절충을 설명합니다.
Huber variance is larger in this reference. Local contamination sensitivity and repeated variance differ, and targets may differ too. Report trade-offs rather than universal superiority.
55. 실제 보관 시나리오의 1차 예측First-order prediction for a stored actual scenario
기준 로그 Huber θ=140480944129/22400000000, c=1/2, C=32/43, z=4, ε=1/1000입니다. IF와 1차 위치를 구하세요.
Use reference log-Huber θ=140480944129/22400000000, c=1/2, C=32/43, z=4 and ε=1/1000. Find influence and predicted location.
풀이와 확인할 이유Solution and explanation
z−θ<−1/2라 score는 −1/2입니다. IF=−43/64이고 1차 위치는 다음과 같습니다. 원자료 재계산 위치 약 6.2707984594와는 약 −3.85645×10⁻⁷의 나머지가 남습니다.
The clipped score is −1/2, so IF=−43/64. The prediction is below. Source recomputation gives approximately 6.2707984594, leaving remainder −3.85645×10⁻⁷.
56. 실제 고객의 확률과 logitActual customer probability and logit
실제 이탈 495/3150에서 p̂와 logit을 구하고 각각의 목표를 설명하세요.
For 495 churn events among 3150 records, find p̂ and its logit and explain their targets.
풀이와 확인할 이유Solution and explanation
p̂=11/70≈0.157142857이고 η̂=log(11/59)≈−1.679642171입니다. 전자는 경험 이탈 비율, 후자는 그 비율의 log odds입니다. 숫자의 척도·정의역이 다르므로 η를 확률이라고 부르지 않습니다.
p̂=11/70≈.157142857 and η̂=log(11/59)≈−1.679642171. The first is an empirical proportion; the second is its log odds, not a probability.
57. 이진 자료의 B=C 항등식The binary identity B=C
n≥1인 0/1 자료에서 p̂=Σyᵢ/n입니다. n⁻¹Σ(yᵢ−p̂)²=p̂(1−p̂)를 증명하고, 이것이 독립성 검정인지 답하세요.
For n≥1 binary records and p̂=Σyᵢ/n, prove n⁻¹Σ(yᵢ−p̂)²=p̂(1−p̂). Is it an independence test?
풀이와 확인할 이유Solution and explanation
yᵢ²=yᵢ를 이용해 제곱을 전개합니다. 독립성 없이 고정 자료에서 성립하는 항등식이므로 독립성 검정이 아닙니다.
Pn(y−p^)2=Pny2−2p^Pny+p^2=p^−p^2.
Use yᵢ²=yᵢ. This fixed-data identity needs no independence and therefore cannot test it.
Pn(y−p^)2=Pny2−2p^Pny+p^2=p^−p^2.
58. 실제 고객 두 좌표의 IFActual customer influence in two coordinates
고정 기준 p=11/70입니다. y=0과 y=1에서 확률 IF=y−p와 logit IF=(y−p)/[p(1−p)]를 구하세요.
At fixed p=11/70, find probability IF=y−p and logit IF=(y−p)/[p(1−p)] for y=0 and 1.
풀이와 확인할 이유Solution and explanation
확률 IF는 각각 −11/70, 59/70입니다. C=p(1−p)=649/4900으로 나누면 logit IF는 −70/59, 70/11입니다. 같은 관측이라도 모수 좌표가 바뀌면 민감도 숫자가 달라집니다.
Probability influences are −11/70 and 59/70. Dividing by 649/4900 gives logit influences −70/59 and 70/11. A parameter-coordinate change alters sensitivity.
59. 전부 0인 logit 표본All-zero observations in a logit fit
n≥1의 이진 관측이 모두 0입니다. 닫힌 p∈[0, 1] 공간의 MLE와 유한 η∈R의 방정식 해를 구별하세요.
For n≥1 all-zero binary observations, distinguish the MLE on p∈[0, 1] from a finite η∈R score root.
풀이와 확인할 이유Solution and explanation
확률 MLE는 p=0입니다. 그러나 p(η)=exp(η)/(1+exp(η))는 모든 유한 η에서 양수여서 평균 score=−p(η)는 0이 아닙니다. η→−∞에서 우도 상한에 접근할 뿐 유한 해는 없습니다. p=0을 유한 logit 추정값이나 정칙 내부 역정보로 바꾸지 않습니다.
The probability MLE is zero. Every finite logit has positive p(η), so average score −p(η) is not zero. The supremum is approached as η→−∞, with no finite logit solution. Do not apply an interior inverse-information formula at this boundary.
60. 재현 가능한 M추정 보고서A reproducible M-estimation report
M추정 결과를 보고할 때 목표·계산·불확실성·실제 자료의 한계를 구분한 짧은 체크 문장을 작성하세요.
Write short reporting checks separating target, calculation, uncertainty and actual-data limitations.
풀이와 확인할 이유Solution and explanation
손실·모수공간·목표를 적고 해의 존재·선택·수치 허용오차를 기록합니다. 원행·유효 분모·단위와 고정 cutoff/scale 추정 여부를 보존합니다. A=E∂ψ인지 C=−A인지, B의 중심화·분모, 마지막 /n과 자유도 조정을 명시합니다.
일치성·CLT·미분·비특이·의존 조건과 실제 자료에서 확인되지 않은 가정을 구분합니다. 기술 적합·가정 질량오염·점근 SE·인과 해석을 한 문장에 섞지 않습니다.
State loss, space, target, solution existence/selection and numerical tolerance. Preserve source rows, available denominators, units and fixed-cutoff versus estimated-scale choices. Define A versus C, B centering/divisor, final division by n and degrees-of-freedom adjustments.
Separate consistency, CLT, differentiability, nonsingularity and dependence assumptions from what actual data establish. Keep descriptive fits, hypothetical contamination, asymptotic SEs and causal interpretation distinct.
자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.