인과 머신러닝·표현과 분포 강건성Causal ML, representations and distributional robustness
두 잠재 결과의 질문에서 실제 교차 적합·표현 비교·경험 재비중까지From two potential outcomes to factual cross-fitting, representation comparisons and empirical reweighting
실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions
학부Undergraduate
같은 사람의 두 결과는 동시에 보이지 않는다Two outcomes for the same person are not jointly observed
취업 교육을 받은 사람의 소득이 높았다면 교육이 소득을 올렸다고 말해도 될까요? 그 사람의 교육을 받지 않았을 때 소득을 함께 알아야 비교할 수 있습니다. 실제로는 같은 사람을 같은 시점·같은 환경에서 교육을 받음과 받지 않음으로 동시에 관측할 수 없습니다. 이 빠진 비교가 예측 문제와 인과 문제를 가릅니다.
처치 여부를 A라고 쓰고, 교육을 받지 않을 때 결과를 Y(0),받을 때 결과를 Y(1)이라고 씁니다. 이 둘은 잠재 결과입니다. “잠재”는 막연한 상상이 아니라 어떤 개입을 비교하는지 정해 놓은 수학적 대상이라는 뜻입니다. 실제로 관측한 결과 Y는 실행된 처치에 대응하는 한쪽입니다.
Y=AY(1)+(1−A)Y(0),τ=Y(1)−Y(0)
설명용으로 두 결과를 모두 정한 가상 두 단위
가상 단위
Y(0)
Y(1)
A
관측 Y
효과
u0
0
1
0
0
1
u1
2
3
1
3
1
표는 계산을 배우기 위해 두 잠재 결과를 모두 정한 가상 예제입니다. 두 단위의 효과는 각각 1이고 평균도 1입니다. 그러나 관측 자료만으로 처치 집단 평균 3에서 비교 집단 평균 0을 빼면 3입니다. 같은 표에서 1과 3이 함께 나오는 이유는 계산이 틀려서가 아니라 비교 대상이 다르기 때문입니다.
실제 NSW나 점포 자료에는 이 표처럼 양쪽 잠재 결과가 들어 있지 않습니다. 이후 실제 사례에서 예측한 두 회귀값을 볼 수는 있지만, 그 두 값이 실제로 관측된 Y(0),Y(1)로 바뀌는 것은 아닙니다. 표와 그림에서 관측값·모형 예측·가상으로 지정한 값을 구분하겠습니다.
If people receiving job training have higher earnings, did training raise their earnings? We would need the same people’s earnings without training for that comparison. The same person cannot be observed at the same time and in the same circumstances both receiving and not receiving the intervention. This missing comparison separates a causal question from an ordinary prediction task.
Write treatment as A, the outcome without treatment as Y(0), and the outcome with treatment as Y(1). These potential outcomes refer to specified interventions. The observed outcome Y reveals the side corresponding to the treatment actually received.
Y=AY(1)+(1−A)Y(0),τ=Y(1)−Y(0)
Constructed two-unit example with both potential outcomes supplied
Toy unit
Y(0)
Y(1)
A
Observed Y
Effect
u0
0
1
0
0
1
u1
2
3
1
3
1
This is a constructed example in which both potential outcomes are known by definition. Each effect is one, so the average is one. Yet the observed treated mean three minus the control mean zero is three. Both calculations are correct for different comparisons.
The factual NSW and store sources do not provide both potential outcomes in this way. Later we can compute two fitted outcome regressions, but fitted values do not become observed Y(0) and Y(1). Keep observations, predictions and constructed values distinct in every table and figure.
학부Undergraduate
ATE·ATT·조건부 효과와 관측 차이ATE, ATT, conditional effects and observed differences
“평균 효과”를 말하려면 누구를 평균내는지 먼저 정해야 합니다. 모든 대상의 평균인 ATE와 실제 처치 집단의 평균인 ATT는 서로 다른 질문입니다. 특정 특징 X=x를 가진 집단의 평균을 CATE라고 부릅니다. 사람 한 명의 정확한 효과와 같은 특징 집단의 평균도 다릅니다.
이번 절에서는 S1과 다른 가상 예제를 쓰겠습니다. 첫 단위의 효과는 1,둘째 단위의 효과는 3이며 실제 처치는 첫째 0,둘째 1입니다. 두 단위를 같은 비중으로 보면 ATE는 2이고 ATT는 3입니다. 둘째 단위를 많이 포함하는 모집단으로 옮기면 ATE도 바뀔 수 있습니다.
ATE=E[τ],ATT=E[τ∣A=1],CATE(x)=E[τ∣X=x]
가상 모집단 비중을 첫째 3,둘째 1로 바꾸면 ATE는 (3×1+1×3)/4=3/2입니다. 비중의 합을 분모에 쓰는 이유는 같은 모집단 비율을 3:1이나 30:10으로 적어도 평균이 같아야 하기 때문입니다. ATT는 여전히 처치를 받은 둘째 단위의 효과 3입니다.
이 장의 실제 기본 비교에서는 분석 비중 1을 씁니다. 그 비중이 모든 미래 국가나 고객을 대표하는 인구 비율이라는 뜻은 아닙니다. 실제 분석에서는 모집단,선정 과정,처치 집단,관측 결측을 따로 적어야 “어떤 평균”을 계산했는지 전달할 수 있습니다.
Specify whose average is meant before reporting an average effect. ATE averages over the target population; ATT averages over those treated. CATE averages within a feature-defined population. An average for people with the same features is not an observed individual effect.
Use a separate constructed example from section one: effects are one and three, and the realized treatments are zero and one. Equal population weights give ATE two and ATT three. Changing the target population’s composition can change ATE.
ATE=E[τ],ATT=E[τ∣A=1],CATE(x)=E[τ∣X=x]
With hypothetical population weights three and one, ATE becomes three-halves. Dividing by total weight makes the answer invariant to describing the same proportions as three-to-one or thirty-to-ten. ATT remains the second unit’s effect, three.
The factual baseline here uses unit analysis weights. They do not automatically represent every future country or customer. State the target population, selection process, treated group and missingness to communicate which average is being computed.
학부Undergraduate
일관성·간섭·잘 정의한 처치Consistency, interference and a well-defined intervention
처치 A=1이라는 말이 무엇을 뜻하는지 모호하면 잠재 결과도 모호합니다. 교육은 몇 시간,어떤 내용,어떤 시점의 교육인가요? 임금 정책은 어느 지역의 어떤 변경인가요? GDP가 높은 나라라는 분류와 GDP를 바꾸는 구체적 정책은 같은 개입이 아닙니다. 단순한 열 이름만으로 인과 질문이 완성되지 않습니다.
일관성은 어떤 사람이 지정한 처치 a를 실제로 받았을 때 관측 결과가 그 처치의 잠재 결과 Y(a)와 같다는 연결입니다. 같은 숫자 1 아래에 효과가 다른 여러 처치 버전을 섞거나,라벨 시점이 맞지 않으면 그 연결을 다시 검토해야 합니다. 실제 열에 1이 있다는 사실만으로 연결이 증명되는 것은 아닙니다.
간섭도 생각해 보세요. 한 점포의 임금 정책이 이웃 점포의 고용이나 고객 이동에 영향을 줄 수 있습니다. 개인별 표를 만들었다고 결과가 자기 자신의 A에만 달리는 것은 아닙니다. 간섭이 있으면 Y_i(a_i) 대신 다른 단위의 배정까지 포함하는 잠재 결과를 정의해야 할 수 있습니다.
Yi=Yi(Ai)requires a suitable consistency/no-interference setup
NJPA 점포가 수백 행이라는 이유로 정책 배정 단위도 수백 개라고 말하지 않습니다. 처치 정책은 두 주 수준에서 달랐고 점포 사이의 공통 충격·의존 문제가 남습니다. 이 장은 점포 원행과 정책 단위를 구분하여 계산하며,행 수만으로 상태 수준 추론의 타당성을 선언하지 않습니다.
Potential outcomes are ambiguous when treatment itself is ambiguous. How many hours of which training, at what time? Which wage-policy change in which location? Being classified as a high-GDP country differs from an intervention that changes GDP through a specified policy. A column name alone does not define a causal question.
Consistency links a realized treatment a to its potential outcome: the observed outcome equals Y(a). Different treatment versions hidden under the same label, or misaligned timing, can undermine that link. A recorded one does not prove the substantive connection.
Interference matters too. A store’s wage policy can affect employment or customer movement at neighboring stores. One row per individual does not establish that the outcome depends only on that row’s own treatment. Potential outcomes may need to include other units’ assignments.
Yi=Yi(Ai)requires a suitable consistency/no-interference setup
Hundreds of NJPA store rows do not imply hundreds of independently assigned policies. The policy differs at the level of two states, leaving common shocks and dependence concerns. Distinguish store records from policy-assignment units rather than declaring valid state-level inference from the row count.
학부Undergraduate
교란을 설명하는 두 집단 사례A two-group explanation of confounding
교육 참여에 영향을 주는 준비 상태 U가 소득에도 영향을 준다고 가정해 봅시다. 참여 집단과 비참여 집단을 바로 비교하면 교육의 효과뿐 아니라 U의 구성 차이도 함께 비교할 수 있습니다. U가 교육보다 먼저 측정되었다는 시간 순서와,무엇이 실제 교란인지에 대한 내용 지식이 중요합니다.
아래는 알려진 가상 확률 법칙입니다. 두 U집단은 각각 확률 1/2이고 잠재 결과는 (0,1)과 (2,3)입니다. 준비 상태가 높은 집단은 처치 확률 3/4,낮은 집단은 1/4입니다. 두 집단에서 처치 효과는 모두 1이므로 ATE는 1입니다.
가상 선택 법칙 · 실제 관측 자료가 아님
U
모집단 확률
Y(0)
Y(1)
e(U)
낮음
1/2
0
1
1/4
높음
1/2
2
3
3/4
처치 집단에는 높은 U가 더 많이 섞입니다. 처치 집단 평균은 (1/2×1/4×1+1/2×3/4×3)/(1/2)=5/2입니다. 비교 집단 평균은 (1/2×3/4×0+1/2×1/4×2)/(1/2)=1/2입니다. 관측 차이는 2로 참 평균 효과 1보다 큽니다.
여기서는 U를 알고 법칙을 지정했으므로 구성을 정확히 풀어볼 수 있습니다. 실제 자료에서는 모든 교란을 측정했는지 바로 확인할 수 없는 경우가 많습니다. 이후 표현을 상수로 뭉갤 때 이 가상 U정보가 사라지는 실험을 다시 하겠습니다. 관측 위험 예측을 잘하는 압축이 인과 비교에도 필요한 정보를 보존하는지는 별도 질문입니다.
Suppose pre-treatment preparation U affects both training participation and earnings. A raw treated-control comparison can combine treatment effects with differences in U composition. Temporal ordering and substantive knowledge help decide what is a confounder.
The table specifies a known hypothetical probability law. Two U groups each have probability one-half and potential outcomes (zero, one) and (two, three). Treatment probabilities are one-quarter for the low group and three-quarters for the high group. Effects equal one in both groups, so ATE is one.
Constructed assignment law, not factual observations
U
Population probability
Y(0)
Y(1)
e(U)
Low
1/2
0
1
1/4
High
1/2
2
3
3/4
The treated group overrepresents high U. Its outcome mean is five-halves, whereas the control mean is one-half. The observed difference is two, exceeding the true average effect of one. Calculate each mean by weighting the observed arm probabilities before normalizing.
Here U and the assignment law are known by construction. In factual applications, whether all confounders were measured is often not directly verifiable. Later we will erase U by mapping both groups to one constant representation. Preserving information for observed-risk prediction and preserving information for causal adjustment are distinct tasks.
학부 심화 · 선택Advanced undergraduate · optional
교환가능성과 양성의 역할The roles of conditional exchangeability and overlap
관측 결과로 평균 잠재 결과를 연결하는 한 방법은 세 조건을 분명히 두는 것입니다. 먼저 지정한 처치와 결과의 일관성,다음으로 측정한 처치 전 X를 고정하면 처치 선택이 잠재 결과와 독립이라는 조건부 교환가능성,마지막으로 대상 X에서 두 처치를 관측할 가능성이 모두 양수라는 양성 조건입니다. 첫 절댓값 모멘트가 유한하다는 평균의 존재 조건도 필요합니다.
(Y(0),Y(1))⊥A∣X,0<e(X)=P(A=1∣X)<1
이때 a=0또는 1에 대해 다음 연결을 합니다. 첫 등호는 평균을 X집단으로 나누어 합치는 법칙입니다. 둘째는 조건부 교환가능성,셋째는 일관성을 사용합니다. 양성 조건이 있어야 관측되지 않는 처치 집단의 평균을 관측값에서 읽겠다는 공백이 생기지 않습니다.
이 장의 국가 A는 2023년 GDP가 정한 기준보다 높은지의 분류입니다. X에 GDP자체를 넣으면 A가 그 X의 결정적 함수이므로 참 처치 확률은 0또는 1입니다. 예측 확률을 0.05~0.95로 자른다고 존재하지 않던 비교 나라가 생기거나 GDP개입이 잘 정의되는 것은 아닙니다.
여기서 “조건부 교환가능성”은 인과 질문의 잠재 결과와 처치 사이 조건입니다. 앞 장 Conformal의 자료 순열에 대한 공동 교환가능성과 같은 조건이라고 섞어 쓰지 마세요. 서로 다른 정리에 필요한 가정을 각각 적어야 합니다. 식별에 필요한 양성과,안정적인 추론을 위한 0에서 떨어진 균일 경계도 구분하겠습니다.
One route from factual outcomes to average potential outcomes states three substantive conditions: consistency for the specified intervention, conditional exchangeability given pre-treatment X, and positive probability of both treatments on the target support. Finite first absolute moments are also needed for the averages to exist.
(Y(0),Y(1))⊥A∣X,0<e(X)=P(A=1∣X)<1
For either treatment a, the first equality below averages over X. The second uses conditional exchangeability, and the third uses consistency. Overlap prevents the argument from requiring an observed treatment-arm mean where that arm is never observed.
Our country A classifies whether pre-outcome GDP exceeds a declared threshold. Given GDP itself, A is deterministic, so the true assignment probability is zero or one. Clipping fitted probabilities between 0.05 and 0.95 creates neither absent comparison countries nor a well-defined GDP intervention.
Causal conditional exchangeability concerns potential outcomes and treatment. It differs from the joint permutation exchangeability used for conformal scores in the preceding chapter. State the conditions of each theorem separately. Overlap for identification also differs from the stronger uniform bounds useful for stable inference.
학부Undergraduate
관측 예측이 완벽해도 효과는 모를 수 있다Perfect factual prediction can coexist with unknown effects
모형을 더 크게 만들면 인과 문제가 모두 해결될까요? 작은 반례를 보겠습니다. 실제로 보이는 것은 첫 단위 A=0,Y=0과 둘째 단위 A=1,Y=3뿐입니다. 이 두 관측값을 완벽하게 예측하는 함수는 관측 제곱 손실이 0입니다. 그러나 보이지 않는 두 잠재 결과를 바꾸어도 그 관측 손실은 달라지지 않습니다.
관측값은 같고 잠재 효과는 다른 두 가상 세계
세계
첫 단위 Y(0),Y(1)
둘째 단위 Y(0),Y(1)
같은 관측값
ATE
I
0,1
2,3
0과 3
1
II
0,4
0,3
0과 3
7/2
모든 잠재 결과는 [0,4]에 있는데도 두 세계의 ATE는 1과 3.5로 다릅니다. 관측값만 보고 이 둘을 가르는 추가 정보가 없으면,완벽한 예측 성적이 참 효과를 고르는 검증 기준이 되지 못합니다. 실제 개인의 빠진 결과를 정답 라벨처럼 만들어 평가하는 것도 그 추가 정보를 만들어내지 못합니다.
이것은 인과 추정이 언제나 불가능하다는 결론이 아닙니다. 무작위 배정,정당한 식별 가정,자연 실험,추가 측정 등이 관측 가능성과 목표의 연결을 도와줄 수 있습니다. 그 연결을 먼저 적은 뒤 ML을 보조 함수 추정에 쓰는 것이 다음 절들의 역할입니다.
실무에서는 시험 y예측의 개선,전체 평균 효과의 식별,개인별 효과의 정확도를 각각 다른 문장으로 보고하세요. 하나의 좋은 숫자를 세 주장 전체의 증거로 늘리지 않는 습관이 필요합니다.
Can a larger prediction model solve every causal problem? Consider factual observations A zero with Y zero for the first unit and A one with Y three for the second. A predictor can fit both perfectly and have zero factual squared loss. Changing the two unobserved potential outcomes leaves that factual loss unchanged.
Two constructed worlds with identical factual observations
World
First unit Y(0),Y(1)
Second unit Y(0),Y(1)
Same observed outcomes
ATE
I
0,1
2,3
0 and 3
1
II
0,4
0,3
0 and 3
7/2
Even with every potential outcome inside [0,4], ATE differs between one and three-and-a-half. Without additional information distinguishing the worlds, perfect factual prediction cannot select the true effect. Filling in missing counterfactuals and treating them as observed evaluation labels does not create that information.
This does not imply causal estimation is always impossible. Random assignment, justified identification assumptions, natural experiments and additional measurements can connect observables to a target. Establish that connection before using ML to estimate auxiliary functions.
In practice report improvements in factual prediction, identification of an average effect and accuracy of individual effects as different claims. One attractive performance number cannot support all three.
학부Undergraduate
알려진 가상 잠재 결과로 계산 연습하기Practice with explicitly known hypothetical potential outcomes
첫 실습은 두 잠재 결과를 계산 연습을 위해 지정한 가상 자료입니다. Y(0),Y(1),실제 배정 a와 모집단 비중을 바꾸어 ATE·ATT·관측 평균 차이를 비교합니다. 실제 원자료에 없는 잠재 결과를 찾아냈다고 해석하지 마세요.
먼저 S1의 두 행을 넣고 ATE=1,관측 차이=3을 확인합니다. 다음 독립 실험에서는 둘째 행의 Y(1)을 5로 바꾸어 ATE=2,ATT=3,관측 차이=5를 확인하세요. 마지막으로 둘째 Y(1)을 다시 3으로 되돌린 뒤 비중을 바꾸면 효과가 두 행 모두 1인 상태에서는 ATE가 계속 1입니다. 같은 실습에서 바뀐 값을 남겨 두지 않도록 단계별 초기화를 적었습니다.
τknown=∑iwi∑iwi{Yi(1)−Yi(0)}
잠재 결과 한쪽을 null로 비워 보면 알려진 전체 효과의 완전 행 분모가 달라집니다. 반면 실제 배정에 대응하는 관측값은 여전히 남아 관측 평균 비교에는 쓸 수 있을 수 있습니다. 서로 다른 분모를 같은 자료 전체 효과라고 부르지 않도록 적격 행을 함께 보세요. 비중 0이나 결측을 실제 효과 0으로 바꾸지 않습니다.
This first lab uses constructed potential outcomes supplied for practice. Change Y(0), Y(1), realized assignment a and population weights to compare ATE, ATT and the observed mean difference. It does not recover missing factual counterfactuals.
Start from section one’s two rows: ATE is one and the observed contrast three. In a separate experiment change the second Y(1) to five, giving ATE two, ATT three and observed contrast five. Restore that Y(1) to three before changing weights; with both individual effects equal to one, ATE remains one. These resets avoid carrying a previous modification into the next experiment.
τknown=∑iwi∑iwi{Yi(1)−Yi(0)}
Set one potential outcome to null to inspect how the complete-potential-outcome denominator changes. The outcome corresponding to the realized assignment may still be available for an observed-arm comparison. These are different frames, so inspect eligibility as well as averages. Missingness or zero weight does not imply an individual effect of zero.
학부Undergraduate
실제 자료·알려진 법칙·적용 가정을 구분하기Separate factual sources, known laws and application assumptions
이 장에는 실제 자료 세 사례가 있습니다. 국가 사례는 보존된 WDI의 16개국·2023년 특징·2024년 GDP성장률입니다. 높은 GDP분류를 처치 열처럼 써서 계산할 수는 있지만,그 분류를 정책 개입의 인과효과라고 부를 수 없는 이유를 검토합니다. 수정 빈티지의 회고적 자료라는 점도 남습니다.
개인 사례는 원 NSW자료 38408행 중 실험 표본에 속한 722명의 1978년 실질 소득입니다. 원 처리 집단 297명과 비교 집단 425명을 모두 유지합니다. 실험 외 자료의 처치 결측은 0으로 고치지 않고 원자료에 보존합니다. 이 장의 e는 교차 적합으로 추정한 값이며 출처가 제공한 정확한 배정 확률이라고 주장하지 않습니다.
기업 사례는 원 NJPA점포 410행입니다. FTE를 계산하는 두 파동의 원 구성 변수를 모두 관측한 384행에서 변화량을 분석하며,나머지 26행도 원 변수와 결측 이유를 유지합니다. 같은 원 SHEET407을 가진 두 행은 별도 분석 ID로 보존하고 보수적으로 같은 fold에 둡니다. 이것이 실제로 같은 점포라는 식별 증거는 아닙니다.
계산 자료와 아직 필요한 주장
대상
계산에서 확인할 것
자동으로 나오지 않는 것
국가
원 단위·분류·성장률·밖 점수
GDP정책 개입의 정의·식별
개인
실험 표본·원 실질 소득·밖 점수
알려진 배정 확률·누락 없는 일반화
점포
FTE쌍·원 키·주 배정·변화
두 주를 넘는 독립 정책 표본·유효 추론
이처럼 실제 원자료의 재현은 필요한 출발점입니다. 가상 법칙에서의 정확 기대값 검산,실제 표의 경험 계산,미래·정책 적용을 위한 조건은 서로 다른 종류의 근거입니다. 다음부터는 이 구분을 유지하며 성향 점수·결과 회귀·AIPW를 한 항씩 만들어 보겠습니다.
Three factual cases accompany the constructed laws. Countries use sixteen retained WDI countries, 2023 features and 2024 GDP growth. A high-GDP category can be passed to an algebraic treatment column, but that does not define an identified policy intervention. The revised-vintage snapshot is retrospective.
People use all 722 experimental participants among 38408 native NSW rows, with 1978 real earnings and 297 treated versus 425 controls. Missing treatment outside the experimental source is preserved rather than recoded zero. Our e is estimated by cross-fitting, not asserted to be an exact assignment probability supplied by the source.
Companies use 410 native NJPA store records. Analyze FTE changes for 384 complete pairs while preserving the other 26 records and missing-component reasons. Two source rows sharing SHEET407 retain distinct analytical identities and conservatively share a fold; this does not establish that they identify the same physical store.
Computed sources and remaining claims
Case
Check in computation
Not automatically established
Countries
Native units, category, growth and held-out scores
Definition and identification of a GDP intervention
People
Experimental subset, native earnings and held-out scores
Known assignment probabilities or unrestricted transport
Stores
FTE pairs, source keys, state assignment and changes
Independent policy units beyond two states or valid inference
Reproducing factual sources is a necessary starting point. Exact expectations under a constructed law, empirical calculations on a factual table and assumptions for future or policy use are different forms of evidence. Keep that distinction while constructing propensity scores, outcome regressions and AIPW term by term.
학부Undergraduate
성향 점수와 역확률 비중Propensity scores and inverse-probability weights
성향 점수 e(X)는 같은 처치 전 특징 X를 가진 대상이 처치될 확률입니다. 결과가 좋을 확률도 아니고,정책이 유익할 확률도 아닙니다. 처치 선택의 구성을 다루는 보조 함수입니다. e=1/4인 집단에서 처치된 관측에 4의 비중을 주는 직관은 드물게 관측한 처치 사례가 원 대상 집단을 대표하도록 재구성한다는 것입니다.
참 성향 점수를 알고 식별 조건이 성립하면 다음 계산을 합니다. A=1일 확률 e(X)가 관측된 처치 결과를 나누는 분모와 약분됩니다. 비교 집단에는 1−e(X)를 사용합니다. 여기서 역확률 비중이 원 모집단의 표본 비중과 자동으로 같은 열이라는 뜻은 아닙니다.
e가 작으면 처치 관측 하나의 비중이 커집니다. 조건에 맞춰 표본 평균을 계산할 수 있다는 사실과 그 평균의 변동이 작다는 사실은 다릅니다. 가중치가 커진 행의 원 ID,결과,성향 추정치와 집단 분모를 함께 보는 이유입니다.
실제 자료의 e는 대개 추정합니다. 관측된 처치 열을 잘 예측해 거의 0이나 1을 내는 모델이 인과 평균을 안정적으로 추정하는 데도 최선이라는 뜻은 아닙니다. 선택을 설명하는 능력과 필요한 겹침·추론 안정성을 함께 봐야 합니다.
The propensity score e(X) is the probability of treatment given pre-treatment features. It is neither the probability of a favorable outcome nor the probability that a policy is beneficial. It describes assignment composition. Weight four for a treated observation in a group with treatment probability one-quarter reconstructs that group’s contribution to the target population.
Under the identification conditions and the true propensity, treatment probability cancels the inverse-probability denominator in the conditional expectation below. Controls use one minus e. These assignment weights are not automatically the same as native survey weights.
Small e gives a large treated-observation weight. A computable mean need not have low variability. Inspect original identities, outcomes, estimated propensities and group denominators for influential rows.
In factual applications e is usually estimated. A model predicting treatment nearly perfectly is not automatically optimal for stable causal averaging. Consider assignment prediction, required overlap and inferential stability separately.
학부Undergraduate
가중합과 정규화 평균은 다른 양Weighted sums and separately normalized means differ
역확률 식을 표본에서 구현하는 방식도 하나가 아닙니다. 전체 분석 비중 합으로 두 기여의 차이를 나누는 방식과,처치·비교 집단의 역확률 비중을 각각 정규화해 평균 차이를 구하는 방식은 유한 표본에서 다른 숫자가 될 수 있습니다. 두 식의 분모를 먼저 적어 보세요.
전체 비중 합은 2라 첫 식은 (−8/3+20/3)/2=2입니다. 둘째 식은 각 집단에 한 행만 있으므로 처치 평균 5,비교 평균 2,차이 3입니다. 서로 다른 정의를 구현했으므로 단순히 어느 코드가 틀렸다고 결론내릴 수 없습니다.
각 집단 비중 분모가 0이면 그 집단 정규화 평균은 미정의입니다. 0/0을 0으로 채우면 처치 또는 비교 집단이 없다는 사실을 지웁니다. 또한 실제 대상 모집단의 효과를 해석하려면 두 추정 방식 모두 적절한 설계·식별·성향 추정 조건이 필요합니다.
Finite-sample inverse weighting has multiple conventions. Dividing signed contributions by total analysis weight differs from separately normalizing each treatment arm’s inverse-probability weights. Write both denominators before comparing implementations.
Separate constructed two-row example, unit weights
Row
A
Y
e
Signed IPW contribution
a
0
2
1/4
−8/3
b
1
5
3/4
20/3
Total analysis weight is two, so the first estimate equals two. Each arm has one observation, so the separately normalized estimate is five minus two, or three. Different definitions need not indicate a coding error.
A zero arm denominator leaves its normalized mean undefined. Filling zero divided by zero with zero hides the absence of an arm. Both approaches still need appropriate design, identification and nuisance-estimation conditions for a target-population causal interpretation.
학부Undergraduate
결과 회귀와 g-formulaOutcome regressions and the g-formula
처치별 결과 회귀 μ_a(X)=E[Y|A=a,X]는 같은 특징을 가진 관측 대상의 결과 평균을 예측합니다. 두 회귀의 차이를 대상 X분포에서 평균내면 plug-in 비교가 됩니다. S5의 식별 조건이 있어야 이를 잠재 결과의 평균 차이와 연결할 수 있습니다.
실제 관측 한 행에서는 Y와 함께 처치된 쪽 회귀의 잔차를 계산할 수 있습니다. 반대쪽 회귀의 참 오차는 관측되지 않습니다. 따라서 한쪽에서 작은 관측 예측 오차가 나왔다고 반대 처치 예측까지 정확하다고 판단할 수 없습니다. 겹침이 약하면 다른 처치 집단의 회귀가 해당 X에서 외삽할 수 있습니다.
이 장의 실제 실습은 각 밖 fold의 관측을 빼고,남은 완전 행으로 공통 평균·범위를 정합니다. 그 좌표에서 처치·비교 집단의 결과 회귀를 별도로 ridge 적합합니다. 절편은 규제하지 않습니다. 같은 λ숫자라도 변환 좌표와 대상 단위를 바꾸면 다른 규제 문제라는 점을 앞 장의 최적화와 연결해 생각하세요.
출처에서 관측한 Y는 계속 한 개입니다. 출력의 m0,m1 열은 적합한 두 함수의 예측이며 실제 관측 잠재 결과 열이 아닙니다. 이후 실제 표에서도 “예측 결과 회귀”라는 이름을 유지하겠습니다.
Outcome regression mu-a predicts the observed-arm conditional mean. Averaging the difference between two fitted regressions over target features gives a plug-in comparison. The identification conditions are needed to interpret it as an average potential-outcome contrast.
For one factual row we can calculate a residual against the regression for its observed arm, but not its true counterfactual prediction error. Good factual prediction does not automatically verify the other arm, especially where weak overlap requires extrapolation.
Our source lab learns common feature means and ranges from complete complementary folds, then fits separate treated and control ridge outcome regressions in those coordinates. The intercept is unpenalized. The same lambda can describe a different penalty after changing coordinates or outcome units.
There is still only one observed Y per source row. The m0 and m1 outputs are predictions from fitted functions, not observed potential-outcome columns. Retain that terminology in factual tables.
학부Undergraduate
AIPW를 항별로 손계산하기Calculate AIPW term by term
AIPW는 두 결과 회귀의 차이에 관측한 쪽의 잔차 보정을 더합니다. 처치된 행은 (Y−m1)/e를 더하고,비교 행은 (Y−m0)/(1−e)를 뺍니다. 부호와 분모를 따로 적으면 한 행에서 무엇을 보정하는지 확인하기 쉽습니다.
비중 1씩이면 ψ평균은 2입니다. 이 가상 표에서 IPW평균도 우연히 2였지만 일반적인 항등식은 아닙니다. 정규화한 집단 평균 차이는 여전히 3입니다. m0,m1을 바꾸어 어느 출력이 반응하는지 확인하세요. IPW는 회귀값을 사용하지 않지만 AIPW와 plug-in은 사용합니다.
실습에서는 경계 e=0또는 1인 ATE점수를 미정의로 제외하고 원 ID와 이유를 남깁니다. 라벨이나 회귀값이 결측인 행도 0점수로 바꾸지 않습니다. 표의 적격 분모가 바뀌었다면 추정 대상과 보고 범위도 함께 검토해야 합니다.
AIPW adds observed-arm residual corrections to the outcome-regression difference. A treated row adds (Y minus m1) divided by e; a control row subtracts (Y minus m0) divided by one minus e. Writing each sign and denominator makes the correction auditable.
Declared regressions for the two constructed rows in section ten
Row
A,Y,e
m0,m1
Plug-in
Treated correction
Control correction
Score
a
0,2,1/4
1,3
2
0
−4/3
2/3
b
1,5,3/4
2,4
2
4/3
0
10/3
Unit weights give a score average of two. Its equality to IPW in this table is coincidental, not a general identity; the normalized arm difference remains three. Change m0 and m1 and observe which outputs respond. IPW ignores these regressions; AIPW and plug-in do not.
The lab retains original identities and reasons when boundary propensities make the ATE score undefined. Missing labels or nuisance predictions do not become zero scores. If eligibility changes, reconsider both the denominator and the reported target.
대학원 연결Graduate bridge
이중 강건성은 두 잔차 기댓값의 계산이다Double robustness comes from conditional residual expectations
이중 강건성은 “아무 모델이나 두 개 쓰면 된다”는 말이 아닙니다. 참 성향을 e0,참 결과 회귀를 μ0,μ1이라 두고,실제로 점수에 넣는 함수를 e,m0,m1이라고 씁니다. 고정 X에서 관측 잔차의 조건부 기댓값을 계산하면 다음 식이 나옵니다. 식별 조건과 적분 가능성,분모의 양성을 함께 전제합니다.
E[ψ∣X]−(μ1−μ0)=(e−e0){em1−μ1+1−em0−μ0}
e=e0이면 결과 회귀가 틀려도 오른쪽이 0입니다. m0=μ0과 m1=μ1이 둘 다 맞으면 e가 틀려도 0입니다. 이 둘 중 하나의 보조 함수 묶음이 맞는 경우의 기댓값 성질이 이중 강건성입니다. 두 회귀 중 한쪽만 맞으면 된다는 뜻은 아닙니다.
가상 한 X집단에서 e0=1/2,μ0=0,μ1=2라 합시다. e=1/4,m0=0,m1=1을 넣으면 m0만 맞습니다. 오른쪽은 (−1/4)×(−1)/(1/4)=1이라 점수 기대값은 3이 됩니다. 참 효과 2와 다릅니다.
또한 기댓값 식이 맞는다는 것과 유한한 실제 표에서 점수 평균이 정확히 참 효과와 같다는 것은 다릅니다. 실제로는 보조 함수도 자료에서 추정하므로 의존·과적합·추정 오차를 다루어야 합니다. 다음 절의 직교성과 교차 적합이 이 문제에 연결됩니다.
Double robustness does not mean that any two arbitrary models suffice. Write the true propensity as e0 and true outcome regressions as mu0 and mu1, while e, m0 and m1 are inserted into the score. Conditional residual expectations give the identity below under identification, integrability and positive denominators.
E[ψ∣X]−(μ1−μ0)=(e−e0){em1−μ1+1−em0−μ0}
Correct e makes the right side zero even with incorrect regressions. Correctness of both m0 and m1 also makes it zero even with incorrect e. These are the two nuisance-function sets; correctness of only one outcome regression is insufficient.
For a constructed fixed-X group, let e0 equal one-half, mu0 zero and mu1 two. Insert e one-quarter, m0 zero and m1 one. Only m0 is correct. The bias expression equals one, so expected score is three rather than the true effect two.
An expectation identity does not make every finite factual score average equal to the true effect. Estimated nuisance functions introduce dependence, overfitting and estimation error, motivating orthogonality and cross-fitting.
대학원 연결Graduate bridge
직교성과 남는 곱 오차Orthogonality and the remaining product error
S13의 편향 식은 성향 오차와 결과 회귀 오차의 곱입니다. 참 보조 함수에서 한 방향으로 아주 조금 움직일 때 첫 차수 변화가 사라지는 성질을 Neyman 직교성이라고 부릅니다. 보조 함수를 잘못 맞추어도 아무 영향이 없다는 뜻은 아닙니다. 두 오차가 함께 남으면 곱 항이 남습니다.
추정 성향의 분모가 ε이상 떨어져 있고 필요한 제곱 적분이 존재하면 Cauchy–Schwarz로 다음과 같은 상한을 얻습니다. S5의 식별 조건을 버리는 부등식이 아니라,그 조건 아래 남은 보조 함수 오차를 제어하는 식입니다.
∣E[ψ]−θ0∣≤ε1∥e−e0∥2(∥m1−μ1∥2+∥m0−μ0∥2)
대학원 연결에서는 보조 함수 오차 곱이 o(n^-1/2)로 작아지고,각 추정치의 적절한 수렴·모멘트·독립 표본·분산 조건 등이 성립해야 제곱근 n추론으로 이어집니다. 둘 다 O(n^-1/4)라는 사실만으로 곱이 little-o(n^-1/2)라고 결론내리면 안 됩니다. O와 little-o는 다릅니다.
예를 들어 한 오차가 O(n^-1/5),다른 오차가 O(n^-2/5)라면 곱의 지수는 3/5라 n^-1/2보다 빠릅니다. 하지만 이 비율을 실제 722명 자료에 적용할 수 있다는 증거를 계산 한 번으로 얻는 것은 아닙니다. 현재 실제 실습은 정확한 유한 표의 점수와 재비중 범위를 계산하며 자동 정규 신뢰구간을 만들지 않습니다.
직교성은 모집단 모멘트의 미분 성질입니다. 미분과 기댓값을 바꿀 정당화,모멘트 존재,분모의 경계가 필요합니다. 컴퓨터에서 잔차가 작아 보인다는 것만으로 그 조건을 확인했다고 쓰지 마세요.
The bias identity is a product of propensity and outcome-regression errors. Neyman orthogonality means that first-order movement around the true nuisance functions vanishes. It does not imply arbitrary nuisance errors have no effect: their joint product remains.
With estimated denominators bounded below by epsilon and the relevant square integrability, Cauchy–Schwarz gives the bound below. This controls nuisance error under identification rather than replacing identification assumptions.
∣E[ψ]−θ0∣≤ε1∥e−e0∥2(∥m1−μ1∥2+∥m0−μ0∥2)
A graduate asymptotic argument additionally needs a product error of little-o of n to the minus one-half, appropriate nuisance convergence, moments, sampling conditions and variance behavior. Two big-O rates of n to the minus one-quarter do not alone yield that little-o product.
Rates n to the minus one-fifth and n to the minus two-fifths have a product exponent of three-fifths, faster than one-half. One computation on 722 people does not establish those population rates. Our factual lab computes finite-table scores and empirical reweighting ranges without automatic normal confidence intervals.
Orthogonality is a derivative property of a population moment. Justifying differentiation under expectation, integrability and denominator bounds remains necessary. Small-looking residuals on a computer do not verify all those conditions.
학부 심화 · 선택Advanced undergraduate · optional
교차 적합의 원 ID와 집단 분리Cross-fitting with original identities and group separation
교차 적합은 각 행의 보조 함수 예측을 그 행을 빼고 만든 모델에서 받는 절차입니다. 네 fold라면 첫 fold를 평가할 때 나머지 세 fold만으로 변환과 적합을 수행합니다. 같은 일을 네 번 하여 모든 행의 밖 예측을 모읍니다. 결과의 최종 평균에 각 밖 행이 한 번씩 들어가는지 원 ID장부로 확인할 수 있습니다.
우리 실제 구현은 원 집단 키의 해시 순서로 fold를 고정하고 결과값을 해시에 넣지 않습니다. NJPA의 두 SHEET407행은 같은 보수적 집단에 둡니다. 대상의 반복 행이 학습과 평가 양쪽에 섞여 이웃 행의 정보를 넘겨주는 문제를 줄이기 위한 규칙이며,실제 정책 배정의 독립성 자체를 증명하는 것은 아닙니다.
변환도 학습입니다. 각 보완 fold에서만 평균과 범위를 정하고,공통 좌표를 써서 e와 두 결과 회귀를 맞춥니다. 밖 행의 X로 평균을 바꾸거나,밖 y를 보고 λ와 표현을 골랐다면 처음 선언한 엄격한 밖 예측 절차와 달라집니다. 이 장은 표현 full·coarse·constant와 λ를 먼저 선언하여 각각의 절차를 재현합니다.
교차 적합은 과적합 의존을 다루는 장치이지,관측 자료의 교란을 자동 제거하거나 두 정책 주를 다수의 독립 배정으로 바꾸는 장치가 아닙니다. 적격성,같은 집단의 fold,실제로 학습에 쓴 원 ID,각 행의 밖 예측을 모두 남겨 계산상의 누출을 점검하겠습니다.
Cross-fitting gives each row nuisance predictions from models trained without that row. With four folds, hold out one fold and learn transforms and fits on the other three. Repeat until every eligible row has an out-of-fold prediction. Original identities verify that each held-out row enters the final averaging once.
We fix folds by hashes of original group keys without outcome values. The two NJPA SHEET407 rows share a conservative group. This reduces leakage from related records crossing training and evaluation, but does not establish independent policy assignments.
Transformations are learned too. Learn means and ranges on the complement, then fit e and both outcome regressions in those common coordinates. Using held-out features to modify means, or held-out outcomes to choose lambda or representation, changes the declared strict protocol. We predeclare full, coarse and constant representations and reproduce each.
Cross-fitting addresses overfitting dependence, not unmeasured confounding or the number of independent policy states. Retain eligibility, group folds, actual training identities and every out-of-fold prediction to audit computational leakage.
학부 심화 · 선택Advanced undergraduate · optional
겹침 부족·성향 자르기·바뀐 대상Weak overlap, clipping and changes in the target
성향을 자르는 clipping,관측을 빼는 trimming,대상 비중을 바꾸는 weighting은 다른 작업입니다. clipping은 e추정값을 정해 둔 내부 구간으로 바꾸어 수치 분모를 제한합니다. trimming은 선언한 기준 밖 관측을 분석에서 제외합니다. overlap weighting은 대상에 따라 새로운 비중을 부여합니다. 같은 평균을 안정화하는 동의어로 섞어 쓰지 마세요.
겹침을 다루는 서로 다른 규칙
규칙
바뀌는 것
따로 적을 것
e clipping
점수에 넣는 성향 추정치
클립 경계·수정 행·원 e
관측 trimming
분석에 들어오는 대상
제외 기준·원 ID·새 분모
대상 weighting
어떤 대상을 평균내는지
비중의 의미·대상 모집단
출력 정규화
표본 추정의 분모
HT와 집단별 정규화의 차이
이 장의 기본 실제 구현은 추정 e를 1/20~19/20로 자르고 원 행을 그 이유로 삭제하지 않습니다. 원 선형 e와 자른 e를 함께 남깁니다. e가 많이 수정되었다면 모델 형태·겹침·좌표와 대상에 대한 점검이 필요하다는 정보이지,참 성향이 그 구간 안에 있다는 증거가 아닙니다.
가상 AIPW실습에서 e=0또는 1을 직접 넣으면 그 행의 ATE점수는 미정의로 처리합니다. 관측한 쪽 항의 0을 먼저 약분한다고 반대 처치의 정보가 생기지 않습니다. 한쪽 회귀나 한쪽 처치 표본이 없는 fold도 0예측으로 채우지 않습니다.
앞으로 나오는 TV재비중 범위도 대상 분포에 대한 별도 선택입니다. 원 행을 유지하며 주어진 경험 지지집합 위 비중을 움직이는 계산과,알려지지 않은 교란에 대한 식별 범위·표본 추출 신뢰구간은 구분해서 보고하겠습니다.
Clipping propensities, trimming observations and changing target weights are different operations. Clipping replaces estimated e by a bounded value. Trimming excludes declared observations. Overlap weighting changes population emphasis. They are not interchangeable names for stabilizing the same average.
Different overlap-related rules
Rule
What changes
What to disclose
Propensity clipping
Estimated nuisance inserted into the score
Bounds, changed rows and original e
Observation trimming
Units entering analysis
Criteria, original identities and new denominator
Target weighting
Population being averaged
Weight meaning and target population
Output normalization
Finite-sample denominator
HT versus separately normalized arms
The factual baseline clips estimated e between one-twentieth and nineteen-twentieths without deleting original records for that reason. Preserve both linear and clipped values. Extensive clipping prompts a model, overlap and target review; it does not prove the true propensity lies inside those bounds.
Supplying e zero or one in the hypothetical AIPW lab leaves that row’s ATE score undefined. Canceling a formal zero in the observed arm cannot create information about the absent arm. Folds without a required arm or trained regression are not filled with zero predictions.
The later TV stress range makes another explicit choice about empirical target weights. Reweighting observed support differs from unmeasured-confounding identification bounds and sampling confidence intervals.
학부Undergraduate
표현은 자료를 읽는 좌표와 요약이다A representation is a coordinate system or a summary
지도에서 동네를 우편번호로 바꾸거나,나이를 연령대로 묶으면 길었던 입력이 짧아집니다. 머신러닝에서 표현 φ(X)도 원 특징 X를 계산에 쓰기 좋은 좌표나 요약으로 바꾸는 함수입니다. 입력 차원을 줄일 수도 있고,원 정보를 보존하며 좌표만 바꿀 수도 있습니다. 두 경우를 구분해야 합니다.
분류를 잘하는 요약과 인과 비교에 충분한 요약은 다를 수 있습니다. 예를 들어 교육 연수를 “고등학교를 넘었는가” 한 비트로 바꾸면 같은 비트 안의 13년과 20년이 합쳐집니다. 그 차이가 처치 선택과 결과 양쪽에 관련되었다면 원 특징에서 조정할 수 있었던 교란이 요약 안에서는 남을 수 있습니다.
표현을 배우는 알고리즘도 누구의 어떤 열을 보고 학습했는지 적어야 합니다. 전체 자료의 시험 결과로 요약을 고른 뒤 그 시험 성능을 처음 보는 평가처럼 보고할 수 없습니다. 이 장의 실제 비교는 full,coarse,constant 세 변환을 사전 지정하고 같은 완전 관측 집합에서 비교합니다. 복잡한 신경망 표현을 적합했다고 주장하지 않습니다.
A postal code summarizes a neighborhood; an age band summarizes an age. A representation phi transforms original features into coordinates or summaries for computation. It may discard information, or merely change coordinates while retaining it. These are different operations.
A summary useful for prediction need not suffice for a causal comparison. Replacing education years by a single above-high-school indicator merges thirteen with twenty years. If the discarded detail predicts both assignment and outcome, residual confounding can remain inside the summary.
A learned representation also has training provenance. Selecting it using test outcomes and then presenting those test results as untouched evaluation is invalid. Our factual comparisons predeclare full, coarse and constant mappings on the same complete frame; they do not implement a learned neural representation.
학부Undergraduate
두 유형을 합치면 효과 1이 비교 2가 된다Merging two types changes effect one into contrast two
다음 표는 원 자료가 아니라 법칙을 완전히 아는 가상 모집단입니다. 각 유형이 절반이며,각 유형 안의 잠재 결과는 표와 같이 고정합니다. 처치는 조건부 확률 e로 정합니다. X를 알면 두 잠재 결과는 이미 결정되므로 이 가상 법칙에서는 X조건부 교환가능성과 양성이 성립합니다.
알려진 두 유형의 법칙
X
모집단 비중
Y0
Y1
e
효과
낮음
1/2
0
1
1/4
1
높음
1/2
2
3
3/4
1
두 유형을 구분한 표현에서는 유형별 관측 평균 차이가 모두 1이고,이를 절반씩 평균내면 1입니다. 이제 두 유형을 모두 같은 φ=0으로 합칩니다. 처치 집단은 높은 유형이 3/4,비교 집단은 높은 유형이 1/4입니다. 처치 평균은 1×1/4+3×3/4=5/2,비교 평균은 0×3/4+2×1/4=1/2이므로 차이는 2입니다.
원래 효과가 바뀐 것이 아닙니다. 조정에 사용한 정보가 바뀌어 비교값에 편향 1이 남았습니다. 실습에서 먼저 서로 다른 두 표현 값을 사용하고,다음에는 두 φ를 같은 값으로 바꾸세요. 확률·잠재 결과·처치 확률을 그대로 두어 표현 변경 하나의 영향을 확인합니다.
This is a constructed population with a fully known law, not a factual source dataset. Each type has probability one-half and fixed potential outcomes. Assignment is Bernoulli with the declared e. Given X, the potential outcomes are fixed, so conditional exchangeability and positivity hold in this example.
Known two-type law
X
Population probability
Y0
Y1
e
Effect
Low
1/2
0
1
1/4
1
High
1/2
2
3
3/4
1
Keeping the types separate gives conditional contrasts one and an adjusted average one. Merge both into phi zero. The high type has probability three-quarters among treated observations but one-quarter among controls. Their observed means are five-halves and one-half, giving contrast two.
The causal effect did not change. Discarding adjustment information left bias one in the comparison. In the lab, first use distinct representation values, then make both phi values identical while holding probabilities, potential outcomes and assignment fixed.
학부Undergraduate
균형 수치 0이 인과 편향 0은 아니다Zero representation imbalance need not mean zero causal bias
모두에게 φ=0을 부여하면 처치 집단과 비교 집단의 φ분포는 정확히 같습니다. 어떤 집단에서도 항상 0만 관측하므로,그 표현의 평균 차이와 분포 차이는 0입니다. 그런데 앞 절에서 원 X의 구성은 다르고 효과 비교의 편향은 1이었습니다.
이 반례가 균형 진단은 쓸모없다고 말하는 것은 아닙니다. 어떤 특징에 대해,어떤 거리로,어떤 대상 비중에서 균형을 검사했는지를 분명히 해야 한다는 뜻입니다. 표현 안에서 안 보이게 만든 정보의 균형을 그 표현만으로 확인할 수 없습니다.
따라서 두 체크리스트를 함께 씁니다. 첫째,처치·결과 예측에 필요했던 원 특징 중 무엇이 남고 무엇이 사라졌는가? 둘째,남긴 표현과 원 특징 각각에서 비교 가능한 지지집합과 비중이 있는가? 작은 불균형 값 하나를 식별 조건 전체의 합격 표시로 쓰지 마세요.
If everyone receives phi zero, both arms have exactly the same representation distribution. Its mean and distributional discrepancies are zero. Nevertheless, original type composition differs and the preceding causal comparison has bias one.
This does not make balance diagnostics useless. It makes their feature set, discrepancy measure and target weights essential. A representation alone cannot diagnose balance of information it has erased.
Ask which assignment- and outcome-relevant original features were retained, and assess support and composition in both the representation and original coordinates. One small imbalance statistic is not a certificate for all identification conditions.
학부 심화 · 선택Advanced undergraduate · optional
가역 좌표 변환과 정보 손실을 구별Distinguish invertible coordinates from information loss
X가 0또는 2라면 Z=10X+7은 7또는 27입니다. Z를 알면 X=(Z−7)/10을 복구할 수 있으므로 이 변환은 정보를 버리지 않습니다. 원 X별로 조정하는 비교와 Z별로 조정하는 비교는 같은 두 집단을 사용합니다. 반면 φ=0은 어느 X였는지 복구하지 못합니다.
Z=h(X),X=h−1(Z)⟹σ(Z)=σ(X)
위 식의 σ는 각 변수로 구별할 수 있는 사건들의 정보 집합입니다. 측정 가능한 역함수를 가진 일대일 변환이라면 같은 정보를 조건으로 삼는다는 뜻입니다. 원 X에서 식별 조건이 성립했다면 이런 좌표 변경만으로 그 정보 조건이 사라지지 않습니다.
하지만 같은 정보가 같은 유한 표본 알고리즘을 뜻하지는 않습니다. 좌표에 따라 거리·규제·모형의 함수 집합이 바뀔 수 있습니다. 절편 없는 선형 모형,원 좌표에 붙인 같은 λ의 ridge,고정 폭의 이웃 규칙은 가역 변환에도 다르게 작동할 수 있습니다. 정보의 동등성과 적합 절차의 불변성은 따로 검산합니다.
또한 원 X에 어떤 열을 넣을지도 설계 문제입니다. 처치 뒤에 생긴 결과의 중간 단계나 선택을 유발하는 변수를 무조건 통제하면 새로운 편향이 생길 수 있습니다. 인과 그림과 시간 순서를 먼저 정한 뒤,정당한 조정 집합 안에서 표현을 비교합니다.
For X zero or two, Z equals ten X plus seven, taking values seven or twenty-seven. Recovering X from Z is possible, so adjustment in either coordinate uses the same information. A constant representation cannot recover X.
Z=h(X),X=h−1(Z)⟹σ(Z)=σ(X)
Sigma denotes the events distinguishable from a variable. A measurable one-to-one map with a measurable inverse preserves this information. Valid original conditioning information is not erased merely by such a coordinate change.
Equal information does not imply identical finite-sample algorithms. Distances, penalties and model classes can change with coordinates. A model without an intercept, raw-coordinate ridge with unchanged lambda, or fixed-radius neighbors may respond to an invertible transformation. Audit information equivalence separately from algorithmic invariance.
The original adjustment set itself requires design. Automatically controlling post-treatment mediators or selection-inducing variables can introduce bias. Establish temporal and causal structure before comparing representations within a defensible adjustment set.
학부Undergraduate
관측 예측 손실은 반사실 손실의 일부만 본다Factual loss sees only one arm for each observation
두 결과 예측 함수 f0,f1을 만들었다고 합시다. 관측 제곱 손실은 실제 A가 선택한 쪽 예측만 평가합니다. 알려진 잠재 결과 법칙에서는 두 쪽 손실도 계산할 수 있지만,실제 자료에서는 각 사람의 반대쪽 결과가 비어 있습니다.
RF(f)=E[A{Y(1)−f1(X)}2+(1−A){Y(0)−f0(X)}2]
S6의 두 세계를 다시 보세요. 관측한 두 행의 결과를 0과 3으로 정확히 예측하는 함수는 두 세계 모두에서 관측 손실 0입니다. 그런데 실제로 설정한 평균 효과는 한 세계에서 1,다른 세계에서 3.5입니다. 같은 관측 성능이 다른 반사실 진실과 양립합니다.
식별 조건·충분한 겹침·적절한 추정 이론을 더하면 관측 자료를 이용해 반사실 평균을 추론할 수 있습니다. 표현 논문의 오차 상한도 정해진 가정과 함수 집합·거리·상수에 의존합니다. 관측 손실이 작다는 사실만으로 논문의 모든 상한 조건이 충족되었다고 주장하지 않습니다.
실제 평가에서는 관측 가능한 예측 손실을 정확히 이름 붙여 보고하고,인과효과 정확성은 어떤 설계와 가정을 통해 연결했는지 별도 문단으로 적습니다. 가상 법칙에서만 계산 가능한 효과 오차는 실제 자료의 검증 결과와 나란히 같은 종류로 표시하지 않습니다.
A factual squared loss evaluates only the prediction corresponding to observed assignment. A fully specified potential-outcome law also permits losses for both arms, but factual data lack each unit’s other outcome.
RF(f)=E[A{Y(1)−f1(X)}2+(1−A){Y(0)−f0(X)}2]
The two worlds in section six have the same observed outcomes zero and three. A predictor matching them has factual loss zero in either world, while their declared average effects are one and three-and-a-half. Identical observed prediction performance is compatible with different counterfactual truths.
Identification, adequate overlap and suitable estimation theory can connect observed data to counterfactual averages. Representation bounds also require specified assumptions, function classes, discrepancies and constants. Small factual loss alone does not verify every condition of a published bound.
Name factual prediction loss accurately, and separately explain the design and assumptions supporting causal interpretation. Effect errors available only under a constructed law are not factual validation outcomes.
학부Undergraduate
균형을 재구성할 때 원 변수도 읽는다Read original variables when reconstructing balance
S18의 알려진 법칙에서는 각 처치 집단을 참 역확률로 재비중하면 원 유형의 비중도 복구합니다. 처치 집단에서 높은 유형의 조건부 비중 3/4에 1/(3/4)를 곱하고,낮은 유형의 비중 1/4에 1/(1/4)를 곱하면 두 기여가 같습니다. 정규화 후 절반씩입니다. 비교 집단도 같은 원리를 따릅니다.
S18 법칙의 원 유형 구성
구성
낮음
높음
처치 집단 · 재비중 전
1/4
3/4
비교 집단 · 재비중 전
3/4
1/4
각 집단 · 참 IPW 정규화 후
1/2
1/2
실제 자료에서는 참 e를 알지 못하므로 추정 비중으로 얻은 이 결과가 자동 보장되지 않습니다. 원 변수의 평균·분포·범위를 다시 보며 극단 비중과 빈 비교 구간을 함께 점검합니다. 결과 평균의 인과 해석에는 관측하지 않은 교란에 대한 전제도 여전히 필요합니다.
균형을 최적화할 때 모든 원 변수의 모든 관계를 한 표로 완벽히 검증했다고 말하기도 어렵습니다. 어떤 모멘트와 함수 집합을 비교했는지 적고,평균이 같아도 분산·꼬리·상호작용이 다를 수 있는 간단한 예를 생각해 보세요. [−1,1]과 [−2,2]는 평균 0이지만 분산이 다릅니다.
Under the known law of section eighteen, true inverse-probability reweighting reconstructs original type composition. Among treated observations, high-type probability three-quarters divided by its propensity three-quarters contributes the same mass as low-type probability one-quarter divided by one-quarter. Normalization gives one-half each. Controls follow the same principle.
Original type composition in the constructed law
Composition
Low
High
Treated, before reweighting
1/4
3/4
Controls, before reweighting
3/4
1/4
Either arm after normalized true IPW
1/2
1/2
Estimated factual propensities do not automatically reproduce this exact result. Recheck original-variable means, distributions and ranges together with extreme weights and empty comparison regions. Assumptions about unmeasured confounding remain relevant.
Disclose which moments or function classes a balance procedure compares. Equal means can conceal different variances, tails or interactions: the equally weighted pairs minus one and one, and minus two and two, both have mean zero but different variances.
학부Undergraduate
실제 표현 비교는 같은 행에서 시작한다Compare factual representations on the same frame
실제 세 사례에서는 원 특징 full,미리 정한 요약 coarse,상수 constant를 비교할 수 있습니다. 표현마다 결측을 다른 방식으로 없애면 표현의 영향과 표본 구성의 영향이 섞입니다. 이 장은 원 full특징·처치·결과가 모두 관측된 같은 기본 적격 집합을 모든 표현에서 유지합니다. coarse가 적은 열을 쓴다고 더 많은 결측 행을 새로 끌어오지 않습니다.
세 사례의 사전 지정 요약
사례
full의 원 특징
coarse
constant
국가
2023 1인당 GDP·물가상승률
GDP 범주 A 자체
절편만
개인
처치 전 나이·교육·1974 실질소득
교육 12년 초과·1974 소득 양수
절편만
점포
처치 전 FTE·chain2·기업 소유
chain2
절편만
국가의 A는 원 GDP값의 결정적 범주입니다. full에도 그 GDP를 넣고 coarse에도 A자체를 넣으므로 참 양성이 없다는 문제를 표현 학습이나 e자르기로 복구할 수 없습니다. 이 사례는 관측 비교·보조 모형·경험 재비중의 계산을 읽는 사례이며,잘 정의한 GDP정책의 인과효과를 추정한 것으로 부르지 않습니다.
개인의 요약은 나이와 과거 소득의 크기를 버립니다. 점포 요약은 초기 FTE와 기업 소유를 버립니다. 다른 수치가 나왔다면 어떤 정보와 모형 제약이 달라졌는지 설명할 수 있습니다. 어느 결과가 인과적으로 더 정확한지는 관측 수치 차이만으로 정하지 않습니다. 단위·적격 분모·fold와 실제 학습 행을 함께 대조하세요.
Each source case supports predeclared full, coarse and constant mappings. Allowing a different missing-data frame for each mapping would mix representation and sample-composition changes. We keep the original full-feature, assignment and outcome complete frame for all three; coarse mappings do not recover additional incomplete rows.
Predeclared source summaries
Case
Full features
Coarse features
Constant
Country
2023 GDP per capita and inflation
GDP category A itself
Intercept only
Person
Pre-treatment age, education and real 1974 earnings
Education above twelve and positive 1974 earnings
Intercept only
Store
Pre-policy FTE, chain2 and corporate ownership
chain2
Intercept only
Country A is a deterministic category of baseline GDP. Full includes that GDP and coarse includes A itself. Representation changes and clipped propensities cannot restore true positivity. This is a descriptive comparison and empirical computation, not an identified effect of a well-defined GDP policy.
Person coarsening discards age and earnings magnitude; store coarsening discards baseline FTE and ownership. Explain changed information and model constraints when estimates differ. Observed disagreement alone cannot determine which causal answer is more accurate. Compare units, eligibility, folds and actual training identities.
학부 심화 · 선택Advanced undergraduate · optional
개별 효과의 분포까지 알 수 있는가Can we identify the distribution of individual effects?
무작위 배정이 두 처치의 평균을 알려 준다고 해서 같은 사람의 두 결과를 어떻게 짝지어야 하는지까지 알려 주는 것은 아닙니다. 절반씩 있는 두 가상 유형을 생각합시다. 세계 A는 (Y0,Y1)=(0,0),(1,1)이고,세계 B는 (0,1),(1,0)입니다. 처치를 유형과 독립적으로 무작위 배정하면 두 세계의 각 처치별 결과 분포는 모두 절반 0·절반 1입니다.
같은 주변 분포,다른 개별 효과
세계
두 유형의 개별 효과
ATE
효과의 분산
A
0,0
0
0
B
1,−1
0
1
두 세계는 관측되는 처치별 분포와 ATE가 같습니다. 하지만 개인별 효과의 분포는 다릅니다. CATE=E[Y1−Y0|X]는 조건부 평균이지 관측한 어떤 사람의 확정 효과가 아닙니다. 평균 효과의 이질성을 학습한다는 말과 개인의 미관측 잠재 결과를 복원했다는 말을 구분합니다.
이 장은 실제 원행에 가짜 Y0,Y1을 채워 정답처럼 제시하지 않습니다. 잠재 결과 열이 완전히 주어진 실습은 “가상 법칙”이라고 표시하고,실제 자료의 m0,m1과 점수는 적합한 함수와 계산 결과로 표시합니다. 다음 분포 강건성도 어느 값을 알고 어떤 가정을 움직이는지 먼저 명시하는 방식으로 이어집니다.
Randomization can identify arm means without identifying how the same unit’s two outcomes are paired. Consider equally probable hypothetical types. World A has potential-outcome pairs zero-zero and one-one; world B has zero-one and one-zero. Assignment independent of type gives the same half-zero, half-one outcome distribution in each arm in both worlds.
Same marginal distributions, different individual effects
World
Individual effects
ATE
Effect variance
A
0,0
0
0
B
1,−1
0
1
The observable arm distributions and ATE agree, but the individual-effect distributions differ. CATE is a conditional mean effect, not a verified deterministic effect for a particular observed person. Learning average-effect heterogeneity is different from recovering missing individual potential outcomes.
We never fill factual source rows with invented potential outcomes labeled as truth. Fully known potential-outcome labs are marked constructed laws. Factual m0, m1 and scores are fitted functions and computations. Distributional robustness will likewise begin by specifying what is known and which assumptions may vary.
학부Undergraduate
어느 분포가 어떻게 달라지는가Which distribution changes, and how?
지난달 고객 자료로 학습한 모델이 다음 달에도 작동할까요? 새 고객의 연령 구성이 바뀔 수도 있고,같은 연령 고객의 구매 행동이 바뀔 수도 있습니다. 첫째는 입력 분포의 변화,둘째는 입력에 조건부인 결과 관계의 변화입니다. 둘이 함께 바뀔 수도 있습니다. “분포 이동”이라는 이름만으로 어떤 변화에 견디는지 알 수 없습니다.
공변량 이동을 가정할 때는 X분포는 달라도 Y|X관계가 같다는 추가 가정을 둡니다. 라벨 이동은 Y의 구성은 달라도 X|Y가 같다는 다른 가정입니다. 이 가정들은 통상적으로 서로 대체되지 않으며,관측하지 못한 미래 결과만으로 검증할 수 없습니다. 어느 변화에 관한 보증인지 출발점부터 적습니다.
이 장의 유한 재비중 실습은 이미 정한 값 l_i를 그대로 두고 관측 지지집합 위 확률 q_i만 바꿉니다. 새 지역의 새로운 값이나 새 결과 메커니즘을 만들어 내지 않습니다. 실제 사례에서는 밖 점수 ψ_i와 적합한 보조 함수를 고정한 채,같은 경험 지지집합의 강조 비중을 움직입니다. 이는 추가로 적합을 반복한 인과효과 범위와도 다릅니다.
A model trained on last month’s customers may face different age composition next month, a different purchasing relationship at the same age, or both. Naming distribution shift does not specify which changes a procedure handles.
Covariate shift posits a changed X distribution with stable Y given X. Label shift instead posits changed Y composition with stable X given Y. These are distinct assumptions, not interchangeable guarantees about unobserved future outcomes.
Our finite reweighting lab holds declared values fixed and changes probabilities only on existing support. It invents neither new locations nor new outcome mechanisms. Factual cases freeze out-of-fold scores and nuisance fits while varying empirical emphasis; they do not refit a causal model at every candidate distribution.
학부Undergraduate
평균 손실과 최악 집단 손실Average loss and worst-group loss
작은 고객 집단의 손실이 전체 평균에서 가려질 수 있습니다. 예를 들어 집단별 손실이 1과 9이고 비중이 0.9와 0.1이면 평균은 1.8입니다. 최악 집단 손실은 9입니다. 두 숫자는 같은 예측 결과를 다른 질문으로 요약합니다. 작은 집단의 정확한 표본 수와 불확실성도 함께 보아야 합니다.
마지막 등식은 모든 집단 혼합 q를 허용하면 가장 큰 손실 집단에 확률 1을 놓을 수 있다는 뜻입니다. 집단 안의 조건부 자료 분포를 고정한 유한 혼합 계산입니다. 무엇을 집단으로 선언하는지가 목적을 바꿉니다. 실제 정책 배정 집단이나 보호 속성을 자료에서 임의로 만들어 냈다고 주장하지 않습니다.
최악 집단 목적을 줄이는 것이 어떤 집단의 손실도 올리지 않는다는 뜻은 아닙니다. 서로 충돌하는 모형에서는 집단 간 절충이 생깁니다. 평균·최악값·모든 집단 값을 함께 보고,필수 집단의 검증 관측이 없다면 그 집단의 위험을 0으로 채워 모델을 선택하지 않습니다.
A small group’s loss can disappear inside an overall mean. With group losses one and nine and proportions 0.9 and 0.1, mean loss is 1.8 and worst-group loss nine. They summarize the same predictions for different questions; group sample sizes and uncertainty still matter.
Allowing every group mixture permits all probability on a highest-loss group. This is a finite mixture calculation holding within-group distributions fixed. Declared group definitions change the objective; we do not invent verified protected attributes or assignment groups.
Reducing the maximum need not improve every group simultaneously. Report the mean, maximum and individual group risks. Missing validation support for a required group is undefined risk, not a zero to help a candidate win.
학부 심화 · 선택Advanced undergraduate · optional
경험 지지집합 위의 유한 강건 문제A finite robust problem on empirical support
이제 현재 확률 p와 가까운 q만 허용합니다. 두 제한을 함께 둡니다. 총변동 거리는 얼마나 많은 확률 질량을 옮겼는지 제한하고,밀도비 상한 c는 각 행을 원래보다 몇 배 강조할 수 있는지 제한합니다. 값 l_i는 손실이면 대개 음이 아니지만,실제 AIPW점수처럼 부호 있는 양일 수도 있습니다.
p는 음이 아니고 합이 1,δ는 0~1,c는 1이상입니다. 그러면 p자체가 허용되어 집합이 비지 않습니다. 확률의 합 때문에 각 q_i의 실효 상한은 min(1,c p_i)입니다. 반지름과 상한을 결과를 본 뒤 유리하게 바꾼다면 그 선택 과정도 보고해야 합니다.
자료가 없는 빈 벡터는 이 목적의 평균을 정의하지 못합니다. 모든 l이 같은 경우에는 q가 달라도 목적이 같습니다. 여러 최적 비중이 있을 수 있으므로 엔진이 반환한 결정적 동률 규칙을 유일한 최적 분포나 유일한 정책 시나리오라고 해석하지 않습니다.
Restrict q to distributions near baseline p using two controls. Total variation limits moved probability mass; a density-ratio cap limits how much any row can be emphasized. Values may be nonnegative losses or signed quantities such as AIPW scores.
Baseline probabilities are nonnegative and sum to one, radius is between zero and one, and cap is at least one. Thus p is feasible. The effective coordinate upper bound is the smaller of one and c times p. Disclose any outcome-informed choice of radius or cap.
An empty value vector leaves the average undefined. Constant values give the same objective under many q. The engine’s deterministic tie rule selects an optimizer; it does not establish uniqueness of a distribution or policy scenario.
학부Undergraduate
총변동 거리는 옮긴 질량이다Total variation is moved probability mass
값 [0,2]에 원 확률 [1/2,1/2]을 놓으면 평균은 1입니다. 최대값을 키우려면 첫 칸에서 둘째 칸으로 확률 t를 옮깁니다. q=[1/2−t,1/2+t]이고 총변동 거리는 (|−t|+|t|)/2=t입니다. 목적은 1+2t로 증가합니다.
δ=1/4,c=2이면 t=1/4까지 움직여 최대 비중 [1/4,3/4],최대 3/2입니다. 반대로 옮기면 최소 1/2입니다. δ=0으로 바꾸면 두 값 모두 원 평균 1로 돌아옵니다. 먼저 이 초기값을 재현한 뒤 반지름만 바꾸세요.
TV(q,p)=t,q=(1/2−t,1/2+t),q⊤l=1+2t
실습은 확률을 정확한 분수로 계산합니다. 그러나 유리수의 긴 원값을 첫 화면에 모두 펼치지는 않습니다. 짧은 표시값과 정확값 펼치기를 분리해,아주 작은 양수가 0처럼 보이는 경우와 실제 0을 구별합니다. 표를 읽거나 언어를 바꾸는 동작은 목적을 다시 풀지 않습니다.
For values zero and two with equal baseline probabilities, mean is one. Moving mass t from the first coordinate to the second gives q one-half minus t and one-half plus t. Total variation is t and objective is one plus two t.
At radius one-quarter and cap two, move one-quarter to obtain maximum three-halves at probabilities one-quarter and three-quarters. Reversing the move gives minimum one-half. Radius zero restores both endpoints to baseline one. Reproduce these starting settings before changing only the radius.
TV(q,p)=t,q=(1/2−t,1/2+t),q⊤l=1+2t
Probabilities are exact rational values. The initial view uses short displays with separate exact-value expansion, distinguishing a tiny positive quantity displayed as zero from exact zero. Reading a table or changing language does not solve the objective again.
학부Undergraduate
밀도비 상한과 관측하지 않은 지지집합Density-ratio caps and unseen support
바로 앞 절의 [0,2]와 p=[1/2,1/2],δ=1/4를 유지하고 c만 5/4로 바꿉니다. 각 q의 상한은 5/8이므로 t는 1/8까지만 늘어납니다. 최대는 5/4,최소는 3/4입니다. 총변동 예산 1/4중 실제로는 1/8만 쓰고 더 나아갈 수 없습니다. 제한이 있다고 항상 그 제한을 꽉 채우는 것은 아닙니다.
c=1이면 각 q_i≤p_i이고 합은 둘 다 1이므로 q=p입니다. 반지름을 크게 줘도 범위가 넓어지지 않습니다. 또 p_i=0이면 유한 c에서 q_i≤c×0=0입니다. 원 지지집합 밖에는 확률을 줄 수 없습니다.
원 지지집합의 의미를 읽는 예
값 l
원 p
δ,c
허용 평균
0,999
1,0
1,100
항상 0
0,2
1/2,1/2
1/4,1
항상 1
0,2
1/2,1/2
1/4,5/4
3/4 ~ 5/4
첫 예에서 값 999를 적어 두었어도 원 확률이 0이므로 이 강건 집합은 그 칸을 살리지 못합니다. 알려지지 않은 새 환경·새 고객·새 반사실 결과의 위험을 이 계산만으로 보장할 수 없는 이유입니다. 그런 질문에는 별도의 지지집합 확장이나 구조 가정이 필요합니다.
Keep values zero and two, equal baseline probabilities and radius one-quarter, but change only the cap to five-quarters. Coordinate upper bounds become five-eighths, so at most one-eighth mass moves. Maximum is five-quarters and minimum three-quarters. Half the TV budget remains unused because another constraint binds.
Cap one forces q to equal p: every coordinate is at most its baseline and both vectors sum to one. A finite cap also forces q zero wherever p is zero. No probability can be assigned outside baseline support.
Read the support restriction
Values
Baseline p
Radius, cap
Feasible means
0,999
1,0
1,100
Always zero
0,2
1/2,1/2
1/4,1
Always one
0,2
1/2,1/2
1/4,5/4
3/4 to 5/4
Writing an unsupported value 999 does not make its zero-probability coordinate accessible. This computation alone cannot guarantee risk in an unseen environment, for new customers, or for unknown counterfactual outcomes. Such questions require additional support or structural assumptions.
대학원 연결Graduate bridge
최악 비중의 교환 논증과 상한 증명Exchange arguments and a certificate for the worst weights
최대화에서는 작은 l에서 질량을 빼 큰 l로 옮기는 것이 유리합니다. 같은 제약 안에서 작은 값으로 보내고 더 큰 값을 아직 채울 수 있다면,그 이동의 받는 쪽을 바꾸어 목적을 약하게 늘릴 수 있습니다. 이 교환 논증으로 정렬한 기증·수신 칸을 차례로 처리하는 정확 알고리즘을 만듭니다. 단,상한·남은 질량·TV예산을 매번 지켜야 하며 동률에서는 다른 최적해가 있을 수 있습니다.
계산이 빠르다는 말과 최적임을 확인하는 말은 다릅니다. 대학원 연결로 다음 상한 증명을 봅니다. u_i=min(1,c p_i),λ≥0,η는 임의의 실수라 두면 모든 허용 q에 대해 아래 상한이 성립합니다. 합 제약과 절댓값 예산을 식에 넣은 뒤,각 칸을 독립적으로 가장 크게 만드는 방식입니다.
q⊤l≤η+2λδ+i∑0≤t≤uimax[(li−η)t−λ∣t−pi∣]
각 칸의 꺾인 직선은 0,p_i,u_i에서 최댓값을 확인하면 됩니다. S28의 최대 예에서는 η=1,λ=1을 택합니다. l=0칸의 최대는 −1/2,l=2칸의 최대는 1/2입니다. 전체 상한은 1+2×1×1/4=3/2입니다. 실제 q=[1/4,3/4]가 정확히 3/2를 달성하므로 최적임이 증명됩니다.
이런 원 문제 값과 쌍대 상한의 일치는 작은 예에서 특히 좋은 검산입니다. 합이 1이고 제약을 지킨다는 검사만으로 최적성까지 확인한 것은 아닙니다. 최소값은 −l의 최대 문제를 풀어 부호를 되돌리는 방법으로 같은 증명을 사용할 수 있습니다.
To maximize, move mass from low values toward high values. If a feasible transfer favors a lower recipient while a higher recipient has room, exchanging recipients weakly improves the objective. This supports a sorted donor-recipient algorithm that must still respect coordinate caps, remaining mass and TV budget. Ties can yield multiple optimizers.
Speed and optimality are separate claims. For a graduate bridge, set upper bounds u to the smaller of one and c times p, take nonnegative lambda and any real eta. Incorporating the sum and absolute-deviation constraints gives the upper bound below for every feasible q.
q⊤l≤η+2λδ+i∑0≤t≤uimax[(li−η)t−λ∣t−pi∣]
Each piecewise linear coordinate maximum can be checked at zero, p and u. In section twenty-eight, eta one and lambda one give coordinate maxima minus one-half and one-half. The upper bound is three-halves. Feasible q one-quarter and three-quarters attains it, certifying optimality.
Matching a primal value to a dual upper bound is a useful independent check. Feasibility alone does not prove optimality. Minimum values use the same argument by maximizing negative l and reversing the sign.
학부Undergraduate
최악 훈련 손실을 줄여도 일반화는 별개다Worst training loss and generalization are different
표본의 모든 값을 외워 훈련 손실을 0으로 만드는 큰 모형을 생각해 보세요. 모든 집단의 훈련 손실도 0일 수 있습니다. 그러면 훈련 평균 목적과 최악 집단 목적이 모두 0이지만,새 대상에서의 성능은 아직 알 수 없습니다. 최악 집단을 최적화한다는 이름만으로 표본 밖 일반화가 보장되지 않습니다.
Sagawa등의 집단 이동 연구는 집단별 훈련·시험 성능의 차이와 정규화의 역할을 함께 다룹니다. 이 장의 작은 유한 재비중 계산이 그 신경망 실험을 재현한 것은 아닙니다. 대신 무엇을 학습하고 어떤 집합에서 최악값을 계산했는지 분리해 읽는 원리를 가져옵니다.
검증 목적도 사전 지정합니다. 두 필수 집단의 검증 손실이 후보 A에서는 [1,9],후보 B에서는 [3,4]라면 최악 집단 기준은 B를 고릅니다. 원 비중 [0.9,0.1]의 평균은 A가 1.8,B가 3.1이라 평균 기준은 A를 고릅니다. 어느 기준이 필요한지는 운영 목적·오류 비용·집단 정의와 관련된 판단이며 시험 결과를 보고 소급해 정하지 않습니다.
검증에서 선택한 뒤 시험 결과를 보고 다시 고르면 시험도 선택에 사용한 자료가 됩니다. 실습의 validation선택은 입력된 후보의 관측 손실만 사용하며,미관측 효과의 정확성이나 다음 달 고객의 위험을 인증하지 않습니다.
A sufficiently flexible model may memorize every training observation, making training loss zero in every group. Both average and worst-group training objectives are then zero, while performance on new units remains unknown. Optimizing a worst-group label does not by itself guarantee generalization.
Sagawa and colleagues study group-specific training-test gaps and the role of regularization. Our finite reweighting computation is not a reproduction of their neural experiments. We use the distinction between learning a model and evaluating a worst case over a specified set.
Predeclare validation objectives. Candidates A and B with two required-group risks one and nine versus three and four yield B under worst-group loss. Under proportions 0.9 and 0.1, their means are 1.8 and 3.1, favoring A. The objective depends on operations, error costs and group definitions, rather than retrospective choice after test inspection.
Selecting again after inspecting test outcomes turns the test into selection data. Our validation lab uses factual losses of supplied predictions; it does not certify unobserved causal errors or next month’s customer risk.
표에 구간이 나왔다고 모두 같은 의미는 아닙니다. TV범위는 선언한 경험 비중 집합 안에서 고정된 값의 평균이 얼마나 움직일 수 있는지 답합니다. 신뢰구간은 명시한 표본 추출·추정 절차의 반복 성질을 다룹니다. 부분 식별 경계는 관측 정보와 인과 가정 아래 어떤 효과가 양립할 수 있는지 다룹니다.
구간의 질문을 먼저 적기
종류
움직이는 것
추가로 필요한 것
경험 TV 재비중
고정 점수에 붙인 경험 확률
p,δ,c와 지지집합 정의
표본 신뢰구간
반복 표본·추정량
표본 구조·분산·극한/유한 표본 근거
인과 식별 경계
관측되지 않은 법칙의 허용 범위
잠재 결과·선택·구조 가정
예를 들어 실제 NSW점수에 p균등,δ=0.1,c=2를 붙여 범위를 계산했다고 합시다. 그 숫자는 해당 점수의 경험 재비중 범위입니다. 95%라는 확률을 자동으로 부여하지 않으며,관측하지 못한 반사실 결과가 그 안에 있다는 보증도 아닙니다. 원 적합을 고정했는지,후보마다 다시 적합했는지도 써야 합니다.
좋은 실무 메모는 결과 숫자 뒤에 “어떤 대상을,어떤 단위로,어떤 전제에서 비교했으며 어떤 불확실성은 포함하지 않았는가”를 붙입니다. 다음 실제 세 사례는 각 원 자료의 대상·시간·분모와 이 구간의 계산 의미를 함께 읽는 연습입니다.
An interval on a page is not a single universal uncertainty object. A TV stress range varies empirical probabilities attached to fixed values. A confidence interval concerns repetition of a specified sampling and estimation procedure. Identification bounds describe effects compatible with observed information and causal assumptions.
State the interval’s question
Object
What varies
Additional specification
Empirical TV stress range
Probabilities on fixed scores
Baseline, radius, cap and support
Sampling confidence interval
Repeated samples and estimator
Sampling structure, variance and inferential justification
Causal identification bounds
Admissible unobserved laws
Potential-outcome, selection and structural assumptions
Applying uniform p, radius 0.1 and cap two to actual NSW scores produces an empirical reweighting range. It carries no automatic ninety-five-percent coverage probability or guarantee for missing counterfactual outcomes. Disclose whether nuisance fits are frozen or refitted at each candidate.
A useful decision memo states the population, units, assumptions and omitted uncertainty next to the number. The next three factual cases pair original populations, time and denominators with the exact computational meaning of their intervals.
학부Undergraduate
국가: GDP 범주 비교와 정책효과를 구별Country: distinguish GDP categories from policy effects
한 정책 담당자가 “기준 연도에 부유했던 나라가 다음 해에도 더 빨리 성장했는가?”를 묻는다고 합시다. 관측 비교로는 연구할 수 있지만,“나라를 부유하게 만드는 처치의 효과”는 어떤 개입인지부터 정해야 합니다. 이 사례는 그 차이를 실제 수치로 읽습니다.
보존한 World Bank 개정 빈티지에서 16개국의 2023년 1인당 실질 GDP와 소비자물가상승률,2024년 총 실질 GDP성장률을 읽습니다. 1인당 GDP의 가격 기준은 constant 2015 US$입니다. 2023년 GDP중위수는 약 37,125.12643이며,이를 초과하면 A=1로 선언해 8개국씩 나눕니다. 결과는 2024년 총 GDP의 연간 성장률이며,1인당 GDP성장률과 섞지 않습니다. 개정된 과거 자료의 회고적 비교라 당시 실시간 정보집합을 재현한 것이 아닙니다.
기본 full표현의 밖 AIPW점수 평균은 약 −2.3065898%p,plug-in은 −1.9026893%p입니다. coarse와 constant의 점수 평균은 각각 −2.3309492와 −2.5392032%p입니다. 같은 16개국에서 보조 모형과 정보가 달라졌을 때의 계산 차이입니다. 관측 성장률 자체는 %이고 성장률의 차이·점수는 %p로 읽습니다.
A는 GDP의 결정적 함수입니다. GDP나 A에 조건부이면 참 처치 확률이 0또는 1이므로 필요한 양성이 없습니다. full에서 6개국,coarse에서 16개국의 추정 e를 기본 닫힌 구간 [0.05,0.95]로 바꿨다는 계산은 참 겹침이나 정책 식별을 회복하지 않습니다. 국가 간 공통 충격과 독립성·대표성도 이 16행으로 입증하지 않습니다. 아래 원행과 그림을 보며 “관측 비교”라는 이름을 유지하세요.
핵심 계산표·원 그래프·전체 장부
같은 원행·K4 fold를 유지한 λ0.01,닫힌 clip[0.05,0.95],TV반지름0.1·상한2의 결과입니다. 값의 단위는 본문의 사례 설명과 같습니다. 정확값은 펼칠 때 불러오며 전체 CSV는 모든 열을 보존합니다.
그림의 가로축은 분석 원행 순서입니다. 원 ID와 fold는 장부에서 확인하세요. 표현 그림의 1·2·3은 full·coarse·constant이며 선분은 경험 TV범위입니다. 원 성향은 범위 밖일 수 있고 닫힌 clip구간과 따로 표시합니다. 실제 결과 결측·제외를 가짜 0점으로 그리지 않습니다.
A policy analyst might ask whether countries richer at baseline grew faster next year. That is a factual comparison; interpreting it as the effect of making a country rich first requires a defined intervention. This case makes the distinction concrete.
From a preserved revised World Bank vintage, we read 2023 real GDP per capita and consumer inflation and 2024 total real GDP growth for sixteen countries. GDP per capita uses constant 2015 US dollars. The 2023 median is about 37,125.12643; its strict exceedance defines A, splitting countries eight and eight. The outcome is total real GDP growth, not per-capita growth. This is retrospective analysis of revised data, not reconstruction of contemporaneous information.
Baseline full-representation AIPW score mean is about minus 2.3065898 percentage points and plug-in minus 1.9026893. Coarse and constant score means are minus 2.3309492 and minus 2.5392032 percentage points. These are changes in information and nuisance models on the same sixteen countries. Growth levels are percentages; differences and scores are percentage points.
Assignment is deterministic from GDP. Conditional on GDP or A, true propensity is zero or one. Clipping six full-representation and sixteen coarse-representation estimates into the closed interval 0.05 to 0.95 restores neither true overlap nor policy identification. Sixteen rows also establish neither country independence nor population representativeness. Retain the descriptive-comparison label while reading the source rows and figures.
Core calculations, original figures and complete ledgers
Fixed original records and four folds; lambda 0.01, closed clipping [0.05,0.95], TV radius 0.1, cap 2. Units follow the case introduction. Exact values load on expansion; complete CSVs preserve every column.
Original, eligible and arm denominators
Original, eligible and arm denominators
quantity
rows
native source rows
48
analytical records
16
eligible A0
8
eligible A1
8
excluded original records
0
Three mappings on the same source frame
Three mappings on the same source frame
representation
AIPW
plugin
IPW
normalized IPW
clipped rows
full
-2.3065898Expand to load the original exact value.
Row plots use analytical record order; identities and folds are in the ledger. Representation positions 1, 2, 3 are full, coarse, constant, with empirical TV segments. Raw propensity may lie outside probability bounds and is distinct from closed-interval clipping. Missing or excluded outcomes never become invented zero score points.
학부Undergraduate
개인: NSW 원 실험 집합을 끝까지 보존Person: retain the original NSW experimental frame
교육·훈련 지원 사업에서 참여자와 비교자의 소득을 비교할 때,어떤 원 표본을 선택했는지가 중요합니다. 이 사례는 NSW 장기 파일의 38,408개 원행·15개 변수를 읽고 19,204명의 두 파동을 보존합니다. 그중 원 실험 표본 722명을 선택하며,처치 297명·비교 425명입니다. 더 작은 유명 하위 표본과 같은 것으로 부르지 않습니다. 비실험 행의 처치 결측을 0으로 바꾸어 대조군에 합치지 않습니다.
결과는 원 파일의 1978년 실질 근로소득을 10,000으로 나눈 값입니다. 시간당 임금이나 로그 임금이 아닙니다. 처치 전 나이·교육 연수·1974년 실질 소득을 full특징으로 쓰고,원 R파일의 binary64저장값을 재현 가능한 숫자 토큰으로 보존합니다. 그 자릿수가 측정 정밀도를 뜻하지 않습니다. 자료가 확인해 주지 않는 가격 기준이나 정확한 등록 시점을 새로 지어내지 않습니다.
기본 full점수 평균은 약 0.091349243의 만 소득 단위,원 소득 척도로 약 913.49입니다. coarse는 약 0.076684947,constant는 0.090469722입니다. 4개 fold에 모든 722명을 유지해 각자의 밖 예측을 만듭니다. 모델로 추정한 성향은 원 실험의 알려진 배정 확률을 대신 확인한 값이 아닙니다.
프로그램 참여 효과를 어떤 모집단으로 일반화할 것인지,비순응·간섭·선택이 어떤지,해당 실험 설계가 어떤 추론을 정당화하는지는 별도 원문과 설계 정보로 검토해야 합니다. 이 계산에는 자동 표준오차·유효 신뢰구간을 덧붙이지 않습니다. 한 사람의 m0,m1이 표에 함께 보여도 둘 다 실제로 관측한 소득은 아닙니다.
핵심 계산표·원 그래프·전체 장부
같은 원행·K4 fold를 유지한 λ0.01,닫힌 clip[0.05,0.95],TV반지름0.1·상한2의 결과입니다. 값의 단위는 본문의 사례 설명과 같습니다. 정확값은 펼칠 때 불러오며 전체 CSV는 모든 열을 보존합니다.
그림의 가로축은 분석 원행 순서입니다. 원 ID와 fold는 장부에서 확인하세요. 표현 그림의 1·2·3은 full·coarse·constant이며 선분은 경험 TV범위입니다. 원 성향은 범위 밖일 수 있고 닫힌 clip구간과 따로 표시합니다. 실제 결과 결측·제외를 가짜 0점으로 그리지 않습니다.
In evaluating a training program, source-sample selection matters. We read all 38,408 native rows and fifteen variables, preserving two waves for 19,204 people. The original experimental frame contains 722 individuals: 297 treated and 425 controls. It is not a smaller, often-used subsample. Missing treatment entries for nonexperimental records are not recoded as controls.
The outcome is native real 1978 earnings divided by ten thousand, not hourly or logged wages. Full features are pre-treatment age, education years and real 1974 earnings. Native R binary64 storage values are preserved through reproducible numeric tokens; their digits do not imply measurement precision. No unverified price base or exact enrollment date is invented.
Baseline full score mean is about 0.091349243 in ten-thousand earnings units, or about 913.49 on the original earnings scale. Coarse gives 0.076684947 and constant 0.090469722. Four-fold cross-fitting retains all 722 individuals. A fitted propensity is not verification of a known experimental assignment probability.
External validity, noncompliance, interference, selection and design-based inference require separate source and design evidence. We add no automatic standard errors or valid confidence intervals. Two predicted nuisance outcomes in one row are not two observed earnings outcomes.
Core calculations, original figures and complete ledgers
Fixed original records and four folds; lambda 0.01, closed clipping [0.05,0.95], TV radius 0.1, cap 2. Units follow the case introduction. Exact values load on expansion; complete CSVs preserve every column.
Original, eligible and arm denominators
Original, eligible and arm denominators
quantity
rows
native source rows
38408
analytical records
722
eligible A0
425
eligible A1
297
excluded original records
0
Three mappings on the same source frame
Three mappings on the same source frame
representation
AIPW
plugin
IPW
normalized IPW
clipped rows
full
0.091349243Expand to load the original exact value.
Row plots use analytical record order; identities and folds are in the ledger. Representation positions 1, 2, 3 are full, coarse, constant, with empirical TV segments. Raw propensity may lie outside probability bounds and is distinct from closed-interval clipping. Missing or excluded outcomes never become invented zero score points.
학부Undergraduate
점포: 실제 FTE 변화와 두 주 정책Stores: factual FTE changes and a two-state policy
같은 기업의 여러 점포는 같은 분석 단위가 아닐 수 있습니다. 이 사례의 원 단위는 NJ·PA 패스트푸드 점포 행입니다. 원 410행·46변수를 보존하며,PA 79행과 NJ 331행입니다. FTE는 전일제 인원+시간제 인원의 절반+관리자 수라는 선언한 정의로 계산합니다. 처치 전 관측은 398행,후 관측은 396행,두 시점 모두 있는 쌍은 384행입니다. 쌍의 PA·NJ분모는 75와 309입니다.
결과는 각 점포의 후 FTE−전 FTE입니다. 기본 full모형은 전 FTE/10,chain2여부,기업 소유 여부를 사용합니다. 기본 AIPW점수 평균은 약 0.85391161 FTE,coarse는 2.39513869,constant는 2.59787323입니다. 결측 26행을 고용 0이나 폐점으로 바꾸지 않고,분석 부적격 이유와 함께 원 장부에 남깁니다.
원 SHEET키 407이 두 번 나옵니다. 고유한 분석 행 ID를 따로 두어 둘 다 보존하고,보수적으로 같은 fold집단에 둡니다. 이 선택을 실제 물리적 점포가 반드시 같다는 증거로 해석하지 않습니다. 원 키와 고유 행 키를 동시에 보아야 재현·중복 점검을 할 수 있습니다.
여기 구현한 것은 ΔFTE를 결과로 쓰는 일반 ATE형 AIPW점수입니다. 패널 DID의 DR ATT점수와 같다고 부르지 않습니다. 평행 추세·정책 배정·주 단위 공통 충격·두 주를 넘어선 일반화는 별도 설계 문제입니다. 384점포의 밖 예측이 독립 정책 배정 단위 384개를 만들어 주지 않습니다.
핵심 계산표·원 그래프·전체 장부
같은 원행·K4 fold를 유지한 λ0.01,닫힌 clip[0.05,0.95],TV반지름0.1·상한2의 결과입니다. 값의 단위는 본문의 사례 설명과 같습니다. 정확값은 펼칠 때 불러오며 전체 CSV는 모든 열을 보존합니다.
그림의 가로축은 분석 원행 순서입니다. 원 ID와 fold는 장부에서 확인하세요. 표현 그림의 1·2·3은 full·coarse·constant이며 선분은 경험 TV범위입니다. 원 성향은 범위 밖일 수 있고 닫힌 clip구간과 따로 표시합니다. 실제 결과 결측·제외를 가짜 0점으로 그리지 않습니다.
A company and one of its stores need not be the same analysis unit. Here native units are NJ and PA fast-food store records: 410 rows and forty-six variables, with seventy-nine PA and 331 NJ rows. Declared FTE is full-time employees plus half part-time employees plus managers. Pre-policy FTE is observed in 398 rows, post-policy in 396 and both in 384, comprising seventy-five PA and 309 NJ stores.
Outcome is post minus pre FTE. Full models use pre FTE divided by ten, chain2 and corporate ownership. Baseline AIPW score mean is about 0.85391161 FTE; coarse gives 2.39513869 and constant 2.59787323. Twenty-six incomplete pairs remain in the ledger with eligibility reasons, rather than being converted to zero employment or closures.
Native SHEET407 occurs twice. Separate analytical row identities retain both records, conservatively assigning the same fold group. This rule does not prove physical-store identity. Preserve both original keys and unique row keys for reproducibility.
This implementation applies a generic ATE-style AIPW score to FTE changes; it is not the DR ATT score for panel DID. Parallel trends, policy assignment, state shocks and external validity require separate design evidence. Out-of-fold predictions for 384 stores do not create 384 independent policy-assignment units.
Core calculations, original figures and complete ledgers
Fixed original records and four folds; lambda 0.01, closed clipping [0.05,0.95], TV radius 0.1, cap 2. Units follow the case introduction. Exact values load on expansion; complete CSVs preserve every column.
Original, eligible and arm denominators
Original, eligible and arm denominators
quantity
rows
native source rows
410
analytical records
410
eligible A0
75
eligible A1
309
excluded original records
26
Three mappings on the same source frame
Three mappings on the same source frame
representation
AIPW
plugin
IPW
normalized IPW
clipped rows
full
0.85391161Expand to load the original exact value.
Row plots use analytical record order; identities and folds are in the ledger. Representation positions 1, 2, 3 are full, coarse, constant, with empirical TV segments. Raw propensity may lie outside probability bounds and is distinct from closed-interval clipping. Missing or excluded outcomes never become invented zero score points.
학부Undergraduate
실제 원행에서 밖 점수까지 연결하기Connect actual source rows to out-of-fold scores
원 자료를 내려받아 보는 목적은 화려한 표본 수를 적는 것이 아니라 계산 경로를 추적하는 것입니다. 원행 ID→선택 이유→fold집단→원 특징→해당 밖 fold의 학습 행→e,m0,m1→점수 순서로 한 행을 따라가 보세요. 미정의는 어떤 단계에서 생겼는지 함께 남깁니다.
기본값은 λ=0.01,성향 clip=0.05,K=4,TV반지름 0.1,밀도비 상한 2입니다. 표준화 평균·범위는 전체 자료가 아닌 해당 fold의 학습 보완 집합에서 계산합니다. 결과 회귀의 두 arm에도 같은 좌표를 씁니다. 상수 특징의 범위는 1로 두고 절편은 규제하지 않습니다.
trainingLimit은 원 순서의 적격 앞부분으로 보조 학습 행을 제한하는 실험 옵션입니다. 기본은 전체 적격 보완 집합입니다. 제한을 줄였다고 원 질의 행 수나 원 자료가 줄었다고 보고하지 않습니다. 특정 fold에 필요한 arm이 없으면 해당 예측·점수는 미정의이며 0회귀로 채우지 않습니다.
개인 전체 exact계산은 이 실행 환경에서 약 8초가 걸렸습니다. 계산은 Worker에서 실행하고,입력 변경·취소 후 도착한 이전 답은 버립니다. 캐시된 결과를 읽고 언어를 바꾸는 동작은 전체 적합을 다시 실행하지 않습니다. 기본 표는 짧은 표시값을 쓰며,긴 정확 분수와 전체 JSON은 요청할 때 펼칩니다.
Source downloads make a calculation traceable, rather than merely adding a large sample-size label. Follow one original identity through selection, fold group, features, complementary training rows, nuisance predictions and its score. Retain the stage responsible for undefined results.
Defaults are lambda 0.01, clipping 0.05, four folds, TV radius 0.1 and cap two. Feature means and ranges come from the corresponding training complement, with shared coordinates for both outcome arms. Constant ranges become one and intercepts are unpenalized.
The optional training limit restricts eligible nuisance-training prefixes in original record order; default uses all complementary rows. It never silently reduces original query records. Missing required arms leave fits and scores undefined rather than creating zero regressions.
Exact full-person computation took about eight seconds on this execution host. The UI uses a Worker and discards replies arriving after changed input or cancellation. Reading cached output and switching language do not refit. Tables show short values; long exact fractions and complete JSON expand on demand.
학부Undergraduate
누출 점검은 어떤 예측이 그대로여야 하는지부터A leakage audit first defines what must remain invariant
교차 적합을 “결과를 바꾸어도 모든 예측이 그대로다”라고 검사하면 잘못된 테스트가 됩니다. 한 fold의 밖 결과 Y를 사본에서만 바꾸어 보세요. 그 fold의 학습 보완 집합은 바뀌지 않으므로,그 fold관측의 e,m0,m1은 같아야 합니다. 반면 그 원행이 학습에 들어가는 다른 fold의 결과 회귀는 바뀔 수 있습니다.
바꾼 fold의 관측 점수는 Y를 직접 사용하므로 보통 달라집니다. 정확한 검사 대상은 그 fold의 보조 예측·좌표·학습 ID이지 점수 전체의 불변이 아닙니다. 성향 회귀는 Y를 목표로 쓰지 않으므로 Y만 바꾼 실험에서 전체 성향 경로는 그대로여야 합니다.
실제 공개 재현에서는 원본을 덮어쓰지 않고 메모리 사본을 만듭니다. 어느 fold의 어떤 열을 가상으로 바꾸었는지,기대 불변량이 무엇인지 적고 원 자료 해시는 그대로 유지합니다. 반사실 결과를 관측했다고 주장하는 실험도 아닙니다.
예측 후보를 고르는 validation실습에서는 시험 Y를 바꾸어도 선택이 그대로여야 합니다. 시험 손실은 달라질 수 있습니다. 교차 적합의 보완 학습 규칙과 고정 후보의 시험 미사용 규칙을 같은 불변성 검사로 혼동하지 마세요.
A cross-fitting audit is not the claim that every prediction stays fixed after changing outcomes. Change held-out outcomes for one fold only in a copy. That fold’s training complement is unchanged, so its nuisance predictions, coordinates and training identities must remain fixed. Other folds may change because their training data include the edited observations.
Scores for edited observations directly use Y and generally change. The invariant concerns their nuisance predictions, not all scores. Because propensity regression does not use Y as its target, changing only outcomes should preserve the complete propensity path.
Reproduction uses an in-memory hypothetical copy, never overwritten originals. Declare the edited fold and columns, expected invariants and unchanged original hashes. The audit creates no observed counterfactual outcomes.
For validation selection among supplied candidates, editing test Y must leave selection fixed while test risk may change. Do not confuse this no-test-selection condition with cross-fitting’s complementary-training condition.
학부Undergraduate
실제 점수의 경험 재비중 범위를 읽기Read empirical reweighting ranges of factual scores
기본 full밖 점수를 고정하고 균등 원 비중,δ=0.1,c=2로 재비중합니다. 국가 점수 평균은 약 −2.30659%p이고 경험 범위는 [−3.93319,−0.679994]%p입니다. 개인은 만 소득 단위 평균 0.0913492와 범위 [−0.322462,0.505161]입니다. 점포는 0.853912 FTE와 [−5.94483,7.65265] FTE입니다.
단위를 원 소득으로 되돌리면 개인 점수 범위는 양 끝에 10,000을 곱합니다. 약 −3,224.62부터 5,051.61까지 원 소득 단위입니다. 이것이 확률 95%로 원 효과를 포함한다거나 10%의 참가자를 새로 추출했다는 뜻은 아닙니다. 고정된 경험 값에 붙인 확률 질량을 총변동 0.1이내에서 옮긴 계산입니다.
기본 p가 균등하고 c=2이므로 각 원행을 원 비중의 최대 두 배까지 강조합니다. 어떤 q가 최대를 만드는지 원 ID별로 볼 수 있습니다. 극단 점수는 큰 잔차·성향 분모·결과 단위·모형 외삽 등 여러 이유로 나올 수 있으니 구성 항을 함께 읽으세요.
이 범위는 보조 함수를 고정합니다. 이동한 분포마다 다시 적합하거나,관측되지 않은 개입 결과를 허용하는 다른 문제라면 새 계산과 새 가정이 필요합니다. 그림의 경험 범위를 인과 신뢰구간처럼 이름 붙이지 않습니다.
Freeze baseline full out-of-fold scores and reweight uniform probabilities at radius 0.1 and cap two. Country mean is about minus 2.30659 percentage points with empirical range minus 3.93319 to minus 0.679994. Person mean is 0.0913492 in ten-thousand earnings units with range minus 0.322462 to 0.505161. Store mean is 0.853912 FTE with range minus 5.94483 to 7.65265.
Multiplying both person endpoints by ten thousand gives about minus 3,224.62 to 5,051.61 on the original earnings scale. This is neither ninety-five-percent coverage nor redrawing ten percent of participants. It moves probabilities attached to fixed empirical values within TV distance 0.1.
Uniform baseline and cap two permit at most twice each original row probability. Inspect optimizing weights by original identity. Extreme scores can reflect residuals, propensity denominators, outcome units or extrapolation; read their components together.
Nuisance fits remain fixed. Refitting under every moved distribution or allowing unknown intervention outcomes would define different problems with additional assumptions. Do not label the plotted empirical range a causal confidence interval.
학부Undergraduate
모형 선택도 관측 질문에 한정한다Model selection also needs a declared factual question
여기서는 원 인과효과의 정답을 모른 채 실제 표현을 승자로 선언하지 않습니다. 먼저 작은 별도 가상 예측 표에서 선택 규칙을 확인합니다. 검증 두 행의 관측 Y는 0,집단은 G와 H,분석 비중은 9와 1입니다. 후보 A예측은 1과 3,B예측은 2와 2입니다. A의 집단 제곱 손실은 1과 9,B는 4와 4입니다.
평균 기준은 A의 1.8과 B의 4를 비교해 A를 고릅니다. 최악 집단 기준은 9와 4를 비교해 B를 고릅니다. 이 차이는 기준이 다른 결과이며,후보의 인과효과 정확성을 비교한 것이 아닙니다. 집단별 양의 검증 비중이 필요한 규칙에서 H가 비면 그 기준은 미정의입니다.
후보마다 결측 예측이 다른 경우에도 모든 후보의 공통 완전 집합에서 위험을 비교합니다. 한 후보가 어려운 관측을 결측으로 두어 유리한 분모를 얻지 않게 하려는 규칙입니다. 이 선택된 집합이 원 운영 대상과 얼마나 다른지는 별도로 공개합니다.
실습에는 별도 시험 행을 남깁니다. 시험 Y를 바꾸면 시험 손실은 바뀌되 선택은 같아야 합니다. 숫자로 selection조건을 검증한 뒤,실제 인과 분석에서는 어떤 식별 조건과 목표 효과가 추가로 필요한지 설명하세요.
We do not declare a factual representation causally correct without effect ground truth. First inspect selection in a separate constructed prediction table: two validation rows with Y zero, groups G and H, and weights nine and one. Candidate A predicts one and three; B predicts two and two. Their group squared risks are one and nine versus four and four.
Mean risk selects A, comparing 1.8 with four. Worst-group risk selects B, comparing nine with four. This is a difference in objectives, not evaluation of causal-effect accuracy. Missing positive validation support for required group H leaves that criterion undefined.
When candidates have different missing predictions, selection uses their common complete frame. A candidate cannot improve its denominator by omitting difficult observations. Disclose how this common frame differs from the operational target.
A separate test row permits a no-test-selection check: changed test outcomes may alter test risks but not selection. After verifying the numeric condition, identify the additional causal assumptions and effect target needed for factual analysis.
정책·기업 실무에서 마지막 산출물은 소수점이 많은 평균 하나가 아닙니다. 먼저 질문의 대상을 적습니다. 국가 GDP범주,실험 참가자,두 주 점포는 서로 다른 대상입니다. 다음으로 결과 단위와 기간,관측 비교인지 가정 아래 효과인지,누가 어떤 행동을 할지 씁니다.
수치가 양수라고 바로 시행하거나 음수라고 바로 중단할 수는 없습니다. 지원 비용·시행 가능성·분배·외부효과·적용 대상과 대안이 필요합니다. 이 교재의 실제 파일에 비용이 없는데 임의의 원가를 실제 관측처럼 덧붙이지 않습니다. 비용을 가정한 별도 시나리오라면 그 가정과 단위를 명시하고 손익분기 계산을 분리합니다.
메모의 검산 부분에는 원 데이터·선택 장부·모형 설정·분모·fold·단위·재현 코드 링크를 남깁니다. 해석 부분에는 미확인 겹침,국가·주 공통 충격,선택·누락·일반화와 경험 범위가 포함하지 않은 불확실성을 씁니다.
독자가 원문을 내려받지 않아도 핵심 질문·수치·한계를 읽을 수 있게 본문과 핵심 표를 제공합니다. 더 깊은 검산은 전체 원행·정확값·원 그래프와 완전한 Python·R코드로 이어집니다. 다음 부분에서 그 재현 절차와 읽기 자료를 따라갑니다.
An operational conclusion is more than a many-digit mean. State whether the target is GDP categories, experimental participants or two-state stores, then specify outcome units, time, descriptive versus assumption-based causal interpretation, and the contemplated decision.
A positive number alone does not determine adoption, nor a negative number rejection. Costs, feasibility, distribution, spillovers, targets and alternatives matter. We never present invented costs as observed source fields. Any assumed-cost scenario needs its own units, assumptions and break-even calculation.
A reproducibility section links originals, selection ledgers, model settings, denominators, folds, units and complete code. An interpretation section discusses unresolved overlap, common country or state shocks, selection, missingness, external validity and uncertainty omitted from empirical stress ranges.
Core questions, results and limits are readable without downloading the original report. Full rows, exact values, original figures and complete Python and R programs support deeper verification. The next part follows that reproduction and reading path.
학부Undergraduate
핵심 표에서 전체 원행까지 재현하기Reproduce from core tables to complete source rows
첫 읽기에서는 사례별 대상·기간·단위와 3개 표현의 핵심 수치를 보세요. 다음 읽기에서는 한 행을 골라 원행과 밖 점수 장부를 대조합니다. 모든 원행을 첫 화면에 긴 HTML로 복사하는 대신,핵심 표와 페이지별 장부·전체 CSV를 연결합니다. 첫·중간·마지막 페이지도 같은 전체 행 장부의 일부입니다.
재현 묶음에는 실제 원 CSV,선택·fold장부,코드,기본 설정과 출처 계약이 있습니다. 원본의 압축·R저장 형식에서 공개 CSV로 옮기는 단계와,그 CSV로 분석을 다시 하는 단계를 구분하세요. 앞 단계는 원 토큰·저장값·메타데이터의 보존을,뒤 단계는 선택·적합·점수·비중 계산을 확인합니다.
먼저 새 빈 결과 폴더에서 기본 프로그램을 실행하고,그 다음에 설정을 하나씩 바꾼 사본 실험을 합니다. 원 CSV를 덮어쓰지 않습니다. 전체 원행은 다운로드 링크로,해당 실습의 완전한 고정 예제 코드는 코드 읽기와 직접 파일 다운로드로 모두 제공합니다. 원 SVG는 확대해 읽고 모바일에서는 그림 안에서 가로 이동할 수 있습니다.
First read each case’s population, time, units and three-representation summaries. Then trace one record from native rows to its out-of-fold score. Core tables, paged ledgers and complete CSVs avoid copying every row into the initial HTML. First, middle and final pages refer to the same full ledger.
The bundle contains factual CSVs, selection and fold ledgers, complete code, defaults and provenance. Distinguish native archive or R-storage extraction from analysis of exported CSVs: extraction preserves tokens, storage values and metadata; analysis reproduces selection, fitting, scoring and weighting.
Run defaults in a fresh output directory before single-setting hypothetical changes in copies. Never overwrite source CSVs. Full original rows and fixed-example code have direct download links alongside complete readers. Original vector figures remain zoomable with scrolling contained inside the figure.
Python·R로 같은 계산 경로 따라가기Follow the same computational path in Python and R
공개 프로그램은 저장된 모형 답이나 웹 엔진을 불러와 복사하지 않고 실제 CSV에서 분석 집합을 재구성합니다. 국가의 중위수 범주,NSW실험 선택,NJPA FTE쌍을 먼저 만들고 원 집단 키의 SHA256정렬로 fold를 다시 정합니다. 모형 입력과 중간 값도 표로 저장해 최종 평균만 맞추는 검사를 피합니다.
Python은 표준 Fraction으로 보존한 숫자의 유리수 계산을 수행합니다. NSW의 CSV는 원 binary64저장값을 복구하는 토큰이므로 그 저장값을 유리수로 읽는 규칙을 명시합니다. base R은 부동소수점 선형대수와 명시한 수치 허용오차로 재현합니다. R의 짧은 표시 자릿수가 Python의 정확 분수와 바이트까지 같아야 한다는 잘못된 약속을 하지 않습니다.
실행 후에는 적격 ID·fold·실제 학습 ID·표준화 좌표·계수·밖 예측·e자름·행 점수·최악 비중을 순서대로 대조합니다. 작은 차이가 있으면 원 토큰·가격/인원 단위·같은 완전 집합·규제 정규화·정렬을 먼저 점검하세요. 분모가 다르거나 ATE와ATT점수를 혼동한 것은 단순 부동소수점 오차가 아닙니다.
Public programs reconstruct analysis frames from factual CSVs rather than importing stored answers or the web engine. They rebuild the country median category, experimental NSW selection, NJPA FTE pairs and SHA256 group folds. Intermediate outputs prevent a check limited to the final mean.
Python uses standard Fraction arithmetic. NSW tokens restore native binary64 storage, with that reading convention explicit. Base R reproduces the calculation numerically using declared tolerances. We do not promise byte-identical exact fractions from floating-point R.
Compare eligible identities, folds, actual training identities, coordinates, coefficients, out-of-fold predictions, clipping, row scores and optimizing weights. Investigate source tokens, units, common frames, penalty normalization and sorting before blaming numerical precision. Different denominators or confusing ATE with ATT are substantive discrepancies.
대학원 연결Graduate bridge
정확값·표시값·미정의의 계약Contracts for exact values, displays and undefined results
정확 유리수라고 무한한 자릿수의 입력을 제한 없이 받는 것은 아닙니다. 외부 토큰 길이·지수·행 수·총 문자·작업량 한도를 명시해 계산을 중단할 수 있게 합니다. 유효한 외부 수를 파싱한 뒤 생긴 내부 분수를 다시 외부 입력으로 읽지 않습니다. 자료 규모가 크면 계산 중·취소·오류와 캐시된 결과를 명확히 구분합니다.
기본 숫자 표시는 짧은 근삿값입니다. 정확한 양수가 표시 0이 되거나 정확히 1미만인 수가 1로 반올림될 수 있습니다. 비영 underflow,표시 overflow,실제0,미정의를 각각 남기고 정확값 펼치기로 확인합니다. 긴 원 분수와 전체 JSON을 언어 전환마다 다시 만들지 않습니다.
빈 평균·처치 arm 부재·e경계·필수 검증 집단 부재·훈련 부족은 각기 다른 미정의 이유입니다. 이를 0손실·0효과·거짓으로 통일하면 학습자가 자료가 있다는 잘못된 인상을 받습니다. 예/아니요도 정의 상태와 값이 별도인 결과 객체라면 두 상태를 먼저 풀어 표시해야 합니다.
λ=0에서 해가 유일하지 않을 수 있습니다. 엔진은 선언한 자유 좌표 0의 해를 내고,다른 최소해에서도 질의 예측이 같은지 따로 표시합니다. 한 해를 반환했다는 사실과 모수가 식별되거나 모든 질의가 불변이라는 사실을 구분하세요.
Exact rational arithmetic does not mean unbounded input. Declare external token, exponent, row, character and work limits, and support cancellation. Parsed internal fractions are not reparsed as new external tokens. Distinguish computing, canceled, dirty, failed and cached states.
Short displays may round a nonzero value to zero or a value below one to one. Preserve underflow, overflow, exact-zero and undefined states, with exact expansion on demand. Language changes should not rebuild long fractions or complete JSON.
Empty averages, absent treatment arms, boundary e, missing validation groups and insufficient training have different undefined reasons. They are not all zero loss, zero effect or false. Packed yes/no results also require unpacking definition status before the boolean value.
At lambda zero a fit can have multiple minimizing coefficients. A declared free-coordinate-zero solution is accompanied by a separate query-invariance check. Returning one minimizer does not establish parameter identification or invariant predictions everywhere.
학부Undergraduate
학자의 이름에서 연구 질문으로From scholars’ names to research questions
학자 소개는 이름을 외우는 목록보다 질문을 기억하는 도구로 쓰세요. Neyman직교성은 “보조 함수의 작은 오차가 관심 모멘트에 일차적으로 얼마나 들어오는가?”를 묻는 연결점입니다. 여기서는 S14의 방향 미분과 곱 오차를 직접 확인합니다. 2017 DML노트는 이 역사적 연결과 ATE점수의 계보를 설명합니다.
같은 노트는 Robins·Rotnitzky의 효율 점수 연구를 연결합니다. Robins를 따라 읽을 질문은 “관측 구조와 빠진 정보 아래 어떤 평균을 추론하며 어떤 가정이 필요한가?”입니다. 공식 인물·연구 안내에서 주제를 확장하되,연구자 이름 자체를 이 자료의 식별 보증으로 사용하지 않습니다.
Athey와 Wager의 causal forest원문은 조건부 평균 효과의 이질성과 정직한 표본 분리를 연결하는 읽기입니다. 같은 나뭇잎을 고르는 자료와 그 안 효과를 계산하는 자료를 분리하는 직관을 살펴보세요. 여기의 교차 적합 ridge가 causal forest구현은 아닙니다.
공통 질문은 “어떤 평균인가,무엇을 관측했는가,어떤 단계가 학습되었는가,무슨 조건에서 추론하는가”입니다. 수학자·경제학자·역학자의 도구를 특정 정책 입장의 정답으로 받아들이지 말고,자료와 가정에 연결해 검토합니다.
Use scholars as guides to questions. Neyman orthogonality asks how nuisance errors enter a target moment to first order. Section fourteen checks that derivative. The 2017 DML note connects this idea to earlier work and ATE scores.
That note links Robins and Rotnitzky’s efficient-score research. Ask what missing information and assumptions permit inference; the official research profile offers further directions. A scholar’s name does not certify our factual identification.
Athey and Wager’s causal forest paper connects conditional mean-effect heterogeneity with honest separation of tree construction and leaf estimation. Our cross-fitted ridge is not a causal forest.
Across disciplines, ask which average, what observations, which learned stages and what inferential assumptions. These methods do not dictate a political position.
학부Undergraduate
본문 영상: 이질적 효과의 조건을 메모하기In-page video: take notes on heterogeneous-effect assumptions
OCIS의 공식 지난 강연 목록에서 연결한 Susan Athey·Stefan Wager의 이질적 처치효과 강연입니다. 본문 플레이어에서 재생하며,다음 질문을 자기 말로 메모하세요. 평균적인 효과와 어떤 X를 가진 대상의 조건부 평균 효과는 어떻게 다른가? 관측 결과를 예측하는 일과 효과를 추론하는 일에 어떤 추가 전제가 필요한가?
잠시 멈추고 S24두 세계를 다시 설명해 보세요. 조건부 평균 효과를 예측해도 개인의 두 잠재 결과를 동시에 관측하는 것은 아닙니다. 이어서 표본을 어떤 역할로 나누는지,모형 선택과 추론을 어떻게 분리하는지 확인합니다. 특정 시각을 임의로 지정하지 않았으므로 해당 주제가 나오는 부분은 자신의 재생 위치와 함께 기록하세요.
시청 뒤에는 자신의 실제 사례 한 개를 골라 원문과 다른 부분을 적습니다. 이 장의 모형은 선형 ridge보조 함수·AIPW평균·경험 TV재비중입니다. 영상의 방법·소프트웨어와 같은 이름의 결과로 혼동하지 않으면 영상을 복사하는 대신 연구 질문을 옮겨 배울 수 있습니다.
This talk by Susan Athey and Stefan Wager is linked from the official OCIS past-talk listing. Watch in the embedded player and describe the difference between an overall mean effect and a conditional mean effect, and the assumptions beyond predicting observed outcomes.
Pause to explain the two worlds in section twenty-four. Conditional mean-effect prediction does not observe both individual potential outcomes. Note how learning, selection and inference are separated. No unverified timestamps are supplied; record your own playback positions for relevant topics.
Then identify how your chosen factual case differs. Our methods are linear ridge nuisance functions, an AIPW mean and empirical TV reweighting. Distinguishing them from the talk’s implementation transfers questions rather than copying labels.
Sagawa등의 집단 이동 연구: 어떤 집단 혼합을 최악화하고 정규화가 왜 필요한지 적습니다. 경험 TV행 재비중과 집단 신경망 학습의 차이도 표시하세요.
Wager·Athey의 causal forest: 도입과 2절에서 비관측 반사실·조건부 비혼란·정직한 자료 분리의 역할을 읽으세요. 모든 forest모형에 같은 추론 정리를 적용하지 않습니다. 어느 원문에서도 추정법의 이름만 가져오지 말고 그 이름에 붙은 대상·가정을 함께 옮깁니다.
DML note: compare equation five and cross-fitting with sections twelve and fifteen. Separate identification from rate conditions; fixed group hashes do not automatically satisfy an IID random-partition theorem.
Johansson, Shalit and Sontag: relate factual and counterfactual distributions to representation, then compare our finite counterexample. It does not reproduce their neural procedure or complete bound.
Sagawa and colleagues: identify group mixtures and regularization, distinguishing them from our empirical row reweighting.
Wager and Athey: read the introduction and section two for missing counterfactuals, unconfoundedness and honesty. Do not extend a theorem to every forest. Bring the target and assumptions with each method’s name.
학부Undergraduate
종합 실습: 1쪽 비교표와 재현 묶음Capstone: a one-page comparison and a reproduction bundle
국가·개인·점포 중 하나를 고르고 같은 원행·fold에서 full,coarse,constant를 비교하세요. 1쪽 표에는 분석 대상·결과 단위·적격 n·처치/비교 분모·AIPW·plug-in·IPW·정규화 비교·clip수·TV범위를 놓습니다. 더 긴 행별 결과는 별도 CSV로 연결합니다.
다음에는 한 설정만 바꾼 실험을 설계합니다. λ,표현,clip,TV반지름 중 하나를 고르고 나머지는 고정하세요. 무엇이 적합을 다시 요구하고 무엇은 고정 점수의 재비중만 요구하는지 먼저 예측합니다. 행 구성이 달라졌다면 효과 차이라고 말하기 전에 분모부터 설명합니다.
누출 실험은 사본에서 한 밖 fold의 Y만 바꾸고 자기 fold의 보조 예측이 그대로인지 검사합니다. 별도 validation후보 실험에서는 test Y를 바꾸고 선택이 그대로인지 검사합니다. 두 불변량의 차이를 자신의 문장으로 적으세요.
마지막으로 실행 명령·환경·원 파일 해시·설정·핵심 표·그림·전체 코드와 한계 메모를 묶습니다. 숫자가 재현되었는가와 결론이 인과적으로 정당한가는 다른 칸에서 답합니다.
Choose one factual case and compare full, coarse and constant on unchanged records and folds. A one-page table reports units, eligibility and arm counts, AIPW, plug-in, IPW, normalized contrasts, clipping and TV ranges. Link longer row results as CSV.
Vary one setting among lambda, representation, clipping and TV radius while fixing the others. Predict which change refits nuisance models and which only reweights frozen scores. Explain changed denominators before calling disagreement an effect change.
In a copy, edit one held-out fold’s Y and audit its nuisance invariants. Separately edit test Y in candidate validation and audit unchanged selection. Explain why these invariants differ.
Package commands, environment, original hashes, settings, core tables, figures, full code and limits. Answer computational reproducibility and causal justification in separate fields.
학부Undergraduate
학습 마무리: 질문에 맞는 주장으로 보고하기Report claims that match the question
처음에는 같은 사람의 두 결과를 동시에 볼 수 없다는 문제에서 출발했습니다. 평균 효과를 말하려면 대상·처치·일관성·교환가능성·양성을 정해야 했습니다. 보조 회귀와 성향을 결합하고 교차 적합해도 이 전제를 대신 증명하지는 않았습니다.
표현은 계산을 편하게 하지만 필요한 정보를 지울 수 있습니다. 상수 표현의 완벽한 균형이 남은 교란을 없애지 않았고,관측 손실 0도 반사실 진실을 정하지 못했습니다. 반대로 가역 좌표는 정보와 알고리즘 불변성을 구분해 읽게 했습니다.
분포 강건 계산에서는 허용한 확률 집합을 먼저 적었습니다. 질량 이동·상한·원 지지집합을 지켜 정확 최악값을 구하고,작은 예에서는 쌍대 상한으로 확인했습니다. 이 경험 범위를 표본 신뢰구간이나 인과 식별 집합으로 바꾸어 부르지 않았습니다.
다음 비교·배포 장에서는 이 구분을 운영 계약으로 옮깁니다. 무엇을 학습하고 무엇을 선택했는지,늦게 도착하는 라벨과 실제 환경 변화에서 어떤 주장을 유지할 수 있는지,실패를 어떻게 기록하고 되돌릴지를 실제 자료와 함께 이어갑니다.
We began with the missing second outcome for each unit. A mean causal effect requires a target, treatment, consistency, exchangeability and positivity. Combining nuisances and cross-fitting does not prove those assumptions.
Representations simplify computation but may discard adjustment information. Perfect balance of a constant did not remove confounding, and zero factual loss did not identify counterfactual truth. Invertible coordinates separated information preservation from algorithmic invariance.
Distributional robustness began by declaring allowable probabilities. Exact extrema respect moved mass, caps and support; a small dual certificate verified optimality. Empirical stress ranges remained distinct from sampling intervals and causal identification sets.
Subsequent comparison and deployment chapters turn these distinctions into operational contracts: learned and selected stages, delayed labels, environmental change, failure records and reversible decisions using factual data.
연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof
먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.
1. 두 숫자는 다른 비교에서 나온다Two numbers from different comparisons
S1의 가상 두 행에서 효과 평균과 관측 집단 차이를 각각 구하세요. 같아야 하나요?
Compute the average effect and observed treated-control difference in section one. Must they match?
풀이와 확인할 이유Solution and explanation
효과는 두 행 모두 1이라 평균은 1입니다. 관측 처치 평균은 3,비교 평균은 0이므로 관측 차이는 3입니다. 처치 집단과 비교 집단의 기초 잠재 결과 구성이 달라 두 양이 같을 필요는 없습니다.
Both effects equal one, so ATE is one. The observed treated mean is three and the control mean zero, giving three. Different baseline potential-outcome composition can make the two quantities differ.
2. 대상을 바꾸면 평균도 바뀐다Changing the target changes the average
효과 1과 3을 가진 두 가상 단위의 비중이 3과 1입니다. ATE를 구하고 비중을 30과 10으로 바꾸면 어떻게 되나요?
Two hypothetical effects are one and three, with weights three and one. Find ATE and then rescale weights to thirty and ten.
풀이와 확인할 이유Solution and explanation
ATE=(3×1+1×3)/(3+1)=3/2입니다. 비중을 10배 해도 분자와 분모가 같이 10배 되므로 3/2로 같습니다. 비중의 절대 합보다 대상의 상대적 구성이 평균을 정합니다.
ATE is three-halves. Scaling both weights by ten multiplies numerator and denominator by ten, leaving the same average. Relative target composition determines this mean.
3. ATT의 분모The ATT denominator
효과가 각각 1과 3이고 실제 배정은 각각 0과 1입니다. 두 행에 같은 비중을 주면 ATE와 ATT는 무엇인가요?
Effects are one and three, and realized assignments zero and one. With equal weights, what are ATE and ATT?
풀이와 확인할 이유Solution and explanation
ATE는 두 효과의 평균 2입니다. ATT는 실제 처치 A=1인 둘째 행만의 평균이라 3입니다. 처치 집단 비율을 ATE전체 분모와 혼동하지 않습니다.
ATE averages both effects and equals two. ATT averages only the second, treated unit and equals three. Its denominator is the treated population weight.
4. 교란 법칙의 관측 평균Observed means in the confounding law
S4의 알려진 법칙에서 처치·비교 집단의 평균과 차이를 구하세요.
Calculate treated and control means and their difference under section four’s known law.
풀이와 확인할 이유Solution and explanation
처치 전체 확률은 1/2입니다. 처치 결과 합은 1/2×1/4×1+1/2×3/4×3=5/4이므로 평균 5/2입니다. 비교 결과 합은 1/2×1/4×2=1/4이라 평균 1/2입니다. 차이 2는 참 ATE1과 다릅니다.
Treatment probability is one-half. The treated outcome numerator is five-quarters, giving mean five-halves. The control numerator is one-quarter, giving mean one-half. The observed difference two differs from the true ATE one.
5. 식별 등호의 근거Justify each identification equality
S5의 평균 잠재 결과를 관측 조건부 평균으로 바꾸는 식에서 조건부 교환가능성과 일관성이 어디 쓰이나요?
In section five’s identification argument, where do conditional exchangeability and consistency enter?
풀이와 확인할 이유Solution and explanation
X집단별 평균으로 나누는 첫 단계는 반복 기댓값 법칙입니다. E[Y(a)|X]를 E[Y(a)|A=a,X]로 바꾸는 데 조건부 교환가능성을,그 잠재 결과를 관측 Y로 바꾸는 데 일관성을 씁니다. 양성이 있어 대상 집단에서 그 관측 조건부 평균을 읽을 수 있어야 합니다.
The first step uses iterated expectation. Conditional exchangeability replaces the potential-outcome mean given X with its mean given treatment a and X. Consistency replaces that potential outcome with observed Y. Overlap is needed to observe the relevant arm on the target support.
6. 클리핑이 만드는 것과 못 만드는 것What clipping can and cannot create
GDP자체로 높은 GDP여부를 정의했는데 모형 e를 0.05~0.95로 잘랐습니다. 참 양성 조건이 생기나요?
High-GDP status is defined by GDP itself, but fitted e is clipped between 0.05 and 0.95. Has true overlap been created?
풀이와 확인할 이유Solution and explanation
아닙니다. 클리핑은 추정치와 계산의 분모를 바꾸는 규칙입니다. GDP를 고정하면 범주 A가 결정된다는 사실과 관측되지 않은 대안 처치가 없다는 사실은 바뀌지 않습니다. 구체적인 GDP개입의 정의 문제도 그대로입니다.
No. Clipping changes an estimated denominator and the computation rule. It does not change deterministic category membership given GDP, create unobserved alternative treatments, or define a GDP intervention.
7. 같은 관측값·다른 평균 효과Same observations, different average effects
S6의 세계II에서 두 잠재 효과와 ATE를 구하고 왜 관측 예측 손실이 두 세계를 구분하지 못하는지 설명하세요.
Compute both effects and ATE in world II of section six. Why cannot factual prediction loss distinguish the worlds?
풀이와 확인할 이유Solution and explanation
첫 효과는 4−0=4,둘째는 3−0=3이라 ATE는 7/2입니다. 두 세계에서 실제 A와 관측 Y는 같으므로 같은 예측기의 관측 손실도 같습니다. 차이를 가르는 추가 식별 정보가 필요합니다.
Effects are four and three, so ATE is seven-halves. Assignments and factual outcomes are identical across worlds, so the same predictor has identical factual loss. Additional identifying information is needed.
8. 결측 잠재 결과와 관측 프레임Missing potential outcomes versus observed frames
S1 첫 행의 Y(1)을 null로 비웁니다. 알려진 전체 효과를 계산할 수 있는 행과 관측 결과가 남는 행을 구분하세요.
Set the first Y(1) in section one to null. Distinguish complete-effect rows from rows with observed outcomes.
풀이와 확인할 이유Solution and explanation
첫 행은 Y(0),Y(1)을 모두 아는 완전 효과 프레임에서 빠집니다. 하지만 실제 A=0이므로 관측 Y(0)=0은 남습니다. 둘째 행은 두 잠재 결과와 관측값이 모두 남습니다. 완전 행의 효과 평균은 관측 자료 전체의 미지 ATE를 복원한 것이 아닙니다.
The first row leaves the complete-potential-outcome frame, but its realized treatment zero still reveals Y(0)=zero. The second retains both potential outcomes and its observed outcome. Averaging complete effects does not recover the unknown ATE of the entire factual population.
9. 점포 행과 정책 배정 단위Store rows versus policy-assignment units
NJPA의 완전 FTE쌍 384행이 384개의 독립 무작위 정책 배정을 뜻하나요? 반복된 원 SHEET407은 어떻게 보존하나요?
Do 384 complete NJPA pairs imply 384 independent randomized policy assignments? How are repeated SHEET407 records retained?
풀이와 확인할 이유Solution and explanation
아닙니다. 정책은 두 주 수준에서 달라 점포 행의 의존과 정책 단위 문제가 남습니다. SHEET407의 두 원행은 별도 분석 ID로 남기고 같은 보수적 fold집단을 씁니다. 원 키가 같다는 사실만으로 물리적 점포 동일성을 확정하지 않습니다.
No. Policy differs at the level of two states, leaving dependence and assignment-unit concerns. Keep both SHEET407 rows under distinct analytical identities and one conservative fold group, without asserting physical identity from the repeated key alone.
10. 알려진 배정 확률과 추정치Known assignment probabilities versus estimates
NSW 실험 표본이라는 출처와 교차 적합한 e값이 있습니다. e가 출처에서 주어진 정확한 배정 확률이라고 적어도 되나요?
The source identifies an NSW experimental subset and the computation estimates e by cross-fitting. May e be labeled an exact assignment probability supplied by the source?
풀이와 확인할 이유Solution and explanation
안 됩니다. 실험 표본이라는 정보와 현재 알고리즘이 추정한 e는 다릅니다. 출처에서 정확한 설계 확률을 확보·확인하지 않았다면 알려진 확률이라고 쓰지 않습니다. 이 장은 추정·클리핑 규칙과 실험 표본 722명·처치 297/비교 425의 원 분모를 명시합니다.
No. Experimental-subset metadata and an algorithm’s fitted e are different objects. Without verifying an exact design probability from the source, do not label the estimate as known. State the estimation/clipping rule and preserve the original 722-person, 297-treated and 425-control denominators.
11. 역확률 기여의 평균Average the inverse-probability contributions
S10 두 가상 행의 비중이 모두 1입니다. 각 IPW기여와 전체 평균을 구하세요.
With unit weights for the two rows in section ten, calculate both IPW contributions and their overall mean.
풀이와 확인할 이유Solution and explanation
비교 행은 −2/(1−1/4)=−8/3,처치 행은 5/(3/4)=20/3입니다. 합은 4이고 전체 분석 비중 합 2로 나누어 2입니다. 기여 합 자체와 평균을 구별합니다.
The control contribution is minus eight-thirds and the treated contribution twenty-thirds. Their sum is four; dividing by total analysis weight two gives two. Distinguish the sum from its mean.
12. 정규화하면 왜 3인가Why separate normalization gives three
같은 S10표에서 각 집단의 역확률 비중을 정규화한 평균 차이를 구하세요. IPW전체 평균과 같아야 하나요?
For the same section-ten rows, calculate the separately normalized arm difference. Must it equal the total-mass IPW mean?
풀이와 확인할 이유Solution and explanation
각 집단에는 한 행만 있어 정규화 평균은 각각 5와 2입니다. 차이는 3입니다. 유한 표본에서 전체 비중 분모의 IPW2와 다를 수 있고,같은 추정량이라고 이름 붙여 비교하면 안 됩니다.
Each arm has one row, so its normalized mean is five or two, giving a difference of three. It need not equal the total-mass IPW value two in this finite table.
13. AIPW의 두 보정 항Two AIPW residual corrections
S12에서 a행과 b행의 점수를 각각 구하고 같은 비중 평균을 구하세요.
Compute both AIPW scores in section twelve and their unit-weight mean.
풀이와 확인할 이유Solution and explanation
a행은 2−(2−1)/(3/4)=2/3입니다. b행은 2+(5−4)/(3/4)=10/3입니다. 평균은 (2/3+10/3)/2=2입니다. 부호를 잘못 더하면 다른 점수가 됩니다.
The control score is two-thirds and treated score ten-thirds. Their unit-weight mean is two. The control residual correction is subtracted.
14. 비중이 다른 AIPWAIPW with unequal analysis weights
S12의 a행 비중을 1/2,b행 비중을 3/2로 바꿉니다. AIPW평균을 구하세요.
Change the section-twelve analysis weights to one-half and three-halves. Calculate the AIPW mean.
풀이와 확인할 이유Solution and explanation
총 비중은 2입니다. 분자는 (1/2)×(2/3)+(3/2)×(10/3)=16/3이므로 평균은 8/3입니다. 단순 행 수만 분모로 쓰는 규칙이 아니라 분석 비중 합의 평균입니다.
Total weight is two. The numerator is sixteen-thirds, so the mean is eight-thirds. The denominator is total analysis weight, not a newly chosen population count.
15. 한쪽 결과 회귀만 맞는 경우Only one correct outcome regression
가상 X집단에서 e0=1/2,μ0=0,μ1=2이며 e=1/4,m0=0,m1=1입니다. AIPW기대값이 참 효과 2인가요?
For a hypothetical fixed-X group, true e0 is one-half, mu0 zero and mu1 two, but e is one-quarter, m0 zero and m1 one. Is expected AIPW the true effect two?
풀이와 확인할 이유Solution and explanation
아닙니다. 기대값은 1+(1/2)/(1/4)×(2−1)=3입니다. m0만 맞고 성향과 m1이 틀려 편향 1이 남습니다. 이중 강건성에서 결과 회귀 묶음은 두 arm모두를 포함합니다.
No. Expected score is three, leaving bias one. Only m0 is correct, while e and m1 are wrong. The outcome-regression nuisance set contains both arms.
16. 참 성향이 맞으면When the propensity is correct
같은 참 법칙 e0=1/2,μ0=0,μ1=2에서 e=1/2,m0=7,m1=−3을 넣습니다. 점수 기대값을 구하세요.
Under true e0 one-half, mu0 zero and mu1 two, insert correct e one-half but m0 seven and m1 minus three. Find expected score.
풀이와 확인할 이유Solution and explanation
plug-in은 −10입니다. 처치 잔차 기대 보정은 2−(−3)=5,비교 잔차를 빼는 기대 보정은 −(0−7)=7입니다. 합은 2입니다. 이는 알려진 법칙의 기댓값 계산이며 실제 유한 표의 모든 평균이 2라는 뜻은 아닙니다.
Plug-in is minus ten. Expected treated correction is five and the subtracted-control correction contributes seven. The total is two. This is an expectation under the declared law, not equality for every finite observed sample.
17. big-O와 little-o를 구분Distinguish big-O from little-o
두 보조 함수 오차가 각각 O(n^-1/4)입니다. 그 곱이 자동으로 o(n^-1/2)인가요?
Both nuisance errors are big-O of n to the minus one-quarter. Is their product automatically little-o of n to the minus one-half?
풀이와 확인할 이유Solution and explanation
아닙니다. 곱은 일반적으로 O(n^-1/2)까지만 말할 수 있습니다. little-o를 위해 추가로 더 작은 비율이 필요합니다. 또한 비율 조건만이 아니라 표본·모멘트·분산·식별 조건도 별도로 확인해야 합니다.
No. The product is generally only big-O at the one-half exponent. A little-o conclusion needs additional smallness, alongside the other sampling, moment, variance and identification conditions.
18. 집단 누출을 막는 foldFolds that avoid group leakage
같은 원 키를 가진 두 점포 행을 서로 다른 fold에 넣고 독립 표본이라고 해도 될까요?
May two records sharing an original store key be placed in different folds and declared independent?
풀이와 확인할 이유Solution and explanation
그렇게 단정하지 않습니다. 이 장은 두 SHEET407원행을 유지하고 보수적으로 한 fold집단에 둡니다. 계산상의 집단 누출을 줄이는 규칙과 실제 물리적 동일성·정책 배정 독립성의 증거는 다릅니다.
Do not assert that. We retain both SHEET407 source rows and conservatively share a fold group. A leakage-control rule differs from evidence about physical identity or independent policy assignment.
19. clip과 trim은 다르다Clipping differs from trimming
e를 0.05~0.95로 자르면서 원행을 모두 유지했습니다. 겹침 집단으로 표본을 제한한 것과 같나요?
Estimated e is clipped into 0.05 to 0.95 while all original rows remain. Is this the same as restricting the sample to an overlap population?
풀이와 확인할 이유Solution and explanation
아닙니다. 바뀐 것은 점수에 넣는 추정 성향 분모입니다. 관측을 제외한 trimming도,대상 비중을 바꾼 overlap weighting도 아닙니다. 원 e와 수정 행을 남기고 이 규칙이 원 인과 대상을 식별한다는 추가 주장은 별도 근거로 다룹니다.
No. The inserted estimated denominator changed. Neither sample trimming nor overlap target weighting occurred. Retain original e and changed-row flags; identifying the original causal target remains a separate claim.
20. 교차 적합이 해결하지 않는 것What cross-fitting does not solve
모든 행이 완벽한 밖 예측을 받고 fold가 원 ID로 재현됩니다. 미측정 교란과 두 주 정책의 독립 추론도 해결되었나요?
Every row receives reproducible out-of-fold predictions. Are unmeasured confounding and independent inference for a two-state policy solved?
풀이와 확인할 이유Solution and explanation
아닙니다. 검증한 것은 선언한 학습·평가 분리의 계산 절차입니다. 어떤 교란을 측정했는지,어떤 정책 개입을 비교하는지,독립 배정 단위와 모멘트·수렴 조건이 무엇인지는 별도 근거가 필요합니다.
No. This verifies a declared computational separation protocol. Measured confounding, well-defined interventions, independent assignment units, moments and convergence conditions still require additional evidence.
21. 처치 집단의 유형 구성Type composition among treated observations
S18의 높은 유형이 처치 집단에서 차지하는 확률을 베이즈 공식으로 구하세요.
Use Bayes’ rule to calculate the high-type probability among treated observations in section eighteen.
풀이와 확인할 이유Solution and explanation
처치 전체 확률은 (1/2)(1/4)+(1/2)(3/4)=1/2입니다. 높은 유형이면서 처치될 확률은 3/8이므로 조건부 확률은 (3/8)/(1/2)=3/4입니다. 모집단 비중 1/2와 다릅니다.
Total treatment probability is one-half. Joint high-type and treatment probability is three-eighths, so the conditional probability is three-quarters, rather than the population one-half.
22. 두 표현의 조정 비교Adjusted comparisons under two representations
S18에서 X를 구분할 때와 모두 같은 φ일 때의 비교값과 참 효과를 구하세요.
Compute the adjusted comparison with distinct X and with a constant representation, and compare them with the true effect.
풀이와 확인할 이유Solution and explanation
두 X집단의 차이는 모두 1이므로 원 X조정값은 1입니다. 상수 표현에서는 처치 평균 5/2,비교 평균 1/2로 차이 2입니다. 참 ATE는 1이라 상수 표현 비교의 편향은 1입니다.
Both X-specific contrasts equal one, so original adjustment gives one. A constant representation gives means five-halves and one-half, hence contrast two and bias one relative to true ATE one.
23. 상수 표현의 완벽한 균형Perfect balance of a constant representation
φ가 모든 대상에서 0입니다. 두 집단의 φ평균 차이가 0이면 교란이 없다고 결론내릴 수 있나요?
Everyone has phi zero. Does its zero difference in arm means establish absence of confounding?
풀이와 확인할 이유Solution and explanation
아닙니다. 상수는 원 X구성의 차이를 보지 못합니다. S18에서 그 차이는 처치 집단 높은 유형 3/4,비교 집단 1/4이며 효과 비교 편향 1이 남습니다. 어떤 정보의 균형인지가 핵심입니다.
No. A constant hides the original composition difference: high types make up three-quarters of treated observations but one-quarter of controls in section eighteen, leaving comparison bias one. Specify which information was balanced.
24. 가역적 재척도Invertible rescaling
X가 0또는 2이고 Z=10X+7입니다. 원 X를 복구하는 식과 Z값을 구하고,정보 손실 여부를 설명하세요.
For X zero or two, let Z be ten X plus seven. Give Z values and an inverse, and assess information loss.
풀이와 확인할 이유Solution and explanation
Z는 7또는 27이며 X=(Z−7)/10입니다. 원 두 유형을 완전히 복구하므로 정보 손실은 없습니다. 다만 같은 숫자 λ의 원 좌표 ridge나 고정 거리 알고리즘까지 같은 예측을 낸다고 자동 결론내리지 않습니다.
Z is seven or twenty-seven and X equals Z minus seven divided by ten. Types are recoverable, so no information is lost. An unchanged raw-coordinate penalty or distance algorithm need not produce identical fitted predictions.
25. 평균 균형으로 놓치는 것What equal means can miss
동일 비중인 두 집단 [−1,1]과 [−2,2]를 비교합니다. 평균과 모집단 방식 분산을 구하세요.
Compare the equally weighted groups minus one and one, and minus two and two. Find their means and population-form variances.
풀이와 확인할 이유Solution and explanation
평균은 모두 0입니다. 제곱 편차 평균은 각각 1과 4라 분산이 다릅니다. 평균 균형만으로 분포 전체·꼬리·결과 관련 함수의 균형을 입증하지 못합니다.
Both means are zero. Mean squared deviations are one and four. Mean balance alone does not verify the whole distribution, tails or outcome-relevant functions.
26. 원 유형의 IPW 복구Recover original type proportions by IPW
Treated low and high type proportions in section eighteen are one-quarter and three-quarters. Reweight by inverse true e and normalize.
풀이와 확인할 이유Solution and explanation
낮은 유형은 (1/4)/(1/4)=1,높은 유형은 (3/4)/(3/4)=1의 질량입니다. 합 2로 나누어 각각 1/2입니다. 이는 선언한 참 법칙에서의 계산이며 실제 추정 e가 자동 달성하는 항등식은 아닙니다.
Each type has unnormalized weighted mass one. Dividing by total two gives one-half each. This calculation uses the declared true law, not a guarantee for estimated factual propensities.
27. GDP 범주를 입력으로 쓴 성향A propensity conditioned on a GDP category
국가 A가 원 GDP의 중위수 초과 여부입니다. 입력에 GDP또는 A자체가 있으면 추정 e를 0.05로 자른 것이 참 양성을 회복하나요?
Country A is the indicator that baseline GDP exceeds its median. If features include GDP or A itself, does clipping estimated e restore true positivity?
풀이와 확인할 이유Solution and explanation
아닙니다. 원 GDP나 A를 알면 A가 결정됩니다. 참 성향은 해당 조건에서 0또는 1입니다. 클립은 계산에 넣는 추정 분모를 바꾸며 새로운 반대 처치 관측이나 잘 정의한 GDP개입을 만들지 않습니다.
No. Assignment is deterministic given baseline GDP or A, so true conditional propensity is zero or one. Clipping changes an inserted estimated denominator, not observed overlap or a well-defined GDP intervention.
28. 같은 적격 집합을 유지하는 이유Why hold eligibility fixed across mappings?
coarse에서 사용하지 않는 원 변수에 결측이 있으면 그 행을 coarse분석에만 새로 넣을 수 있습니다. 이 장은 왜 그렇게 하지 않나요?
A row missing a feature unused by coarse could be added only to that analysis. Why does this chapter avoid doing so?
풀이와 확인할 이유Solution and explanation
표현 변경과 대상 구성 변경을 구분하기 위해서입니다. full기준 완전 집합과 fold를 유지해야 수치 차이를 같은 대상에 대한 정보·모형 변화와 연결하기 쉽습니다. 더 큰 별도 표본을 쓰는 분석은 새 분모와 대상을 명시해 별도 실험으로 해야 합니다.
To separate mapping changes from sample-composition changes. Holding the full-feature complete frame and folds fixed makes differences interpretable as information and model changes on the same units. A larger alternative sample requires a separately declared target and denominator.
29. 같은 평균 효과,다른 개인 효과Same ATE, different individual effects
S24 두 세계의 효과 평균과 분산을 직접 계산하세요. 어떤 관측 정보가 같은가요?
Calculate effect means and variances in both section-twenty-four worlds. Which observable information agrees?
풀이와 확인할 이유Solution and explanation
A의 효과는 0,0이라 평균·분산 모두 0입니다. B는 1,−1이라 평균 0,분산 1입니다. 무작위 처치와 각 arm의 결과 주변 분포가 같아 ATE0도 같습니다. 관측하지 못한 두 잠재 결과의 짝짓기는 다릅니다.
World A has effect mean and variance zero. World B has mean zero and variance one. Randomized assignment and both arm outcome marginals agree, giving ATE zero, while the unobserved pairing differs.
두 표현이 실제 validation MSE에서 0.2와 0.3을 냈습니다. 첫 표현의 인과효과 추정이 반드시 더 정확하다고 말할 수 있나요?
Two representations have factual validation MSE 0.2 and 0.3. Must the first give a more accurate causal effect estimate?
풀이와 확인할 이유Solution and explanation
말할 수 없습니다. 관측 손실 기준으로 첫 표현을 선택했다는 계산은 재현할 수 있지만,반사실 오차는 관측되지 않습니다. 정당한 조정 정보·겹침·식별·표본 조건과 선택 절차를 별도로 검토해야 합니다.
No. Selection under factual validation loss is reproducible, but counterfactual errors remain unobserved. Adjustment information, overlap, identification, sampling conditions and the selection protocol require separate assessment.
31. 작은 집단이 평균에서 가려질 때A small group hidden by the mean
두 집단 손실이 1,9이고 비중이 0.9,0.1입니다. 평균과 최악값을 구하세요.
Group losses are one and nine with probabilities 0.9 and 0.1. Find mean and worst-group risk.
풀이와 확인할 이유Solution and explanation
평균은 0.9×1+0.1×9=1.8이고 최악 집단 손실은 9입니다. 평균 1.8은 작은 집단의 9가 없다는 뜻이 아닙니다. 원 집단 분모와 검증 불확실성도 함께 보고합니다.
Mean is 1.8 and worst-group risk nine. The low mean does not erase the smaller group’s high loss. Report its denominator and validation uncertainty.
For p one-half each and q one-quarter and three-quarters, calculate TV and the mean of values zero and two.
풀이와 확인할 이유Solution and explanation
절댓값 차이 합은 1/2이므로 TV는 1/4입니다. q평균은 0×1/4+2×3/4=3/2입니다. 거리의 1/2계수를 빼먹으면 옮긴 질량을 두 번 셉니다.
Absolute deviations sum to one-half, so TV is one-quarter. The reweighted mean is three-halves. Omitting the one-half factor counts moved mass twice.
33. 반지름 0의 범위A zero-radius range
임의의 유효 p와 유한 l에서 δ=0이면 최소·최대는 무엇인가요?
For valid p and finite l, what are minimum and maximum when radius is zero?
풀이와 확인할 이유Solution and explanation
TV0은 모든 q_i=p_i를 뜻하므로 두 값 모두 원 평균 Σp_i l_i입니다. 값들이 서로 달라도 비중을 움직일 수 없습니다.
TV zero forces q to equal p coordinate by coordinate. Both extrema equal the baseline mean, even when values differ.
34. 상한이 먼저 묶는 예A cap binds before the TV budget
S28설정에서 c만 5/4로 바꾸세요. 최댓값과 사용한 TV를 구하세요.
Change only the cap in section twenty-eight to five-quarters. Find the maximum and used TV.
풀이와 확인할 이유Solution and explanation
각 상한은 5/8입니다. 높은 값 쪽을 5/8까지 채워 q=[3/8,5/8],평균 5/4입니다. 이동은 1/8이라 TV예산1/4중 절반만 씁니다.
Each upper bound is five-eighths. Maximizing weights are three-eighths and five-eighths, giving mean five-quarters. Used TV is one-eighth, leaving half the budget unused.
35. 지지집합 밖의 큰 값A large value outside baseline support
l=[0,999],p=[1,0],δ=1,c=100입니다. 최댓값이 999가 되나요?
For values zero and 999, baseline one and zero, radius one and cap one hundred, can the maximum be 999?
풀이와 확인할 이유Solution and explanation
아닙니다. 둘째 q는 c p=0이 상한이라 항상 0입니다. 첫째 q=1이므로 평균은 0입니다. 유한 밀도비 상한은 원 확률0인 지지집합 밖을 만들지 못합니다.
No. The second coordinate has upper bound zero, forcing q one and zero. Mean remains zero. A finite density-ratio cap cannot create mass outside baseline support.
36. 음의 값도 가능한 평균Signed values are allowed
l=[−2,2],p=[1/2,1/2],δ=1/4,c=2입니다. 최소·최대를 구하세요.
For signed values minus two and two, equal baseline probabilities, radius one-quarter and cap two, find both extrema.
풀이와 확인할 이유Solution and explanation
질량1/4을 높은 값 쪽으로 옮기면 −2×1/4+2×3/4=1입니다. 반대로 옮기면 −1입니다. 범위는 [−1,1]이며 이를 음이 아닌 손실만의 문제라고 부르면 안 됩니다.
Moving one-quarter toward the higher value gives one; reversing gives minus one. The interval is minus one to one. The generic problem is not restricted to nonnegative losses.
37. 쌍대 상한으로 최적성 확인Certify an optimum with a dual bound
S28의 최대 예에서 η=1,λ=1을 사용해 상한을 확인하세요.
Use eta one and lambda one to verify the dual upper bound for the maximum in section twenty-eight.
풀이와 확인할 이유Solution and explanation
l0칸의 꺾인 직선 최대는 −1/2,l2칸은 1/2입니다. 상한은 η+2λδ+합=1+1/2+0=3/2입니다. 허용 q=[1/4,3/4]가 같은 값을 달성하므로 더 큰 목적은 불가능합니다.
Coordinate maxima are minus one-half and one-half. The upper bound is one plus one-half, or three-halves. Feasible q one-quarter and three-quarters attains it, ruling out any larger objective.
38. 모든 최적 비중이 유일한가Must optimal weights be unique?
모든 l_i가 7이고 허용 분포가 여러 개입니다. 출력된 한 q가 유일한 최적해인가요?
All values equal seven and multiple distributions are feasible. Is the displayed q necessarily the unique optimizer?
풀이와 확인할 이유Solution and explanation
아닙니다. 모든 허용 q에서 Σq_i×7=7이므로 모두 최적입니다. 결정적 정렬·동률 규칙은 재현할 하나를 고를 뿐 유일성을 증명하지 않습니다.
No. Every feasible probability vector gives mean seven. A deterministic tie rule chooses one reproducible optimizer without proving uniqueness.
39. 검증 기준이 바꾸는 선택Selection depends on the validation objective
검증 집단 손실 A=[1,9],B=[3,4],비중=[0.9,0.1]입니다. 평균 기준과 최악 기준의 선택을 비교하세요.
With validation group risks A one and nine, B three and four, and proportions 0.9 and 0.1, compare mean and worst-group selection.
풀이와 확인할 이유Solution and explanation
평균은 A1.8,B3.1이므로 A를 고릅니다. 최악은 A9,B4이므로 B를 고릅니다. 기준은 시험 결과를 본 뒤 바꾸지 말고,목적·비용·집단 정의와 함께 먼저 선언합니다.
Means 1.8 and 3.1 favor A; maxima nine and four favor B. Declare the criterion with its purpose, costs and group definitions before inspecting test outcomes.
40. 경험 범위에 95%를 붙일 수 있는가Can an empirical stress range be labeled ninety-five percent?
고정 밖 점수를 δ0.1,c2로 재비중해 [a,b]를 얻었습니다. 이것이 자동으로 95%인과 신뢰구간인가요?
Reweighting fixed out-of-fold scores at radius 0.1 and cap two yields a to b. Is it automatically a ninety-five-percent causal confidence interval?
풀이와 확인할 이유Solution and explanation
아닙니다. 이는 그 경험 지지집합·비중 제약에서의 점수 평균 범위입니다. 반복 표본의 포괄 확률도,미측정 교란에 대한 식별 집합도 자동 포함하지 않습니다. 적합 고정과 선언한 단위를 명시합니다.
No. It is a score-mean range on declared empirical support under weight constraints. Sampling coverage and unmeasured-confounding identification sets are not automatic. State frozen fits and units explicitly.
41. 국가 결과의 올바른 이름Name the country result correctly
GDP가 높은 8개국과 낮은 8개국의 밖 점수 차이를 “GDP투자 정책의 효과”라고 써도 되나요?
May the score comparison between eight high- and eight low-GDP countries be called the effect of a GDP-investment policy?
풀이와 확인할 이유Solution and explanation
그렇게 부르지 않습니다. A는 기준 GDP의 결정적 범주라 잘 정의한 개입과 참 겹침을 확인하지 못했습니다. 관측 비교·사전 지정 보조 모형의 점수 평균이라는 이름과 %p단위를 유지합니다.
No. A is a deterministic baseline GDP category, without verified intervention definition or true overlap. Retain the descriptive score-comparison label and percentage-point unit.
42. NSW의 분모와 단위NSW denominator and units
원 실험 집합 722명 중 처치 297명입니다. 비교자는 몇 명이며 점수 0.091349243을 원 소득 척도로 바꾸면 얼마인가요?
Of 722 original experimental individuals, 297 are treated. How many controls are there, and what is score 0.091349243 on the original earnings scale?
풀이와 확인할 이유Solution and explanation
비교자는 722−297=425명입니다. 결과를 10,000으로 나눴으므로 점수에 10,000을 곱해 약 913.49243입니다. 시간당 임금이나 로그 단위로 바꾸지 않습니다.
There are 425 controls. Multiply by ten thousand to obtain about 913.49243 in original earnings units, not hourly or logged wages.
43. 전체 NSW행을 대조군으로 합치면Why not treat all NSW rows as controls?
원 38,408행에서 실험 밖 처치 결측을 0으로 바꾸어 대조군을 늘리는 선택이 같은 분석인가요?
Is recoding nonexperimental missing treatment entries as zero to enlarge controls the same analysis?
풀이와 확인할 이유Solution and explanation
아닙니다. 원 선택 메타데이터와 결측 의미를 바꾸어 새 비교 집합을 만듭니다. 이 장은 원행을 보존하되 선택 장부로 실험 722명을 명시합니다. 두 파동의 행 수와 고유 개인 수도 구분합니다.
No. It changes selection and missing-value meaning, creating another comparison frame. We preserve native rows while explicitly selecting 722 experimental people and distinguishing waves from unique individuals.
44. 관측 쌍이 없는 점포Stores without a complete pair
410점포 중 FTE쌍이 384개입니다. 부적격 수와 쌍의 PA·NJ분모를 쓰고 결측 처리 원칙을 설명하세요.
Among 410 stores, 384 have observed FTE pairs. Give exclusions and paired PA/NJ denominators, and explain missingness handling.
풀이와 확인할 이유Solution and explanation
26행이 쌍 분석에서 부적격이며 PA75·NJ309입니다. 원행은 삭제하지 않고 전·후 관측 상태와 이유를 남깁니다. 결측은 실제 고용 0이나 폐점을 뜻한다고 가정하지 않습니다.
Twenty-six records are ineligible for paired analysis; paired counts are seventy-five PA and 309 NJ. Preserve original records and availability reasons. Missing FTE does not itself establish zero employment or closure.
45. 고유 행과 중복 원 키Unique rows and a repeated native key
SHEET407두 원행을 하나 지워도 되나요? fold는 어떻게 선언했나요?
May one of the two native SHEET407 rows be deleted automatically? How are folds declared?
풀이와 확인할 이유Solution and explanation
자동 삭제하지 않습니다. 별도 고유 분석 ID로 두 원행을 보존하고 원 키도 유지합니다. 보수적으로 같은 fold집단에 둡니다. 물리적 동일성이나 독립 정책 배정을 이 규칙으로 입증하지 않습니다.
Do not delete automatically. Keep separate analytical identities and the original key. A conservative common fold group avoids cross-fold sharing without proving physical identity or independent policy assignment.
46. 자기 밖 결과를 가상 변경Hypothetically change held-out outcomes
fold0의 Y만 사본에서 바꿉니다. fold0의 보조 예측·점수와 다른 fold의 회귀는 모두 같아야 하나요?
Change only fold-zero outcomes in a copy. Must its nuisance predictions, scores and other folds’ regressions all remain fixed?
풀이와 확인할 이유Solution and explanation
fold0의 학습 보완 집합은 같으므로 그 보조 예측은 같아야 합니다. 점수는 바꾼 Y를 써서 달라질 수 있습니다. 다른 fold는 수정 행을 학습에 쓰므로 결과 회귀가 바뀔 수 있습니다. Y를 쓰지 않는 성향 경로는 그대로여야 합니다.
Fold-zero nuisance predictions must stay fixed because its training complement is unchanged. Its scores may change directly with Y. Other folds may refit differently because their training includes edited rows; the propensity path, which ignores Y, should stay fixed.
47. 경험 범위를 원 단위로 복구Restore empirical range units
개인 경험 범위 [−0.322462,0.505161]이 만 소득 단위입니다. 원 소득 단위 범위를 구하고 의미를 설명하세요.
The person empirical range is minus 0.322462 to 0.505161 in ten-thousand earnings units. Restore units and explain its meaning.
풀이와 확인할 이유Solution and explanation
양 끝에 10,000을 곱해 약 −3,224.62부터 5,051.61까지입니다. 고정 밖 점수의 선언한 TV재비중 범위이며 자동 95%신뢰구간이나 관측하지 않은 효과의 식별 경계가 아닙니다.
Multiply endpoints by ten thousand to obtain about minus 3,224.62 to 5,051.61. This is a declared TV reweighting range for fixed scores, not an automatic confidence interval or causal identification bound.
48. 같은 검증 자료, 다른 선택 기준Same data, different selection criteria
S39의 검증 행에서 평균과 최악 집단 기준은 어느 후보를 고르나요?
Which candidates do mean and worst-group criteria select for the validation rows in section thirty-nine?
풀이와 확인할 이유Solution and explanation
A의 비중 평균은 (9×1+1×9)/10=1.8,B는 4라 평균은 A입니다. 집단별 최대는 A9,B4라 최악 기준은 B입니다. 이는 관측 예측의 선택이며 인과 정답을 검증하지 않습니다.
Weighted mean risks are 1.8 for A and four for B, selecting A. Maximum group risks are nine and four, selecting B. This is factual prediction selection, not causal ground-truth validation.
49. 비어 있는 필수 집단A required group with no support
최악 집단 선택에서 H를 필수로 지정했는데 validation에 H의 양의 비중 행이 없습니다. H위험을 0으로 두나요?
Worst-group selection requires H, but validation has no positive-weight H observations. Is its risk zero?
풀이와 확인할 이유Solution and explanation
아닙니다. 그 위험은 미정의이며 이 기준으로 선택할 근거가 없습니다. 공통 완전 집합·양의 검증 비중과 빠진 집단을 보고하고 자료·목표·평가 설계를 다시 검토합니다.
No. Its risk is undefined, leaving that criterion without support. Report common-frame eligibility, positive validation mass and the missing group, then reconsider data and evaluation design.
50. 384점포는 384개 정책 실험인가Do 384 stores form 384 policy experiments?
점포별 밖 예측 384개가 있으므로 독립 정책 효과 표본도 384개라고 보고해도 되나요?
May 384 store-level out-of-fold predictions be reported as 384 independent policy-effect experiments?
풀이와 확인할 이유Solution and explanation
아닙니다. 정책은 두 주의 맥락에 있고 주 공통 충격·배정 단위를 별도로 다뤄야 합니다. 계산 행 수·원 대상 수·독립 배정 단위 수는 다른 개념입니다. 일반 ATE변화 점수와 DRDID ATT도 구분합니다.
No. Policy operates in a two-state setting with common shocks and assignment units requiring separate treatment. Computational rows, source units and independent assignments differ. Generic ATE-change scores also differ from DR DID ATT.
51. 두 종류의 재현 단계Two stages of reproducibility
원 RData를 CSV로 내보내는 단계와 CSV로 AIPW를 계산하는 단계는 무엇을 각각 확인하나요?
What do native-RData extraction and AIPW analysis of exported CSVs verify separately?
풀이와 확인할 이유Solution and explanation
첫 단계는 원 저장값·변수·행·메타데이터의 보존과 숫자의 roundtrip을 확인합니다. 둘째는 원 CSV에서 선택·fold·적합·밖 예측·점수·재비중을 재구성합니다. 최종 평균만 같다고 두 단계 전체가 검증된 것은 아닙니다.
Extraction checks preservation of storage values, variables, rows, metadata and numeric roundtrips. Analysis reconstructs selection, folds, fits, predictions, scores and weights. A matching final mean alone verifies neither full stage.
52. 원 결과를 읽는 코드인가Does the program merely read stored answers?
공개 프로그램이 source계약의 저장된 점수 JSON을 읽어 CSV로 쓰기만 합니다. 독립 재현 계산인가요?
A public program only reads stored score JSON and writes CSV. Is this independent computational reproduction?
풀이와 확인할 이유Solution and explanation
아닙니다. 결과 투영이나 파일 변환일 수는 있지만 원 관측값에서 계산을 다시 한 것은 아닙니다. 이 장의 공개 계산은 실제 CSV에서 새로 적합·점수를 계산하며,그 결과의 대조와 표시도 별도 단계로 둡니다.
No. That can be a projection or conversion, not recomputation from observations. Public calculation here refits and scores from factual CSVs, with result comparison and display as separate stages.
53. 긴 정확값과 짧은 표시Long exact values and short displays
정확 양수 10^-400이 기본 표에서 0으로 표시됩니다. 손실이 정확히0이라고 써도 되나요?
An exact positive value ten to the minus four hundred displays as zero. May it be labeled exactly zero?
풀이와 확인할 이유Solution and explanation
안 됩니다. 비영 underflow표지를 남기고 원 정확값을 펼쳐 볼 수 있게 합니다. 실제0·양수표시0·미정의는 다른 상태입니다. 원 분수 전체를 기본 셀에 반복해 모바일 폭을 망가뜨릴 필요는 없습니다.
No. Preserve a nonzero-underflow flag and exact expansion. Exact zero, displayed zero for a positive value and undefined are different states. Repeating huge fractions in default mobile cells is unnecessary.
54. 해 하나와 질의 불변성One minimizer versus query invariance
λ0에서 서로 다른 계수 최소해가 있습니다. 엔진이 자유 좌표0해를 반환하면 모든 새 x예측이 식별된 것인가요?
At lambda zero, multiple coefficient minimizers exist. Does a free-coordinate-zero solution identify predictions at every new x?
풀이와 확인할 이유Solution and explanation
아닙니다. 계수의 영공간 방향에 질의 벡터가 직교하는지 등을 별도로 검사해야 합니다. 해 하나를 고르는 재현 규칙과 모든 최소해에서 질의가 같은 성질은 다릅니다.
No. Query invariance needs a separate check against coefficient null directions. A reproducible representative minimizer is different from agreement of all minimizers at every query.
55. 효과 이질성과 개인 정답Heterogeneity versus individual ground truth
CATE모형이 참가자에게 1000을 예측했습니다. 그 참가자가 실제로1000을 더 벌었다고 확인한 것인가요?
A CATE model predicts one thousand for a participant. Has that participant’s actual individual gain been verified?
풀이와 확인할 이유Solution and explanation
아닙니다. 조건부 평균 효과의 추정값이며 그 사람의 두 잠재 소득을 동시에 관측하지 않았습니다. 대상·단위·식별·추정 조건과 불확실성을 붙여 설명해야 합니다.
No. It estimates a conditional mean effect without observing both incomes for that person. Explain target, units, identification, estimation conditions and uncertainty.
56. 논문 조건을 실행 횟수로 대신할 수 있는가Can execution counts replace theorem assumptions?
많은 입력을 재현해 수치가 모두 맞았습니다. IID·겹침·보조 함수 수렴률이 증명되었나요?
Many inputs reproduce correctly. Have IID sampling, overlap and nuisance convergence rates been proved?
풀이와 확인할 이유Solution and explanation
아닙니다. 수치 검산은 선언한 계산의 정확성을 확인합니다. 자료 생성·식별·점근 조건은 별도 수학·설계·경험 근거가 필요합니다. 실제 결과표에 이 구분을 남깁니다.
No. Numerical checks verify declared computations. Data-generating, identification and asymptotic conditions need separate mathematical, design and empirical evidence. Retain that distinction in results.
57. 성향과 결과 함수를 모두 다시 적합해야 하나Which changes require refitting?
기본 밖 점수를 고정하고 TV반지름만0.1에서0.2로 바꿉니다. 모든 보조 회귀를 다시 적합해야 하나요?
Keeping baseline out-of-fold scores fixed, change only TV radius from 0.1 to 0.2. Must all nuisance regressions be refitted?
풀이와 확인할 이유Solution and explanation
이 선언한 경험 stress계산에서는 필요하지 않습니다. 같은 점수·원 확률에 새 반지름으로 재비중 문제만 풉니다. 반면 λ나 표현 변경은 보조 적합을 바꾸는 별도 계산입니다.
Not for this declared fixed-score stress calculation: solve only the new reweighting problem. Changing lambda or representation instead defines new nuisance fits.
58. 실무 메모의 비용 가정Cost assumptions in a decision memo
소득 점수 평균이 양수이며 원 파일에 시행 비용은 없습니다. 순편익도 실제 관측 양수라고 쓸 수 있나요?
Mean earnings score is positive, but source data contain no implementation costs. Is positive observed net benefit established?
풀이와 확인할 이유Solution and explanation
아닙니다. 비용·대안·분배·집행·외부효과를 추가로 알아야 합니다. 비용을 가정한 계산은 가상 시나리오와 단위를 표시하고 관측 효과나 실제 원가와 구분합니다.
No. Costs, alternatives, distribution, implementation and spillovers remain needed. Assumed-cost calculations require explicit scenario labels and units, separate from observed costs or identified effects.
59. 종합 실습의 최소 기록Minimum capstone record
어떤 파일과 설명이 있어야 다른 사람이 한 사례를 검산하고 주장의 범위를 이해할 수 있을까요?
Which records let another reader reproduce a case and understand the scope of its claim?
풀이와 확인할 이유Solution and explanation
원 자료·해시·출처,선택/결측/fold장부,설정·단위,완전 실행 코드·명령,핵심/전체 결과와 원 그래프,식별·표본·추정 가정 및 미포함 불확실성을 남깁니다. 같은 평균 숫자 하나만 보내는 것은 충분하지 않습니다.
Keep sources and hashes, selection/missingness/fold ledgers, settings and units, complete code and commands, core and full outputs, original figures, assumptions and omitted uncertainty. One matching mean is insufficient.
60. 인과성과 강건성의 마지막 구분Final distinction between causality and robustness
TV범위가 좁고 관측 MSE가 낮으며 모든 코드가 재현됩니다. 결론을 어떤 순서로 써야 하나요?
TV range is narrow, factual MSE low and all code reproducible. In what order should the conclusion be stated?
풀이와 확인할 이유Solution and explanation
먼저 대상·처치·단위·관측 질문을 적습니다. 다음에 재현된 계산과 고정 경험 재비중 범위를 보고합니다. 마지막으로 인과 해석을 정당화하는 별도 설계·식별·추론 조건과 미확인 한계를 적습니다. 좁은 경험 범위나 낮은 관측 오차가 그 조건을 대신하지 않습니다.
State population, treatment, units and factual question; report reproduced calculations and fixed empirical stress range; then give separate design, identification and inference justification with unresolved limits. A narrow stress range or low factual error does not supply those conditions.
자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.