METR-21 · ECONOMETRICS

교차적합·직교 점수·이중 머신러닝Cross-fitting, orthogonal scores and double machine learning

네 행의 잔차에서 출발해 보조학습·점수·실제 원자료·대학원 가정을 끝까지 연결하기From four residual rows to nuisance learning,scores,actual source records and graduate assumptions

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

기초Foundations

1. 남의 시험지로 연습하고 내 시험을 풀기1. Practice on other papers, then solve your own

친구 네 명의 연습문제 정답을 전부 외운 뒤 그 네 명의 답을 맞혔다고 해 봅시다. 정답률 100%는 새 친구의 문제도 풀 수 있다는 증거가 아닙니다. 풀이 원리를 배운 것과 그 답을 외운 것을 구분해야 합니다. 통계 모형도 같은 행의 결과를 보고 그 행의 결과를 예측하면 이와 비슷한 일이 일어납니다. 여기서 학교와 친구 이야기는 원리를 배우기 위한 비유이며 실제 수집 자료가 아닙니다.

이 장의 질문은 한 걸음 더 나갑니다. 직업훈련을 받은 사람과 받지 않은 사람의 소득이 다를 때, 그 차이 중 교육·이전 소득 같은 배경으로 예측되는 부분을 걷어내고 무엇이 남는지 살펴봅니다. 배경과 소득의 관계를 배우는 일을 보조예측이라고 부르겠습니다. 내가 최종 비교에 쓰일 때에는 내 결과를 보지 않고 배운 보조예측을 가져오자는 것이 교차적합의 출발입니다.

예를 들어 자료를 빨강·파랑 두 묶음으로 정합니다. 파랑으로 보조예측을 배워 빨강을 예측하고, 이번에는 빨강으로 배워 파랑을 예측합니다. 각 행은 한 번씩 최종 계산에 들어가지만, 자기 예측을 만든 훈련 묶음에는 들어가지 않습니다. 자료 절반을 영구히 버리는 방식과 다릅니다. 같은 사람의 반복 기록은 두 묶음에 갈라 넣지 않는다는 규칙도 필요합니다.

가상 두 묶음 교차적합의 역할
단계배우는 행예측받는 행그 예측이 본 적 없는 것
1파랑빨강빨강의 결과
2빨강파랑파랑의 결과
3이미 만든 모든 묶음 밖 예측전체 적격 행새 훈련은 하지 않음

두 번째 핵심은 보조예측이 조금 틀려도 관심 계수의 방정식이 처음부터 크게 움직이지 않도록 설계하는 일입니다. 이를 직교 점수라고 부릅니다. “남의 자료로 예측하기”와 “예측 오차에 덜 민감한 방정식 만들기”는 서로 다른 장치입니다. 둘을 결합하는 DML을 배우되, 어떤 신경망을 쓰든 효과가 자동으로 맞는다는 뜻으로 받아들이지 않습니다.

먼저 뺄셈·곱셈으로 네 행을 계산하고, 그다음 함수와 미분으로 이유를 설명합니다. 마지막에는 미국의 실제 군 자료 440행, NSW 실험 사람 722행, NJPA 점포 384행을 전부 사용합니다. 관측의 이름과 단위는 유지하고, 미국 군을 여러 국가로 부르거나 소득을 시급으로 바꾸지 않습니다.

Suppose you memorize four friends’ answers and then reproduce all four perfectly. That does not show you can solve a new friend’s problem. Statistical models face a related difficulty when the same outcome is used both to fit a prediction rule and to evaluate that row. This school story is an analogy, not collected evidence.

Our eventual question goes further. When earnings differ between people assigned and not assigned to training, we ask what remains after removing predictions based on recorded background. Learning these background relationships is nuisance estimation. Cross-fitting starts with a simple requirement: the nuisance prediction used for my final comparison was fitted without my outcome.

Predetermine red and blue groups. Fit on blue and predict red; fit on red and predict blue. Every eligible row contributes to the final calculation, but not to its own prediction’s training sample. This differs from permanently discarding half the observations. Repeated records for one person must not be split between training and prediction groups.

Roles in a constructed two-fold calculation
StageTraining rowsPrediction rowsUnseen by that fitted rule
1BlueRedRed outcomes
2RedBlueBlue outcomes
3All stored out-of-fold predictionsAll eligible rowsNo additional fitting

The second ingredient is a score equation that is locally less sensitive to errors in nuisance predictions. This is Neyman orthogonality. Holding out rows and changing the equation are distinct ideas. Combining them does not make any neural network’s causal conclusion automatically correct.

We begin with subtraction and multiplication on four rows, then use functions and derivatives to explain why the method works under stated conditions. The actual applications retain all 440 declared US county observations,722 NSW experimental people and 384 complete NJPA store records. Counties are not countries, and recorded earnings are not an hourly wage.

기초Foundations

2. 행·변수·대상을 먼저 고정하기2. Fix rows, variables and the target first

자료 한 행은 무엇일까요? 사람 한 명일 수도 있고, 한 점포일 수도 있고, 한 군의 특정 연도 기록일 수도 있습니다. 같은 사람의 두 연도를 서로 독립인 두 사람처럼 세면 분모와 불확실성이 모두 달라집니다. 이 장의 실제 계산은 원 패널에서 미리 선언한 시점의 결과와 이전 변수를 묶어, 사람·점포·군별 분석 행을 만듭니다. 원본의 행 번호와 연결된 시점은 별도 장부로 남깁니다.

Y는 설명하려는 결과, D는 관심 있는 처치 또는 노출, X는 보조예측에 쓰는 배경 변수입니다. “변수를 많이 넣기”가 목표가 아닙니다. 처치가 일어난 뒤 생긴 결과를 X에 넣으면 효과의 일부를 지우거나 새로운 편향을 만들 수 있습니다. 예를 들어 훈련 뒤 취업 여부를 훈련의 소득 효과 분석에 무심코 통제하면, 훈련이 취업을 거쳐 소득에 영향을 준 경로를 잘라 버릴 수 있습니다.

실제 세 사례의 사전 선언 · 관측만으로 인과 가정을 보장하지 않음
사례Y: 사후 수준D: 선언한 비교X: 이전 또는 사전 기록분석 행 수
미국 군2007년 lemp2007 도입 집단 대 기간 내 미도입2003년 lemp와 lpop440
NSW 사람1978년 re원 패키지 실험 treated 코드1974년 re74와 기록된 black722
NJPA 점포사후 FTENJ=1, PA=0이전 FTE, 체인 더미, 기업 소유384

관심 대상도 먼저 정합니다. “이 행들의 조정된 소득 비교”와 “모든 사람에게 훈련을 제공했을 때의 평균 효과”는 다른 질문입니다. 원 NSW 파일의 실험 밖 사람들에는 treated가 결측인 기록이 있습니다. 이를 0으로 바꾸어 대조군에 섞지 않습니다. 실제 사례에서는 전체 실험 표본 722명을 쓰며, 널리 알려진 다른 445명 부분표본으로 조용히 바꾸지도 않습니다.

일단 선언한 분석 행은 계산이 어렵다는 이유로 임의로 줄이지 않습니다. 원자료 전체 수, 목표에 맞는 행 수, 필요한 값이 관측된 행 수, 최종 점수에 실제 들어간 수를 나누어 기록합니다. 원자료와 계산 프레임의 차이는 오류가 아닐 수 있지만, 그 선택 이유를 독자가 알아야 합니다.

Define the unit of a row before fitting. It may be one person, one store or a county-year. Treating two years for one person as two unrelated people changes both denominators and uncertainty. Our applications construct a predeclared unit-level row from a selected outcome date and prior covariates, while retaining original source-row links.

Y denotes the outcome, D the treatment or exposure of interest, and X recorded covariates for nuisance prediction. Adding more variables is not a goal by itself. A post-treatment variable can remove part of the effect or create bias. Controlling for employment after training, for example, can block a pathway through which training affects earnings.

Predeclared actual cases; observations alone do not validate causality
CaseY: post levelD: declared comparisonX: prior or recorded backgroundRow s
US counties2007 lemp2007 adopters versus never in period2003 lemp and lpop440
NSW people1978 reNative experimental treated code1974 re74 and recorded black722
NJPA storesPost-wave FTENJ=1, PA=0Pre FTE, chain indicators, corporate ownership384

Fix the target as well. An adjusted earnings comparison in these records is a different question from an effect of offering training to everyone. Nonexperimental NSW records have missing treated codes. They are not silently recoded as controls. We retain the full 722-person experimental sample rather than quietly substituting a familiar 445-person subset.

Do not shrink a declared frame merely because the calculation is difficult. Report original records, target-eligible records, records with required measurements and records actually entering the score. A distinction between the native file and the analysis frame may be justified, but its reason must be visible.

기초Foundations

3. 예측을 잘해도 효과가 맞지는 않는다3. Good prediction does not establish an effect

아이스크림 판매량이 많은 날에는 물놀이 사고도 많을 수 있습니다. 판매량으로 사고를 잘 예측해도 아이스크림을 금지하면 사고가 줄어든다는 결론은 나오지 않습니다. 더운 날씨가 둘에 영향을 줄 수 있기 때문입니다. 이 이야기는 혼란변수의 역할을 보여 주는 가상 예입니다. 자료 안의 예측 오차가 작다는 사실과, 행동을 바꿨을 때 결과가 어떻게 바뀌는지는 다른 질문입니다.

경제·경영 분석에서도 같은 구분이 필요합니다. 회사가 매출이 크게 늘 것으로 예상한 점포에만 광고를 집행했다면, 광고 점포의 높은 매출에는 사전 성장 전망이 섞입니다. 전망을 완전히 관측하지 못하면 많은 X와 뛰어난 예측 모형을 넣어도 광고 효과가 정확해진다고 보장할 수 없습니다. 기업에 유리하거나 불리한 방향을 먼저 정하지 말고 배정 과정을 조사합니다.

보조예측을 학습할 때 규제는 복잡한 계수를 줄여 새 자료 예측을 안정시키려 합니다. 그러나 효과 계수를 구하는 식에 그 예측을 그대로 대입하면, 줄어든 보조계수의 오차가 관심 계수로 옮겨갈 수 있습니다. 예측에 유용한 편향·분산 절충이 관심 계수의 편향을 없애 준다는 뜻은 아닙니다. 직교 점수는 이 전파의 첫 기울기를 줄이도록 만든 방정식입니다.

small prediction error ⇏ causal identification\text{small prediction error}\ \not\Rightarrow\ \text{causal identification}

성적표를 나누어 보세요. 첫 칸에는 묶음 밖 예측 오차·배정 예측의 범위·기록 누락을 적습니다. 둘째 칸에는 처치 정의·배정 이유·관측하지 못한 교란·간섭 가능성을 적습니다. 첫 칸을 잘 채웠다고 둘째 칸이 통과한 것은 아닙니다. 반대로 타당한 무작위 배정이라도 심한 결측이나 잘못된 결과 단위가 있으면 실제 계산을 별도로 바로잡아야 합니다.

이 장은 보조예측의 질을 숨기지 않고 관심 점수의 계산과 함께 보여 줍니다. 다만 예측 정확도를 인과 신뢰도라는 한 숫자로 바꾸지 않습니다. 실제 보고서에는 두 종류의 근거가 모두 필요합니다.

Ice-cream sales may predict swimming accidents because hot weather affects both. Accurate prediction would not establish that banning ice cream prevents accidents. This constructed story illustrates confounding: predicting observed outcomes and changing outcomes by an intervention are different tasks.

A business may advertise only in stores where managers already expect rapid growth. Higher sales in advertised stores then reflect both advertising and prior growth prospects. Many covariates and an excellent predictor do not guarantee a correct advertising effect when important expectations remain unrecorded. Investigate assignment without choosing a pro-business or anti-business conclusion in advance.

Regularization shrinks a complex predictor to improve performance on new data. Plugging that predictor into an effect equation can transfer nuisance-estimation bias into the target coefficient. A useful prediction bias-variance trade-off does not automatically eliminate target bias. An orthogonal score is designed to reduce the first derivative of this propagation.

small prediction error ⇏ causal identification\text{small prediction error}\ \not\Rightarrow\ \text{causal identification}

Keep two report cards. One records out-of-fold prediction errors, propensity ranges and measurement gaps. The other records treatment versions, assignment reasons, unobserved confounding and possible spillovers. A strong first report card does not pass the second. Conversely, random assignment does not repair an incorrectly coded outcome or severe missingness.

We expose nuisance predictions and the final score together. Prediction accuracy is not converted into a single causal-credibility number. An applied report needs evidence for both.

학부Undergraduate

4. 인과 질문에 필요한 별도 가정4. Separate assumptions for a causal question

잠재 결과 Y(1), Y(0)는 같은 사람이 처치받았을 때와 받지 않았을 때의 결과를 구분합니다. 한 시점에는 둘 중 하나만 관측합니다. 평균 처치 효과 ATE는 모집단에서 Y(1)−Y(0)를 평균한 값입니다. 관측 집단의 평균 차이가 이것과 같아지려면, 적절한 X를 알고 난 뒤 처치 배정과 두 잠재 결과가 조건부로 독립이라는 가정 등이 필요합니다. 이 조건을 비혼란성이라고 부르겠습니다.

(Y(1),Y(0))⊥D∣X,0<e0(X)=P(D=1∣X)<1(Y(1),Y(0))\perp D\mid X,\qquad 0<e_0(X)=P(D=1\mid X)<1

지지집합 조건은 같은 배경에서 처치·비처치가 모두 가능해야 한다는 뜻입니다. 특정 배경에서는 반드시 처치만 받는다면, 그 배경의 무처치 평균을 관측으로 비교하기 어렵습니다. 처치의 버전과 측정이 일치한다는 일관성, 다른 사람의 처치가 내 결과를 바꾸지 않는다는 적절한 비간섭 가정도 따로 검토해야 합니다. 모형의 예측값을 0.05와 0.95 사이로 잘라 놓는다고 실제 배정의 가능성이 생기는 것은 아닙니다.

우리가 먼저 계산할 PLR 계수는 잔차의 회귀 계수입니다. 조건부 평균이 g(X)+θD라는 공통 기울기 모형을 따르고 오차의 조건부 평균이 0일 때 이 θ를 회복하는 논리를 세울 수 있습니다. 처치 효과가 배경에 따라 τ(X)로 달라진다면 잔차 기울기는 일반적으로 ATE와 다릅니다. 이진 처치에서 적절한 조건 아래에는 처치 변동 e₀(X)(1−e₀(X))이 큰 배경에 더 큰 비중을 주는 평균이 됩니다.

θPLR=E[e0(X)(1−e0(X))τ(X)]E[e0(X)(1−e0(X))],ATE=E[τ(X)]\theta_{\mathrm{PLR}}=\frac{E[e_0(X)(1-e_0(X))\tau(X)]}{E[e_0(X)(1-e_0(X))]},\quad \mathrm{ATE}=E[\tau(X)]

따라서 이 장의 PLR 결과와 AIPW 결과가 다르다고 곧바로 코드 오류라고 판단하지 않습니다. 먼저 두 점수가 같은 대상을 추정하는지, 보조모형·유한 표본·선택·격자 정책이 어떻게 다른지 확인합니다. 위 식은 요구한 잠재 결과와 조건부 평균 가정을 갖춘 경우의 해석이며, 실제 점포·군 자료가 그 조건을 만족한다고 선언하는 식이 아닙니다.

Potential outcomes Y(1) and Y(0) distinguish a person’s result with and without treatment. Only one is observed at a given occasion. The ATE averages their difference in a population. Identifying it from observed comparisons commonly requires treatment to be conditionally independent of both potential outcomes after appropriate X is given, along with other assumptions.

(Y(1),Y(0))⊥D∣X,0<e0(X)=P(D=1∣X)<1(Y(1),Y(0))\perp D\mid X,\qquad 0<e_0(X)=P(D=1\mid X)<1

Overlap means both treatment states are possible for the relevant covariate values. If some background always receives treatment, its untreated mean is not directly supported by a comparison group. Consistency of treatment versions and suitable no-interference conditions also matter. Clamping a fitted number between 0.05 and 0.95 cannot create actual assignment overlap.

The first coefficient we calculate is a residual-on-residual PLR slope. A common-slope conditional mean g(X)+θD with an appropriate conditional-mean-zero error motivates recovery of θ. If effects instead vary as τ(X), the residual slope generally differs from the ATE. For binary D and the required identifying conditions, it weights covariate-specific effects by treatment variation e₀(X)(1−e₀(X)).

θPLR=E[e0(X)(1−e0(X))τ(X)]E[e0(X)(1−e0(X))],ATE=E[τ(X)]\theta_{\mathrm{PLR}}=\frac{E[e_0(X)(1-e_0(X))\tau(X)]}{E[e_0(X)(1-e_0(X))]},\quad \mathrm{ATE}=E[\tau(X)]

A difference between our PLR and AIPW results is therefore not automatically a software bug. Check the target, learner, finite sample, selection and explicit propensity-grid policy first. The displayed interpretation presumes suitable potential-outcome and conditional-mean assumptions; it does not assert that the actual county or store records satisfy them.

학부Undergraduate

5. 결측과 비중이 만드는 공통 분석틀5. A common analysis frame with missingness and weights

같은 비교에 어떤 행이 들어갔는지 먼저 적겠습니다. 가상 네 행 a,b,c,d에서 c의 Y가 결측이라면, c의 소득 잔차를 만들 수 없습니다. c를 소득 0으로 바꾸지 않습니다. 또 ell은 a,b,d로 학습하고 m은 a,b,c,d로 학습하는 식으로 프레임을 몰래 바꾸지 않습니다. 이 장의 교차적합 실습은 Y, D, 모든 X가 함께 관측되고 비중이 양수인 공통 행으로 네 보조예측의 외부 훈련·평가 틀을 정합니다. 다른 결측 설계가 불가능하다는 뜻은 아니며, 지금 배우는 계산 규칙이 이것이라는 뜻입니다.

가상 결측·비중 예제 · 실제 관측 아님
가상 행YDX비중공통 프레임
a1021포함
b2131포함
c결측141결과 결측으로 제외
d4150비중 0으로 제외

비중 w는 각 행이 계산에 기여하는 크기입니다. 이 장의 실제 세 사례는 모든 분석 행의 비중을 1로 둡니다. 이것이 원 조사 설계의 모집단 대표 가중치를 발견했다는 뜻은 아닙니다. 가상 실습에서는 다른 비중을 넣어 산술을 볼 수 있지만, 왜 그 비중이 타당한지는 별도 설계 문제입니다. 음수 비중은 허용하지 않으며, 비중 0인 행에서도 잘못된 숫자나 음수 비중을 숨겨 통과시키지 않습니다.

양수 비중인 행에 필요한 보조예측이 식별되지 않는 경우도 있습니다. 예를 들어 한 fold의 훈련에 처치자가 전혀 없으면 μ₁ 예측을 학습할 수 없습니다. 그 행을 마지막 평균에서 빼 버려 좋은 결과만 모으지 않습니다. 관련 전체 점수는 미정의라고 표시하고, 어떤 행·훈련 팔에서 문제가 생겼는지 남깁니다. 결측 결과로 애초 공통 프레임에서 빠진 행과, 프레임 안에 있으나 예측이 안 된 행을 구분하세요.

NJPA에서는 이전·사후 FTE가 모두 있어야 이전 FTE를 X로, 사후 FTE를 Y로 사용할 수 있습니다. 원 410행에서 384행이 남는 이유입니다. 원 SHEET 407이 두 행에 반복되어도 두 관측을 합치지 않습니다. 분석 행 ID는 원행별로 다르게 두고, 보수적으로 같은 그룹 fold에 넣어 서로의 훈련 자료가 되지 않게 합니다. 이것만으로 같은 주의 정책 의존성까지 해결되지는 않습니다.

Record the common analytical frame first. If constructed row c has missing Y, we cannot form its outcome residual. Do not replace it by zero, or silently fit ell on a, b, d while fitting m on a, b, c, d. This chapter’s cross-fitting rule uses positive-weight rows with Y, D and every X jointly observed to define the outer training and evaluation frame. Other missing-data designs are possible; this is the explicit rule for our current experiment.

Constructed missingness and weight example
Constructed rowYDXWeightCommon frame
a1021Included
b2131Included
cMissing141Excluded: missing outcome
d4150Excluded: zero weight

A weight determines a row’s contribution to the calculation. Every actual analytical row here has weight one. This is not discovery of population-representative survey weights. Constructed exercises allow other weights, but their substantive justification remains a design question. Negative weights are rejected; malformed numeric values are not hidden merely because another field would exclude the row.

A positive-weight row may remain in the common frame but lack an identified nuisance prediction. For example, a fold with no treated training units cannot fit μ₁. Do not drop that held-out row from the final average and report a favorable remainder. Mark the relevant whole score undefined and retain the affected row and training-arm reason. This differs from an originally incomplete row excluded before fitting.

The NJPA analysis needs both pre and post FTE to use the former as X and the latter as Y, hence 384 of 410 native records. Repeated native SHEET 407 records are not merged. Distinct source-row IDs are preserved, and the two are conservatively assigned to the same group fold. That guard does not establish independence of stores sharing a state policy.

학부Undergraduate

6. ell과 m,그리고 구조함수 g의 차이6. Distinguish ell, m and structural g

처음 만나는 기호는 역할부터 붙이면 덜 어렵습니다. ell₀(X)는 같은 배경 X에서 Y의 평균을 예측하는 함수, m₀(X)는 같은 배경에서 D의 평균을 예측하는 함수입니다. D가 0 또는 1이면 그 평균은 처치 확률입니다. 둘 다 실제로 관측한 결과를 다른 배경 변수로 예측하는 보조함수입니다. 아래 첨자 0은 알고 싶은 모집단 함수를 뜻하며, 우리가 훈련 자료로 만든 함수에는 모자를 붙입니다.

ℓ0(X)=E[Y∣X],m0(X)=E[D∣X]\ell_0(X)=E[Y\mid X],\qquad m_0(X)=E[D\mid X]

구조 모형의 g₀(X)는 다른 함수입니다. Y=θ₀D+g₀(X)+ε이고 E[ε|D,X]=0이라고 가정하면, D의 평균 부분까지 포함하는 ell₀는 θ₀m₀+g₀입니다. 그러므로 X만으로 Y를 예측해 얻은 함수를 g라고 부르며 θD를 다시 더하면 이미 들어간 처치 평균을 두 번 셀 수 있습니다.

Y=θ0D+g0(X)+ε,E[ε∣D,X]=0,ℓ0(X)=θ0m0(X)+g0(X)Y=\theta_0D+g_0(X)+\varepsilon,\quad E[\varepsilon\mid D,X]=0,\quad \ell_0(X)=\theta_0m_0(X)+g_0(X)

가상 예에서 θ₀=2, g₀(X)=3+X이고 X=4에서 m₀=1/4라고 해 봅시다. 구조함수는 7이지만 결과 평균은 7+2×1/4=15/2입니다. ell을 7로 넣는 것과 15/2로 넣는 것은 다른 계산입니다. 같은 장의 다른 공식이나 외부 패키지를 읽을 때에도 함수의 이름보다 무엇을 예측하는지 확인하세요.

이 장의 PLR 실습은 ell과 m을 따로 학습한 뒤 두 잔차를 회귀하는 partialling-out 점수입니다. 다른 형태의 점수는 구조함수 g를 써서 (D−m)(Y−θD−g)를 만들기도 합니다. 그때 표본 방정식의 θ 분모는 Σw(D−m)D입니다. 우리 ell 점수의 분모 Σw(D−m)²와 일반적으로 다릅니다. 이름만 같은 “DML”이라고 두 공식을 섞지 않습니다.

실제 코드에서 ell은 훈련 Y를 목표로, m은 훈련 D를 목표로 맞춥니다. 팔별 mu0와 mu1은 나중 AIPW에 쓰는 별도 결과 예측입니다. 네 이름을 한 번 적어 놓고 수식·표·실습을 오가며 같은 대상을 가리키는지 확인하세요.

Attach a role to each symbol. The function ell₀(X) predicts the conditional mean of Y; the function m₀(X) predicts the conditional mean of D. For binary D, the latter is a treatment probability. A subscript zero denotes the population function, whereas a hat denotes an estimate fitted on training data.

ℓ0(X)=E[Y∣X],m0(X)=E[D∣X]\ell_0(X)=E[Y\mid X],\qquad m_0(X)=E[D\mid X]

The structural function g₀(X) is different. Under Y=θ₀D+g₀(X)+ε and E[ε|D, X]=0, the outcome mean already includes the average treatment component: ell₀=θ₀m₀+g₀. Calling a prediction of Y from X alone g and then adding θD again can double-count that component.

Y=θ0D+g0(X)+ε,E[ε∣D,X]=0,ℓ0(X)=θ0m0(X)+g0(X)Y=\theta_0D+g_0(X)+\varepsilon,\quad E[\varepsilon\mid D,X]=0,\quad \ell_0(X)=\theta_0m_0(X)+g_0(X)

In a constructed example, let θ₀=2, g₀(X)=3+X, and m₀(4)=1/4. At X=4, the structural function is seven, but the outcome mean is 7+2×1/4=15/2. Substituting seven or fifteen-halves for ell gives different calculations. Check a function’s target rather than its letter when reading another score or package.

Our PLR interaction learns ell and m separately and regresses their residuals. Another valid score construction uses structural g in (D−m)(Y−θD−g), whose sample root has denominator Σw(D−m)D. That is generally different from our ell-based denominator Σw(D−m)². A shared DML label does not make those formulas interchangeable.

In the code, ell is fitted to training Y and m to training D. The arm-specific mu 0 and mu 1 are separate outcome regressions for AIPW. Keep a small dictionary linking those four names to their targets while moving between equations, tables and interactions.

학부Undergraduate

7. 잔차는 설명하고 남은 부분이다7. Residuals are what prediction leaves behind

일기예보가 기온 20도를 예측했는데 실제가 23도였다면 예측하고 남은 차이는 +3도입니다. 실제가 18도였다면 −2도입니다. 이 차이를 잔차라고 부릅니다. 잔차는 관측값이 잘못되었다는 뜻이 아니라, 지정한 예측으로 설명되지 않은 부분입니다. 소득 예측이 100인데 실제 소득이 80이면 잔차 −20은 음의 소득 관측을 만든 것이 아닙니다.

같은 방법으로 결과 잔차 U=Y−ell과 처치 잔차 V=D−m을 만듭니다. 이 장에서 U는 결과 잔차를 가리키는 임시 기호이고, 앞 절 구조 모형의 오차 ε와는 다릅니다. 올바른 모집단 보조함수라면 U=θ₀V+ε라는 관계가 됩니다. Y에서 처치 전체를 빼는 것이 아니라, X만으로 예상되는 결과 부분을 뺀다는 점에 주의하세요.

U=Y−ℓ(X),V=D−m(X),U0=θ0V0+εU=Y-\ell(X),\qquad V=D-m(X),\qquad U_0=\theta_0V_0+\varepsilon
음수 잔차는 음수 처치 상태가 아님
가상 관측D예측 m처치 잔차 V읽는 방법
a01/4−1/4그 배경의 예상 처치보다 낮음
b11/43/4그 배경의 예상 처치보다 높음

0 또는 1인 D를 썼어도 V는 0 또는 1이 아닙니다. 처치받지 않았는데 처치 가능성이 1/4로 예측되었다면 잔차는 −1/4입니다. 처치받았다면 3/4입니다. 배경상 거의 모두 처치받을 것으로 예상되는 사람의 D=1은 그 자체로 새로운 비교 변동이 적습니다. 반대로 예상과 다른 배정은 잔차 크기가 커질 수 있습니다.

그림을 그릴 때는 가로축에 V, 세로축에 U를 두겠습니다. 점들이 원점을 지나는 한 직선 주변에 있다면 그 기울기를 관심 계수로 계산합니다. 이 단계에는 임의로 절편을 하나 더 적합하지 않습니다. 상수나 X의 역할은 앞 단계 보조예측에 있습니다. 물론 실제 예측이 모집단 평균과 완전히 같다는 뜻은 아니므로, 잔차 평균이 표본에서 반드시 0이어야 한다고 강제하지 않습니다.

처치 D가 연속 노출이면 V도 같은 노출 단위의 잔차입니다. 일반 PLR 점수 실습은 이런 D도 받을 수 있지만, 이 장의 교차적합·AIPW 및 실제 세 사례는 명시적으로 이진 D를 사용합니다. 서로 다른 API의 입력 범위를 같은 것으로 오해하지 마세요.

If a forecast predicts twenty degrees and the observation is twenty-three, the residual is plus three. An observation of eighteen gives minus two. A residual is what the specified predictor leaves unexplained, not proof that the observation is wrong. Earnings of eighty against a prediction of one hundred produce a residual of minus twenty without creating negative observed earnings.

Construct outcome residual U=Y−ell and treatment residual V=D−m. Here U is a temporary name for the outcome residual, not the structural error ε. At the true population nuisance functions, the common-slope model implies U₀=θ₀V₀+ε. We remove the part of Y expected from X, not all of the treatment contribution.

U=Y−ℓ(X),V=D−m(X),U0=θ0V0+εU=Y-\ell(X),\qquad V=D-m(X),\qquad U_0=\theta_0V_0+\varepsilon
A negative residual is not a negative treatment state
Constructed observationDPrediction mTreatment residual VInterpretation
a01/4−1/4Less treatment than predicted from this background
b11/43/4More treatment than predicted from this background

Binary D does not make V binary. A control assigned probability one-quarter has residual minus one-quarter; a treated row has three-quarters. Treatment that was almost certain given X contributes little residual assignment variation, whereas an unexpected assignment can contribute more.

Plot V horizontally and U vertically. The next calculation fits a line through the origin. It does not silently add a new intercept at this stage: constants and X enter the nuisance regressions. Estimated nuisance functions need not equal their population targets, so out-of-fold residual means are not forced to be exactly zero in a finite sample.

With a continuous exposure, V has exposure units. The standalone orthogonal-score API permits continuous D, but the cross-fitting and AIPW interactions and our actual cases explicitly use binary D. Their input domains are not interchangeable.

학부Undergraduate

8. 직교 점수의 방정식을 손으로 풀기8. Solve the orthogonal-score equation by hand

예측을 만든 뒤에는 ell과 m을 잠시 고정합니다. 기울기 θ를 하나 골라 V에 곱하면 결과 잔차의 예측은 θV입니다. 남는 차이 U−θV를 제곱하고 비중을 곱해 모두 더한 값이 가장 작도록 θ를 고릅니다. 원점을 지나는 최소제곱을 두 잔차에 적용하는 계산입니다. Y의 단위가 점수이고 D가 0/1이면 θ의 단위도 점수입니다.

L(θ)=∑iwi(Ui−θVi)2,dLdθ=−2∑iwiVi(Ui−θVi)L(\theta)=\sum_i w_i(U_i-\theta V_i)^2,\qquad \frac{dL}{d\theta}=-2\sum_i w_iV_i(U_i-\theta V_i)

이차식을 펼치면 θ²의 계수는 ΣwV², θ의 계수는 −2ΣwVU입니다. ΣwV²가 양수라면 아래 값이 유일한 최소입니다. 각 행의 점수 ψᵢ는 Vᵢ(Uᵢ−θVᵢ)로 정의합니다. 여기서 점수라는 말은 학생 성적이 아니라 계수를 정하는 방정식의 한 행 기여를 뜻합니다.

ψi(θ)=Vi(Ui−θVi),θ^=∑iwiViUi∑iwiVi2,∑iwiψi(θ^)=0\psi_i(\theta)=V_i(U_i-\theta V_i),\qquad \widehat\theta=\frac{\sum_i w_iV_iU_i}{\sum_i w_iV_i^2},\quad \sum_iw_i\psi_i(\widehat\theta)=0

계산 순서는 다섯 칸입니다. 먼저 Y−ell, 다음 D−m을 만듭니다. 셋째 VU, 넷째 V²를 만듭니다. 각각의 합에 비중을 반영하고 마지막에 두 합의 비율을 구합니다. 행마다 U/V를 먼저 구해 단순 평균하는 방식은 아닙니다. V=0인 행이 있을 수도 있고, 기울기에 기여하는 비중이 V²에 따라 달라지기 때문입니다.

작은 두 행에서 U가 1,3이고 V가 1,2이며 비중이 둘 다 1이면 분자는 1+6=7, 분모는 1+4=5, 기울기는 7/5입니다. 개별 비율 1과 3/2의 단순 평균 5/4와 다릅니다. 후자의 분모를 잘못 쓴 것이 아니라 서로 다른 계산을 한 것입니다.

표본 방정식을 정확히 0으로 만드는 것과 모집단 목표를 정확히 맞추는 것은 다릅니다. 잘못된 보조예측·선택된 표본·유효하지 않은 인과 가정 아래에서도 계산된 θ는 자기 표본 점수를 0으로 만들 수 있습니다. 0인 점수는 산술 검산이지 모든 가정의 검정 통과가 아닙니다.

After fitting nuisance predictions, hold ell and m fixed while choosing θ. Predict the outcome residual by θV and minimize the weighted sum of squared differences U−θV. This is least squares through the origin on the two residuals. If Y is measured in score points and D is binary, the coefficient has score-point units.

L(θ)=∑iwi(Ui−θVi)2,dLdθ=−2∑iwiVi(Ui−θVi)L(\theta)=\sum_i w_i(U_i-\theta V_i)^2,\qquad \frac{dL}{d\theta}=-2\sum_i w_iV_i(U_i-\theta V_i)

Expanding the quadratic gives θ² coefficient ΣwV² and θ coefficient −2ΣwVU. A positive ΣwV² yields the unique minimizer below. The row score ψᵢ is Vᵢ(Uᵢ−θVᵢ). Score here means a contribution to the estimating equation, not a student’s grade.

ψi(θ)=Vi(Ui−θVi),θ^=∑iwiViUi∑iwiVi2,∑iwiψi(θ^)=0\psi_i(\theta)=V_i(U_i-\theta V_i),\qquad \widehat\theta=\frac{\sum_i w_iV_iU_i}{\sum_i w_iV_i^2},\quad \sum_iw_i\psi_i(\widehat\theta)=0

Fill five columns: U=Y−ell, V=D−m, VU, V², and weighted contributions. Sum numerator and denominator before dividing. Do not average row ratios U/V: some V may be zero, and residual treatment variation determines the slope weights.

For two constructed rows, U=(1,3), V=(1,2) and unit weights give numerator seven, denominator five and slope 7/5. Averaging the separate ratios one and three-halves instead gives 5/4. Those are different statistics.

A zero fitted sample score does not establish that the population target is correct. Wrong nuisance predictions, selected observations or invalid causal assumptions can still yield a perfectly solved finite equation. The zero score is an arithmetic check, not passage of every substantive test.

학부 심화 · 선택Advanced undergraduate · optional

9. 분모가 0이면 계수는 식별되지 않는다9. Zero denominator leaves the coefficient unidentified

분모 ΣwV²는 음수가 될 수 없습니다. 양수 비중을 쓰고 모든 행에서 D=m이라면 V=0이므로 분모가 0입니다. 이때 분자도 0이고, 어느 θ를 넣어도 점수는 0입니다. 답이 θ=0이라는 뜻이 아닙니다. 자료와 지정한 보조예측이 이 방정식에서 기울기를 골라 주지 못한다는 뜻입니다. 실습은 zero-residual-treatment-variation 사유와 미정의를 반환합니다.

완벽하게 D를 외우는 보조예측이 항상 바람직하지 않은 이유도 여기에 있습니다. 자기 행으로 학습한 과적합이 m=D를 만들면 관심 처치 변동까지 사라질 수 있습니다. 진짜 모집단에서도 X가 D를 완전히 결정한다면 잔차 변동이 없을 수 있습니다. 표본 과적합 문제와 실제 지지집합 문제는 원인이 다르므로 별도로 살펴야 합니다.

∑iwiVi2=0 ⟹ Vi=0 for every wi>0;θ is not selected by this score\sum_iw_iV_i^2=0\ \Longrightarrow\ V_i=0\text{ for every }w_i>0;\quad \theta\text{ is not selected by this score}

아주 작은 양수와 정확한 0도 다릅니다. 가상 한 행에서 U=1, V=10⁻²⁰⁰이면 분모는 10⁻⁴⁰⁰, 분자는 10⁻²⁰⁰이므로 정확한 비율은 10²⁰⁰입니다. 분모를 일반 화면 숫자로 먼저 바꾸면 0처럼 보일 수 있지만, 이 수학적 분모는 0이 아닙니다. 웹 계산은 원분수를 보존하고 비영인데 표시가 0인 경우를 따로 표시합니다.

그렇다고 10²⁰⁰이라는 답이 정책적으로 믿을 만하다는 뜻은 아닙니다. 약한 잔차 변동은 작은 입력 변화에 큰 기울기 변화를 만들 수 있습니다. 정확 계산은 잘못된 0 나누기를 막지만, 빈약한 비교 정보를 풍부하게 만들지는 않습니다. 실제 보고서에는 잔차 변동 크기와 처치 예측 분포도 함께 제시합니다.

기울기가 화면에서 1로 반올림되어도 정확히 1이라는 뜻은 아닙니다. 원분수 펼치기와 표시 상태를 확인하세요. 이런 구분은 작은 단위·큰 소득·미세 비중을 다룰 때 특히 필요합니다. 내부에서 계산한 긴 분수를 외부 입력 토큰으로 다시 읽어 길이 제한에 걸리지 않도록 구현한 이유도 같습니다.

The denominator ΣwV² cannot be negative. With positive weights, if D=m on every row, then V=0, so both denominator and numerator are zero. Every θ satisfies the score. This does not identify θ as zero: the supplied residualized data fail to choose a slope. The interaction reports undefined with reason zero-residual-treatment-variation.

A nuisance predictor that memorizes D can remove all relevant variation. Genuine population determinism of D by X can also eliminate residual variation. Finite-sample overfitting and a substantive support failure have different causes and deserve separate investigation.

∑iwiVi2=0 ⟹ Vi=0 for every wi>0;θ is not selected by this score\sum_iw_iV_i^2=0\ \Longrightarrow\ V_i=0\text{ for every }w_i>0;\quad \theta\text{ is not selected by this score}

A tiny positive denominator is different from exact zero. One constructed row with U=1 and V=10⁻²⁰⁰ has denominator 10⁻⁴⁰⁰, numerator 10⁻²⁰⁰ and exact slope 10²⁰⁰. Converting the denominator to an ordinary display number first may make it appear zero. Our calculation retains its exact fraction and marks nonzero underflow separately.

The resulting huge slope is not thereby a credible policy effect. Weak residual variation can magnify small changes in inputs. Exact arithmetic prevents a mistaken division by displayed zero; it cannot create a rich comparison. Report the scale of residual variation and the distribution of treatment predictions.

Likewise, a displayed one need not be exactly one. Inspect the raw fraction and display flags. This distinction matters with tiny weights, large earnings or very small units. Internal derived fractions are also passed directly rather than re-read through an external-token length limit.

학부Undergraduate

10. 네 행으로 완성하는 첫 계산10. A complete first calculation with four rows

네 행 a,b,c,d의 가상 결과 Y를 1,2,3,4, 이진 처치 D를 0,1,0,1로 둡니다. 외부에서 주어진 보조예측 ell은 모두 0, m은 모두 1/2, 비중은 모두 1입니다. 이 예에서는 보조함수를 어떻게 학습했는지까지 가정하지 않습니다. 지정한 예측을 받아 점수와 기울기를 검산하는 작은 실험입니다.

네 행 손계산 · 모든 값은 구성한 예제
가상 행YDU=Y−ellV=D−mVUV²
a101−1/2−1/21/4
b2121/211/4
c303−1/2−3/21/4
d4141/221/4
합11
θ^=1/1=1,ψ=(−3/4, 3/4, −7/4, 7/4),∑iψi=0\widehat\theta=1/1=1,\qquad \psi=(-3/4,\ 3/4,\ -7/4,\ 7/4),\qquad \sum_i\psi_i=0

기울기 1을 넣으면 U−θV는 3/2,3/2,7/2,7/2입니다. 여기에 V를 곱한 행별 점수는 −3/4,3/4,−7/4,7/4이고 합은 0입니다. 한 행의 점수가 0이어야 하는 것이 아닙니다. 최종 방정식은 비중을 반영한 점수 합을 0으로 만듭니다.

각 점수를 제곱해 더하면 29/4입니다. 분모가 1이므로 행별 HC0 분산 대용값도 29/4입니다. 그런데 a,b를 한 그룹, c,d를 한 그룹으로 지정하면 그룹별 점수 합은 둘 다 0이어서 그룹 HC0는 0이 됩니다. 이 구성에서는 그렇다는 유한 산술입니다. 실제 그룹 효과가 확실하거나 신뢰구간 폭이 0이어야 한다는 결론이 아닙니다. 독립 그룹 수·표집·적절한 점근 조건은 나중에 따로 확인합니다.

실습에서 원 네 행을 넣고 기울기·분자·분모·각 점수를 먼저 확인하세요. 이어 Y와 ell을 둘 다 10씩 올려 보세요. U가 그대로여서 모든 결과가 같습니다. Y만 올리는 변화와 혼동하지 않습니다. 다음에는 D와 m을 같게 만들어 미정의를 확인한 뒤 원 네 행으로 되돌립니다. 마지막에는 한 행의 Y를 결측으로 바꾸어 공통 프레임이 어떻게 달라지는지 확인하세요.

Construct rows a, b, c, d with Y=(1,2,3,4), binary D=(0,1,0,1), ell=0, m=1/2 and unit weights. The nuisance predictions are supplied for this arithmetic example; we do not claim a particular fitting process produced them.

Complete four-row calculation; all observations constructed
Constructed rowYDU=Y−ellV=D−mVUV²
a101−1/2−1/21/4
b2121/211/4
c303−1/2−3/21/4
d4141/221/4
Sum11
θ^=1/1=1,ψ=(−3/4, 3/4, −7/4, 7/4),∑iψi=0\widehat\theta=1/1=1,\qquad \psi=(-3/4,\ 3/4,\ -7/4,\ 7/4),\qquad \sum_i\psi_i=0

At θ=1, the fitted residual errors U−θV are 3/2,3/2,7/2,7/2. Multiplication by V gives row scores −3/4,3/4, −7/4,7/4, summing to zero. Individual scores need not be zero; the weighted estimating equation constrains their sum.

Squared scores sum to 29/4. With denominator one, the row HC0 variance plug-in is 29/4. If a, b form one group and c, d another, both group score sums are zero, so the group HC0 formula yields zero. This is finite arithmetic for the construction, not proof of a certain effect or a legitimate zero-width confidence interval. Independent-group counts, sampling and suitable asymptotic conditions require separate attention.

Enter the four original rows and inspect the slope, numerator, denominator and scores. Add ten to both Y and ell: U and every result remain unchanged. This differs from changing Y alone. Next set D=m to observe undefined status, then restore the original four rows. Finally make one Y missing and inspect how the common frame changes.

학부Undergraduate

11. 보조예측이 흔들릴 때 기울기 보기11. Differentiate with respect to nuisance prediction

관심 계수 θ를 움직이는 것과, 이미 배운 보조예측을 조금 바꾸는 것은 다릅니다. 앞에서는 θ를 골라 점수 합을 0으로 만들었습니다. 이번에는 θ를 고정하고 ell과 m의 예측이 약간 틀렸을 때 점수 평균이 얼마나 변하는지 봅니다. 이 민감도를 줄이려는 것이 직교성입니다. 두 번째 미분 대상이 무엇인지 먼저 확인하세요.

행마다 두 방향 a와 b를 지정합니다. a는 결과 보조예측 ell에 더할 모양, b는 처치 보조예측 m에 더할 모양입니다. t가 공통 변화 크기입니다. t=0이면 원 예측이고, t=1/10이면 방향의 10분의 1만큼 바꿉니다. 예를 들어 ell=4,a=2,t=1/10이면 새 결과 예측은 4.2입니다. 방향 a의 단위는 Y, 방향 b의 단위는 D와 맞춥니다.

ℓt=ℓ+ta,mt=m+tb,Ut=U−ta,Vt=V−tb\ell_t=\ell+ta,\qquad m_t=m+tb,\qquad U_t=U-ta,\qquad V_t=V-tb

왜 잔차에는 빼기가 들어갈까요? 원 잔차가 Y−ell인데 예측 ell이 커지면, 같은 Y에서 남는 부분은 작아지기 때문입니다. 이 부호를 바꾸면 뒤의 직교성 식도 달라집니다. 종이에 원래 예측, 바뀐 예측, 원 잔차, 바뀐 잔차 네 칸을 나란히 적어 확인해 보세요.

비중 합 W가 양수인 유한 표의 점수 평균을 M(t)라고 부릅니다. M(t)−M(0)을 t로 나누면, 작은 변화당 점수의 변화가 됩니다. 여기서 정의하는 미분은 벡터를 이루는 예측값 전체를 같은 방향으로 움직이는 경로의 미분입니다. 일상적인 함수 기울기에서 출발하지만, 대학원에서는 함수 방향에 대한 미분으로 확장됩니다.

M(t)=1W∑iwi(Vi−tbi){(Ui−tai)−θ(Vi−tbi)},W=∑iwi>0M(t)=\frac1W\sum_iw_i(V_i-tb_i)\{(U_i-ta_i)-\theta(V_i-tb_i)\},\quad W=\sum_iw_i>0

어떤 방향에서 변화가 작다는 것만으로 모든 방향의 민감도가 사라졌다고 말하지 않습니다. 실제 직교성의 조건은 허용된 보조함수 방향들에 대해 모집단 미분이 0이라는 것입니다. 다음 두 절에서 유한 표의 정확한 이차식을 구한 뒤, 어떤 조건이 그 첫 미분의 기댓값을 없애는지 보겠습니다.

Moving the target coefficient θ differs from perturbing fitted nuisance predictions. Previously we chose θ to make a score sum zero. Now hold θ fixed and ask how the average score changes when ell and m change. Orthogonality concerns this second sensitivity. Identify the object being differentiated first.

Specify directions a and b for each row. The first perturbs ell; the second perturbs m. A common scalar t determines the amount. At t=0 we recover the original predictions. If ell=4, a=2 and t=1/10, the new outcome prediction is 4.2. Direction units must match the corresponding outcome or treatment units.

ℓt=ℓ+ta,mt=m+tb,Ut=U−ta,Vt=V−tb\ell_t=\ell+ta,\qquad m_t=m+tb,\qquad U_t=U-ta,\qquad V_t=V-tb

The residual change has a minus sign because raising a prediction lowers what remains of the same observation. Write original prediction, new prediction, original residual and new residual in four columns to check that sign.

For a finite table with positive total weight W, call the average score M(t). The quotient [M(t)−M(0)]/t measures score change per unit perturbation. It differentiates a path through the whole vector of nuisance predictions. Graduate functional derivatives extend this familiar slope idea.

M(t)=1W∑iwi(Vi−tbi){(Ui−tai)−θ(Vi−tbi)},W=∑iwi>0M(t)=\frac1W\sum_iw_i(V_i-tb_i)\{(U_i-ta_i)-\theta(V_i-tb_i)\},\quad W=\sum_iw_i>0

A small change along one direction does not establish insensitivity along every allowed direction. Neyman orthogonality constrains a population derivative over an appropriate class of nuisance directions. We first derive the exact finite-table quadratic and then identify conditions that eliminate the expected first derivative.

학부Undergraduate

12. 유한 표본의 정확한 이차식12. The exact finite-sample quadratic expansion

곱셈을 한 줄씩 펼쳐 보겠습니다. 바뀐 점수의 첫 괄호는 V−tb, 둘째 괄호는 U−θV−ta+θtb입니다. t가 없는 항, t가 한 번 들어가는 항, t가 두 번 들어가는 항을 나누면 아래 식이 됩니다. 유한 표에서 정확히 성립하는 등식이며, “t가 작을 때만 대략”이라는 전개가 아닙니다.

M(t)=M0+tM1+t2M2M(t)=M_0+tM_1+t^2M_2
M0=V(U−θV)‾w,M1=−bU−Va+2θVb‾w,M2=ab−θb2‾wM_0=\overline{V(U-\theta V)}_w,\quad M_1=\overline{-bU-Va+2\theta Vb}_w,\quad M_2=\overline{ab-\theta b^2}_w

윗줄의 가로 막대는 비중 평균 Σw(·)/W입니다. M₁의 2θVb가 나오는 이유는 θV²에 해당하는 부분을 바꿀 때 같은 교차항이 두 번 생기기 때문입니다. bU 하나만 남기거나 θVb를 한 번만 넣는 실수가 흔합니다. 바뀐 두 잔차로 점수를 직접 계산한 결과와 이 다항식을 비교하면 부호·항 누락을 검산할 수 있습니다.

10절 네 행을 그대로 쓰고 θ=1,a=b=1을 모든 행에 지정하면 M₀=0,M₁=−5/2,M₂=0입니다. t=1/10에서는 점수 평균이 −1/4입니다. 원 점수가 0이고 직교 점수 공식을 썼어도 이 유한 표에서 첫 기울기는 0이 아닙니다. 직교성은 임의의 표에서 모든 예측 오차에 무조건 둔감하다는 명제가 아닙니다.

다른 가상 표를 만들어 보겠습니다. D=0,1 각각에 ε=−1,+1을 한 번씩 붙이고 Y=3+2D+ε로 둡니다. ell=4,m=1/2,θ=2를 쓰면 네 행의 Y는 2,4,4,6입니다. a=7,b=2를 일정하게 주었을 때 M₀=0,M₁=0,M₂=6입니다. t=1/10에서 점수 변화는 6/100=3/50입니다. 이 표는 균형을 의도적으로 구성했기 때문에 첫 항이 사라진 예입니다. 실제 자료를 그런 균형인 것처럼 바꾸지 않습니다.

실습에서는 먼저 원 네 행의 비영 첫 기울기를 확인하세요. 이어 두 번째 가상 표를 새로 입력하고 θ·a·b·t까지 모두 새 설정으로 바꿉니다. 직접 점수와 다항식이 같다는 표시를 확인한 뒤 t를 음수로 바꾸어 보세요. 일차항은 부호가 바뀌고 이차항은 부호가 유지된다는 차이를 관찰할 수 있습니다.

Expand the two factors V−tb and U−θV−ta+θtb. Collect terms with zero, one and two powers of t. The resulting finite-table identity is exact, not merely an approximation for small t.

M(t)=M0+tM1+t2M2M(t)=M_0+tM_1+t^2M_2
M0=V(U−θV)‾w,M1=−bU−Va+2θVb‾w,M2=ab−θb2‾wM_0=\overline{V(U-\theta V)}_w,\quad M_1=\overline{-bU-Va+2\theta Vb}_w,\quad M_2=\overline{ab-\theta b^2}_w

The bar denotes Σw(·)/W. The factor two in 2θVb arises because the squared treatment-residual term produces two identical cross terms. Comparing a directly recomputed perturbed score with the polynomial checks missing terms and signs.

Use Section 10’s original four rows, θ=1 and constant directions a=b=1. Then M₀=0, M₁=−5/2 and M₂=0. At t=1/10, the mean score is −1/4. Solving the original score and using an orthogonal-score formula did not force this finite-table derivative to vanish.

For a second constructed table, combine each D in {0,1} with each ε in {−1, +1}, and set Y=3+2D+ε. Outcomes are 2,4,4,6. With ell=4, m=1/2, θ=2, a=7 and b=2, we obtain M₀=M₁=0 and M₂=6. At t=1/10, the change is 3/50. We deliberately constructed the balancing that eliminates the linear term; we do not alter actual data to imitate it.

First inspect the nonzero derivative in the original four rows. Then enter the second constructed table and reset θ, a, b and t as well. Confirm equality of the direct score and polynomial, then try a negative t. Linear terms reverse sign; quadratic terms do not.

대학원 연결Graduate bridge

13. 조건부 평균이 만드는 모집단 직교성13. Population orthogonality from conditional means

모집단에서 올바른 보조함수를 썼다면 U₀=Y−E[Y|X]와 V₀=D−E[D|X]는 같은 X 안에서 평균이 0입니다. a(X),b(X)는 X만으로 정해지는 방향이라고 합시다. 같은 X 안에서 b(X)는 고정된 수이므로 E[b(X)U₀|X]=b(X)E[U₀|X]=0입니다. Va와 Vb도 같은 방식으로 기댓값이 사라집니다. 이것이 직교성의 짧은 증명입니다.

E[U0∣X]=E[V0∣X]=0 ⟹ E[−b(X)U0−V0a(X)+2θV0b(X)]=0E[U_0\mid X]=E[V_0\mid X]=0\ \Longrightarrow\ E[-b(X)U_0-V_0a(X)+2\theta V_0b(X)]=0

조건을 하나씩 확인하세요. 실제 모집단 조건부 평균이어야 합니다. 방향이 평가 행의 보이지 말아야 할 결과 Y나 처치 잔차를 마음대로 들여다보는 함수이면 위의 조건부 고정 논리를 쓸 수 없습니다. 기대한 곱들이 존재하도록 적분 가능성도 필요합니다. 여기서는 비중 1인 모집단을 설명했습니다. X의 함수인 적절한 비중은 조건을 갖춰 확장할 수 있지만, Y에 따라 마음대로 만든 비중에는 같은 논리를 자동 적용하지 않습니다.

또 두 가지 0을 구분합니다. 첫째는 미분의 기댓값 0, 즉 보조함수 오차에 대한 국소 직교성입니다. 둘째는 θ₀에서 원 점수의 기댓값 0, 즉 관심 모수를 정하는 조건입니다. 조건부 평균 잔차는 첫 번째 성질을 만들어 주지만, 그 θ를 특정 인과 효과라고 부를 수 있는지는 구조 모형·잠재 결과 가정 등으로 따로 정합니다. 예측 보조함수를 올바르게 아는 것만으로 교란을 없애는 개입 효과가 식별되는 것은 아닙니다.

교차적합에서는 평가 fold를 보기 전에 다른 행으로 보조함수를 학습합니다. 적절한 독립 표집 조건 아래에서는 그 훈련 결과를 고정한 함수처럼 두고 평가 행의 평균을 분석할 수 있어 논증이 쉬워집니다. 하지만 시간·정책·가족·점포 그룹의 의존성이 있으면 어떤 독립 또는 약한 의존 조건을 사용할 것인지 다시 정해야 합니다. 단순히 fold 숫자를 다르게 붙였다는 사실은 독립성 증명이 아닙니다.

At the true conditional means, U₀=Y−E[Y|X] and V₀=D−E[D|X] have conditional mean zero. Let directions a(X) and b(X) depend only on X. Conditional on X, b(X) is fixed, so E[b(X)U₀|X]=b(X)E[U₀|X]=0. The same argument removes the Va and Vb terms. This supplies a short orthogonality proof.

E[U0∣X]=E[V0∣X]=0 ⟹ E[−b(X)U0−V0a(X)+2θV0b(X)]=0E[U_0\mid X]=E[V_0\mid X]=0\ \Longrightarrow\ E[-b(X)U_0-V_0a(X)+2\theta V_0b(X)]=0

Check each condition. These must be the true population conditional means. Directions that inspect the evaluation row’s outcome or treatment residual need not be fixed given X. The required products must also be integrable. We describe a unit-weight population here. Suitable X-dependent weights can be accommodated with conditions, but arbitrary outcome-dependent weights do not inherit the argument automatically.

Distinguish two zero statements. One is a zero population derivative with respect to nuisance functions. The other is the original mean score being zero at the target θ₀. Conditional-mean residuals provide the former; the interpretation of the latter as a causal effect requires a separate structural or potential-outcome argument. Knowing conditional predictions is not, by itself, causal identification.

Cross-fitting learns nuisance functions without evaluating that fold’s outcomes during training. Under an appropriate independent-sampling design, this lets us condition on training and treat the functions as fixed when analyzing evaluation rows. Temporal, policy, family or store dependence requires its own conditions. Different fold numbers do not prove independence.

대학원 연결Graduate bridge

14. 두 오차의 곱과 수렴 속도14. Products of errors and convergence rates

첫 기울기가 0이 되면 무엇이 남을까요? 학습 오차를 rℓ=ellhat−ell₀, rm=mhat−m₀라고 부릅시다. 평가 모집단에서 이 함수들을 고정하고, 앞의 조건부 평균·적분 가능성 조건을 쓰면, θ₀에서 점수 평균의 차이는 아래 이차항입니다. 유한 표의 일차항이 항상 사라진다는 주장과 구분하세요.

M(θ0;ℓ^,m^)−M(θ0;ℓ0,m0)=E[rmrℓ−θ0rm2]M(\theta_0;\widehat\ell,\widehat m)-M(\theta_0;\ell_0,m_0)=E[r_mr_\ell-\theta_0r_m^2]

코시·슈바르츠 부등식은 두 오차 곱의 기댓값 크기를 각각의 제곱평균 크기의 곱으로 제한합니다. 제곱평균 크기 ||r||₂는 오차를 제곱해 평균한 뒤 제곱근을 취한 값입니다. 그래서 보조예측 오차의 영향은 한 오차 자체보다 두 작은 오차의 곱처럼 작아질 수 있습니다.

∣E[rmrℓ−θ0rm2]∣≤∥rm∥2∥rℓ∥2+∣θ0∣∥rm∥22|E[r_mr_\ell-\theta_0r_m^2]|\le \|r_m\|_2\|r_\ell\|_2+|\theta_0|\|r_m\|_2^2

가령 충분한 나머지 조건들과 함께 rm이 n⁻⁰·⁴, rℓ이 n⁻⁰·¹⁵보다 작아진다면 곱은 n⁻⁰·⁵⁵, 제곱 항은 n⁻⁰·⁸ 크기라 n⁻¹ᐟ²보다 빠르게 사라질 수 있습니다. 반면 둘이 단지 O(n⁻¹ᐟ⁴)라는 사실만 알면 곱은 O(n⁻¹ᐟ²)일 뿐, 필요한 o(n⁻¹ᐟ²)가 자동으로 나오지는 않습니다. 큰 O는 그 정도 이하의 크기, 작은 o는 그 기준으로 나눈 값이 0으로 가는 더 강한 뜻입니다.

오차 이름의 순서도 중요합니다. rm이 n⁻⁰·¹⁵이고 rℓ이 n⁻⁰·⁴라면 곱은 같아도 rm²은 n⁻⁰·³이어서 이 점수의 충분조건을 만족시키지 못할 수 있습니다. 다른 점수의 rate 조건을 이름만 보고 옮겨오지 마세요. 이 장은 ell 기반 partialling-out 점수의 전개를 사용합니다.

이 부등식 하나가 신뢰구간 정리 전체는 아닙니다. 분모의 모집단 한계가 양수로 떨어져 있어야 하고, 적절한 표집·모멘트·균일성·경험과정 또는 교차적합 조건 등이 필요합니다. 실제 사례에서 고정된 작은 ridge와 성향 격자를 썼다는 것만으로 이 수렴 조건을 검증했다고 주장하지 않습니다. 지금의 실제 계산은 재현 가능한 유한 조정 비교와 진단을 제공하고, 점근적 인과 추론을 자동 인증하지 않습니다.

What remains after the population first derivative vanishes? Write nuisance errors rℓ=ellhat −ell₀ and rm=mhat −m₀. Treat these functions as fixed for an evaluation population and use the conditional-mean and integrability conditions. At θ₀, the mean-score difference is the following quadratic term. This is not a claim that every finite-table linear term vanishes.

M(θ0;ℓ^,m^)−M(θ0;ℓ0,m0)=E[rmrℓ−θ0rm2]M(\theta_0;\widehat\ell,\widehat m)-M(\theta_0;\ell_0,m_0)=E[r_mr_\ell-\theta_0r_m^2]

Cauchy–Schwarz bounds the expectation of an error product by the product of root-mean-square errors. The L2 norm squares an error, averages and takes a square root. Thus nuisance distortion can be second-order rather than proportional to one error alone.

∣E[rmrℓ−θ0rm2]∣≤∥rm∥2∥rℓ∥2+∣θ0∣∥rm∥22|E[r_mr_\ell-\theta_0r_m^2]|\le \|r_m\|_2\|r_\ell\|_2+|\theta_0|\|r_m\|_2^2

Subject to remaining conditions, rates n⁻⁰·⁴ for rm and n⁻⁰·¹⁵ for rℓ yield product order n⁻⁰·⁵⁵ and squared-treatment-error order n⁻⁰·⁸, both faster than n⁻¹ᐟ². Merely having both errors O(n⁻¹ᐟ⁴) gives an O(n⁻¹ᐟ²) product, not automatically the stronger o(n⁻¹ᐟ²) requirement. Big O bounds the relative magnitude; little o requires the ratio to vanish.

The nuisance roles are not symmetric in this sufficient bound. Reversing those rates preserves their product but makes rm² of order n⁻⁰·³. Do not import rate conditions from another score merely because it also carries a DML label. We expanded the ell-based partialling-out score.

This inequality is not an entire confidence-interval theorem. A residual-variation denominator bounded away from zero and appropriate sampling, moment, uniformity and empirical-process or cross-fitting conditions also matter. A small fixed ridge penalty and fixed propensity grid do not verify those conditions for the actual cases. Our finite adjusted comparisons and diagnostics do not automatically certify asymptotic causal inference.

학부 심화 · 선택Advanced undergraduate · optional

15. 직교성도 누락된 혼란변수를 고치지는 못한다15. Orthogonality does not repair an omitted confounder

계산만으로 구별할 수 없는 두 가상 세계를 보겠습니다. 두 세계 모두 관측한 D는 절반이 0, 절반이 1이고 Y=D입니다. X는 기록하지 않았습니다. 첫 세계에서는 D가 무작위이고, 모든 사람의 잠재 결과가 Y(0)=0,Y(1)=1입니다. ATE는 1입니다. 둘째 세계에서는 보이지 않는 유형 H가 0 또는 1이고 D=H로 배정되며, Y(0)=Y(1)=H입니다. 이 세계의 ATE는 0입니다.

두 세계의 관측 표는 같습니다. 따라서 X가 없는 m₀=1/2와 ell₀=1/2도 같고, 잔차 U=Y−1/2,V=D−1/2도 같습니다. PLR 점수는 두 세계에서 정확히 θ=1을 줍니다. 모집단 조건부 평균을 올바르게 알고 직교성을 갖추어도 둘째 세계의 참 인과 효과 0으로 바뀌지 않습니다. 둘째 세계에서 빠진 것은 올바른 인과 배정 가정입니다.

동일한 관측 분포가 서로 다른 인과 세계와 양립하는 가상 예제
구성한 세계관측 Y,D잠재 결과관측 PLRATE
A: 무작위 배정Y=D, D 절반씩Y(0)=0,Y(1)=111
B: 숨은 유형으로 배정Y=D, D 절반씩Y(0)=Y(1)=H, D=H10

이 예는 DML을 쓰지 말자는 뜻이 아닙니다. 계산 도구가 해결하는 문제를 정확히 알고 사용하자는 뜻입니다. 관측한 X로 조건화한 예측 오차 전파는 줄일 수 있지만, 관측 분포만으로 정해지지 않는 인과 세계를 알고리즘이 새로 관측할 수는 없습니다. 숨은 H를 실제 자료에서 확인하지 않았는데 임의의 새 변수 이름으로 만들어 넣는 것도 해결이 아닙니다.

정책과 기업 사례에서도 같은 태도가 필요합니다. 미국 군의 정책 도입과 점포의 주 구분에는 기록된 두세 배경 변수 밖의 차이가 남을 수 있습니다. NSW 실험 배정은 다른 근거를 제공하지만 표본 선택·처치 정의·외부 타당성은 다시 검토합니다. 결과가 좋은 정책을 지지하거나 나쁜 정책을 비판하는지보다, 무엇을 관측하고 어떤 가정으로 어떤 대상에 대해 말하는지를 먼저 적으세요.

Consider two constructed worlds that share D=0 for half the population, D=1 for half, and observed Y=D, with no recorded X. In world A, treatment is randomized and every person has Y(0)=0, Y(1)=1, so ATE=1. In world B, an unobserved type H determines D=H and Y(0)=Y(1)=H, so ATE=0.

The observed tables and true conditional predictions are identical: m₀=ell₀=1/2. Residuals U=Y−1/2 and V=D−1/2 therefore coincide, and the PLR score gives θ=1 in both worlds. Correct conditional means and orthogonality do not transform the second world’s causal effect into one. Its missing ingredient is an adequate causal assignment assumption.

An identical observed distribution supports different causal worlds
Constructed worldObserved Y, DPotential outcomesObserved PLRATE
A: randomizedY=D, equal D sharesY(0)=0, Y(1)=111
B: hidden-type assignmentY=D, equal D sharesY(0)=Y(1)=H, D=H10

This does not argue against DML. It clarifies which problem the tool addresses. It can reduce propagation of nuisance errors conditional on recorded X, but cannot observe a causal world unidentified by the observed distribution. Inventing a new variable name for an unmeasured H does not add evidence.

Policy and business cases deserve the same discipline. County adoption and store-state assignment may differ in ways unrecorded by our few covariates. NSW experimental assignment offers a different source of evidence, but selection, treatment meaning and external validity still require attention. State what is observed, assumed and targeted before choosing a favorable or unfavorable policy narrative.

학부Undergraduate

16. 자기 행을 외우면 왜 문제가 되는가16. Why memorizing the same row causes trouble

학습 모형에 각 행만 알아보는 이름표를 하나씩 주었다고 합시다. 이름표 a이면 관측한 Yₐ,Dₐ를 그대로 돌려주게 만들면, 같은 행에서 예측한 ellhat=Y,mhat=D가 됩니다. 예측 오차는 완전히 0입니다. 그러나 결과 잔차와 처치 잔차도 모두 0이어서 관심 계수를 구하는 분모가 사라집니다. 예측 성적은 완벽한데 효과 기울기는 정할 수 없는 구성입니다.

ℓ^(Xi)=Yi,m^(Xi)=Di⟹Ui=Vi=0\widehat\ell(X_i)=Y_i,\quad\widehat m(X_i)=D_i\quad\Longrightarrow\quad U_i=V_i=0

이 문제는 같은 행에 학습이 의존하면서 생기는 극단적 과적합 예입니다. 교차적합은 평가 행의 결과를 그 행 보조함수 훈련에서 빼서 이 직접 의존을 줄입니다. 하지만 이름표만 있으면 학습에 없던 새 이름표의 결과를 어떻게 예측할지 여전히 정해야 합니다. OLS라면 그 방향이 식별되지 않을 수도 있고, 규제 모형이라면 특정 외삽 규칙을 선택할 수도 있습니다. “훈련에서 뺐다”는 사실만으로 좋은 새 예측이 생기지는 않습니다.

회사의 고객 번호나 병원 번호를 변수로 쓸 때도 생각해 보세요. 번호의 숫자 자체에 크기 의미가 있는지, 단지 대상을 식별하는 키인지 구분합니다. 같은 대상의 반복 자료를 나누어 놓고 번호로 외우게 하면 새 대상에 대한 평가가 아닐 수 있습니다. 평가 대상이 같은 고객의 미래인지, 처음 보는 고객인지에 따라 분할 설계도 달라집니다.

훈련 오차, 묶음 밖 오차, 잔차 처치 변동을 나란히 보겠습니다. 훈련 오차만 작은 모형을 고르면 관심 계수의 분모가 불안정해질 수 있습니다. 반대로 묶음 밖 결과를 여러 번 보며 “가장 좋은” 모형·분할을 고르면 그 결과도 선택에 사용된 것입니다. 하이퍼파라미터 선택을 위한 안쪽 검증과, 최종 점수의 바깥 평가를 분리하는 이유를 뒤에서 다시 살펴봅니다.

Give a learner a separate identifier for every row and let it return that row’s observed Y and D. In-sample predictions become ellhat=Y and mhat=D. Prediction errors are zero, but both residuals and the treatment-variation denominator also vanish. Perfect training prediction has produced no identified effect slope.

ℓ^(Xi)=Yi,m^(Xi)=Di⟹Ui=Vi=0\widehat\ell(X_i)=Y_i,\quad\widehat m(X_i)=D_i\quad\Longrightarrow\quad U_i=V_i=0

This is an extreme example of overfitting through dependence on the same row. Cross-fitting removes the evaluation outcome from its nuisance-fitting sample, but a learner using only identifiers still needs a rule for unseen identifiers. OLS may leave such a prediction unidentified; regularization may select an extrapolation rule. Holding a row out does not itself create an accurate prediction.

Customer or hospital numbers raise similar questions. Does their numerical magnitude carry information, or are they merely identity keys? Splitting repeated records while letting the model memorize an identity may fail to evaluate a new unit. Predicting an existing customer’s future and predicting a new customer require different designs.

Inspect training error, out-of-fold error and residual treatment variation together. Selecting by training error alone can destabilize the target denominator. Repeatedly using out-of-fold outcomes to choose the best model or split also makes those outcomes part of selection. This motivates separate inner validation and outer score evaluation.

학부Undergraduate

17. 그룹을 나누고 모든 행을 보존하기17. Split groups and preserve every row

fold는 평가 묶음의 번호입니다. K=5라면 0,1,2,3,4 다섯 번호를 씁니다. fold 0을 평가할 때에는 다른 네 묶음으로만 학습하고, 같은 규칙을 모든 번호에 반복합니다. 처음부터 어떤 행을 어느 묶음에 둘지 고정해야, 나온 결과를 보고 마음에 드는 분할을 골랐다는 문제를 줄일 수 있습니다. 그래도 한 번 고정한 분할이라는 사실만으로 모집단 정리의 무작위성 조건이 증명되는 것은 아닙니다.

실제 프레임의 그룹 문자열에 METR21|종류|그룹이라는 접두 규칙을 붙여 SHA256으로 정렬하고, 정렬 순서의 나머지를 5로 나누어 fold를 정했습니다. Y·D의 값이나 좋은 결과를 내는지 여부를 분할에 쓰지 않습니다. 이 결정적 규칙은 재현을 위한 선택이며, 정책을 무작위로 배정한 실험이라는 뜻은 아닙니다.

같은 키 그룹은 다른 fold로 갈라지지 않음 · 숫자는 평가 행 수
실제 프레임행 / 그룹fold 0fold 1fold 2fold 3fold 4
미국 군440 / 4408888888888
NSW 사람722 / 722145145144144144
NJPA 점포384 / 3837777787676

점포는 384행인데 그룹은 383개입니다. 원 SHEET 407 두 행을 서로 다른 분석 행 ID로 유지하면서 같은 fold 2에 넣었기 때문입니다. fold 2의 그룹 수는 77이지만 행 수는 78입니다. 이것은 우연히 한 행을 복제한 것도, 원본을 중복 제거하여 버린 것도 아닙니다. 반복된 원 키를 보수적으로 누출 방지 그룹에 반영한 결과입니다. 그 두 행이 실제로 같은 점포인지까지 원 키만으로 단정하지 않습니다.

그룹 검사에는 결측 또는 비중 0인 행도 포함합니다. 지금 제외되어 있다고 서로 다른 fold에 놓아 두면, 나중에 값이 보강되었을 때 같은 대상이 훈련·평가에 섞일 수 있습니다. 실습은 같은 typed group이 두 fold에 나타나면 계산을 거부합니다. 숫자 ID 1과 문자열 ID "1"은 다른 키라는 입력 규칙도 보존합니다.

미국 군은 같은 주의 정책을 공유할 수 있고, 점포는 NJ 또는 PA라는 적은 정책 집단을 공유합니다. 개별 군·점포 그룹 fold는 한 대상 자체의 직접 누출을 막는 선택입니다. 이를 독립 정책 군집이 수백 개 생긴 것으로 해석하지 않습니다. 인과 설계와 불확실성 분석은 더 큰 배정·의존 단위를 따로 다루어야 합니다.

A fold is an evaluation-group label. For K=5, the labels are 0 through 4. Fit on the other four folds when evaluating fold 0, and repeat for every label. Predetermining membership helps prevent choosing a favorable split after seeing results. A deterministic split alone does not establish a population theorem’s random-sampling conditions.

For the actual frames, we sort group strings by SHA256 of METR21|kind|group, then assign sorted rank modulo five. Outcome values, treatment prevalence and favorable results do not enter assignment. This is a reproducible splitting choice, not randomized policy assignment.

Evaluation-row counts; one group never spans folds
Actual frameRow s / groupsFold 0Fold 1Fold 2Fold 3Fold 4
US counties440 / 4408888888888
NSW people722 / 722145145144144144
NJPA stores384 / 3837777787676

The store frame has 384 rows but 383 groups because both native SHEET407 records retain distinct analysis IDs while sharing fold 2. That fold has 77 groups and 78 rows. We neither fabricated a copy nor discarded an original record by deduplication. The repeated key conservatively informs a leakage guard; it does not prove the records represent the same physical store.

The group check also includes incomplete and zero-weight rows. Otherwise later data repair could make one unit enter both training and evaluation. The interaction rejects a typed group spanning folds. Numeric ID 1 and string ID "1" remain distinct keys.

Counties can share state policies; stores share NJ or PA assignment. Unit-level group folds block a direct same-unit leakage channel. They do not create hundreds of independent policy clusters. Causal design and uncertainty must address the relevant larger assignment and dependence units.

학부 심화 · 선택Advanced undergraduate · optional

18. 훈련 자료 안에서만 척도와 ridge 정하기18. Fit scaling and ridge inside training data

키가 cm인지 m인지에 따라 제곱한 계수의 크기가 달라집니다. 그래서 ridge를 쓰기 전에 척도를 어떻게 정했는지 밝혀야 합니다. 이 장은 훈련 행에서만 각 X의 최소값과 범위를 계산하고, 범위가 0이면 분모를 1로 둡니다. 평가 행이 훈련 범위 밖이면 변환 값도 0과 1 밖으로 나갈 수 있습니다. 그 값을 몰래 잘라 훈련 범위 안에 넣지 않습니다.

Zij=Xij−min⁡r∈trainXrjmax⁡r∈trainXrj−min⁡r∈trainXrj,replace a zero range by 1Z_{ij}=\frac{X_{ij}-\min_{r\in\mathrm{train}}X_{rj}}{\max_{r\in\mathrm{train}}X_{rj}-\min_{r\in\mathrm{train}}X_{rj}},\quad \text{replace a zero range by }1

훈련 X가 0,1이고 평가 X가 1000이면 훈련 최소 0·범위 1을 써서 평가 변환값은 1000입니다. 전체 자료의 최대 1000을 미리 써서 훈련 값을 0,1/1000으로 만들면 평가 자료가 전처리에 들어간 것입니다. 결과 Y를 보지 않은 척도 계산이라도, 엄격한 묶음 밖 절차와 일반화 목표를 말하려면 사용한 정보 경계를 구분해야 합니다.

훈련 목표는 비중 평균 제곱오차에 λ를 곱한 기울기 제곱합을 더한 값입니다. 절편은 벌하지 않습니다. 절편까지 벌하면 모든 소득에 같은 상수를 더했을 때의 동작도 달라집니다. λ는 0 이상이고, 이 장 실제 사례의 기본값 1/100은 사전에 정한 선택입니다. 평가 결과를 보고 고른 “최적 λ”라고 부르지 않습니다.

min⁡α,β ∑i∈trainwi(Yi−α−Zi⊤β)2∑i∈trainwi+λ∑jβj2\min_{\alpha,\beta}\ \frac{\sum_{i\in\mathrm{train}}w_i(Y_i-\alpha-Z_i^\top\beta)^2}{\sum_{i\in\mathrm{train}}w_i}+\lambda\sum_j\beta_j^2

가상 두 행 X=0,1,Y=1,3에서 척도 none·λ=1이면 절편 9/5, 기울기 2/5, X=2의 예측은 13/5입니다. λ=0이면 절편 1·기울기 2로 두 훈련 행을 정확히 지나갑니다. 앞의 큰 규제는 더 평평한 선을 골랐으며 이것이 원자료에 더 가까운 참 효과라는 뜻은 아닙니다.

각 외부 fold마다 ell과 m은 같은 공통 훈련 프레임을 쓰지만 목표가 다릅니다. μ₀와 μ₁은 그 훈련 안의 각 팔만 쓰며, 척도도 해당 팔 안에서 다시 맞춥니다. 전체 프레임의 척도·팔 척도·평가 행의 변환을 모두 장부에 남깁니다. 이 절 실습으로 계수·Gram 행렬·목적함수·원척도 예측을 확인해 보세요.

Coefficient penalties depend on units: centimeters and meters produce different raw coefficient magnitudes. Our range scaling uses training rows only, with a zero range replaced by one. A held-out value outside the training range may transform outside[0,1]; we do not silently clamp it.

Zij=Xij−min⁡r∈trainXrjmax⁡r∈trainXrj−min⁡r∈trainXrj,replace a zero range by 1Z_{ij}=\frac{X_{ij}-\min_{r\in\mathrm{train}}X_{rj}}{\max_{r\in\mathrm{train}}X_{rj}-\min_{r\in\mathrm{train}}X_{rj}},\quad \text{replace a zero range by }1

If training X values are 0 and 1 while held-out X is 1000, the transformed held-out value remains 1000. Using the full-data maximum to transform training values to 0 and 1/1000 lets evaluation data affect preprocessing. Even without outcome labels, distinguish that information use from a strict out-of-fold procedure.

Minimize the weighted mean squared error plus λ times squared feature coefficients. The intercept is unpenalized. Penalizing it would change behavior under a common outcome shift. Our actual-data default λ=1/100 is predeclared, not selected as optimal after inspecting evaluation results.

min⁡α,β ∑i∈trainwi(Yi−α−Zi⊤β)2∑i∈trainwi+λ∑jβj2\min_{\alpha,\beta}\ \frac{\sum_{i\in\mathrm{train}}w_i(Y_i-\alpha-Z_i^\top\beta)^2}{\sum_{i\in\mathrm{train}}w_i}+\lambda\sum_j\beta_j^2

For constructed rows X=(0,1), Y=(1,3), scale none and λ=1 give intercept 9/5, slope 2/5 and prediction 13/5 at X=2. At λ=0, the line has intercept 1 and slope 2 and passes through both training rows. Shrinkage selected a flatter predictor; it did not reveal a truer causal effect.

Within each outer fold, ell and m use the common training frame with different responses. The mu 0 and mu 1 models use their own training arms and refit scaling inside those arms. Retain all minima, ranges, normal equations, objective values and predictions. The interaction makes these choices inspectable.

대학원 연결Graduate bridge

19. lambda 0과 아핀 해집합19. Lambda zero and an affine solution family

규제 λ를 0으로 두면 보통의 최소제곱으로 돌아갑니다. 하지만 독립적인 열이 부족하면 계수 하나하나가 정해지지 않을 수 있습니다. 훈련 X가 모두 7이고 Y가 2,4라면 변환 Z는 모두 0입니다. 절편은 평균 3으로 정해지지만 기울기는 아무 값이어도 훈련 예측이 3입니다. 훈련 예측이 정해진다는 것과 계수가 모두 식별된다는 것을 구분해야 합니다.

행렬을 몰라도 이 예는 이해할 수 있습니다. 원척도 직선 αraw+βrawX가 X=7에서 3이 되려면 αraw+7βraw=3이면 됩니다. βraw=0,αraw=3도 되고 βraw=1,αraw=−4도 됩니다. 둘은 X=7에서는 같은 값을 주지만 X=10에서는 각각 3과 6을 줍니다. 관측하지 않은 방향의 예측까지 자료가 골라 주지는 않았습니다.

β=βpart+Nv,znew⊤β is identified iff znew⊤N=0\beta=\beta_{\mathrm{part}}+Nv,\qquad z_{\mathrm{new}}^\top\beta\text{ is identified iff }z_{\mathrm{new}}^\top N=0

위 식에서 한 특별해 βpart에 영공간 방향 N의 임의 조합 Nv를 더하면 같은 훈련 해집합을 얻습니다. 새 점 z가 모든 영공간 방향에 수직이면 예측은 어떤 해를 골라도 같습니다. 아니라면 예측은 미식별입니다. 실습은 특별해 하나를 표시하면서 계수가 유일하다고 속이지 않고, 영공간과 각 새 예측의 식별 여부를 함께 제공합니다.

λ를 양수로 바꾸면 이 훈련 예에서 기울기 0을 선택하여 X=10도 3으로 예측합니다. 이것은 선언한 규제 목적함수가 고른 외삽 규칙입니다. X=10의 관측 정보가 새로 생긴 것은 아닙니다. λ>0의 유일한 계산 해와 무규제 자료의 식별을 같은 주장으로 쓰지 마세요.

빈 훈련 행 또는 비중 합 0에서는 절편 평균도 만들 수 없습니다. 이를 계수 0과 예측 0으로 채우지 않습니다. 다른 사례의 계수를 가져다 쓰지도 않습니다. 관련 보조예측과 이를 요구하는 최종 추정치를 미정의로 남기고, 행·팔·fold를 찾아 설명합니다.

At λ=0, we return to ordinary least squares. Insufficient independent columns can leave coefficients unidentified. If all training X values equal 7 and Y=(2,4), transformed Z is always zero. The intercept is the mean 3, but any slope gives fitted training values 3. Identified fitted values do not imply all coefficients are identified.

The raw-scale equation αraw+7βraw=3 allows both (αraw, βraw)=(3,0) and(−4,1). They agree at X=7 but give 3 and 6 at X=10. The data have not selected a prediction in that unseen direction.

β=βpart+Nv,znew⊤β is identified iff znew⊤N=0\beta=\beta_{\mathrm{part}}+Nv,\qquad z_{\mathrm{new}}^\top\beta\text{ is identified iff }z_{\mathrm{new}}^\top N=0

The affine solution set adds arbitrary nullspace combinations Nv to a particular solution. A new prediction is unique exactly when its design row annihilates every nullspace direction. The interaction displays a particular solution without mislabeling it unique, and reports nullspace and query-prediction identification.

A positive λ selects slope zero in this example and predicts 3 at X=10. That is an extrapolation rule chosen by the stated penalty, not newly observed information at ten. A unique regularized solution and identification from unregularized data are different claims.

With no positive-weight training observations, even the intercept mean is unavailable. Do not fill it or predictions with zero, or borrow another case’s coefficients. Preserve undefined nuisance predictions and any final estimator requiring them, with the affected arm and fold.

학부 심화 · 선택Advanced undergraduate · optional

20. 한 fold의 예측을 끝까지 따라가기20. Trace one held-out fold completely

이번 가상 표에는 X가 없습니다. 절편만 있는 보조모형을 써서 모든 숫자를 직접 따라갑니다. fold 0에는 a:(D=0,Y=1),b:(D=1,Y=4), fold 1에는 c:(D=0,Y=2),d:(D=1,Y=5)를 둡니다. 그룹은 네 행마다 다르고 비중은 모두 1입니다. 각 평가 fold를 제외한 두 행으로 평균을 학습합니다.

fold 0을 예측할 때 훈련은 c,d라 ell=7/2,m=1/2,μ₀=2,μ₁=5입니다. fold 1을 예측할 때 훈련은 a,b라 ell=5/2,m=1/2,μ₀=1,μ₁=4입니다. 자기 행의 Y가 자기 예측에 들어간 곳이 있는지, 각 값을 어느 두 행에서 평균했는지 확인합니다. X 배열은 빈 배열 []로 지정하며, 앞 절 실습의 X=0,1을 그대로 남기지 않습니다.

절편 전용 두 fold의 완전한 묶음 밖 계산
가상 행foldYell 밖 예측VUVU
a017/2−1/2−5/25/4
b047/21/21/21/4
c125/2−1/2−1/21/4
d155/21/25/25/4
∑iViUi=3,∑iVi2=1,θ^=3\sum_iV_iU_i=3,\qquad\sum_iV_i^2=1,\qquad\widehat\theta=3

네 점수는 1/2,−1/2,−1/2,1/2로 합이 0입니다. 각 행의 예측은 새 자료처럼 만들었지만, 평가 행의 Y는 최종 점수를 계산할 때 당연히 씁니다. “평가 결과를 쓰면 누출”이라는 말은 학습·선택 경계를 넘겨 쓰지 말자는 뜻이지, 최종 관심 통계량을 Y 없이 계산하라는 뜻이 아닙니다.

뒤에서 배울 AIPW 식에 같은 팔 예측과 e=1/2를 넣으면 의사결과는 5,1,1,5이고 평균도 3입니다. 두 점수가 항상 같다는 정리가 아니라 이 대칭적인 표에서 일치한 것입니다. 작은 표로 역할과 산술을 익힌 뒤, 실제 프레임에서는 모든 훈련·평가 멤버십과 예측을 공개해 독자가 같은 경로를 추적하도록 합니다.

실습에서는 K=2, 빈 X, 네 독립 그룹, 위 fold와 결과를 모두 새로 지정하세요. 기본 ridge를 써도 벌할 기울기가 없어 절편 평균은 같습니다. 원본을 복원한 뒤 a의 결과만 바꾸어, a의 밖 예측은 그대로이나 다른 fold의 예측은 달라질 수 있음을 확인합니다. 결과를 바꾼 행이 어느 훈련 단계에 쓰이는지 이해하는 검사입니다.

Use an intercept-only constructed table with no X features. Fold 0 contains a: (D=0, Y=1) and b: (D=1, Y=4); fold 1 contains c: (D=0, Y=2) and d: (D=1, Y=5). All groups are distinct and weights equal one. Fit means using the two rows outside each evaluation fold.

For fold 0, the training rows c, d give ell=7/2, m=1/2, mu 0=2 and mu 1=5. For fold 1, training a, b gives ell=5/2, m=1/2, mu 0=1 and mu 1=4. Trace every mean back to those training rows. Set X to an empty array [], rather than retaining the previous section’s X values 0 and 1.

Complete intercept-only two-fold calculation
Constructed rowFoldYOut-of-fold ellVUVU
a017/2−1/2−5/25/4
b047/21/21/21/4
c125/2−1/2−1/21/4
d155/21/25/25/4
∑iViUi=3,∑iVi2=1,θ^=3\sum_iV_iU_i=3,\qquad\sum_iV_i^2=1,\qquad\widehat\theta=3

Row scores are 1/2, −1/2, −1/2,1/2 and sum to zero. Although nuisance predictions are fitted as for unseen data, the held-out Y is correctly used to compute the final score. Avoiding evaluation leakage means respecting fitting and selection boundaries, not trying to calculate an outcome statistic without outcomes.

The later AIPW formula, using the same arm predictions and e=1/2, gives pseudo-outcomes 5,1,1,5, also averaging three. This agreement belongs to the symmetric table; it is not a general identity between PLR and AIPW. Actual case ledgers expose all memberships and predictions for the same tracing exercise.

Reset K=2, empty X, distinct groups, fold labels and all four outcomes in the interaction. A positive default ridge has no feature slope to penalize here, so intercept means are unchanged. After restoring the original table, change only a’s Y: its own held-out prediction stays fixed, but predictions in the other fold can change. Trace which training step uses the edited row.

학부 심화 · 선택Advanced undergraduate · optional

21. 전체 점수의 해와 fold별 평균은 다르다21. The pooled score root differs from a fold average

교차적합은 보조예측을 어디서 배우는지 정합니다. 그 예측을 받은 뒤 관심 점수를 어떻게 합치는지는 별도 선택입니다. 이 장은 모든 적격 행의 점수 합을 한 번에 0으로 만드는 방식, 흔히 DML2라고 부르는 집계 형태를 씁니다. fold마다 기울기를 구해 단순 평균하는 DML1 형태와 같은 숫자라고 가정하지 않습니다. 둘 다 각자의 정리 조건 아래 연구할 수 있는 절차입니다.

θ^pooled=∑kAk∑kBk,Ak=∑i∈IkwiViUi,Bk=∑i∈IkwiVi2\widehat\theta_{\mathrm{pooled}}=\frac{\sum_k A_k}{\sum_k B_k},\quad A_k=\sum_{i\in I_k}w_iV_iU_i,\quad B_k=\sum_{i\in I_k}w_iV_i^2

가상 두 fold의 A,B가 (1,1),(9,3)이라면 fold별 기울기는 1과 3입니다. 단순 평균은 2이지만 전체 점수의 해는 (1+9)/(1+3)=5/2입니다. B가 큰 fold가 전체 잔차 기울기에 더 많은 변동 정보를 제공하므로 더 큰 비중을 갖습니다. fold 행 수가 같더라도 B가 같다는 보장은 없습니다.

θ^pooled=∑k:Bk>0Bk∑jBjAkBkwhen ∑jBj>0\widehat\theta_{\mathrm{pooled}}=\sum_{k:B_k>0}\frac{B_k}{\sum_jB_j}\frac{A_k}{B_k}\quad\text{when }\sum_jB_j>0

어떤 fold에서 B=0이면 그 fold의 V는 모두 0이라 A도 0입니다. 그 fold만의 기울기는 미식별이지만 다른 fold의 잔차 변동으로 전체 기울기가 식별될 수 있습니다. 0분모 fold의 기울기를 0으로 채워 평균하거나, 아무 설명 없이 fold를 빼서 “같은 절차”라고 부르지 않습니다. 전체 점수 방식은 그 fold의 0 기여를 그대로 보존하며 모든 행의 장부를 유지합니다.

반면 양수 비중의 보조예측 자체가 없는 행이 있다면 이야기가 다릅니다. 그 행의 점수가 0이라는 사실을 아는 것이 아니므로 전체 점수를 완성할 수 없습니다. 없는 예측과 존재하지만 V=0인 예측을 구분해야 합니다. 정확한 미정의 상태를 유지하는 이유입니다.

Cross-fitting determines where nuisance predictions are learned. Aggregating the target scores is another choice. We solve one pooled equation over all eligible out-of-fold rows, a form commonly called DML2. Averaging separate fold roots, a DML1 form, need not give the same finite number. Both procedures can be studied under their respective conditions.

θ^pooled=∑kAk∑kBk,Ak=∑i∈IkwiViUi,Bk=∑i∈IkwiVi2\widehat\theta_{\mathrm{pooled}}=\frac{\sum_k A_k}{\sum_k B_k},\quad A_k=\sum_{i\in I_k}w_iV_iU_i,\quad B_k=\sum_{i\in I_k}w_iV_i^2

For constructed fold totals (A, B)=(1,1) and(9,3), the fold slopes are 1 and 3. Their mean is 2, but the pooled root is 10/4=5/2. A fold with more residual treatment variation receives more weight. Equal row counts do not require equal B.

θ^pooled=∑k:Bk>0Bk∑jBjAkBkwhen ∑jBj>0\widehat\theta_{\mathrm{pooled}}=\sum_{k:B_k>0}\frac{B_k}{\sum_jB_j}\frac{A_k}{B_k}\quad\text{when }\sum_jB_j>0

If B=0 in a fold, all its eligible V values and its A are zero. That fold’s slope is unidentified, but other folds may identify the pooled root. Do not fill its root with zero or silently average a different subset. The pooled equation retains its zero contributions and complete row ledger.

An unavailable positive-weight nuisance prediction is different: its score is unknown, not known to be zero. The complete pooled score cannot then be formed. Preserve the distinction between a missing prediction and an available prediction with V=0.

대학원 연결Graduate bridge

22. 행별·그룹별 점수 분산의 범위22. The scope of row and group score variances

기울기를 구했다고 불확실성까지 구한 것은 아닙니다. 여기서는 최종 점수의 흔들림을 요약하는 유한 대용 공식을 먼저 계산하고, 그것을 언제 표준오차로 해석할 수 있는지는 따로 묻겠습니다. 분모 A를 ΣwV², 행별 기여 sᵢ를 wᵢψᵢ라고 두면 다음 두 식을 정확히 계산할 수 있습니다.

V^row=∑isi2A2,V^group=∑g(∑i∈gsi)2A2,A=∑iwiVi2\widehat V_{\mathrm{row}}=\frac{\sum_i s_i^2}{A^2},\qquad \widehat V_{\mathrm{group}}=\frac{\sum_g(\sum_{i\in g}s_i)^2}{A^2},\qquad A=\sum_iw_iV_i^2

첫 식은 행 점수를 먼저 제곱하고 더합니다. 둘째는 같은 그룹의 점수를 먼저 더한 뒤 제곱합니다. 그룹 안의 공통 움직임을 고려하려는 구조가 다르므로 둘의 크기는 어느 쪽이든 클 수 있습니다. 비중은 s 안에 들어가므로 제곱 항에는 w²가 들어갑니다. 한 번만 w를 곱한 다른 공식을 섞지 않습니다.

이 구현은 HC0 대수이며 자유도 보정을 하지 않습니다. 실제 표집이 독립 행인지, 충분히 많은 독립 그룹인지, 추정한 보조함수가 필요한 속도를 만족하는지, 분모가 약하지 않은지에 따라 해석이 달라집니다. 제곱근을 구할 수 있다고 해서 정규 분포의 1.96을 곱한 95% 신뢰구간이 자동으로 정당화되는 것은 아닙니다.

정책이 NJ와 PA 두 주 단위로 달라지는 자료에 점포가 384개 있다고 독립 정책 실험 384개가 생기지 않습니다. 원 키별 383그룹으로 누출을 막은 것과 정책 배정 단위에서의 추론은 다른 문제입니다. 실제 사례의 그룹 HC0 값은 선언한 그룹의 점수 산술로 제공하며, 주 정책 효과의 유효한 표준오차라고 표시하지 않습니다.

이 절을 읽은 뒤 10절 예를 다시 보세요. 두 그룹의 점수가 우연히 완전히 상쇄되어 그룹 대용값이 0이었습니다. 작은 값이 나오도록 그룹을 사후에 고르면 불확실성 평가가 아니라 결과 선택입니다. 독립성·배정·관측 설계에 근거해 그룹을 정하고 그 근거를 보고해야 합니다.

A slope is not yet an uncertainty analysis. First compute finite score-variation plug-ins, then ask when they support standard-error interpretation. Write A=ΣwV² and row contribution sᵢ=wᵢψᵢ. The following formulas are exact algebra.

V^row=∑isi2A2,V^group=∑g(∑i∈gsi)2A2,A=∑iwiVi2\widehat V_{\mathrm{row}}=\frac{\sum_i s_i^2}{A^2},\qquad \widehat V_{\mathrm{group}}=\frac{\sum_g(\sum_{i\in g}s_i)^2}{A^2},\qquad A=\sum_iw_iV_i^2

The first squares before summing; the second sums within groups before squaring. They address different dependence structures, and either can be larger. Because weights enter s, the squared terms contain w². Do not silently replace this by a differently weighted formula.

This implementation computes HC0 algebra without degrees-of-freedom correction. Interpretation requires appropriate independent-row or many-independent-group sampling, adequate nuisance rates and nonweak residual variation, among other conditions. Taking a square root does not automatically justify a normal 95% interval.

There are not 384 independent policy experiments merely because 384 stores are observed under NJ versus PA assignment. The 383 key-based leakage groups are not independent state-policy assignments. The actual case’s group HC0 is labeled score algebra for the declared groups, not a validated state-policy standard error.

Revisit Section 10’s complete cancellation of both group scores. Selecting groups after seeing a small variance is result selection, not uncertainty assessment. Choose and justify groups from assignment, sampling and dependence evidence.

학부 심화 · 선택Advanced undergraduate · optional

23. AIPW 의사결과를 유도하기23. Derive the AIPW pseudo-outcome

PLR의 잔차 기울기와 별도로, 이진 처치의 평균 효과를 겨냥하는 점수를 만들겠습니다. μ₁(X)는 처치자 안에서의 결과 평균, μ₀(X)는 비처치자 안에서의 결과 평균이고 e(X)는 처치 확률 예측입니다. 필요한 인과 가정이 있으면 μ₁−μ₀를 배경별 효과로 해석할 수 있습니다. 하지만 예측이 틀릴 수 있으므로 관측 결과의 예측 오차를 다시 반영합니다.

Ai=μ1(Xi)−μ0(Xi)+Di{Yi−μ1(Xi)}e(Xi)−(1−Di){Yi−μ0(Xi)}1−e(Xi)A_i=\mu_1(X_i)-\mu_0(X_i)+\frac{D_i\{Y_i-\mu_1(X_i)\}}{e(X_i)}-\frac{(1-D_i)\{Y_i-\mu_0(X_i)\}}{1-e(X_i)}

D=1인 행에서는 처치 팔 예측 오차를 e로 나누어 더하고, D=0인 행에서는 비교 팔 오차를 1−e로 나누어 뺍니다. 드물게 나타나는 배정의 오차에 큰 역확률 비중이 붙는 구조입니다. 기본 예측 차이에 이런 보정이 더해져 augmented inverse-probability weighting, AIPW라는 이름을 씁니다. Aᵢ는 그 사람의 두 잠재 결과를 실제로 관측한 값이 아니라 추정을 위해 만든 의사결과입니다.

τ^=∑iwiAi∑iwi\widehat\tau=\frac{\sum_iw_iA_i}{\sum_iw_i}

가상 네 행 Y=1,2,3,4,D=0,1,0,1에 e=1/2,μ₀=1,μ₁=3을 모두 주면 의사결과는 2,0,−2,4입니다. 평균은 1입니다. 개별 의사결과가 음수라고 그 사람의 참 개인 효과가 음수라고 판정하지 않습니다. 반대로 모든 예측 효과 μ₁−μ₀가 2여도 관측 오차를 반영한 평균은 1일 수 있습니다.

AIPW에도 행·그룹 HC0 산술을 제공합니다. 이번 행별 점수는 Aᵢ−τ이고 분모는 비중 합 W입니다. PLR의 ψ나 ΣwV²를 그대로 가져오지 않습니다. 또한 이 API는 이진 D를 요구합니다. 연속 가격·투자액의 효과에 같은 이진 역확률 식을 아무 변경 없이 쓰지 마세요.

식의 각 부분에 필요한 함수가 무엇인지 다시 적어 보세요. ell은 AIPW 식에 직접 쓰이지 않고 μ₀,μ₁이 필요합니다. PLR의 m과 AIPW의 e를 같은 학습으로 만들 수는 있지만 그 목적과 지원집합 검사는 구분합니다. 다음 절은 “이중” 강건성이 정확히 어떤 오차 곱을 뜻하는지 설명합니다.

Separate from the PLR residual slope, we construct a score targeting an average effect for binary treatment. Let mu 1(X) and mu 0(X) be conditional outcome means within the two arms, and e(X) a treatment-probability prediction. Appropriate causal assumptions can identify their difference with a conditional effect. Prediction errors motivate an additional observed-residual correction.

Ai=μ1(Xi)−μ0(Xi)+Di{Yi−μ1(Xi)}e(Xi)−(1−Di){Yi−μ0(Xi)}1−e(Xi)A_i=\mu_1(X_i)-\mu_0(X_i)+\frac{D_i\{Y_i-\mu_1(X_i)\}}{e(X_i)}-\frac{(1-D_i)\{Y_i-\mu_0(X_i)\}}{1-e(X_i)}

For D=1, add the treated-arm prediction error divided by e. For D=0, subtract the comparison-arm error divided by 1−e. Unusual assignments receive larger inverse-probability factors. This augmentation of a predicted contrast gives AIPW its name. Aᵢ is a constructed pseudo-outcome, not observation of both of that person’s potential outcomes.

τ^=∑iwiAi∑iwi\widehat\tau=\frac{\sum_iw_iA_i}{\sum_iw_i}

Construct Y=(1,2,3,4), D=(0,1,0,1), e=1/2, mu 0=1 and mu 1=3. Pseudo-outcomes are 2,0, −2,4, averaging one. A negative individual pseudo-outcome does not establish a negative individual causal effect. All predicted differences can equal two while observed-residual corrections change their average.

For AIPW, row and group HC0 use centered scores Aᵢ−τ and denominator W=Σw. Do not substitute PLR’s ψ or residual-variation denominator. This API requires binary D; the formula does not automatically apply to continuous prices or investment amounts.

List the required functions again. AIPW uses mu 0 and mu 1 rather than ell directly. A fitted m can supply e, but the target and support checks are distinct. The next section derives precisely what double robustness means.

대학원 연결Graduate bridge

24. 이중 강건성의 조건부 편향 항24. The conditional bias term behind double robustness

왜 한 종류의 보조예측이 맞으면 다른 종류가 틀려도 평균 보정이 가능하다고 할까요? 참 함수들을 e₀,μ₁₀,μ₀₀이라고 하고, 사용하는 결과 예측 오차를 δ₁=μ₁−μ₁₀,δ₀=μ₀−μ₀₀이라고 둡니다. 같은 X에서 D=1일 확률이 e₀라는 사실로 앞 식의 조건부 평균을 계산하면 아래 차이가 남습니다. 기대값이 존재하고 사용하는 e가 0과 1 사이에 있다는 조건을 함께 둡니다.

E[A∣X]−(μ10−μ00)=(e−e0){δ1e+δ01−e}E[A\mid X]-(\mu_{10}-\mu_{00})=(e-e_0)\left\{\frac{\delta_1}{e}+\frac{\delta_0}{1-e}\right\}

e=e₀이면 앞 인자가 0입니다. μ₁,μ₀가 둘 다 참 함수이면 괄호가 0입니다. 이것이 모집단 평균 수준에서 두 가지 통로 중 하나가 맞아도 편향 항이 사라진다는 의미입니다. 두 결과 함수 중 하나만 맞는다는 말은 일반적으로 충분하지 않습니다. 둘 다 틀린 임의의 함수가 자동으로 상쇄된다는 뜻도 아닙니다.

가상 한 배경에서 e₀=1/2,e=1/4,δ₁=2,δ₀=1이면 차이는 (−1/4)(8+4/3)=−7/3입니다. 두 종류 모두 틀리면 상당한 편향이 남을 수 있습니다. e만 참 1/2로 바꾸면 이 차이는 0입니다. 반대로 잘못된 e=1/4를 두고 δ₁=δ₀=0으로 만들면 역시 0입니다. 이 산술은 어느 함수가 참인지 자료만 보고 알 수 있다는 뜻이 아닙니다.

모집단에서 편향 항이 사라지는 성질과 유한 표본 추정치가 언제나 참 ATE라는 주장은 다릅니다. 실현된 오차, 보조학습의 무작위성, 결측·대상·표집 변동이 남습니다. 신뢰구간을 위해서는 오차 곱의 속도, 지원집합, 모멘트·의존성 조건도 필요합니다. 정확한 원자료 재현은 이런 가정을 대신하지 않습니다.

클리핑이나 고정 격자로 e를 바꾸면 식에는 바꾼 e가 들어갑니다. 그 값이 e₀와 정확히 같다는 통로를 함부로 주장할 수 없습니다. 결과 함수 통로가 성립할 가능성과 충분한 수렴 조건은 별도로 검토해야 합니다. 이 장의 고정 ridge·격자 실제 실습은 유한 점수와 진단을 학습하기 위한 명시적 설계입니다.

Why can one class of nuisance functions suffice when the other is wrong? Denote true functions by e₀, mu 10 and mu 00, and outcome errors by δ1=mu 1−mu 10 and δ0=mu 0−mu 00. Take the preceding score’s conditional expectation using P(D=1|X)=e₀. Assuming integrability and a supplied e strictly between zero and one, the remaining difference is:

E[A∣X]−(μ10−μ00)=(e−e0){δ1e+δ01−e}E[A\mid X]-(\mu_{10}-\mu_{00})=(e-e_0)\left\{\frac{\delta_1}{e}+\frac{\delta_0}{1-e}\right\}

If e=e₀, the first factor vanishes. If both outcome regressions are correct, the bracket vanishes. These are the two population robustness routes. Correctness of only one outcome regression generally does not suffice; arbitrary wrong functions do not automatically cancel.

At one constructed covariate value, let e₀=1/2, e=1/4, δ1=2 and δ0=1. The difference is(−1/4)(8+4/3)=−7/3. Both nuisance classes being wrong can leave substantial bias. Replacing e by its true 1/2 removes it; keeping the wrong e but setting both outcome errors to zero also removes it. These calculations do not tell us which function is true from observations alone.

A zero population bias term is not a guarantee that every realized estimate equals the ATE. Sampling, learned-nuisance variability, selection and measurement remain. Confidence statements also need product-rate, support, moment and dependence conditions. Reproducing the source arithmetic does not establish those assumptions.

After clipping or fixed-grid rounding, the formula uses the modified e. It cannot casually be declared exactly equal to e₀. The outcome-regression route and sufficient convergence conditions require separate assessment. Our fixed-ridge and grid experiment is an explicit finite-score learning design.

학부 심화 · 선택Advanced undergraduate · optional

25. 지지집합·클리핑·명시적 성향 격자25. Support, clipping and an explicit propensity grid

역확률 분모가 0이면 보정이 무너집니다. 이 장의 AIPW는 모든 양수 비중의 완전 행에서 0<e<1을 요구합니다. 어느 한 행에서 e=0,1 또는 범위 밖 값이면 전체 평균을 미정의로 둡니다. 그 행을 평균에서 빼거나 무한대를 0으로 바꾸지 않습니다. 선형 ridge가 D를 예측하면 범위 밖 값도 나올 수 있으므로 “확률”이라는 이름만 보고 유효하다고 믿지 않습니다.

클리핑을 명시적으로 선택하면 c와 1−c 사이로 e를 제한합니다. c=1/20이면 0.05와 0.95입니다. 원 e, 사용 e, 어느 행이 바뀌었는지를 보존합니다. 이는 계산에 쓸 점수를 바꾼 것입니다. 실제 배정의 겹침을 만들어 내거나 누락된 비교 대상을 관측한 것이 아닙니다. 일반 AIPW API는 기본 클리핑이 없고, 실제 세 사례의 기본 설정에는 c=1/20을 사전에 선언했습니다.

eused=max⁡{c,min⁡(1−c,e)},0<c<1/2e_{\mathrm{used}}=\max\{c,\min(1-c,e)\},\qquad 0<c<1/2

실제 사례에는 또 하나의 명시적 선택이 있습니다. 원 ridge 성향분수를 정확히 가장 가까운 1/1000 격자로 옮긴 뒤 클리핑합니다. 중간값은 짝수 쪽으로 반올림합니다. 예를 들어 0.1235는 0.124, 0.1245도 0.124가 됩니다. 원자료·원 보조예측·PLR의 m은 바꾸지 않습니다. AIPW에 쓰는 별도 성향 값만 그 규칙을 적용하고 세 단계를 장부로 공개합니다.

이 선택은 수백 개 서로 다른 긴 정확 성향분수의 역수를 합할 때 분모가 과도하게 커지는 계산 경계를 관리하려는 유한 모형 정책입니다. 실제 행을 줄이는 대신 모든 행을 보존하며, 격자 점수임을 분명히 합니다. 격자 오차는 반올림 단계에서 최대 1/2000이지만, 최종 AIPW 오차도 그만큼이라는 뜻은 아닙니다. 역수와 결과 오차가 결합하므로 민감도는 다릅니다.

격자를 고정한 채 표본만 늘리면 이 근사 오차가 반드시 0으로 가는 것은 아닙니다. 따라서 원래 성향 보조함수의 수렴 조건이 자동으로 유지된다고 주장하지 않습니다. 정확한 “수정된 점수 계산”과 “수정 전 점수와 같은 값”은 다릅니다. 원격자 없음은 별도 옵션이지만 정확 분수·작업 예산을 넘을 수 있고, 그때 실패를 숨겨 작은 표본으로 바꾸지 않습니다.

실습에서는 먼저 e=1/2인 네 행으로 의사결과를 확인하세요. 한 양수 비중 행의 e를 0으로 바꾸어 전체 미정의를 확인한 다음, c=1/20을 명시해 어떤 행의 값이 바뀌는지 봅니다. 다시 원 입력을 복원하세요. 실제 데이터 실습에서는 raw·grid·used를 나란히 보고 PLR 원 m과 혼동하지 않습니다.

Inverse-probability corrections fail at a zero denominator. This AIPW API requires 0<e<1 on every complete positive-weight row. A supplied value at zero, one or outside the interval makes the whole average undefined. We do not discard that row or replace infinity by zero. Linear ridge predictions of D can leave[0,1], so a probability label is not validation.

Explicit clipping restricts e to[c,1−c]. At c=1/20, that is[0.05,0.95]. Preserve raw and used values and changed-row flags. This modifies the calculated score; it creates neither actual assignment overlap nor missing counterfactual observations. Standalone AIPW has no default clipping; the actual cases predeclare 1/20.

eused=max⁡{c,min⁡(1−c,e)},0<c<1/2e_{\mathrm{used}}=\max\{c,\min(1-c,e)\},\qquad 0<c<1/2

The actual cases make another explicit choice: round raw ridge propensities to the nearest 1/1000, ties to even, before clipping. Thus 0.1235 and 0.1245 both map to 0.124. Source observations, raw fitted nuisances and PLR’s m remain unchanged. Only the separate AIPW propensity input follows this rule, and all three stages are disclosed.

This finite modeling policy controls exact denominator growth when summing reciprocals of hundreds of distinct long fractions. It preserves every source row rather than shrinking the sample. The rounding-stage error is at most 1/2000, but that does not bound final AIPW error by the same amount: reciprocals and outcome residuals interact.

A fixed grid need not vanish as sample size grows. It therefore does not automatically preserve an unrounded nuisance-consistency condition. Exact computation of a modified score differs from equality to the unmodified score. An explicit no-grid option may exceed rational-size or work budgets; failure is not hidden by substituting a smaller source sample.

Start the interaction with four rows at e=1/2. Set one positive-weight row’s e to zero and inspect whole-estimator undefined status. Then choose c=1/20 explicitly and inspect the affected value. Restore the original input. In actual-data views, compare raw, grid and used propensities without confusing them with PLR’s unchanged m.

학부 심화 · 선택Advanced undergraduate · optional

26. 하이퍼파라미터 선택에도 검증 경계가 있다26. Hyperparameter selection needs its own boundary

외부 평가 행을 학습에서 빼 놓고도 그 결과를 여러 번 보며 λ를 고르면 어떻게 될까요? 이제 그 결과는 선택에 쓰였으므로 완전히 손대지 않은 평가 정보가 아닙니다. 하이퍼파라미터도 모형을 만드는 정보의 일부입니다. 최소 예측 오차가 나온 λ를 발표할 때 그 오차를 어느 행에서 보고 골랐는지 밝혀야 합니다.

한 가지 엄격한 설계는 중첩 검증입니다. 외부 fold k를 잠그고, 나머지 훈련 그룹 안에서만 다시 안쪽 훈련·검증을 나눕니다. 안쪽 훈련으로 척도를 배우고 각 후보 λ를 적합한 뒤 안쪽 검증으로 고릅니다. 선택을 마친 후에는 외부 훈련 전체에서 척도와 모형을 다시 적합해 잠가 둔 외부 fold를 한 번 예측합니다. 같은 대상의 그룹은 안쪽에서도 갈라지지 않게 합니다.

중첩 검증의 정보 경계 · 이 장 실제 기본은 고정 λ
단계볼 수 있는 정보고르면 안 되는 기준
안쪽 척도·모형 학습현재 안쪽 훈련만안쪽 검증·외부 평가의 결과
λ 선택안쪽 검증의 예측 손실외부 관심 계수가 원하는 부호인지
최종 보조학습선택된 λ와 외부 훈련 전체외부 평가 Y
최종 점수외부 밖 예측과 외부 관측 Y,D그 결과를 다시 본 뒤 같은 평가라고 부르는 선택

ell,m,μ₀,μ₁의 예측 목표가 다르므로 손실·후보·선택 규칙도 명시해야 합니다. 희귀한 처치 팔에서는 안쪽 훈련이 비거나 검증이 지나치게 작을 수 있습니다. 그 실패를 숨기지 않고, 미리 정한 fallback이나 다른 설계를 검토해야 합니다. 더 많은 계산이 언제나 더 좋은 근거인 것은 아닙니다.

이 장의 실제 기본 결과는 이 중첩 최적화를 수행한 것처럼 표시하지 않습니다. λ=1/100과 성향 격자·클리핑을 미리 정해 모든 행에 같은 규칙을 적용합니다. 실습에서 λ를 바꾸어 비교하는 것은 유한 민감도 탐색입니다. 결과를 본 뒤 선택한 설정을 처음부터 고정했다고 말하지 않습니다. 원 설정·대안·선택 이유를 함께 남기세요.

Holding an outer fold out of fitting is not enough if its outcomes are repeatedly used to choose λ. Hyperparameter selection is part of model construction. A reported minimum validation loss needs a statement of which observations selected it.

A strict nested design locks outer fold k, then splits only the remaining training groups into inner training and validation. Fit scaling and each candidate model inside inner training, choose using inner validation, then refit on the whole outer training frame before predicting the locked fold. Group membership is respected at both levels.

Nested information boundaries; actual defaults here use fixed λ
StagePermitted informationNot a selection criterion
Inner scaling and fittingCurrent inner training onlyValidation or outer outcomes
Choose λInner validation prediction lossA desired outer effect sign
Final nuisance fittingChosen λ and whole outer trainingOuter evaluation Y
Final scoreHeld-out predictions and observed Y, DA new choice presented as untouched evaluation

Different nuisance targets require declared losses, candidate sets and selection rules. Rare treatment arms can make inner training empty or validation uninformative. Disclose such failures and any predeclared fallback. More optimization does not necessarily provide stronger evidence.

Our actual default is not presented as nested optimization. It predeclares λ=1/100, propensity grid and clipping, and applies the same rules to all rows. Changing λ in an interaction is finite sensitivity exploration. A setting chosen after looking at results must not be described as fixed beforehand. Retain the baseline, alternatives and selection rationale.

학부 심화 · 선택Advanced undergraduate · optional

27. 분할 반복과 불확실성을 구분하기27. Distinguish repeated splits from uncertainty

자료를 어떻게 나누느냐에 따라 훈련 모형이 바뀌므로, 같은 자료에서도 관심 계수가 조금 달라질 수 있습니다. 여러 사전 지정 분할로 계산을 반복하면 이 민감도를 볼 수 있습니다. 그러나 분할을 여러 번 했다고 새로운 사람이나 점포를 관측한 것은 아닙니다. 반복 수 100은 독립 표본 수 100이 아닙니다.

가상 세 분할의 계수가 1,3,100이라면 평균은 104/3, 중앙값은 3입니다. 중앙값은 한 극단값의 영향을 덜 받지만 그 값이 참 효과라는 보장은 없습니다. 극단값이 왜 생겼는지, 분모가 작았는지, 보조학습이 실패했는지, 특정 그룹의 분할이 문제였는지 원 장부를 먼저 확인하세요.

분할 사이 산포는 고정된 같은 자료에서 학습·분할이 바뀌는 변동입니다. 새 표본을 다시 뽑았을 때의 표집 불확실성과 같지 않습니다. 분할 사이 표준편차만 작다고 효과의 95% 신뢰구간이 좁다고 말하지 않습니다. 반대로 큰 분할 민감도는 절차가 불안정하다는 유용한 경고가 될 수 있습니다.

이 장의 실제 기본은 고정한 5fold 한 분할입니다. 임의의 반복 결과를 만들어 분할 안정성 검사를 했다고 부르지 않습니다. 다른 분할을 연구하려면 그룹 규칙·분할 생성·반복 수·집계법·실패 처리·추론 근거를 새로 선언해야 합니다. 한 번 선택한 원 프레임과 원 결과도 남겨 비교 가능하게 합니다.

Changing a split changes nuisance training, so the target estimate can vary on the same observations. Repeating predeclared splits can assess this sensitivity, but does not collect new people or stores. One hundred repetitions are not one hundred independent samples.

Constructed split estimates 1,3,100 have mean 104/3 and median 3. A median reduces one extreme value’s influence without establishing truth. Inspect whether the outlier came from a weak denominator, failed nuisance learning or particular group placement.

Between-split dispersion describes variation in a procedure on fixed data. It is not the same as uncertainty from drawing a new sample. A small split standard deviation does not alone justify a narrow 95% confidence interval. Large split sensitivity can nevertheless reveal instability.

Our actual baseline uses one fixed five-fold split. We do not invent repeated estimates or claim a stability study. Studying alternatives requires newly declared grouping, split generation, repetition count, aggregation, failure handling and inference rationale, while retaining the original frame and result.

대학원 연결Graduate bridge

28. 시간·공간·정책 의존성을 다시 보기28. Revisit temporal, spatial and policy dependence

교차적합의 묶음 밖이라는 말은 언제나 시간상 미래 예측이라는 뜻은 아닙니다. 같은 2007년의 서로 다른 군을 나누어 보조예측을 만들면, 그것은 그 시점 횡단면에서 대상 밖 예측입니다. 2003년에 아직 공개되지 않았던 2007년 결과를 보고 모형을 만든 뒤 2003년 실시간 예측이라고 부를 수는 없습니다. 질문이 회고적 조정 비교인지 미래 예측인지 구분하세요.

시계열에서는 가까운 시점의 충격이 이어질 수 있습니다. 단순히 홀수·짝수 날짜로 나누면 서로 가까운 관측이 양쪽에 들어갑니다. 미래 예측을 평가하려면 과거로 학습하고 미래로 평가하는 시간 순서, 필요한 간격, 공개 지연과 빈티지를 고려해야 합니다. 인과 점수의 교차적합 이론을 쓸 때에도 시간·공간·네트워크에 맞는 표집과 약한 의존 조건을 따로 정합니다.

정책 도입이 주 단위이고 결과가 군·점포 단위라면, 정책 충격의 공통성이 남을 수 있습니다. 원 자료에서 검증하지 않은 주 키를 숫자 ID 모양만 보고 새로 만들어 독립 군집이라고 선언하지 않습니다. 배정 단위의 공식 출처와 경계를 확인해야 합니다. NJPA는 원 STATE가 알려져 있어도 두 주뿐이라는 추론 제약이 그대로 있습니다.

개인의 실험 배정도 여러 기록의 의존성을 모두 없애지는 않습니다. 가족·지역·공통 프로그램 기관의 정보가 필요할 수 있습니다. 지금 프레임은 한 사람의 두 원파동을 한 분석 행으로 묶어 직접 반복 누출을 막았지만, 모든 잠재적 의존성을 파악했다고 주장하지 않습니다. 공개한 장부의 범위와 아직 모르는 배정·연결 구조를 함께 적는 태도가 전문가적인 보고의 일부입니다.

Out-of-fold does not always mean forecasting the future. Splitting counties observed in 2007 produces out-of-unit predictions within that retrospective cross-section. A model trained using 2007 outcomes cannot be called a real-time 2003 forecast. Distinguish adjusted retrospective comparison from prospective prediction.

Time-series shocks can persist. Odd-even date splitting may put neighboring observations on opposite sides. Forecast evaluation needs a past-to-future information order, appropriate gaps, release delays and vintages. Causal-score cross-fitting also requires sampling and dependence conditions suited to temporal, spatial or network structures.

State-level policy assignment can induce common shocks across county or store outcomes. Do not infer an unverified state key from the appearance of an ID and declare independent clusters. Verify assignment units and official mappings. NJPA’s recorded STATE does not remove the limitation of observing only two states.

Individual experimental assignment likewise does not establish every possible family, regional or provider independence condition. We combine each person’s two native waves into one analytical row to prevent direct repeated-record leakage, but do not claim complete knowledge of all dependence. State both the disclosed ledger’s scope and the remaining unknown assignment structure.

대학원 연결Graduate bridge

29. 좋은 점수와 점근 정규성 사이의 조건29. Conditions between a good score and asymptotic normality

시험 오차가 작다는 숫자 하나로 √n 정규성을 검증할 수 있을까요? 아닙니다. 보조함수의 L2 오차는 참 조건부 함수와의 차이인데 실제 자료에서는 그 참 함수를 보통 모릅니다. 관측 Y에 대한 제곱오차에는 예측 불가능한 잡음도 포함됩니다. 묶음 밖 MSE는 유용한 진단이지만 참 함수 오차와 같은 값은 아닙니다.

대수적 전개는 어떤 항을 제어해야 하는지 알려 줍니다. 충분한 nuisance rate는 편향 나머지를 줄이고, 교차적합은 학습·평가의 직접 의존을 다루며, 중심극한정리는 평균 점수의 분포를 다룹니다. 분모 B=E[V₀²]는 0에서 떨어져 있어야 합니다. 이 단계들은 서로 연결되지만 같은 조건이 아닙니다.

B=E[V02]>0,∥rm∥2{∥rℓ∥2+∣θ0∣∥rm∥2}=o(n−1/2)is one sufficient remainder conditionB=E[V_0^2]>0,\qquad \|r_m\|_2\{\|r_\ell\|_2+|\theta_0|\|r_m\|_2\}=o(n^{-1/2})\quad\text{is one sufficient remainder condition}

보조함수의 유연성을 늘리면 표현 오차는 줄어들 수 있지만 작은 훈련 팔에서 불안정성이 커질 수 있습니다. 고정된 λ와 적은 선형 변수로 만든 ridge가 진짜 비선형 조건부 평균에 일치한다는 보장은 없습니다. 좋은 예측 점수만으로 누락된 X나 잘못된 지원집합을 찾았다고 할 수도 없습니다. 실제 데이터 실습은 이런 한계를 보이는 장소이기도 합니다.

조건의 충분성과 필요성도 구분합니다. 제시한 norm bound가 만족되지 않는다고 모든 특수 설정에서 실패를 증명한 것은 아닙니다. 반대로 한 예제의 잘 맞는 숫자가 일반적인 정리를 증명하지도 않습니다. 특별한 상쇄·모형 제약·다른 점수가 있으면 다른 정리를 사용해야 하고 그 근거를 밝혀야 합니다.

이 장은 유한 점수·정확 계산·진단·실제 장부와 이론이 요구하는 조건을 나란히 제공합니다. 실제 기본 결과에 가짜 모의실험 신뢰구간이나 검증하지 않은 p값을 붙이지 않습니다. 실증 연구로 발전시키려면 표집·배정·추정 대상·누락 변수·의존성·rate에 맞는 추가 연구 설계가 필요합니다.

Can a small test-error number verify root-n normality? No. Nuisance L2 error measures distance to the true conditional function, which is usually unknown. Squared prediction loss against observed Y also contains irreducible noise. Out-of-fold MSE is useful but is not the true-function error itself.

The algebra identifies terms needing control. Nuisance rates reduce a bias remainder; cross-fitting addresses direct fitting-evaluation dependence; a central limit theorem concerns the mean score’s distribution. The denominator B=E[V₀²] must remain away from zero. These related steps are not identical conditions.

B=E[V02]>0,∥rm∥2{∥rℓ∥2+∣θ0∣∥rm∥2}=o(n−1/2)is one sufficient remainder conditionB=E[V_0^2]>0,\qquad \|r_m\|_2\{\|r_\ell\|_2+|\theta_0|\|r_m\|_2\}=o(n^{-1/2})\quad\text{is one sufficient remainder condition}

Greater learner flexibility may reduce approximation error but increase instability in a small training arm. Fixed-ridge linear regressions on a few features are not guaranteed consistent for a nonlinear conditional mean. Good prediction cannot establish that all relevant covariates or overlap conditions were recovered.

Distinguish sufficient from necessary conditions. Failure to verify the displayed norm bound does not prove failure in every special model. A successful numerical example does not prove a general theorem either. Special cancellation, restricted models or other scores require their own argument.

We place finite scores, exact arithmetic, diagnostics and actual ledgers alongside the conditions theory demands. Actual baseline results do not acquire invented simulation intervals or unverified p-values. An empirical research claim needs additional design addressing sampling, assignment, target, omitted variables, dependence and rates.

대학원 연결Graduate bridge

30. 대학원 연결:영향함수와 효율성의 전제30. Graduate bridge: influence functions and efficiency assumptions

추정 방정식을 θ₀ 주변에서 보면, 점수 평균의 작은 변동이 계수 변동으로 얼마나 바뀌는지 볼 수 있습니다. PLR 점수의 θ 미분은 −B입니다. 적절한 선형화와 나머지 제어가 가능하면 영향함수 후보 φ는 ψ/B가 됩니다. 아래 전개는 필요한 정리 조건을 만족할 때의 점근 표현이지, 웹에서 계산한 모든 유한 표에 자동 성립하는 신뢰구간 명령이 아닙니다.

ϕ(W)=V0(U0−θ0V0)B,n(θ^−θ0)=1n∑i=1nϕ(Wi)+op(1)\phi(W)=\frac{V_0(U_0-\theta_0V_0)}{B},\qquad \sqrt n(\widehat\theta-\theta_0)=\frac1{\sqrt n}\sum_{i=1}^n\phi(W_i)+o_p(1)

10절의 점수를 영향함수처럼 해석하려면 어떤 모집단·표집 가정이 그 전개를 뒷받침하는지 먼저 정해야 합니다. 단순 유한 plug-in으로만 보면, 비중 1일 때 Bhat=ΣV²/n이고 분산 대용값 Σφhat²/n²는 앞의 Σψ²/(ΣV²)²와 같습니다. 수식을 바꾸어 적어도 같은 대수임을 확인할 수 있습니다.

효율성은 더 강한 개념입니다. 무엇이 허용된 모집단 모형이고 어떤 정규 추정량들을 비교하는지 정한 뒤 그 안의 점근 분산 한계를 논합니다. 단지 작은 표준오차가 나왔다거나 DML이라는 이름이 붙었다고 효율적이라고 부르지 않습니다. 이 PLR 점수의 단순 가중 방식은 일반적인 조건부 이분산 상황에서 언제나 효율적이라는 보장이 없습니다.

비혼란성·겹침 등으로 식별한 비모수 ATE 모형에서는 참 AIPW 의사결과에서 τ₀를 뺀 형태가 영향함수와 연결됩니다. 이 말 역시 모형·정규성·지원집합 조건을 가진 주장입니다. 클리핑·고정 격자·잘못된 보조함수의 유한 값이 자동으로 그 참 효율적 영향함수인 것은 아닙니다.

ϕATE=μ10(X)−μ00(X)+D(Y−μ10)e0−(1−D)(Y−μ00)1−e0−τ0\phi_{\mathrm{ATE}}=\mu_{10}(X)-\mu_{00}(X)+\frac{D(Y-\mu_{10})}{e_0}-\frac{(1-D)(Y-\mu_{00})}{1-e_0}-\tau_0

이 절의 목표는 더 복잡한 기호로 권위를 붙이는 것이 아닙니다. 왜 점수의 기울기, 보조오차의 이차항, 평가 분할, 의존 단위, 원자료 단위가 하나의 추론에 함께 필요한지 연결하는 것입니다. 실제 사례에서는 이 연결 중 어디까지 확인했고 무엇이 아직 가정인지 명시적으로 구분해 보겠습니다.

Linearizing an estimating equation near θ₀ relates variation in the mean score to variation in the coefficient. The PLR score derivative in θ is −B. Under an appropriate expansion and remainder control, the influence function is ψ/B. The following asymptotic representation is conditional on theorem assumptions, not an automatic interval command for every finite interaction.

ϕ(W)=V0(U0−θ0V0)B,n(θ^−θ0)=1n∑i=1nϕ(Wi)+op(1)\phi(W)=\frac{V_0(U_0-\theta_0V_0)}{B},\qquad \sqrt n(\widehat\theta-\theta_0)=\frac1{\sqrt n}\sum_{i=1}^n\phi(W_i)+o_p(1)

Interpreting Section 10’s scores through such a population expansion requires a sampling model. As finite plug-in algebra with unit weights, Bhat=ΣV²/n and Σφhat²/n² equals the earlier Σψ²/(ΣV²)². Rewriting the formula does not create new information.

Efficiency is stronger. It compares asymptotic variance bounds within a specified statistical model and regular estimator class. A small reported standard error or a DML label does not prove efficiency. This simple PLR score is not universally efficient under arbitrary conditional heteroskedasticity.

In a suitable nonparametric ATE model identified by unconfoundedness and overlap, the true AIPW pseudo-outcome minus τ₀ connects to an efficient influence function. This remains a model- and regularity-dependent statement. A clipped, fixed-grid or misspecified finite score is not automatically that true function.

ϕATE=μ10(X)−μ00(X)+D(Y−μ10)e0−(1−D)(Y−μ00)1−e0−τ0\phi_{\mathrm{ATE}}=\mu_{10}(X)-\mu_{00}(X)+\frac{D(Y-\mu_{10})}{e_0}-\frac{(1-D)(Y-\mu_{00})}{1-e_0}-\tau_0

The aim is to connect, rather than obscure, why score derivatives, nuisance remainders, evaluation splits, dependence units and measurement units all enter an inference argument. The actual cases distinguish which links have been checked from those still assumed.

학부 심화 · 선택Advanced undergraduate · optional

31. 미국 군 440개의 2007년 수준 비교31. A 2007 level comparison across 440 US counties

국가 정책 사례는 미국 안의 군을 단위로 삼습니다. 원 mpdta에는 500개 군의 2003~2007년 5개 관측, 총 2500행이 있습니다. 이 장의 목표는 2007년 도입 집단 131개 군과 관측 기간 내 미도입 309개 군의 2007년 결과 수준을 배경으로 조정해 비교하는 것입니다. 2004·2006년 선도입 60개 군은 미리 선언한 이 비교 대상 밖입니다. 계산이 무거워서 임의로 뽑은 440행이 아닙니다.

결과 Y는 2007년 원 lemp의 로그 청소년 고용 값입니다. X에는 2003년의 lemp와 기록된 로그 인구 변수 lpop를 둡니다. 원 로그 값을 고용 인원 수로 바꾸지 않습니다. D는 2007년 도입 집단이면 1, 미도입이면 0입니다. 원 패널의 시간 불변 ever 코드와 특정 시점 current 노출을 혼동하지 않고, 이 비교의 집단 정의를 명시합니다.

고정된 5fold의 각 평가 묶음에는 88행이 있고, 바깥 훈련에는 352행이 있습니다. 각 군의 원 2003·2007년 행 연결과 분석 행 ID를 보존합니다. λ=1/100, 훈련 전용 range, 단위 비중의 기본 계산은 모든 440행을 사용하며 PLR 약 −0.067322 로그 점, 격자 AIPW 약 −0.075757 로그 점을 줍니다. 짧은 화면 값은 원 정확 분수의 표시값입니다.

실제 군 프레임 기본 계산 · 조건부 인과 추론 인증 아님
기본 진단값 / 범위그 값만으로 알 수 없는 것
분석 행 / 집단440 / 131처치·309비교누락된 주별 충격
PLR 잔차 변동 B약 0.211745인과 효과 식별
원 m 밖 예측약 0.168164~0.458294참 배정 확률
기본 클리핑 변경0행실제 겹침의 완전한 증명

음수 조정 비교를 곧바로 최저임금이 고용을 감소시킨 참 효과라고 제목에 쓰지 않습니다. 도입 지역의 미관측 경기·다른 정책·공통 주 충격이 남을 수 있고, 두 이전 변수의 선형 ridge가 참 조건부 함수를 회복한다는 보장도 없습니다. 앞 장의 현대 DID와는 시점·점수·식별 가정이 다릅니다. 여기서는 관측과 조정 절차를 공개해 어떤 차이를 계산했는지 이해하는 것이 우선입니다.

실제 미국 군 440개 · 사후 수준 조정

아래 수치는 세 실제 원 CSV로부터 다시 만든 전체 선언 프레임의 계산입니다. 원분수·원행은 공개 파일에 보존하고 기본 표에는 짧은 값을 표시합니다. 원 m, 격자 e, 클리핑 사용 e를 구분하며, 유한 조정 비교를 인과·신뢰구간 인증으로 바꾸지 않습니다.

원본·분석·그룹·단위
항목값뜻
원 선택 장부 행500탈락 기록도 보존
분석 행440로그 청소년 고용 점
그룹440동일 그룹은 같은 fold
K5사전 고정
lambda1/100훈련 평균손실의 기울기 벌점
AIPW 격자 / 클리핑1/1000 ;1/20원 PLR는 그대로
전체 최종 점수 요약 · 표준오차 인증 아님
지표값단위
rows440행
groups440그룹
treated131행
comparison309행
PLRtheta-0.067321594로그 청소년 고용 점
PLRnumerator-6.2721981로그 청소년 고용 점
PLRdenominator93.167701무차원
PLRnormalization0.21174477무차원
PLRmeanScore0로그 청소년 고용 점
PLRrowHC00.0014903219로그 청소년 고용 점 제곱
PLRgroupHC00.0014903219로그 청소년 고용 점 제곱
AIPWtheta-0.075757068로그 청소년 고용 점
AIPWnumerator-33.33311로그 청소년 고용 점
AIPWrowHC00.0016093441로그 청소년 고용 점 제곱
AIPWgroupHC00.0016093441로그 청소년 고용 점 제곱
rawPropensityMin0.16816417무차원
rawPropensityMax0.45829401무차원
grid1000무차원
clip0.05무차원
clippedRows0행
lambda0.01무차원
모든 fold·목표별 훈련 적합
fold목표nTrainnTestranklambdaMSE벌점목적함수손실 단위
0ell3528830.010.145217790.278203710.4234215로그 청소년 고용 점 제곱
0m3528830.010.209143110.000672781840.2098159무차원
0mu02458830.010.142454590.272899280.41535387로그 청소년 고용 점 제곱
0mu11078830.010.129267540.253078930.38234647로그 청소년 고용 점 제곱
1ell3528830.010.128920310.258970340.38789066로그 청소년 고용 점 제곱
1m3528830.010.204779960.000595068250.20537502무차원
1mu02488830.010.119845460.231105140.35095059로그 청소년 고용 점 제곱
1mu11048830.010.113842910.258431910.37227481로그 청소년 고용 점 제곱
2ell3528830.010.146306330.27245640.41876272로그 청소년 고용 점 제곱
2m3528830.010.215468190.000533363230.21600155무차원
2mu02408830.010.14320320.257474490.40067769로그 청소년 고용 점 제곱
2mu11128830.010.13140450.255073390.38647789로그 청소년 고용 점 제곱
3ell3528830.010.14053870.265579690.4061184로그 청소년 고용 점 제곱
3m3528830.010.204112950.000701564230.20481452무차원
3mu02488830.010.144355250.269445780.41380102로그 청소년 고용 점 제곱
3mu11048830.010.12056120.235971180.35653238로그 청소년 고용 점 제곱
4ell3528830.010.147801470.282470760.43027222로그 청소년 고용 점 제곱
4m3528830.010.198811320.000349556410.19916087무차원
4mu02558830.010.142193050.276419030.41861208로그 청소년 고용 점 제곱
4mu1978830.010.118898660.20741620.32631485로그 청소년 고용 점 제곱
모든 선택 분석 행·이전 X 펼치기

전체 440행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 440
전체 분석 프레임·원행 연결
ID원 키그룹fold원행YDX
county:80018001county:80010[1,5]8.48735231[8.461469, 5.8967609]
county:80198019county:80193[6,10]5.03695261[4.9972123, 2.2323772]
county:80238023county:80233[11,15]2.99573231[2.1972246, 1.2982825]
county:80298029county:80291[16,20]6.10479321[5.8833224, 3.3262583]
county:80418041county:80414[21,25]8.88100261[8.9686509, 6.2479055]
county:80638063county:80630[26,30]4.91998091[4.9416424, 2.0808156]
county:80758075county:80752[31,35]5.56068161[5.6970935, 3.02062]
county:81038103county:81030[36,40]4.71849891[4.4543473, 1.7894234]
county:81178117county:81170[41,45]6.43133111[6.3784262, 3.1590409]
county:81238123county:81230[46,50]7.80302661[7.7553388, 5.1981434]
county:1301113011county:130113[116,120]5.5721540[5.2729996, 2.6687548]
county:1301313013county:130133[121,125]6.40191720[6.1882641, 3.8317669]
county:1301913019county:130193[126,130]4.99721230[5.5645204, 2.7871694]
county:1302113021county:130213[131,135]7.60738140[7.7389238, 5.0362186]
county:1303713037county:130372[136,140]3.46573590[2.7725887, 1.8437192]
county:1303913039county:130392[141,145]6.29341930[6.2245584, 3.776524]
county:1304913049county:130494[146,150]4.75359020[4.6249728, 2.3303948]
county:1305713057county:130573[151,155]7.80343510[7.4223737, 4.9551437]
county:1307713077county:130771[156,160]7.26332960[7.1131421, 4.4910492]
county:1307913079county:130792[161,165]3.13549420[4.0253517, 2.5253286]
1–20 / 440

모든 밖 보조예측 펼치기

전체 440행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 440
모든 행의 Y,D,ell,m,mu0,mu1
IDfoldYDellmmu0mu1
county:800108.487352318.1834060.369807548.22016588.1767178
county:801935.036952614.93847080.256212314.94074264.9166704
county:802332.995732313.08780730.207991243.07442923.0682056
county:802916.104793215.815390.297550895.82966335.7981123
county:804148.881002618.60673650.294621068.65507478.6829906
county:806304.919980914.84003390.26962294.85112014.7891131
county:807525.560681615.61731590.311822855.63658585.5678375
county:810304.718498914.46913160.263575234.47566224.4145501
county:811706.431331116.01867340.294687526.0422665.9808237
county:812307.803026617.5386530.351918587.56997947.5237868
county:1301135.57215405.24997960.272897775.25373855.2312851
county:1301336.401917206.17676970.318387086.18550886.1656309
county:1301934.997212305.45060230.278651755.45598725.431883
county:1302137.607381407.45953440.368908487.47683217.4538073
county:1303723.465735903.63438560.313702893.65079843.5340157
county:1303926.293419306.18399140.326417416.20999576.1472739
county:1304944.753590204.76921780.270963164.7826664.6676863
county:1305737.803435107.25951360.364307047.27503827.2542717
county:1307717.263329606.93861570.340358626.97769016.9213723
county:1307923.135494204.55204470.317772434.57171164.4746445
1–20 / 440

모든 PLR 잔차·점수 펼치기

전체 440행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 440
전체 U,V와 합의 기여
IDUVVUV²점수
county:80010.303946350.630192460.19154470.397142540.21828097
county:80190.0984817790.743787690.0732495350.553220120.1104932
county:8023-0.0920750750.79200876-0.0729242660.62727788-0.03069492
county:80290.289403230.702449110.203291040.493434760.23650985
county:80410.27426610.705378940.193461530.497559450.22695803
county:80630.0799470650.73037710.0583915050.533450710.094304257
county:8075-0.0566342230.68817715-0.0389743780.47358779-0.0070916932
county:81030.249367270.736424770.183640230.542321440.22015018
county:81170.412657720.705312480.291052640.497465690.32454282
county:81230.264373670.648081420.171335660.420009520.19961137
county:130110.32217441-0.27289777-0.0879206770.074473191-0.082907023
county:130130.22514753-0.31838708-0.0716840630.10137033-0.064859651
county:13019-0.45339003-0.278651750.126337930.0776467980.13156523
county:130210.14784706-0.36890848-0.0545420350.13609347-0.045380006
county:13037-0.16864969-0.313702890.0529058960.0984095030.059530981
county:130390.10942787-0.32641741-0.0357191630.10654833-0.02854616
county:13049-0.01562764-0.270963160.00423451460.0734210330.0091773356
county:130570.54392149-0.36430704-0.198154430.13271962-0.18921953
county:130770.3247139-0.34035862-0.110519180.11584399-0.10272037
county:13079-1.4165505-0.317772430.450140710.100979320.45693879
1–20 / 440

원·격자·사용 성향 전부 펼치기

전체 440행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 440
같은 행의 세 단계 성향
ID원 m격자사용격자 차이클리핑 변경
county:80010.369807540.370.370.00019246397아니오
county:80190.256212310.2560.256-0.00021231445아니오
county:80230.207991240.2080.2088.7605363e-06아니오
county:80290.297550890.2980.2980.00044911241아니오
county:80410.294621060.2950.2950.00037894291아니오
county:80630.26962290.270.270.00037709885아니오
county:80750.311822850.3120.3120.00017714904아니오
county:81030.263575230.2640.2640.00042476977아니오
county:81170.294687520.2950.2950.00031247609아니오
county:81230.351918580.3520.3528.14177e-05아니오
county:130110.272897770.2730.2730.00010223294아니오
county:130130.318387080.3180.318-0.00038707831아니오
county:130190.278651750.2790.2790.00034824979아니오
county:130210.368908480.3690.3699.1517829e-05아니오
county:130370.313702890.3140.3140.00029711023아니오
county:130390.326417410.3260.326-0.00041740926아니오
county:130490.270963160.2710.2713.6841167e-05아니오
county:130570.364307040.3640.364-0.00030703936아니오
county:130770.340358620.340.34-0.00035862154아니오
county:130790.317772430.3180.3180.00022756976아니오
1–20 / 440

모든 AIPW 의사결과 펼치기

전체 440행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 440
원 결과·팔 예측·의사결과
IDYDmu0mu1e의사결과중심 점수
county:80018.487352318.22016588.17671780.370.796104890.87186196
county:80195.036952614.94074264.91667040.2560.445780080.52153715
county:80232.995732313.07442923.06820560.208-0.3546532-0.27889614
county:80296.104793215.82966335.79811230.2980.997579671.0733367
county:80418.881002618.65507478.68299060.2950.699143070.77490013
county:80634.919980914.85112014.78911310.270.42268870.49844577
county:80755.560681615.63658585.56783750.312-0.091683828-0.01592676
county:81034.718498914.47566224.41455010.2641.0902091.1659661
county:81176.431331116.0422665.98082370.2951.46570151.5414586
county:81237.803026617.56997947.52378680.3520.747102460.82285953
county:130115.57215405.25373855.23128510.273-0.46043906-0.38468199
county:130136.401917206.18550886.16563090.318-0.33719224-0.26143517
county:130194.997212305.45598725.4318830.2790.612199420.68795649
county:130217.607381407.47683217.45380730.369-0.22991759-0.15416052
county:130373.465735903.65079843.53401570.3140.152987730.22874479
county:130396.293419306.20999576.14727390.326-0.18649562-0.11073855
county:130494.753590204.7826664.66768630.271-0.0750952080.00066186001
county:130577.803435107.27503827.25427170.364-0.85157922-0.77582215
county:130777.263329606.97769016.92137230.34-0.48910498-0.41334791
county:130793.135494204.57171164.47464450.3182.00882352.0845805
1–20 / 440

모든 계수·훈련 척도 펼치기

전체 60행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 60
절편은 index0 · 기울기 벌점
fold목표index계수최소범위RHS
0ell02.6059766——5.7414935
0ell14.36193412.19722468.2454722.7495526
0ell22.96545150.0657877417.63897872.6749115
0m00.22321612——0.30397727
0m1-0.0604727272.19722468.2454720.13573216
0m20.25223250.0657877417.63897870.13684534
0mu002.7440255——5.6924614
0mu014.3513212.39789538.04480132.6118547
0mu022.89066310.176471147.52829532.5418623
0mu102.5305513——5.8537632
0mu114.13892142.19722467.80479523.0565304
0mu122.85958430.0657877417.17412913.0613198
1ell02.538305——5.6935645
1ell14.2600742.19722467.80479522.8343606
1ell22.78366730.0657877417.17412912.7993408
1m00.17705986——0.29545455
1m10.0212763232.19722467.80479520.14095147
1m20.243010580.0657877417.17412910.1430697
1mu002.6328482——5.6062591
1mu014.09704192.39789537.08818112.8262059
1–20 / 60

정상방정식 전체 행렬 펼치기

전체 180행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 180
평균 Gram+ridge의 모든 원소
fold목표행열값
0ell001
0ell010.43092165
0ell020.42349879
0ell100.43092165
0ell110.22899622
0ell120.21167583
0ell200.42349879
0ell210.21167583
0ell220.21850554
0m001
0m010.43092165
0m020.42349879
0m100.43092165
0m110.22899622
0m120.21167583
0m200.42349879
0m210.21167583
0m220.21850554
0mu0001
0mu0010.40974388
1–20 / 180

원 선택 장부 전부 펼치기

전체 500행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 500
제외 원기록도 포함한 전체 장부
ID원 키원행포함이유
county:80018001[1,2,3,4,5]예포함
county:80198019[6,7,8,9,10]예포함
county:80238023[11,12,13,14,15]예포함
county:80298029[16,17,18,19,20]예포함
county:80418041[21,22,23,24,25]예포함
county:80638063[26,27,28,29,30]예포함
county:80758075[31,32,33,34,35]예포함
county:81038103[36,37,38,39,40]예포함
county:81178117[41,42,43,44,45]예포함
county:81238123[46,47,48,49,50]예포함
county:1200712007[51,52,53,54,55]아니오이전 도입:선언 대상 밖
county:1201912019[56,57,58,59,60]아니오이전 도입:선언 대상 밖
county:1202312023[61,62,63,64,65]아니오이전 도입:선언 대상 밖
county:1202912029[66,67,68,69,70]아니오이전 도입:선언 대상 밖
county:1205112051[71,72,73,74,75]아니오이전 도입:선언 대상 밖
county:1207112071[76,77,78,79,80]아니오이전 도입:선언 대상 밖
county:1208712087[81,82,83,84,85]아니오이전 도입:선언 대상 밖
county:1209312093[86,87,88,89,90]아니오이전 도입:선언 대상 밖
county:1209712097[91,92,93,94,95]아니오이전 도입:선언 대상 밖
county:1209912099[96,97,98,99,100]아니오이전 도입:선언 대상 밖
1–20 / 500

훈련 멤버십 원파일에는 이 사례의 모든 fold·목표에 대한 5280개 연결이 있습니다. 실제 데이터 실습의 fold·목표 선택으로 전체 훈련 ID를 확인하고, 원행·같은 그룹이 자기 평가 학습에 없는지 추적하세요. 그 파일은 최종 계수 정답이 아니라 학습 경계 장부입니다.

관측 결과와 모든 밖 ell 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 행의 결과 잔차 U와 처치 잔차 V

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 원·격자·사용 성향 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 PLR 점수와 중심 AIPW 의사결과

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

전체 핵심 정확 분수 펼치기
[
  {
    "kind": "country",
    "metric": "rows",
    "value": "440",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "groups",
    "value": "440",
    "unit": "groups"
  },
  {
    "kind": "country",
    "metric": "treated",
    "value": "131",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "comparison",
    "value": "309",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "PLRtheta",
    "value": "-533206719588735932512439749085500988428844901628211211075984769942958084642246758198660602880275530323129292998525774801941481672229469505663727418237294332279492473316982008364840857336405590193295525608023939076105034653958027619556956495723038182083367852839816327251076804295491905413777947827455654118658382508905731188378447684542029062306391183686645566836624000423727002622549203503190304069944377436884992979664455386793506852642596138990238633647395265148023358852900600973214886525702415510862756250727598652429526293643782154459016908090730666782848944880387218316216201168828622556904939782019903958706946609488412514191301474102446245042671866961443420458335260391797057790344539452807900290059839788932892171400056887452831814185005179/7920292553723617399348197780469162040084352749433887755953160167128609727431253569464264242712027294646330906237472284677010216559736759813616248661304943754150024588017740666931256708064309647494776627051591999396338003416617186911493053224115103168394935998370638777467701986293994844786533681778257752389385569460891180053391212085322238032186897334112704289727816036989578311474235020605602142590941251675687572695403696725430692966715074341077359232281580891080821385891888380165318146140056037818313695776163899712867873841230798751979090533523224503204693808981393909376591086995602520449822863961560244296848476236288375819073445109813959571453606489860064165509780372486536229686341787087628678929325093515829425809306512238645454846145069056",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRnumerator",
    "value": "-533206719588735932512439749085500988428844901628211211075984769942958084642246758198660602880275530323129292998525774801941481672229469505663727418237294332279492473316982008364840857336405590193295525608023939076105034653958027619556956495723038182083367852839816327251076804295491905413777947827455654118658382508905731188378447684542029062306391183686645566836624000423727002622549203503190304069944377436884992979664455386793506852642596138990238633647395265148023358852900600973214886525702415510862756250727598652429526293643782154459016908090730666782848944880387218316216201168828622556904939782019903958706946609488412514191301474102446245042671866961443420458335260391797057790344539452807900290059839788932892171400056887452831814185005179/85011141253570391230097307508834889068621429424437871095673221610628299749620095916507858623811140882840222512073801393436513488130587025913864669209797706794827332474423013455436674344275839654460893712730766622295261645248903204624177266955049473440348093676911827820608378849140710351011859981621890701681487755077269801374333285038695496823057668654264325624722268448145541418307442003842832209094985026231630365476241258093479614195691134705329156411334226317411084707200490316018801135740389330285778901978573860931890140779234938262153644930155230379115097828131198918131223871735189852119796266995247430257747587350209323393475685667468404855007866669844340112786799032267134800126552498445532906501598965941693287428457210452822472578301952",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRdenominator",
    "value": "586219410327409310756818618982941192884169423440731332120246708026838324633034635851341101861443057330087073874175039843134435736004125639850570362591922665077931423088260003930831421634218440137951635419621373020351888306742407742395921164429251305734524042987446207547145810848802082895709440785411352129037015491170946235561879162565711800676241555860272591033308371199278786495222572232262969189678647587662957237198131874980118414010249412528867850390192972171319421451399288211723122465165524350591641187703169810246400709129144154017738749882465672947154856185791420529129120753027798125972378070966228435822896098708676846309717138869374358515844398710060652443541652777517131714305238305675507169547247988744870299486508494287/6292088424625022767459230170674995206057217628184435586859488806349660609327230525382576288947921607996147849685793795385040630454608495748441211770810777507132992382863579835549207722679957037338034639434730045921940507047594870813387851153553015244338737771564956866621807873788079249922401043272856413626325160128669441171088567343046412066865381844246864715758180582375653882636156696198498883949948118445970258773846569784451403828065821148483716593238536945447228269993462680473772592155718936082637049591498228442583161995929429652326569557552580982330299754629502630108582048724307571013373379627375646321152212921613135553983215632239467755745455769614777893926760227710199450503492276179957095716529067141393992870109949504",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "PLRnormalization",
    "value": "586219410327409310756818618982941192884169423440731332120246708026838324633034635851341101861443057330087073874175039843134435736004125639850570362591922665077931423088260003930831421634218440137951635419621373020351888306742407742395921164429251305734524042987446207547145810848802082895709440785411352129037015491170946235561879162565711800676241555860272591033308371199278786495222572232262969189678647587662957237198131874980118414010249412528867850390192972171319421451399288211723122465165524350591641187703169810246400709129144154017738749882465672947154856185791420529129120753027798125972378070966228435822896098708676846309717138869374358515844398710060652443541652777517131714305238305675507169547247988744870299486508494287/2768518906835010017682061275096997890665175756401151658218175074793850668103981431168333567137085507518305053861749269969417877400027738129314133179156742103138516648459975127641651397979181096428735241351281220205653823100941743157890654507563326707509044619488581021313595464466754869965856459040056821995583070456614554115278969630940421309420768011468620474933599456245287708359908946327339508937977172116226913860492490705158617684348961305332835301024956255996780438797123579408459940548516331876360301820259220514736591278208949047023690605323135632225331892036981157247776101438695331245884287036045284381306973685509779643752614878185365812528000538630502273327774500192487758221536601519181122115272789542213356862848377781760",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRrowHC0",
    "value": "446221431144488097527639872119739776223914299556823126235800756361635760255532574687947735838103455624380879418767353424883746771155147832734030220581754041864928040217141803376243815819868017512581482819595079734684072944982121698791331698136022269205922491246577131023123730962916049006937267967350953111280330885524182769021187331422217699556919766729264157601535013043125126212871994584623391169636972909399891775668445207875260948684711127271999616923353254885278826158702538993744290337739800805765121048447504470455882646519869762432174207612390741599922687080830596227260368783356335896068584067929941558120142271843950160891207414068658598547442383584948701615008848666580791403378807267578655081444436270902446242361299730175834820200374525349131815217754141115522278104037779427297082384093441485612318698681241086882476012434180771025986528505319110832109604230376994654995756997946517699760626331784304348651123416415341127813215158233102388833052654107350552142217719000097056567161532220827469588138715788382635779770890571972059092373300675088498862765752809969568979742308069181651252125115788521405304079804573033178006968252761221999968942838615865964467799873056099369644766836012131903288207565086997092499892301757623589176097809686777697789431571749234797707192971079115534805479675464265887995771085612439585579430935558119307456312967696294229775171520173794637798953030500260447841723009829619874194140964625444392958004322989704860570207552263165693469093174902582888105528646110546667520079243297467237562917350933398595801647388727038333847880846997486960021135096600614406476947776314010755715526538661152663427920567897541366268423467547848824658037071988425855754412983604808630556158876809808116386806440138672070892345398441000143554327400453962986981481570464433765280722196586634134960962607480981304642037744444820113663337871150376419038768624309353982669546849580031950350149633197186778742499809628048834912947192310808153368990059713157242280680595743061117708015854042575307814703123379326799733750978061821074060077488552305090186293648910216313873057598528153093335582263453243948234266634363140472069849145922619103631801704562743978383023006915513648288049085420301029832880841175688619251377195919061616077535207791801887590190681385756642051188305934971504797860702981332613020294597530672797168800616507247349390300462767824182087539637836311261334111444013143305578450552348444694155178859691300716329921114073808270818605350375500590945281343928474589756448780946065572607482388781528657378749859412013406107662258377852596790463919256510332858789980700506951618524059009559951508758162923862360871314692723604187797256192471199583487123820547093142741543234780737338376516294400777354554632924325589622766293331030306130192059310366712466706697123303472256314750888588638285171977774061300626455428282073666380585523324753266329116478526412985209340994971991880231616578880647241864398781173402608951443300856986255/299412783818709935664355339579489192538153615025700571391651909882638143975230498747313647704814723053448453177288295381224392383666031512071305240499836318030676272957974666892078712254208661689539475583992078124998500432341442225227041254457294353428214263799170676884340848569258421132963301097404912691147380508061989918573630421487798272250004835380973551276910603963801739182446976494493542123964507894053082959528394259462187023099509237234758129342040382830578115012396882283250379643265532390262532288253152168232916585753273075636579825510859577591734631019404986470271955437721711387748549211629341612458484861021113436982197180548566446833939936298938447187660626186683721817470096070885296352776687785345501916064580659246764936672422010285881279402998282838633578785838128163545084577003199005691169675683692969241362251842313282134538421450820953980213596833537083289644747675946865963219961957253453685777749441784271362137063003270800993245085194635547700932342831744411178736237518346397695764505315267532104916615666565889467971778133950166143279145728795876360206686377241831880960050851761532688733464867241777186793694039003816502325724104725261134496393496181427346991266150773096669666753867064051202649259918636927918222903759096715190469435280400392909380237451512370046169791476489161678633806692163647229612497518311710604699536429869854341985805274078821460651385715009088529815642232692964308691902575251332947780370607163334952710691435845430420377116965703589771904211675350011074047473332108083306902082903253077751467175495798447782450698839156359627152229975588077783158536761861731428005930739319077884354785038430368600267658486743462383785746998894779810546244026457108339364338039891156189476673406273136443545340838170952802302621168666633668945935740551028869812668906957141400288760676285791829429851901153113172069555873396931749111775937107744753830591846178093437893066627276813804647778836890666489863065065471308751520510086586918999471053623441889737729022709282215313466942474063573041131284352812120378245227361963714184775851311573089038255303524391737863195692270280690159862052394509858748101168042516884231707210652543015829708706771316182952630196798162162440954686476155349453490358407584411136425493172077287960636758971328559244330168279426460757419455859006566973073531591252198091925305035786266421256952918281959566627653225610764071912139291038951251410914733389797137594198463829602414113301654814471438885829996037745889639206130106807887031856912800600268003169730993923172848305326881333787884403353700227028160444189042882401084761688550858492696563477932633880477833298117866199757818151223409525834516682059037888473792199631969624345368747013553276098190565667493195161098166214998412051320790785300295831448406753983793345947826958199694887685077371067020866908877702846225674876549568999149364854626435118874979041309909455947072137811518574857004234860880217785584189310459100382996174574633091072",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "PLRgroupHC0",
    "value": "446221431144488097527639872119739776223914299556823126235800756361635760255532574687947735838103455624380879418767353424883746771155147832734030220581754041864928040217141803376243815819868017512581482819595079734684072944982121698791331698136022269205922491246577131023123730962916049006937267967350953111280330885524182769021187331422217699556919766729264157601535013043125126212871994584623391169636972909399891775668445207875260948684711127271999616923353254885278826158702538993744290337739800805765121048447504470455882646519869762432174207612390741599922687080830596227260368783356335896068584067929941558120142271843950160891207414068658598547442383584948701615008848666580791403378807267578655081444436270902446242361299730175834820200374525349131815217754141115522278104037779427297082384093441485612318698681241086882476012434180771025986528505319110832109604230376994654995756997946517699760626331784304348651123416415341127813215158233102388833052654107350552142217719000097056567161532220827469588138715788382635779770890571972059092373300675088498862765752809969568979742308069181651252125115788521405304079804573033178006968252761221999968942838615865964467799873056099369644766836012131903288207565086997092499892301757623589176097809686777697789431571749234797707192971079115534805479675464265887995771085612439585579430935558119307456312967696294229775171520173794637798953030500260447841723009829619874194140964625444392958004322989704860570207552263165693469093174902582888105528646110546667520079243297467237562917350933398595801647388727038333847880846997486960021135096600614406476947776314010755715526538661152663427920567897541366268423467547848824658037071988425855754412983604808630556158876809808116386806440138672070892345398441000143554327400453962986981481570464433765280722196586634134960962607480981304642037744444820113663337871150376419038768624309353982669546849580031950350149633197186778742499809628048834912947192310808153368990059713157242280680595743061117708015854042575307814703123379326799733750978061821074060077488552305090186293648910216313873057598528153093335582263453243948234266634363140472069849145922619103631801704562743978383023006915513648288049085420301029832880841175688619251377195919061616077535207791801887590190681385756642051188305934971504797860702981332613020294597530672797168800616507247349390300462767824182087539637836311261334111444013143305578450552348444694155178859691300716329921114073808270818605350375500590945281343928474589756448780946065572607482388781528657378749859412013406107662258377852596790463919256510332858789980700506951618524059009559951508758162923862360871314692723604187797256192471199583487123820547093142741543234780737338376516294400777354554632924325589622766293331030306130192059310366712466706697123303472256314750888588638285171977774061300626455428282073666380585523324753266329116478526412985209340994971991880231616578880647241864398781173402608951443300856986255/299412783818709935664355339579489192538153615025700571391651909882638143975230498747313647704814723053448453177288295381224392383666031512071305240499836318030676272957974666892078712254208661689539475583992078124998500432341442225227041254457294353428214263799170676884340848569258421132963301097404912691147380508061989918573630421487798272250004835380973551276910603963801739182446976494493542123964507894053082959528394259462187023099509237234758129342040382830578115012396882283250379643265532390262532288253152168232916585753273075636579825510859577591734631019404986470271955437721711387748549211629341612458484861021113436982197180548566446833939936298938447187660626186683721817470096070885296352776687785345501916064580659246764936672422010285881279402998282838633578785838128163545084577003199005691169675683692969241362251842313282134538421450820953980213596833537083289644747675946865963219961957253453685777749441784271362137063003270800993245085194635547700932342831744411178736237518346397695764505315267532104916615666565889467971778133950166143279145728795876360206686377241831880960050851761532688733464867241777186793694039003816502325724104725261134496393496181427346991266150773096669666753867064051202649259918636927918222903759096715190469435280400392909380237451512370046169791476489161678633806692163647229612497518311710604699536429869854341985805274078821460651385715009088529815642232692964308691902575251332947780370607163334952710691435845430420377116965703589771904211675350011074047473332108083306902082903253077751467175495798447782450698839156359627152229975588077783158536761861731428005930739319077884354785038430368600267658486743462383785746998894779810546244026457108339364338039891156189476673406273136443545340838170952802302621168666633668945935740551028869812668906957141400288760676285791829429851901153113172069555873396931749111775937107744753830591846178093437893066627276813804647778836890666489863065065471308751520510086586918999471053623441889737729022709282215313466942474063573041131284352812120378245227361963714184775851311573089038255303524391737863195692270280690159862052394509858748101168042516884231707210652543015829708706771316182952630196798162162440954686476155349453490358407584411136425493172077287960636758971328559244330168279426460757419455859006566973073531591252198091925305035786266421256952918281959566627653225610764071912139291038951251410914733389797137594198463829602414113301654814471438885829996037745889639206130106807887031856912800600268003169730993923172848305326881333787884403353700227028160444189042882401084761688550858492696563477932633880477833298117866199757818151223409525834516682059037888473792199631969624345368747013553276098190565667493195161098166214998412051320790785300295831448406753983793345947826958199694887685077371067020866908877702846225674876549568999149364854626435118874979041309909455947072137811518574857004234860880217785584189310459100382996174574633091072",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "AIPWtheta",
    "value": "-569811937674799141954800724825630020871575397900587916343857482383259974023133189638040774317326484564257765770955489151930279978720998934736238573092772380028858635903277662009639378847878993627195602420879184399343938557444384195104335475145135650627307414807399741968930127154763198217654564755918498268830502803141482275130643436338071050336827032177953354328160963438604584509177449095848079792203235040330367826576393640850666006145283117999766584172521138256036635613595267513139017041521033898599411276056716423413629244366835066358425405498541319312915880036055100565362869111114941273921740363764094188167083073101565947347476481010347359270009033838403433332333797011910208608785223228693358548148053795854848912942751746603269914087842795119938466603210008006713577772419959995124826935612610860216835004905975893667748699752670029690644835119831722737795939340983088622115794950293161836454210321628299427095435771/7521567945268690675523095404563693666308883210842716371197783538274721864193286802104153366178016991726744936133786515033131592275332205469401020309410022480720632822228859021926254150495665274067139546999764195747907672697702586896642888188975252308848391974951844071008646356572297213360449375205150625049680092878186060845021871783389124449796881588591754146445129953078322811223250935892100418394372685236109138727693469948026526144995386031669318812726107279336217726853381243346853092056768692110549533135350766386278705012497572492447543434767067843643470043937967270861810412828037712241111842133715447837496362717281447493607851050410889186654644059940816447389115399457654478201753476849751377598459066219506004171924626501167085963750697970843186221828653176966888442123852964163722715131281833229950796566193261099020706113067263378208266353305652650744761607143556188124886664273073145062016030719916859700805632000",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "AIPWnumerator",
    "value": "-569811937674799141954800724825630020871575397900587916343857482383259974023133189638040774317326484564257765770955489151930279978720998934736238573092772380028858635903277662009639378847878993627195602420879184399343938557444384195104335475145135650627307414807399741968930127154763198217654564755918498268830502803141482275130643436338071050336827032177953354328160963438604584509177449095848079792203235040330367826576393640850666006145283117999766584172521138256036635613595267513139017041521033898599411276056716423413629244366835066358425405498541319312915880036055100565362869111114941273921740363764094188167083073101565947347476481010347359270009033838403433332333797011910208608785223228693358548148053795854848912942751746603269914087842795119938466603210008006713577772419959995124826935612610860216835004905975893667748699752670029690644835119831722737795939340983088622115794950293161836454210321628299427095435771/17094472602883387898916125919462940150702007297369809934540417132442549691348379095691257650404584072106238491213151170529844527898482285157729591612295505638001438232338315958923304887490148350152589879544918626699790165222051333856006564065852846156473618124890554706837832628573402757637384943648069602385636574723150138284140617689520737385902003610435804878284386256996188207325570308845682769078119739172975315290212431700060286693171331890157542756195698362127767561030411916697393391038110663887612575307615378150633420482949028391926235079016063281007886463495380161049569120063722073275254186667535108721582642539276017030926934205479293606033281954410946471338898635131032905003985174658525858178316059589786373118010514775379740826706131751916332322337848129470201004826938554917551625298367802795342719468621047952319786620607416768655150802967392388056276379871718609374742418802438966050036433454356499320012800",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "AIPWrowHC0",
    "value": "8234456458126038305266859442549703567846675820963537919071043338644239554893631159415025276046329750759046260373142548880996099260178287801195905232002459919741986587448517433046195681008596210552380857974154730368116688716688680967228439210512450350470090463049758969984541897869336646928644583321057620993673359201871423405941245222002445033233339682360067034389227808693986919248801724887177622784759976748772841983109975777370769339963200009752450478521871287552762463534307776544733174593299606208833559431885202398040951073658380052612933281708098469536153973534267519179474828692138316470182434077015241103678458988883792965946041185267483504009782242988747853841353082189130375988165405313548153966175811540252524764789592668220436778830665403885989542183644657309617515695584696719559607071184217418279677516907259812996586529566057184178695980386716628400137370871244098559236991628619067481563384150589463430232948931041720133115955596711236440687882177650918290144564781417571744417439639395545702667269941097469623802355003266802797022908931797376961424199881095721145587969987602485475381895987906218729877511144863999027336604045037317075259894464509263971084235717878067285204132996355325153212675557137551372810351442529895218479228367052623974711386719072355167560952934933567896920183618787000392011294032390153054934401746568262429882538992710566197103703016313839617327092434295580212947639533051818579077737161383060215239958594973630761829613900777027439134478135767430891854146573101394128297136159774761609773281065960032354474703331203238299619631792721720147232450611562316232264859831309642106702018452439372401450988808818824449070394099165129501606773920783348055344068890283458961371799058837749070917332581733934292448086656797839471574820904337271072601735206016683404573746670414949961785496298116423305464403540116612059791744591/5116653564371059180615740820418138717678741802692041865296571318583558126621689471250195950194843460450688005728428602554135752846984598271734958515419000515878924894479739841758845566367126304526491350221993086015139790075283006031318604511562658120428982964523779227732067344644076854118246275123961367896709798648176541560460339356470589382661320786970541037258045266265683209677863107843383206906961431179036868950110863685102497773038092680537653369026573990785236680724164162147560424037530438573970057884745751549080598605371769611458598065315976317417874887267668456112658671795137873819585909492654155697284483466164595061933896977182331467062023938538212010775044492681680580684087381145146995694547910438377084641998141775850841660380097262886829194734626337447393225105828451975728465261404213084740789375162560121463401944822052368408526565114222776560397033210999517863638318594696437741814561737601142521562274954730964724006293315294755508724229159456903531447022651808114383099582625538309023782272148876352621799881988255445660846554896387412476252954977299643257079407518994924269896288881171625566300338334598661262319561625274142459859613310497115965209562495582241757835915981911929951263586878849168003279275680811454065263551280742667459610143712062240977489526443324605512649749041073534078801475432557210568699176016324224421757251256223270949189430644360400354630134209189311924766672506973721208318449248092649892183413538951329642930461153548680424618889120955100176797524556391299164530092440209128990612571943909967437968404218871911931958747099257785470711848732983881539004498252770019548365335870956269529204893668441380819013375526111005365557106227660724476983911026866995571641072139091079130119556651860255854664693311819868855775348177468504628530366056241683615779502881942391168336503918498850993995558684639934168432640000000",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "AIPWgroupHC0",
    "value": "8234456458126038305266859442549703567846675820963537919071043338644239554893631159415025276046329750759046260373142548880996099260178287801195905232002459919741986587448517433046195681008596210552380857974154730368116688716688680967228439210512450350470090463049758969984541897869336646928644583321057620993673359201871423405941245222002445033233339682360067034389227808693986919248801724887177622784759976748772841983109975777370769339963200009752450478521871287552762463534307776544733174593299606208833559431885202398040951073658380052612933281708098469536153973534267519179474828692138316470182434077015241103678458988883792965946041185267483504009782242988747853841353082189130375988165405313548153966175811540252524764789592668220436778830665403885989542183644657309617515695584696719559607071184217418279677516907259812996586529566057184178695980386716628400137370871244098559236991628619067481563384150589463430232948931041720133115955596711236440687882177650918290144564781417571744417439639395545702667269941097469623802355003266802797022908931797376961424199881095721145587969987602485475381895987906218729877511144863999027336604045037317075259894464509263971084235717878067285204132996355325153212675557137551372810351442529895218479228367052623974711386719072355167560952934933567896920183618787000392011294032390153054934401746568262429882538992710566197103703016313839617327092434295580212947639533051818579077737161383060215239958594973630761829613900777027439134478135767430891854146573101394128297136159774761609773281065960032354474703331203238299619631792721720147232450611562316232264859831309642106702018452439372401450988808818824449070394099165129501606773920783348055344068890283458961371799058837749070917332581733934292448086656797839471574820904337271072601735206016683404573746670414949961785496298116423305464403540116612059791744591/5116653564371059180615740820418138717678741802692041865296571318583558126621689471250195950194843460450688005728428602554135752846984598271734958515419000515878924894479739841758845566367126304526491350221993086015139790075283006031318604511562658120428982964523779227732067344644076854118246275123961367896709798648176541560460339356470589382661320786970541037258045266265683209677863107843383206906961431179036868950110863685102497773038092680537653369026573990785236680724164162147560424037530438573970057884745751549080598605371769611458598065315976317417874887267668456112658671795137873819585909492654155697284483466164595061933896977182331467062023938538212010775044492681680580684087381145146995694547910438377084641998141775850841660380097262886829194734626337447393225105828451975728465261404213084740789375162560121463401944822052368408526565114222776560397033210999517863638318594696437741814561737601142521562274954730964724006293315294755508724229159456903531447022651808114383099582625538309023782272148876352621799881988255445660846554896387412476252954977299643257079407518994924269896288881171625566300338334598661262319561625274142459859613310497115965209562495582241757835915981911929951263586878849168003279275680811454065263551280742667459610143712062240977489526443324605512649749041073534078801475432557210568699176016324224421757251256223270949189430644360400354630134209189311924766672506973721208318449248092649892183413538951329642930461153548680424618889120955100176797524556391299164530092440209128990612571943909967437968404218871911931958747099257785470711848732983881539004498252770019548365335870956269529204893668441380819013375526111005365557106227660724476983911026866995571641072139091079130119556651860255854664693311819868855775348177468504628530366056241683615779502881942391168336503918498850993995558684639934168432640000000",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "rawPropensityMin",
    "value": "92111198352378892298564402756597362731449120329624386489139272921948424929/547745674965562350507816412539544911903398231673383217466408905258509242052",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "rawPropensityMax",
    "value": "79358512918465863559558253733663540389082029563262861972356599037181716487/173160703386427772252033134957775648463652703042547567572407901869706999656",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

원자료·완전 장부·실행 코드

Python · R · 재현 출처

The national-policy case uses counties within the United States. Native mpdta contains 500 counties observed in 2003–2007, or 2500 rows. This chapter predeclares a 2007 outcome-level comparison between 131 counties first adopting in 2007 and 309 never adopters in the observed period. Sixty earlier adopters in 2004 or 2006 are outside this target, not an arbitrary computational subsample.

Y is native 2007 lemp, recorded log teen employment. X contains 2003 lemp and recorded log-population variable lpop. We do not relabel logs as employment headcounts. D identifies the 2007 adoption group versus never adoption. The declared group comparison is kept distinct from native time-invariant ever treatment and date-specific current exposure.

Each fixed evaluation fold has 88 rows and its outer training frame 352. Original 2003/2007 links and analysis IDs are retained. With λ=1/100, training-only range scaling and unit weights, all 440 rows give PLR approximately −0.067322 log points and grid-AIPW approximately −0.075757. These short values display retained exact fractions.

Actual county calculation, not certified causal inference
Baseline diagnosticValue / rangeNot established by that value
Analysis rows / groups440 /131 treated,309 comparisonAbsence of omitted state shocks
PLR residual variation BApproximately 0.211745Causal identification
Raw out-of-fold mApproximately 0.168164–0.458294True assignment probabilities
Default clipping changed0 rowsComplete proof of actual overlap

Do not turn a negative adjusted contrast into an unqualified headline that minimum wages reduced employment. Unrecorded economic conditions, other policies and shared state shocks may remain; linear ridge on two prior variables is not guaranteed to recover true nuisance functions. The preceding modern-DID analysis uses different timing, scores and assumptions. Here the priority is transparent observed comparisons and adjustment.

All 440 actual US counties: adjusted post levels

These computations retain the full declared frames reconstructed from three factual CSVs. Raw fractions and source rows remain available; default tables use short values. Raw m, gridded e and clipped used e are distinct. Finite adjustment does not certify causality or confidence coverage.

Source, analysis, groups and units
QuantityValueMeaning
Source selection rows500Excluded records retained
Analysis rows440Log teen-employment points
Groups440Same group,same fold
K5Predeclared
lambda1/100Feature penalty on training mean loss
AIPW grid /clip1/1000 ;1/20Raw PLR unchanged
All final-score summaries, not certified standard errors
MetricValueUnit
rows440rows
groups440groups
treated131rows
comparison309rows
PLRtheta-0.067321594log teen-employment points
PLRnumerator-6.2721981log teen-employment points
PLRdenominator93.167701dimensionless
PLRnormalization0.21174477dimensionless
PLRmeanScore0log teen-employment points
PLRrowHC00.0014903219(log teen-employment points) squared
PLRgroupHC00.0014903219(log teen-employment points) squared
AIPWtheta-0.075757068log teen-employment points
AIPWnumerator-33.33311log teen-employment points
AIPWrowHC00.0016093441(log teen-employment points) squared
AIPWgroupHC00.0016093441(log teen-employment points) squared
rawPropensityMin0.16816417dimensionless
rawPropensityMax0.45829401dimensionless
grid1000dimensionless
clip0.05dimensionless
clippedRows0rows
lambda0.01dimensionless
Every fold and nuisance fit
foldTargetnTrainnTestranklambdaMSEPenaltyObjectiveLoss unit
0ell3528830.010.145217790.278203710.4234215Log teen-employment points squared
0m3528830.010.209143110.000672781840.2098159Dimensionless
0mu02458830.010.142454590.272899280.41535387Log teen-employment points squared
0mu11078830.010.129267540.253078930.38234647Log teen-employment points squared
1ell3528830.010.128920310.258970340.38789066Log teen-employment points squared
1m3528830.010.204779960.000595068250.20537502Dimensionless
1mu02488830.010.119845460.231105140.35095059Log teen-employment points squared
1mu11048830.010.113842910.258431910.37227481Log teen-employment points squared
2ell3528830.010.146306330.27245640.41876272Log teen-employment points squared
2m3528830.010.215468190.000533363230.21600155Dimensionless
2mu02408830.010.14320320.257474490.40067769Log teen-employment points squared
2mu11128830.010.13140450.255073390.38647789Log teen-employment points squared
3ell3528830.010.14053870.265579690.4061184Log teen-employment points squared
3m3528830.010.204112950.000701564230.20481452Dimensionless
3mu02488830.010.144355250.269445780.41380102Log teen-employment points squared
3mu11048830.010.12056120.235971180.35653238Log teen-employment points squared
4ell3528830.010.147801470.282470760.43027222Log teen-employment points squared
4m3528830.010.198811320.000349556410.19916087Dimensionless
4mu02558830.010.142193050.276419030.41861208Log teen-employment points squared
4mu1978830.010.118898660.20741620.32631485Log teen-employment points squared
Expand every selected analytical row and prior X

Read all 440 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 440
Complete frame and source-row lineage
IDNative keyGroupfoldSource rowsYDX
county:80018001county:80010[1,5]8.48735231[8.461469, 5.8967609]
county:80198019county:80193[6,10]5.03695261[4.9972123, 2.2323772]
county:80238023county:80233[11,15]2.99573231[2.1972246, 1.2982825]
county:80298029county:80291[16,20]6.10479321[5.8833224, 3.3262583]
county:80418041county:80414[21,25]8.88100261[8.9686509, 6.2479055]
county:80638063county:80630[26,30]4.91998091[4.9416424, 2.0808156]
county:80758075county:80752[31,35]5.56068161[5.6970935, 3.02062]
county:81038103county:81030[36,40]4.71849891[4.4543473, 1.7894234]
county:81178117county:81170[41,45]6.43133111[6.3784262, 3.1590409]
county:81238123county:81230[46,50]7.80302661[7.7553388, 5.1981434]
county:1301113011county:130113[116,120]5.5721540[5.2729996, 2.6687548]
county:1301313013county:130133[121,125]6.40191720[6.1882641, 3.8317669]
county:1301913019county:130193[126,130]4.99721230[5.5645204, 2.7871694]
county:1302113021county:130213[131,135]7.60738140[7.7389238, 5.0362186]
county:1303713037county:130372[136,140]3.46573590[2.7725887, 1.8437192]
county:1303913039county:130392[141,145]6.29341930[6.2245584, 3.776524]
county:1304913049county:130494[146,150]4.75359020[4.6249728, 2.3303948]
county:1305713057county:130573[151,155]7.80343510[7.4223737, 4.9551437]
county:1307713077county:130771[156,160]7.26332960[7.1131421, 4.4910492]
county:1307913079county:130792[161,165]3.13549420[4.0253517, 2.5253286]
1–20 / 440

Expand every out-of-fold nuisance prediction

Read all 440 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 440
Every Y, D, ell, m, mu 0, mu 1
IDfoldYDellmmu0mu1
county:800108.487352318.1834060.369807548.22016588.1767178
county:801935.036952614.93847080.256212314.94074264.9166704
county:802332.995732313.08780730.207991243.07442923.0682056
county:802916.104793215.815390.297550895.82966335.7981123
county:804148.881002618.60673650.294621068.65507478.6829906
county:806304.919980914.84003390.26962294.85112014.7891131
county:807525.560681615.61731590.311822855.63658585.5678375
county:810304.718498914.46913160.263575234.47566224.4145501
county:811706.431331116.01867340.294687526.0422665.9808237
county:812307.803026617.5386530.351918587.56997947.5237868
county:1301135.57215405.24997960.272897775.25373855.2312851
county:1301336.401917206.17676970.318387086.18550886.1656309
county:1301934.997212305.45060230.278651755.45598725.431883
county:1302137.607381407.45953440.368908487.47683217.4538073
county:1303723.465735903.63438560.313702893.65079843.5340157
county:1303926.293419306.18399140.326417416.20999576.1472739
county:1304944.753590204.76921780.270963164.7826664.6676863
county:1305737.803435107.25951360.364307047.27503827.2542717
county:1307717.263329606.93861570.340358626.97769016.9213723
county:1307923.135494204.55204470.317772434.57171164.4746445
1–20 / 440

Expand every PLR residual and score

Read all 440 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 440
All U, V and sum contributions
IDUVVUV²Score
county:80010.303946350.630192460.19154470.397142540.21828097
county:80190.0984817790.743787690.0732495350.553220120.1104932
county:8023-0.0920750750.79200876-0.0729242660.62727788-0.03069492
county:80290.289403230.702449110.203291040.493434760.23650985
county:80410.27426610.705378940.193461530.497559450.22695803
county:80630.0799470650.73037710.0583915050.533450710.094304257
county:8075-0.0566342230.68817715-0.0389743780.47358779-0.0070916932
county:81030.249367270.736424770.183640230.542321440.22015018
county:81170.412657720.705312480.291052640.497465690.32454282
county:81230.264373670.648081420.171335660.420009520.19961137
county:130110.32217441-0.27289777-0.0879206770.074473191-0.082907023
county:130130.22514753-0.31838708-0.0716840630.10137033-0.064859651
county:13019-0.45339003-0.278651750.126337930.0776467980.13156523
county:130210.14784706-0.36890848-0.0545420350.13609347-0.045380006
county:13037-0.16864969-0.313702890.0529058960.0984095030.059530981
county:130390.10942787-0.32641741-0.0357191630.10654833-0.02854616
county:13049-0.01562764-0.270963160.00423451460.0734210330.0091773356
county:130570.54392149-0.36430704-0.198154430.13271962-0.18921953
county:130770.3247139-0.34035862-0.110519180.11584399-0.10272037
county:13079-1.4165505-0.317772430.450140710.100979320.45693879
1–20 / 440

Expand all raw, grid and used propensities

Read all 440 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 440
Three propensity stages for the same rows
IDRaw mGridUsedGrid deltaClipped
county:80010.369807540.370.370.00019246397False
county:80190.256212310.2560.256-0.00021231445False
county:80230.207991240.2080.2088.7605363e-06False
county:80290.297550890.2980.2980.00044911241False
county:80410.294621060.2950.2950.00037894291False
county:80630.26962290.270.270.00037709885False
county:80750.311822850.3120.3120.00017714904False
county:81030.263575230.2640.2640.00042476977False
county:81170.294687520.2950.2950.00031247609False
county:81230.351918580.3520.3528.14177e-05False
county:130110.272897770.2730.2730.00010223294False
county:130130.318387080.3180.318-0.00038707831False
county:130190.278651750.2790.2790.00034824979False
county:130210.368908480.3690.3699.1517829e-05False
county:130370.313702890.3140.3140.00029711023False
county:130390.326417410.3260.326-0.00041740926False
county:130490.270963160.2710.2713.6841167e-05False
county:130570.364307040.3640.364-0.00030703936False
county:130770.340358620.340.34-0.00035862154False
county:130790.317772430.3180.3180.00022756976False
1–20 / 440

Expand every AIPW pseudo-outcome

Read all 440 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 440
Observed outcomes, arm predictions and pseudo-outcomes
IDYDmu0mu1ePseudo-outcomeCentered score
county:80018.487352318.22016588.17671780.370.796104890.87186196
county:80195.036952614.94074264.91667040.2560.445780080.52153715
county:80232.995732313.07442923.06820560.208-0.3546532-0.27889614
county:80296.104793215.82966335.79811230.2980.997579671.0733367
county:80418.881002618.65507478.68299060.2950.699143070.77490013
county:80634.919980914.85112014.78911310.270.42268870.49844577
county:80755.560681615.63658585.56783750.312-0.091683828-0.01592676
county:81034.718498914.47566224.41455010.2641.0902091.1659661
county:81176.431331116.0422665.98082370.2951.46570151.5414586
county:81237.803026617.56997947.52378680.3520.747102460.82285953
county:130115.57215405.25373855.23128510.273-0.46043906-0.38468199
county:130136.401917206.18550886.16563090.318-0.33719224-0.26143517
county:130194.997212305.45598725.4318830.2790.612199420.68795649
county:130217.607381407.47683217.45380730.369-0.22991759-0.15416052
county:130373.465735903.65079843.53401570.3140.152987730.22874479
county:130396.293419306.20999576.14727390.326-0.18649562-0.11073855
county:130494.753590204.7826664.66768630.271-0.0750952080.00066186001
county:130577.803435107.27503827.25427170.364-0.85157922-0.77582215
county:130777.263329606.97769016.92137230.34-0.48910498-0.41334791
county:130793.135494204.57171164.47464450.3182.00882352.0845805
1–20 / 440

Expand every coefficient and training scale

Read all 60 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 60
Intercept index 0; feature penalty
foldTargetindexCoefficientMinimumRangeRHS
0ell02.6059766——5.7414935
0ell14.36193412.19722468.2454722.7495526
0ell22.96545150.0657877417.63897872.6749115
0m00.22321612——0.30397727
0m1-0.0604727272.19722468.2454720.13573216
0m20.25223250.0657877417.63897870.13684534
0mu002.7440255——5.6924614
0mu014.3513212.39789538.04480132.6118547
0mu022.89066310.176471147.52829532.5418623
0mu102.5305513——5.8537632
0mu114.13892142.19722467.80479523.0565304
0mu122.85958430.0657877417.17412913.0613198
1ell02.538305——5.6935645
1ell14.2600742.19722467.80479522.8343606
1ell22.78366730.0657877417.17412912.7993408
1m00.17705986——0.29545455
1m10.0212763232.19722467.80479520.14095147
1m20.243010580.0657877417.17412910.1430697
1mu002.6328482——5.6062591
1mu014.09704192.39789537.08818112.8262059
1–20 / 60

Expand every normal-equation matrix

Read all 180 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 180
All mean-Gram plus ridge entries
foldTargetRowColumnValue
0ell001
0ell010.43092165
0ell020.42349879
0ell100.43092165
0ell110.22899622
0ell120.21167583
0ell200.42349879
0ell210.21167583
0ell220.21850554
0m001
0m010.43092165
0m020.42349879
0m100.43092165
0m110.22899622
0m120.21167583
0m200.42349879
0m210.21167583
0m220.21850554
0mu0001
0mu0010.40974388
1–20 / 180

Expand the whole source-selection ledger

Read all 500 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 500
Complete ledger including excluded source units
IDNative keySource rowsEligibleReason
county:80018001[1,2,3,4,5]TrueIncluded
county:80198019[6,7,8,9,10]TrueIncluded
county:80238023[11,12,13,14,15]TrueIncluded
county:80298029[16,17,18,19,20]TrueIncluded
county:80418041[21,22,23,24,25]TrueIncluded
county:80638063[26,27,28,29,30]TrueIncluded
county:80758075[31,32,33,34,35]TrueIncluded
county:81038103[36,37,38,39,40]TrueIncluded
county:81178117[41,42,43,44,45]TrueIncluded
county:81238123[46,47,48,49,50]TrueIncluded
county:1200712007[51,52,53,54,55]FalseEarlier adoption outside target
county:1201912019[56,57,58,59,60]FalseEarlier adoption outside target
county:1202312023[61,62,63,64,65]FalseEarlier adoption outside target
county:1202912029[66,67,68,69,70]FalseEarlier adoption outside target
county:1205112051[71,72,73,74,75]FalseEarlier adoption outside target
county:1207112071[76,77,78,79,80]FalseEarlier adoption outside target
county:1208712087[81,82,83,84,85]FalseEarlier adoption outside target
county:1209312093[86,87,88,89,90]FalseEarlier adoption outside target
county:1209712097[91,92,93,94,95]FalseEarlier adoption outside target
county:1209912099[96,97,98,99,100]FalseEarlier adoption outside target
1–20 / 500

The complete training-membership CSV contains 5280 links across all folds and targets for this case. In the actual-data interaction, select a fold and target to inspect every training ID and trace the exclusion of each held-out row/group. This is a fitting-boundary ledger, not a stored coefficient oracle.

Observed outcomes and every out-of-fold ell prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every outcome residual U against treatment residual V

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every raw, grid and used propensity prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every PLR score and centered AIPW pseudo-outcome

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Expand every central exact fraction
[
  {
    "kind": "country",
    "metric": "rows",
    "value": "440",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "groups",
    "value": "440",
    "unit": "groups"
  },
  {
    "kind": "country",
    "metric": "treated",
    "value": "131",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "comparison",
    "value": "309",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "PLRtheta",
    "value": "-533206719588735932512439749085500988428844901628211211075984769942958084642246758198660602880275530323129292998525774801941481672229469505663727418237294332279492473316982008364840857336405590193295525608023939076105034653958027619556956495723038182083367852839816327251076804295491905413777947827455654118658382508905731188378447684542029062306391183686645566836624000423727002622549203503190304069944377436884992979664455386793506852642596138990238633647395265148023358852900600973214886525702415510862756250727598652429526293643782154459016908090730666782848944880387218316216201168828622556904939782019903958706946609488412514191301474102446245042671866961443420458335260391797057790344539452807900290059839788932892171400056887452831814185005179/7920292553723617399348197780469162040084352749433887755953160167128609727431253569464264242712027294646330906237472284677010216559736759813616248661304943754150024588017740666931256708064309647494776627051591999396338003416617186911493053224115103168394935998370638777467701986293994844786533681778257752389385569460891180053391212085322238032186897334112704289727816036989578311474235020605602142590941251675687572695403696725430692966715074341077359232281580891080821385891888380165318146140056037818313695776163899712867873841230798751979090533523224503204693808981393909376591086995602520449822863961560244296848476236288375819073445109813959571453606489860064165509780372486536229686341787087628678929325093515829425809306512238645454846145069056",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRnumerator",
    "value": "-533206719588735932512439749085500988428844901628211211075984769942958084642246758198660602880275530323129292998525774801941481672229469505663727418237294332279492473316982008364840857336405590193295525608023939076105034653958027619556956495723038182083367852839816327251076804295491905413777947827455654118658382508905731188378447684542029062306391183686645566836624000423727002622549203503190304069944377436884992979664455386793506852642596138990238633647395265148023358852900600973214886525702415510862756250727598652429526293643782154459016908090730666782848944880387218316216201168828622556904939782019903958706946609488412514191301474102446245042671866961443420458335260391797057790344539452807900290059839788932892171400056887452831814185005179/85011141253570391230097307508834889068621429424437871095673221610628299749620095916507858623811140882840222512073801393436513488130587025913864669209797706794827332474423013455436674344275839654460893712730766622295261645248903204624177266955049473440348093676911827820608378849140710351011859981621890701681487755077269801374333285038695496823057668654264325624722268448145541418307442003842832209094985026231630365476241258093479614195691134705329156411334226317411084707200490316018801135740389330285778901978573860931890140779234938262153644930155230379115097828131198918131223871735189852119796266995247430257747587350209323393475685667468404855007866669844340112786799032267134800126552498445532906501598965941693287428457210452822472578301952",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRdenominator",
    "value": "586219410327409310756818618982941192884169423440731332120246708026838324633034635851341101861443057330087073874175039843134435736004125639850570362591922665077931423088260003930831421634218440137951635419621373020351888306742407742395921164429251305734524042987446207547145810848802082895709440785411352129037015491170946235561879162565711800676241555860272591033308371199278786495222572232262969189678647587662957237198131874980118414010249412528867850390192972171319421451399288211723122465165524350591641187703169810246400709129144154017738749882465672947154856185791420529129120753027798125972378070966228435822896098708676846309717138869374358515844398710060652443541652777517131714305238305675507169547247988744870299486508494287/6292088424625022767459230170674995206057217628184435586859488806349660609327230525382576288947921607996147849685793795385040630454608495748441211770810777507132992382863579835549207722679957037338034639434730045921940507047594870813387851153553015244338737771564956866621807873788079249922401043272856413626325160128669441171088567343046412066865381844246864715758180582375653882636156696198498883949948118445970258773846569784451403828065821148483716593238536945447228269993462680473772592155718936082637049591498228442583161995929429652326569557552580982330299754629502630108582048724307571013373379627375646321152212921613135553983215632239467755745455769614777893926760227710199450503492276179957095716529067141393992870109949504",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "PLRnormalization",
    "value": "586219410327409310756818618982941192884169423440731332120246708026838324633034635851341101861443057330087073874175039843134435736004125639850570362591922665077931423088260003930831421634218440137951635419621373020351888306742407742395921164429251305734524042987446207547145810848802082895709440785411352129037015491170946235561879162565711800676241555860272591033308371199278786495222572232262969189678647587662957237198131874980118414010249412528867850390192972171319421451399288211723122465165524350591641187703169810246400709129144154017738749882465672947154856185791420529129120753027798125972378070966228435822896098708676846309717138869374358515844398710060652443541652777517131714305238305675507169547247988744870299486508494287/2768518906835010017682061275096997890665175756401151658218175074793850668103981431168333567137085507518305053861749269969417877400027738129314133179156742103138516648459975127641651397979181096428735241351281220205653823100941743157890654507563326707509044619488581021313595464466754869965856459040056821995583070456614554115278969630940421309420768011468620474933599456245287708359908946327339508937977172116226913860492490705158617684348961305332835301024956255996780438797123579408459940548516331876360301820259220514736591278208949047023690605323135632225331892036981157247776101438695331245884287036045284381306973685509779643752614878185365812528000538630502273327774500192487758221536601519181122115272789542213356862848377781760",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "PLRrowHC0",
    "value": "446221431144488097527639872119739776223914299556823126235800756361635760255532574687947735838103455624380879418767353424883746771155147832734030220581754041864928040217141803376243815819868017512581482819595079734684072944982121698791331698136022269205922491246577131023123730962916049006937267967350953111280330885524182769021187331422217699556919766729264157601535013043125126212871994584623391169636972909399891775668445207875260948684711127271999616923353254885278826158702538993744290337739800805765121048447504470455882646519869762432174207612390741599922687080830596227260368783356335896068584067929941558120142271843950160891207414068658598547442383584948701615008848666580791403378807267578655081444436270902446242361299730175834820200374525349131815217754141115522278104037779427297082384093441485612318698681241086882476012434180771025986528505319110832109604230376994654995756997946517699760626331784304348651123416415341127813215158233102388833052654107350552142217719000097056567161532220827469588138715788382635779770890571972059092373300675088498862765752809969568979742308069181651252125115788521405304079804573033178006968252761221999968942838615865964467799873056099369644766836012131903288207565086997092499892301757623589176097809686777697789431571749234797707192971079115534805479675464265887995771085612439585579430935558119307456312967696294229775171520173794637798953030500260447841723009829619874194140964625444392958004322989704860570207552263165693469093174902582888105528646110546667520079243297467237562917350933398595801647388727038333847880846997486960021135096600614406476947776314010755715526538661152663427920567897541366268423467547848824658037071988425855754412983604808630556158876809808116386806440138672070892345398441000143554327400453962986981481570464433765280722196586634134960962607480981304642037744444820113663337871150376419038768624309353982669546849580031950350149633197186778742499809628048834912947192310808153368990059713157242280680595743061117708015854042575307814703123379326799733750978061821074060077488552305090186293648910216313873057598528153093335582263453243948234266634363140472069849145922619103631801704562743978383023006915513648288049085420301029832880841175688619251377195919061616077535207791801887590190681385756642051188305934971504797860702981332613020294597530672797168800616507247349390300462767824182087539637836311261334111444013143305578450552348444694155178859691300716329921114073808270818605350375500590945281343928474589756448780946065572607482388781528657378749859412013406107662258377852596790463919256510332858789980700506951618524059009559951508758162923862360871314692723604187797256192471199583487123820547093142741543234780737338376516294400777354554632924325589622766293331030306130192059310366712466706697123303472256314750888588638285171977774061300626455428282073666380585523324753266329116478526412985209340994971991880231616578880647241864398781173402608951443300856986255/299412783818709935664355339579489192538153615025700571391651909882638143975230498747313647704814723053448453177288295381224392383666031512071305240499836318030676272957974666892078712254208661689539475583992078124998500432341442225227041254457294353428214263799170676884340848569258421132963301097404912691147380508061989918573630421487798272250004835380973551276910603963801739182446976494493542123964507894053082959528394259462187023099509237234758129342040382830578115012396882283250379643265532390262532288253152168232916585753273075636579825510859577591734631019404986470271955437721711387748549211629341612458484861021113436982197180548566446833939936298938447187660626186683721817470096070885296352776687785345501916064580659246764936672422010285881279402998282838633578785838128163545084577003199005691169675683692969241362251842313282134538421450820953980213596833537083289644747675946865963219961957253453685777749441784271362137063003270800993245085194635547700932342831744411178736237518346397695764505315267532104916615666565889467971778133950166143279145728795876360206686377241831880960050851761532688733464867241777186793694039003816502325724104725261134496393496181427346991266150773096669666753867064051202649259918636927918222903759096715190469435280400392909380237451512370046169791476489161678633806692163647229612497518311710604699536429869854341985805274078821460651385715009088529815642232692964308691902575251332947780370607163334952710691435845430420377116965703589771904211675350011074047473332108083306902082903253077751467175495798447782450698839156359627152229975588077783158536761861731428005930739319077884354785038430368600267658486743462383785746998894779810546244026457108339364338039891156189476673406273136443545340838170952802302621168666633668945935740551028869812668906957141400288760676285791829429851901153113172069555873396931749111775937107744753830591846178093437893066627276813804647778836890666489863065065471308751520510086586918999471053623441889737729022709282215313466942474063573041131284352812120378245227361963714184775851311573089038255303524391737863195692270280690159862052394509858748101168042516884231707210652543015829708706771316182952630196798162162440954686476155349453490358407584411136425493172077287960636758971328559244330168279426460757419455859006566973073531591252198091925305035786266421256952918281959566627653225610764071912139291038951251410914733389797137594198463829602414113301654814471438885829996037745889639206130106807887031856912800600268003169730993923172848305326881333787884403353700227028160444189042882401084761688550858492696563477932633880477833298117866199757818151223409525834516682059037888473792199631969624345368747013553276098190565667493195161098166214998412051320790785300295831448406753983793345947826958199694887685077371067020866908877702846225674876549568999149364854626435118874979041309909455947072137811518574857004234860880217785584189310459100382996174574633091072",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "PLRgroupHC0",
    "value": "446221431144488097527639872119739776223914299556823126235800756361635760255532574687947735838103455624380879418767353424883746771155147832734030220581754041864928040217141803376243815819868017512581482819595079734684072944982121698791331698136022269205922491246577131023123730962916049006937267967350953111280330885524182769021187331422217699556919766729264157601535013043125126212871994584623391169636972909399891775668445207875260948684711127271999616923353254885278826158702538993744290337739800805765121048447504470455882646519869762432174207612390741599922687080830596227260368783356335896068584067929941558120142271843950160891207414068658598547442383584948701615008848666580791403378807267578655081444436270902446242361299730175834820200374525349131815217754141115522278104037779427297082384093441485612318698681241086882476012434180771025986528505319110832109604230376994654995756997946517699760626331784304348651123416415341127813215158233102388833052654107350552142217719000097056567161532220827469588138715788382635779770890571972059092373300675088498862765752809969568979742308069181651252125115788521405304079804573033178006968252761221999968942838615865964467799873056099369644766836012131903288207565086997092499892301757623589176097809686777697789431571749234797707192971079115534805479675464265887995771085612439585579430935558119307456312967696294229775171520173794637798953030500260447841723009829619874194140964625444392958004322989704860570207552263165693469093174902582888105528646110546667520079243297467237562917350933398595801647388727038333847880846997486960021135096600614406476947776314010755715526538661152663427920567897541366268423467547848824658037071988425855754412983604808630556158876809808116386806440138672070892345398441000143554327400453962986981481570464433765280722196586634134960962607480981304642037744444820113663337871150376419038768624309353982669546849580031950350149633197186778742499809628048834912947192310808153368990059713157242280680595743061117708015854042575307814703123379326799733750978061821074060077488552305090186293648910216313873057598528153093335582263453243948234266634363140472069849145922619103631801704562743978383023006915513648288049085420301029832880841175688619251377195919061616077535207791801887590190681385756642051188305934971504797860702981332613020294597530672797168800616507247349390300462767824182087539637836311261334111444013143305578450552348444694155178859691300716329921114073808270818605350375500590945281343928474589756448780946065572607482388781528657378749859412013406107662258377852596790463919256510332858789980700506951618524059009559951508758162923862360871314692723604187797256192471199583487123820547093142741543234780737338376516294400777354554632924325589622766293331030306130192059310366712466706697123303472256314750888588638285171977774061300626455428282073666380585523324753266329116478526412985209340994971991880231616578880647241864398781173402608951443300856986255/299412783818709935664355339579489192538153615025700571391651909882638143975230498747313647704814723053448453177288295381224392383666031512071305240499836318030676272957974666892078712254208661689539475583992078124998500432341442225227041254457294353428214263799170676884340848569258421132963301097404912691147380508061989918573630421487798272250004835380973551276910603963801739182446976494493542123964507894053082959528394259462187023099509237234758129342040382830578115012396882283250379643265532390262532288253152168232916585753273075636579825510859577591734631019404986470271955437721711387748549211629341612458484861021113436982197180548566446833939936298938447187660626186683721817470096070885296352776687785345501916064580659246764936672422010285881279402998282838633578785838128163545084577003199005691169675683692969241362251842313282134538421450820953980213596833537083289644747675946865963219961957253453685777749441784271362137063003270800993245085194635547700932342831744411178736237518346397695764505315267532104916615666565889467971778133950166143279145728795876360206686377241831880960050851761532688733464867241777186793694039003816502325724104725261134496393496181427346991266150773096669666753867064051202649259918636927918222903759096715190469435280400392909380237451512370046169791476489161678633806692163647229612497518311710604699536429869854341985805274078821460651385715009088529815642232692964308691902575251332947780370607163334952710691435845430420377116965703589771904211675350011074047473332108083306902082903253077751467175495798447782450698839156359627152229975588077783158536761861731428005930739319077884354785038430368600267658486743462383785746998894779810546244026457108339364338039891156189476673406273136443545340838170952802302621168666633668945935740551028869812668906957141400288760676285791829429851901153113172069555873396931749111775937107744753830591846178093437893066627276813804647778836890666489863065065471308751520510086586918999471053623441889737729022709282215313466942474063573041131284352812120378245227361963714184775851311573089038255303524391737863195692270280690159862052394509858748101168042516884231707210652543015829708706771316182952630196798162162440954686476155349453490358407584411136425493172077287960636758971328559244330168279426460757419455859006566973073531591252198091925305035786266421256952918281959566627653225610764071912139291038951251410914733389797137594198463829602414113301654814471438885829996037745889639206130106807887031856912800600268003169730993923172848305326881333787884403353700227028160444189042882401084761688550858492696563477932633880477833298117866199757818151223409525834516682059037888473792199631969624345368747013553276098190565667493195161098166214998412051320790785300295831448406753983793345947826958199694887685077371067020866908877702846225674876549568999149364854626435118874979041309909455947072137811518574857004234860880217785584189310459100382996174574633091072",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "AIPWtheta",
    "value": "-569811937674799141954800724825630020871575397900587916343857482383259974023133189638040774317326484564257765770955489151930279978720998934736238573092772380028858635903277662009639378847878993627195602420879184399343938557444384195104335475145135650627307414807399741968930127154763198217654564755918498268830502803141482275130643436338071050336827032177953354328160963438604584509177449095848079792203235040330367826576393640850666006145283117999766584172521138256036635613595267513139017041521033898599411276056716423413629244366835066358425405498541319312915880036055100565362869111114941273921740363764094188167083073101565947347476481010347359270009033838403433332333797011910208608785223228693358548148053795854848912942751746603269914087842795119938466603210008006713577772419959995124826935612610860216835004905975893667748699752670029690644835119831722737795939340983088622115794950293161836454210321628299427095435771/7521567945268690675523095404563693666308883210842716371197783538274721864193286802104153366178016991726744936133786515033131592275332205469401020309410022480720632822228859021926254150495665274067139546999764195747907672697702586896642888188975252308848391974951844071008646356572297213360449375205150625049680092878186060845021871783389124449796881588591754146445129953078322811223250935892100418394372685236109138727693469948026526144995386031669318812726107279336217726853381243346853092056768692110549533135350766386278705012497572492447543434767067843643470043937967270861810412828037712241111842133715447837496362717281447493607851050410889186654644059940816447389115399457654478201753476849751377598459066219506004171924626501167085963750697970843186221828653176966888442123852964163722715131281833229950796566193261099020706113067263378208266353305652650744761607143556188124886664273073145062016030719916859700805632000",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "AIPWnumerator",
    "value": "-569811937674799141954800724825630020871575397900587916343857482383259974023133189638040774317326484564257765770955489151930279978720998934736238573092772380028858635903277662009639378847878993627195602420879184399343938557444384195104335475145135650627307414807399741968930127154763198217654564755918498268830502803141482275130643436338071050336827032177953354328160963438604584509177449095848079792203235040330367826576393640850666006145283117999766584172521138256036635613595267513139017041521033898599411276056716423413629244366835066358425405498541319312915880036055100565362869111114941273921740363764094188167083073101565947347476481010347359270009033838403433332333797011910208608785223228693358548148053795854848912942751746603269914087842795119938466603210008006713577772419959995124826935612610860216835004905975893667748699752670029690644835119831722737795939340983088622115794950293161836454210321628299427095435771/17094472602883387898916125919462940150702007297369809934540417132442549691348379095691257650404584072106238491213151170529844527898482285157729591612295505638001438232338315958923304887490148350152589879544918626699790165222051333856006564065852846156473618124890554706837832628573402757637384943648069602385636574723150138284140617689520737385902003610435804878284386256996188207325570308845682769078119739172975315290212431700060286693171331890157542756195698362127767561030411916697393391038110663887612575307615378150633420482949028391926235079016063281007886463495380161049569120063722073275254186667535108721582642539276017030926934205479293606033281954410946471338898635131032905003985174658525858178316059589786373118010514775379740826706131751916332322337848129470201004826938554917551625298367802795342719468621047952319786620607416768655150802967392388056276379871718609374742418802438966050036433454356499320012800",
    "unit": "log teen-employment points"
  },
  {
    "kind": "country",
    "metric": "AIPWrowHC0",
    "value": "8234456458126038305266859442549703567846675820963537919071043338644239554893631159415025276046329750759046260373142548880996099260178287801195905232002459919741986587448517433046195681008596210552380857974154730368116688716688680967228439210512450350470090463049758969984541897869336646928644583321057620993673359201871423405941245222002445033233339682360067034389227808693986919248801724887177622784759976748772841983109975777370769339963200009752450478521871287552762463534307776544733174593299606208833559431885202398040951073658380052612933281708098469536153973534267519179474828692138316470182434077015241103678458988883792965946041185267483504009782242988747853841353082189130375988165405313548153966175811540252524764789592668220436778830665403885989542183644657309617515695584696719559607071184217418279677516907259812996586529566057184178695980386716628400137370871244098559236991628619067481563384150589463430232948931041720133115955596711236440687882177650918290144564781417571744417439639395545702667269941097469623802355003266802797022908931797376961424199881095721145587969987602485475381895987906218729877511144863999027336604045037317075259894464509263971084235717878067285204132996355325153212675557137551372810351442529895218479228367052623974711386719072355167560952934933567896920183618787000392011294032390153054934401746568262429882538992710566197103703016313839617327092434295580212947639533051818579077737161383060215239958594973630761829613900777027439134478135767430891854146573101394128297136159774761609773281065960032354474703331203238299619631792721720147232450611562316232264859831309642106702018452439372401450988808818824449070394099165129501606773920783348055344068890283458961371799058837749070917332581733934292448086656797839471574820904337271072601735206016683404573746670414949961785496298116423305464403540116612059791744591/5116653564371059180615740820418138717678741802692041865296571318583558126621689471250195950194843460450688005728428602554135752846984598271734958515419000515878924894479739841758845566367126304526491350221993086015139790075283006031318604511562658120428982964523779227732067344644076854118246275123961367896709798648176541560460339356470589382661320786970541037258045266265683209677863107843383206906961431179036868950110863685102497773038092680537653369026573990785236680724164162147560424037530438573970057884745751549080598605371769611458598065315976317417874887267668456112658671795137873819585909492654155697284483466164595061933896977182331467062023938538212010775044492681680580684087381145146995694547910438377084641998141775850841660380097262886829194734626337447393225105828451975728465261404213084740789375162560121463401944822052368408526565114222776560397033210999517863638318594696437741814561737601142521562274954730964724006293315294755508724229159456903531447022651808114383099582625538309023782272148876352621799881988255445660846554896387412476252954977299643257079407518994924269896288881171625566300338334598661262319561625274142459859613310497115965209562495582241757835915981911929951263586878849168003279275680811454065263551280742667459610143712062240977489526443324605512649749041073534078801475432557210568699176016324224421757251256223270949189430644360400354630134209189311924766672506973721208318449248092649892183413538951329642930461153548680424618889120955100176797524556391299164530092440209128990612571943909967437968404218871911931958747099257785470711848732983881539004498252770019548365335870956269529204893668441380819013375526111005365557106227660724476983911026866995571641072139091079130119556651860255854664693311819868855775348177468504628530366056241683615779502881942391168336503918498850993995558684639934168432640000000",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "AIPWgroupHC0",
    "value": "8234456458126038305266859442549703567846675820963537919071043338644239554893631159415025276046329750759046260373142548880996099260178287801195905232002459919741986587448517433046195681008596210552380857974154730368116688716688680967228439210512450350470090463049758969984541897869336646928644583321057620993673359201871423405941245222002445033233339682360067034389227808693986919248801724887177622784759976748772841983109975777370769339963200009752450478521871287552762463534307776544733174593299606208833559431885202398040951073658380052612933281708098469536153973534267519179474828692138316470182434077015241103678458988883792965946041185267483504009782242988747853841353082189130375988165405313548153966175811540252524764789592668220436778830665403885989542183644657309617515695584696719559607071184217418279677516907259812996586529566057184178695980386716628400137370871244098559236991628619067481563384150589463430232948931041720133115955596711236440687882177650918290144564781417571744417439639395545702667269941097469623802355003266802797022908931797376961424199881095721145587969987602485475381895987906218729877511144863999027336604045037317075259894464509263971084235717878067285204132996355325153212675557137551372810351442529895218479228367052623974711386719072355167560952934933567896920183618787000392011294032390153054934401746568262429882538992710566197103703016313839617327092434295580212947639533051818579077737161383060215239958594973630761829613900777027439134478135767430891854146573101394128297136159774761609773281065960032354474703331203238299619631792721720147232450611562316232264859831309642106702018452439372401450988808818824449070394099165129501606773920783348055344068890283458961371799058837749070917332581733934292448086656797839471574820904337271072601735206016683404573746670414949961785496298116423305464403540116612059791744591/5116653564371059180615740820418138717678741802692041865296571318583558126621689471250195950194843460450688005728428602554135752846984598271734958515419000515878924894479739841758845566367126304526491350221993086015139790075283006031318604511562658120428982964523779227732067344644076854118246275123961367896709798648176541560460339356470589382661320786970541037258045266265683209677863107843383206906961431179036868950110863685102497773038092680537653369026573990785236680724164162147560424037530438573970057884745751549080598605371769611458598065315976317417874887267668456112658671795137873819585909492654155697284483466164595061933896977182331467062023938538212010775044492681680580684087381145146995694547910438377084641998141775850841660380097262886829194734626337447393225105828451975728465261404213084740789375162560121463401944822052368408526565114222776560397033210999517863638318594696437741814561737601142521562274954730964724006293315294755508724229159456903531447022651808114383099582625538309023782272148876352621799881988255445660846554896387412476252954977299643257079407518994924269896288881171625566300338334598661262319561625274142459859613310497115965209562495582241757835915981911929951263586878849168003279275680811454065263551280742667459610143712062240977489526443324605512649749041073534078801475432557210568699176016324224421757251256223270949189430644360400354630134209189311924766672506973721208318449248092649892183413538951329642930461153548680424618889120955100176797524556391299164530092440209128990612571943909967437968404218871911931958747099257785470711848732983881539004498252770019548365335870956269529204893668441380819013375526111005365557106227660724476983911026866995571641072139091079130119556651860255854664693311819868855775348177468504628530366056241683615779502881942391168336503918498850993995558684639934168432640000000",
    "unit": "(log teen-employment points) squared"
  },
  {
    "kind": "country",
    "metric": "rawPropensityMin",
    "value": "92111198352378892298564402756597362731449120329624386489139272921948424929/547745674965562350507816412539544911903398231673383217466408905258509242052",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "rawPropensityMax",
    "value": "79358512918465863559558253733663540389082029563262861972356599037181716487/173160703386427772252033134957775648463652703042547567572407901869706999656",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "country",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "country",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

Factual source, complete ledgers and code

Python · R · Reproduction provenance

학부 심화 · 선택Advanced undergraduate · optional

32. NSW 실험 표본 722명의 소득32. Earnings in the full 722-person NSW experiment

개인 사례의 원 nsw_long에는 19204명의 1975·1978년 기록, 총 38408행이 있습니다. 이 장은 원 experimental 코드로 정의한 전체 실험 표본 722명만 분석합니다. 그 안에는 treated 코드 1이 297명, 0이 425명입니다. 나머지 18482명의 treated 결측을 대조군 0으로 바꾸지 않고, 모두 선택 장부에 남깁니다.

Y는 1978년의 기록된 실질소득 re입니다. X는 이전 기록에 보존된 1974년 실질소득 re74와 원 black 지표입니다. 결과와 이전 소득은 시급이 아니며 확인하지 않은 가격 기준 연도를 붙이지 않습니다. 역사 자료의 분류 코드를 그대로 공개하는 것과 그 분류가 개인의 능력을 결정한다고 해석하는 것은 전혀 다릅니다. 이 예의 두 변수는 작은 재현 학습 설계이고 모든 중요한 배경을 포괄했다는 뜻이 아닙니다.

한 사람의 두 원파동을 연결해 한 분석 행을 만들고, 그 사람의 결과를 자기 보조학습에서 뺍니다. 고정된 fold 평가 행 수는 145,145,144,144,144입니다. 기본 PLR는 약 934.180929, 격자 AIPW는 약 921.818372의 기록된 실질소득 단위입니다. 원 m의 범위는 약 0.355103~0.452520이고, 기본 클리핑으로 바뀐 행은 없습니다.

실제 NSW 원본과 분석 프레임의 분모
분모사람 / 행 수보존하는 구분
원본19204명 /38408행실험 밖 기록 포함
실험 분석722명 /722분석행297처치·425비교
분석 행별 연결원 2파동원행·연도·사람 키
실험 밖18482명treated 결측을 0으로 바꾸지 않음

실험 배정에 관한 원 설계는 관찰 정책 비교와 다른 근거를 제공하지만, 원 코드가 실제 훈련을 모두 받았다는 상세 이력까지 알려 주지는 않습니다. 의향 처치와 실제 수령 효과를 같은 말로 바꾸지 않습니다. 프로그램 대상 밖 사람에게 결과를 일반화하거나 결측·순응·참여 시점의 문제를 설명하려면 별도 자료와 가정이 필요합니다. 고정한 보조모형의 조정값을 원 논문의 유일한 추정 결과라고 부르지도 않습니다.

실제 NSW 실험 722명 · 사후 실질소득

아래 수치는 세 실제 원 CSV로부터 다시 만든 전체 선언 프레임의 계산입니다. 원분수·원행은 공개 파일에 보존하고 기본 표에는 짧은 값을 표시합니다. 원 m, 격자 e, 클리핑 사용 e를 구분하며, 유한 조정 비교를 인과·신뢰구간 인증으로 바꾸지 않습니다.

원본·분석·그룹·단위
항목값뜻
원 선택 장부 행19204탈락 기록도 보존
분석 행722기록된 실질소득
그룹722동일 그룹은 같은 fold
K5사전 고정
lambda1/100훈련 평균손실의 기울기 벌점
AIPW 격자 / 클리핑1/1000 ;1/20원 PLR는 그대로
전체 최종 점수 요약 · 표준오차 인증 아님
지표값단위
rows722행
groups722그룹
treated297행
comparison425행
PLRtheta934.18093기록된 실질소득
PLRnumerator164495.96기록된 실질소득
PLRdenominator176.08576무차원
PLRnormalization0.2438861무차원
PLRmeanScore0기록된 실질소득
PLRrowHC0235012.61기록된 실질소득 제곱
PLRgroupHC0235012.61기록된 실질소득 제곱
AIPWtheta921.81837기록된 실질소득
AIPWnumerator665552.86기록된 실질소득
AIPWrowHC0240989.84기록된 실질소득 제곱
AIPWgroupHC0240989.84기록된 실질소득 제곱
rawPropensityMin0.35510273무차원
rawPropensityMax0.4525197무차원
grid1000무차원
clip0.05무차원
clippedRows0행
lambda0.01무차원
모든 fold·목표별 훈련 적합
fold목표nTrainnTestranklambdaMSE벌점목적함수손실 단위
0ell57714530.0134677194316733.0834993927기록된 실질소득 제곱
0m57714530.010.238467573.4658325e-050.23850223무차원
0mu035014530.0130021764434486.530456250기록된 실질소득 제곱
0mu122714530.0140881700153432.1641035132기록된 실질소득 제곱
1ell57714530.0138615984309967.6738925952기록된 실질소득 제곱
1m57714530.010.2437341.0701638e-050.2437447무차원
1mu033414530.0131672403582301.4632254704기록된 실질소득 제곱
1mu124314530.014691802676928.38346994954기록된 실질소득 제곱
2ell57814430.0141001287251945.441253233기록된 실질소득 제곱
2m57814430.010.244381674.8044017e-060.24438647무차원
2mu033214430.0132375751452613.8932828364기록된 실질소득 제곱
2mu124614430.015179908659258.37251858345기록된 실질소득 제곱
3ell57814430.0138195075139313.0738334388기록된 실질소득 제곱
3m57814430.010.24143932.1312793e-050.24146062무차원
3mu034214430.0129095130250606.5929345737기록된 실질소득 제곱
3mu123614430.015035195924997.39950376957기록된 실질소득 제곱
4ell57814430.013617375165523.43236239275기록된 실질소득 제곱
4m57814430.010.241578752.5362565e-060.24158129무차원
4mu034214430.0127807920249893.5228057814기록된 실질소득 제곱
4mu123614430.014642821063873.0146492083기록된 실질소득 제곱
모든 선택 분석 행·이전 X 펼치기

전체 722행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 722
전체 분석 프레임·원행 연결
ID원 키그룹fold원행YDX
nsw-id:1599315993nsw-id:159932[31985,31986]12418.071[0, 0]
nsw-id:1599415994nsw-id:159940[31987,31988]11656.5061[8644.1562, 0]
nsw-id:1599515995nsw-id:159951[31989,31990]499.25720[19785.32, 1]
nsw-id:1599615996nsw-id:159961[31991,31992]16717.1211[9714.5967, 0]
nsw-id:1599715997nsw-id:159973[31993,31994]30247.50[37211.758, 0]
nsw-id:1599815998nsw-id:159982[31995,31996]4393.52290[14759.063, 1]
nsw-id:1599915999nsw-id:159993[31997,31998]16477.020[0, 0]
nsw-id:1600016000nsw-id:160000[31999,32000]00[0, 1]
nsw-id:1600116001nsw-id:160014[32001,32002]15952.61[20279.949, 1]
nsw-id:1600216002nsw-id:160024[32003,32004]12359.310[12260.78, 1]
nsw-id:1600316003nsw-id:160030[32005,32006]6793.07710[5440.8184, 0]
nsw-id:1600416004nsw-id:160043[32007,32008]00[0, 0]
nsw-id:1600516005nsw-id:160051[32009,32010]665.737430[28262.131, 0]
nsw-id:1600616006nsw-id:160062[32011,32012]16328.9640[12116.611, 0]
nsw-id:1600716007nsw-id:160071[32013,32014]6336.78270[7254.4199, 0]
nsw-id:1600816008nsw-id:160081[32015,32016]5448.80080[25720.92, 0]
nsw-id:1600916009nsw-id:160093[32017,32018]12803.971[13602.43, 1]
nsw-id:1601016010nsw-id:160100[32019,32020]1294.40911[0, 1]
nsw-id:1601116011nsw-id:160110[32021,32022]99.5700151[9978.751, 0]
nsw-id:1601216012nsw-id:160122[32023,32024]796.559691[5204.2598, 0]
1–20 / 722

모든 밖 보조예측 펼치기

전체 722행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 722
모든 행의 Y,D,ell,m,mu0,mu1
IDfoldYDellmmu0mu1
nsw-id:15993212418.0716388.02070.408637926371.27936440.9932
nsw-id:15994011656.50617485.29650.378245537637.59077229.5462
nsw-id:159951499.257207599.97350.435426677958.24617116.0779
nsw-id:15996116717.12117287.79070.425746857828.57116633.4475
nsw-id:15997330247.509453.27140.3913077610405.3297930.62
nsw-id:1599824393.522906710.51960.428693956771.68866560.4874
nsw-id:15999316477.0206232.1920.429577756067.34556503.7408
nsw-id:160000004604.38450.400629474014.76655499.2171
nsw-id:16001415952.615936.23680.401015046541.65784658.3249
nsw-id:16002412359.3105507.4160.404141385598.31335163.7073
nsw-id:1600306793.077107051.23380.382946177136.66086902.2664
nsw-id:160043006232.1920.429577756067.34556503.7408
nsw-id:160051665.7374309958.47890.4417704911457.5698001.7101
nsw-id:16006216328.96407857.79170.407411518338.55737186.4853
nsw-id:1600716336.782706933.5460.423621447347.21476451.9588
nsw-id:1600815448.800809592.5660.4395750810960.3577814.2435
nsw-id:16009312803.9715926.7820.393791345708.54926191.9799
nsw-id:1601001294.409114604.38450.400629474014.76655499.2171
nsw-id:16011099.57001517666.13850.376287127846.29127365.8996
nsw-id:160122796.5596917019.30860.408111167216.25366761.1929
1–20 / 722

모든 PLR 잔차·점수 펼치기

전체 722행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 722
전체 U,V와 합의 기여
IDUVVUV²점수
nsw-id:159936030.04960.591362083565.94270.349709113239.2511
nsw-id:159944171.20930.621754472593.4680.386578622232.3337
nsw-id:15995-7100.7163-0.435426673091.84120.189596382914.7239
nsw-id:159969429.33040.574253155414.82270.329766685106.761
nsw-id:1599720794.229-0.39130776-8136.94310.15312177-8279.9865
nsw-id:15998-2316.9967-0.42869395993.282470.1837785821.60009
nsw-id:1599910244.828-0.42957775-4400.94990.18453704-4573.3409
nsw-id:16000-4604.3845-0.400629471844.65210.160503971694.7124
nsw-id:1600110016.3630.598984965999.65070.358782985664.4824
nsw-id:160026851.8936-0.40414138-2769.13380.16333026-2921.7138
nsw-id:16003-258.15667-0.3829461798.860110.14664777-38.135442
nsw-id:16004-6232.192-0.429577752677.2110.184537042504.82
nsw-id:16005-9292.7414-0.441770494105.2590.195161173922.9431
nsw-id:160068471.1721-0.40741151-3451.2530.16598414-3606.3122
nsw-id:16007-596.76331-0.42362144252.801740.1794551385.158178
nsw-id:16008-4143.7652-0.439575081821.49590.193226251640.9876
nsw-id:160096877.18770.606208664169.01080.367488943825.7096
nsw-id:16010-3309.97540.59937053-1983.90170.35924503-2319.5016
nsw-id:16011-7566.56850.62371288-4719.36620.38901776-5082.7792
nsw-id:16012-6222.74890.59188884-3683.17570.3503324-4010.4495
1–20 / 722

원·격자·사용 성향 전부 펼치기

전체 722행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 722
같은 행의 세 단계 성향
ID원 m격자사용격자 차이클리핑 변경
nsw-id:159930.408637920.4090.4090.00036208182아니오
nsw-id:159940.378245530.3780.378-0.00024553039아니오
nsw-id:159950.435426670.4350.435-0.00042666636아니오
nsw-id:159960.425746850.4260.4260.00025315334아니오
nsw-id:159970.391307760.3910.391-0.00030776352아니오
nsw-id:159980.428693950.4290.4290.0003060489아니오
nsw-id:159990.429577750.430.430.00042225243아니오
nsw-id:160000.400629470.4010.4010.00037052945아니오
nsw-id:160010.401015040.4010.401-1.5041692e-05아니오
nsw-id:160020.404141380.4040.404-0.00014138437아니오
nsw-id:160030.382946170.3830.3835.3826478e-05아니오
nsw-id:160040.429577750.430.430.00042225243아니오
nsw-id:160050.441770490.4420.4420.00022950792아니오
nsw-id:160060.407411510.4070.407-0.00041150979아니오
nsw-id:160070.423621440.4240.4240.00037855716아니오
nsw-id:160080.439575080.440.440.00042491905아니오
nsw-id:160090.393791340.3940.3940.00020865843아니오
nsw-id:160100.400629470.4010.4010.00037052945아니오
nsw-id:160110.376287120.3760.376-0.00028711896아니오
nsw-id:160120.408111160.4080.408-0.00011115804아니오
1–20 / 722

모든 AIPW 의사결과 펼치기

전체 722행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 722
원 결과·팔 예측·의사결과
IDYDmu0mu1e의사결과중심 점수
nsw-id:1599312418.0716371.27936440.99320.40914683.59413761.776
nsw-id:1599411656.50617637.59077229.54620.37811303.48910381.671
nsw-id:15995499.257207958.24617116.07790.43512359.58211437.764
nsw-id:1599616717.12117828.57116633.44750.42622475.47221553.653
nsw-id:1599730247.5010405.3297930.620.391-35056.271-35978.089
nsw-id:159984393.522906771.68866560.48740.4293953.71233031.8939
nsw-id:1599916477.0206067.34556503.74080.43-17826.191-18748.009
nsw-id:16000004014.76655499.21710.4018186.89887265.0804
nsw-id:1600115952.616541.65784658.32490.40126281.94125360.122
nsw-id:1600212359.3105598.31335163.70730.404-11778.559-12700.378
nsw-id:160036793.077107136.66086902.26640.383322.46727-599.3511
nsw-id:16004006067.34556503.74080.4311080.86110159.043
nsw-id:16005665.73743011457.5698001.71010.44215884.34114962.522
nsw-id:1600616328.96408338.55737186.48530.407-14626.619-15548.438
nsw-id:160076336.782707347.21476451.95880.424858.96626-62.852109
nsw-id:160085448.8008010960.3577814.24350.446695.95125774.1329
nsw-id:1600912803.9715708.54926191.97990.39417265.13116343.312
nsw-id:160101294.409114014.76655499.21710.401-9001.3549-9923.1733
nsw-id:1601199.57001517846.29127365.89960.376-19805.736-20727.555
nsw-id:16012796.5596917216.25366761.19290.408-15074.26-15996.078
1–20 / 722

모든 계수·훈련 척도 펼치기

전체 60행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 60
절편은 index0 · 기울기 벌점
fold목표index계수최소범위RHS
0ell06313.9852——5435.6975
0ell15361.9561039570.68683.71001
0ell2-1709.6007014029.0132
0m00.39093014——0.39341421
0m1-0.05806682039570.680.033494209
0m20.0096993296010.31542461
0mu006285.8395——5062.341
0mu016187.9623039570.68718.0083
0mu02-2271.073013614.0666
0mu106346.3867——6011.3573
0mu113824.3325037431.66666.87558
0mu12-847.16965014668.7986
1ell05888.9709——5460.7232
1ell15449.9462037849.07689.68382
1ell2-1137.9162014256.541
1m00.41735418——0.42114385
1m10.032698691037849.070.039661601
1m20.00097948773010.34315425
1mu005927.82——5091.905
1mu017405.5226037849.07712.86798
1–20 / 60

정상방정식 전체 행렬 펼치기

전체 180행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 180
평균 Gram+ridge의 모든 원소
fold목표행열값
0ell001
0ell010.090387201
0ell020.79722704
0ell100.090387201
0ell110.04339628
0ell120.070006051
0ell200.79722704
0ell210.070006051
0ell220.80722704
0m001
0m010.090387201
0m020.79722704
0m100.090387201
0m110.04339628
0m120.070006051
0m200.79722704
0m210.070006051
0m220.80722704
0mu0001
0mu0010.093792161
1–20 / 180

원 선택 장부 전부 펼치기

전체 19204행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 19204
제외 원기록도 포함한 전체 장부
ID원 키원행포함이유
nsw-id:11[1,2]아니오실험 표본 밖
nsw-id:22[3,4]아니오실험 표본 밖
nsw-id:33[5,6]아니오실험 표본 밖
nsw-id:44[7,8]아니오실험 표본 밖
nsw-id:55[9,10]아니오실험 표본 밖
nsw-id:66[11,12]아니오실험 표본 밖
nsw-id:77[13,14]아니오실험 표본 밖
nsw-id:88[15,16]아니오실험 표본 밖
nsw-id:99[17,18]아니오실험 표본 밖
nsw-id:1010[19,20]아니오실험 표본 밖
nsw-id:1111[21,22]아니오실험 표본 밖
nsw-id:1212[23,24]아니오실험 표본 밖
nsw-id:1313[25,26]아니오실험 표본 밖
nsw-id:1414[27,28]아니오실험 표본 밖
nsw-id:1515[29,30]아니오실험 표본 밖
nsw-id:1616[31,32]아니오실험 표본 밖
nsw-id:1717[33,34]아니오실험 표본 밖
nsw-id:1818[35,36]아니오실험 표본 밖
nsw-id:1919[37,38]아니오실험 표본 밖
nsw-id:2020[39,40]아니오실험 표본 밖
1–20 / 19204

훈련 멤버십 원파일에는 이 사례의 모든 fold·목표에 대한 8664개 연결이 있습니다. 실제 데이터 실습의 fold·목표 선택으로 전체 훈련 ID를 확인하고, 원행·같은 그룹이 자기 평가 학습에 없는지 추적하세요. 그 파일은 최종 계수 정답이 아니라 학습 경계 장부입니다.

관측 결과와 모든 밖 ell 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 행의 결과 잔차 U와 처치 잔차 V

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 원·격자·사용 성향 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 PLR 점수와 중심 AIPW 의사결과

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

전체 핵심 정확 분수 펼치기
[
  {
    "kind": "person",
    "metric": "rows",
    "value": "722",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "groups",
    "value": "722",
    "unit": "groups"
  },
  {
    "kind": "person",
    "metric": "treated",
    "value": "297",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "comparison",
    "value": "425",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "PLRtheta",
    "value": "28579996492258999659035857498691664930241826027893804805290869780265688844353795871689305298339028868428873118596032011216303952409607357177710593310833763777852966422319616137003894578375685486557782104875728315795479338817412314858288701034020789697929158702288594266693101/30593641544471737321284720573235973885730284817424429270292442236065282518875014378394496204155142979989167603275466414365332384102375431950122884903050308175951899745101761898048327099157830076800774751389868795402994135722454802160044321250827861403443389854873631260672",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRnumerator",
    "value": "200059975445812997613251002490841654511692782195256633637036088461859821910476571101825137088373202079002111830172224078514127666867251500243974153175836346444970764956237312959027262048629798405904474734130098210568355371721886204008020907238145527885504110916020159866851707/1216199931521021159500311368907078140757964642955015814804317772342176444662119940337155730089152013097846121068060371365287696984295237280700282746386898014316528191258581106418528761138122582717082294579846098579895320979042942369731701290106367158926743518303893848064",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRdenominator",
    "value": "3267753460865816669448746399118832659913818263579879835388902216376601831544877634411033224931121839293276568953373182686726786632028625849164736851827272906977284213496587116795933375459362953759848377376237206540236800385394037095951999645321579434571895278688284589/18557738212906206657414419081223726513030466353683712994450649602389166941255492253679744416643554887357271134461370412678340102909778400889591716711225860814156008777749345495888195207796059916947666848447358681944203506149947240749079914704992174666240593235838224",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "PLRnormalization",
    "value": "3267753460865816669448746399118832659913818263579879835388902216376601831544877634411033224931121839293276568953373182686726786632028625849164736851827272906977284213496587116795933375459362953759848377376237206540236800385394037095951999645321579434571895278688284589/13398686989718281206653210576643530542407996707359640781993369012924978531586465407156775468816646628671949759081109437953761554300860005442285219465505071507820638337535027448031276940028755260036215464578992968363714931440261907820835698417004350109025708316275197728",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRrowHC0",
    "value": "671095042222992789760935918440627123323824301192936155222309475787689730486824906461115547990367139219595673388405836550692160734250042667789834221253249503963039985713752217001073851001890267281085816142529260565537543279668148884116911269844147924256410084009286806657846796998563896875076742266271788761012870645118826706979202509217603872205859407777653962500606298074238434370106705862279347579753140685114153801529182676848440862438648577741746942632207587279607905264848055985525208934120081936571329451328450160472875492827366782314305536370506274786880991485322324131989475942192081829798374671827896540380422762088205124466934770887481989621731451989311790568638525537573602462643647078464309193819209990982178817169931411480497097420713132486466400478379211819350639913431432644254704526461085921654621335050281727073955540222456621045125251081817091099294053721493510298596379464597505388357625638336142018396228523430896727017310516739946069379109339497392156984903880624111005141495247380061331209380048062397812028858748235258612497014237894178842757848739139867256867/2855570389984449444144788098321228315909077470446446578877541363198424712571076718181911716245660378870765463956706323126370175100631047832602338250248198815918728296871633555388189757020072642132669942874318830145271700230128900030177195336515982003886336985041479159864002037067563447106682904087183594155618639883281375229343969848281467981136989072638456294966901392051229547258538879706777422150994623482558687566838474916628824705076901984748757237512042419449761373743116182529316865929836050319897553862861110098779300287485176862217509479276691603217361352509042387376603763042300742381760748159776383641630600135788406581944840465883978204276676670858955345693717346686491874546360529880707646925676553907440440956136791009495740586226079321319679706916120650508737271410464848065714754739699819836618556431129467340988201184054176161148853693872399873495190557971671814332171397355299581631399416741252524168540023415609769465224076859774245655005253513786543903851839748684723378975948301382707463254098348516404517159321581691718552118970469258058214043608735023104",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "PLRgroupHC0",
    "value": "671095042222992789760935918440627123323824301192936155222309475787689730486824906461115547990367139219595673388405836550692160734250042667789834221253249503963039985713752217001073851001890267281085816142529260565537543279668148884116911269844147924256410084009286806657846796998563896875076742266271788761012870645118826706979202509217603872205859407777653962500606298074238434370106705862279347579753140685114153801529182676848440862438648577741746942632207587279607905264848055985525208934120081936571329451328450160472875492827366782314305536370506274786880991485322324131989475942192081829798374671827896540380422762088205124466934770887481989621731451989311790568638525537573602462643647078464309193819209990982178817169931411480497097420713132486466400478379211819350639913431432644254704526461085921654621335050281727073955540222456621045125251081817091099294053721493510298596379464597505388357625638336142018396228523430896727017310516739946069379109339497392156984903880624111005141495247380061331209380048062397812028858748235258612497014237894178842757848739139867256867/2855570389984449444144788098321228315909077470446446578877541363198424712571076718181911716245660378870765463956706323126370175100631047832602338250248198815918728296871633555388189757020072642132669942874318830145271700230128900030177195336515982003886336985041479159864002037067563447106682904087183594155618639883281375229343969848281467981136989072638456294966901392051229547258538879706777422150994623482558687566838474916628824705076901984748757237512042419449761373743116182529316865929836050319897553862861110098779300287485176862217509479276691603217361352509042387376603763042300742381760748159776383641630600135788406581944840465883978204276676670858955345693717346686491874546360529880707646925676553907440440956136791009495740586226079321319679706916120650508737271410464848065714754739699819836618556431129467340988201184054176161148853693872399873495190557971671814332171397355299581631399416741252524168540023415609769465224076859774245655005253513786543903851839748684723378975948301382707463254098348516404517159321581691718552118970469258058214043608735023104",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "AIPWtheta",
    "value": "24174910483204057954211900928736434882596531613025861161328346160182816248503857871873810562448002230359067843164036002205195278044984064832042298269053321239916597425468341777604740879601726030175901296928063377974081116093093034627144454472893897283588395794036148857314929914589270302190574381486015443029440725034614747904991154939608007407695084763458167888682236975771849903190507/26225242647822196865212940304182095654732962789847164201299439042660822888237494603671600002934237683199040813278275250534159015452947748620845878804863735416441064743162637899075042223184728575179610038305043050093166262993291134863915505463314978836831161221322846578402940907045706011810378578323790771161916108061735414461428873596939546378653031422460350378794630889945442549760",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "AIPWnumerator",
    "value": "24174910483204057954211900928736434882596531613025861161328346160182816248503857871873810562448002230359067843164036002205195278044984064832042298269053321239916597425468341777604740879601726030175901296928063377974081116093093034627144454472893897283588395794036148857314929914589270302190574381486015443029440725034614747904991154939608007407695084763458167888682236975771849903190507/36323050758756505353480526737094315311264491398680282827284541610333549706700131030016066486058500946259059298169356302678890603120426244627210358455489938249918372220446866896225820253718460630442673183247982063840950502760791045517888511722042906976220444904879288889754765799232279794751216867484474752301822864351434092051840545148115715205890625238864751217167078794938286080",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "AIPWrowHC0",
    "value": "575919531111376729231431073370868208926324985458059658417734839335609181061402475970302118388865293654621941542876521164137917507267697675295127700612972577865759874480155446004814579351016518378304689399012532058820025615990369639543439447415951034057017530005289944154858151475667743860185297864635146822256982514674633482916126816874727946603294665388541950936209295142842490602950098371150261251390047837257994850105524919515703688426962815279410406612478238533434512376425082155255672179670114794923936510295282057837258772979623202010857784249695793909167712319760795057770394289816752444979800567002191902538210349759374930716660820036037409919901933739385541303267821492690602890482943397767987302504365151128191203278691680599722816748225692882730678051198102839843/2389808358430099059959215662817707705432149147819419888787832249524931836631907614942271406738139107443061261830935409437327028924845037303647765457912161342356091219797828768970341014956467555157224014563849228793968907083965170701124111898354463344615832463831348049851204524708328341719710956702857966873678103794098654777804548829930554281303090029137388213307093104372422833274230594528517280139592959550028929754687713166564051921729071202446432672283132220577450703426008701209266456685929538649195558508340680611318271978840101884951435380963443254655335880646983827297091690022414927323953812542473101347469006395130806227788060512497251716420442627863279339749089658999293357046796144035310039542973244657341276008717699755369425028048660713259455379564134400",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "AIPWgroupHC0",
    "value": "575919531111376729231431073370868208926324985458059658417734839335609181061402475970302118388865293654621941542876521164137917507267697675295127700612972577865759874480155446004814579351016518378304689399012532058820025615990369639543439447415951034057017530005289944154858151475667743860185297864635146822256982514674633482916126816874727946603294665388541950936209295142842490602950098371150261251390047837257994850105524919515703688426962815279410406612478238533434512376425082155255672179670114794923936510295282057837258772979623202010857784249695793909167712319760795057770394289816752444979800567002191902538210349759374930716660820036037409919901933739385541303267821492690602890482943397767987302504365151128191203278691680599722816748225692882730678051198102839843/2389808358430099059959215662817707705432149147819419888787832249524931836631907614942271406738139107443061261830935409437327028924845037303647765457912161342356091219797828768970341014956467555157224014563849228793968907083965170701124111898354463344615832463831348049851204524708328341719710956702857966873678103794098654777804548829930554281303090029137388213307093104372422833274230594528517280139592959550028929754687713166564051921729071202446432672283132220577450703426008701209266456685929538649195558508340680611318271978840101884951435380963443254655335880646983827297091690022414927323953812542473101347469006395130806227788060512497251716420442627863279339749089658999293357046796144035310039542973244657341276008717699755369425028048660713259455379564134400",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "rawPropensityMin",
    "value": "144381702479519817944525729/406591361779605394407147329",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "rawPropensityMax",
    "value": "3719108225634040727950315331/8218665937646033493828086334",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

원자료·완전 장부·실행 코드

Python · R · 재현 출처

Native nsw_long records 19204 people in 1975 and 1978, for 38408 rows. We analyze the full 722-person experimental frame defined by its native experimental code:297 treated-code ones and 425 zeros. The remaining 18482 people’s missing treatment codes are not recoded as controls; their selection records are preserved.

Y is recorded 1978 real earnings re. X contains retained 1974 earnings re74 and the native black indicator. Earnings are not an hourly wage, and an unverified price-base year is not added. Preserving a historical classification code does not imply that classification determines ability. These two variables define a small reproducible learning exercise, not a claim to observe all relevant background.

Two native waves are linked to one analysis row per person. Fixed held-out fold sizes are 145,145,144,144,144. Baseline PLR is approximately 934.180929 and grid-AIPW 921.818372 in recorded real-earnings units. Raw m ranges approximately 0.355103–0.452520, and default clipping changes no row.

Actual NSW native and analytical denominators
DenominatorPeople / rowsDistinction retained
Native file19204 people /38408 rowsIncludes nonexperimental records
Experimental analysis722 people /722 analysis rows297 treated,425 comparison
Per-person linksTwo native wavesSource row, date and person key
Outside experiment18482 peopleMissing treated not recoded zero

Experimental assignment supplies different evidence from observational policy comparison, but the code does not document every person’s actual receipt history. An assignment or intention-to-treat comparison must not be relabeled a receipt effect. Generalization beyond program participants, compliance, missingness and timing require further information. Our fixed-learner adjusted score is not presented as the original paper’s unique estimate.

All 722 actual NSW experimental people: post earnings

These computations retain the full declared frames reconstructed from three factual CSVs. Raw fractions and source rows remain available; default tables use short values. Raw m, gridded e and clipped used e are distinct. Finite adjustment does not certify causality or confidence coverage.

Source, analysis, groups and units
QuantityValueMeaning
Source selection rows19204Excluded records retained
Analysis rows722Recorded real earnings
Groups722Same group,same fold
K5Predeclared
lambda1/100Feature penalty on training mean loss
AIPW grid /clip1/1000 ;1/20Raw PLR unchanged
All final-score summaries, not certified standard errors
MetricValueUnit
rows722rows
groups722groups
treated297rows
comparison425rows
PLRtheta934.18093recorded real earnings
PLRnumerator164495.96recorded real earnings
PLRdenominator176.08576dimensionless
PLRnormalization0.2438861dimensionless
PLRmeanScore0recorded real earnings
PLRrowHC0235012.61(recorded real earnings) squared
PLRgroupHC0235012.61(recorded real earnings) squared
AIPWtheta921.81837recorded real earnings
AIPWnumerator665552.86recorded real earnings
AIPWrowHC0240989.84(recorded real earnings) squared
AIPWgroupHC0240989.84(recorded real earnings) squared
rawPropensityMin0.35510273dimensionless
rawPropensityMax0.4525197dimensionless
grid1000dimensionless
clip0.05dimensionless
clippedRows0rows
lambda0.01dimensionless
Every fold and nuisance fit
foldTargetnTrainnTestranklambdaMSEPenaltyObjectiveLoss unit
0ell57714530.0134677194316733.0834993927Recorded real earnings squared
0m57714530.010.238467573.4658325e-050.23850223Dimensionless
0mu035014530.0130021764434486.530456250Recorded real earnings squared
0mu122714530.0140881700153432.1641035132Recorded real earnings squared
1ell57714530.0138615984309967.6738925952Recorded real earnings squared
1m57714530.010.2437341.0701638e-050.2437447Dimensionless
1mu033414530.0131672403582301.4632254704Recorded real earnings squared
1mu124314530.014691802676928.38346994954Recorded real earnings squared
2ell57814430.0141001287251945.441253233Recorded real earnings squared
2m57814430.010.244381674.8044017e-060.24438647Dimensionless
2mu033214430.0132375751452613.8932828364Recorded real earnings squared
2mu124614430.015179908659258.37251858345Recorded real earnings squared
3ell57814430.0138195075139313.0738334388Recorded real earnings squared
3m57814430.010.24143932.1312793e-050.24146062Dimensionless
3mu034214430.0129095130250606.5929345737Recorded real earnings squared
3mu123614430.015035195924997.39950376957Recorded real earnings squared
4ell57814430.013617375165523.43236239275Recorded real earnings squared
4m57814430.010.241578752.5362565e-060.24158129Dimensionless
4mu034214430.0127807920249893.5228057814Recorded real earnings squared
4mu123614430.014642821063873.0146492083Recorded real earnings squared
Expand every selected analytical row and prior X

Read all 722 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 722
Complete frame and source-row lineage
IDNative keyGroupfoldSource rowsYDX
nsw-id:1599315993nsw-id:159932[31985,31986]12418.071[0, 0]
nsw-id:1599415994nsw-id:159940[31987,31988]11656.5061[8644.1562, 0]
nsw-id:1599515995nsw-id:159951[31989,31990]499.25720[19785.32, 1]
nsw-id:1599615996nsw-id:159961[31991,31992]16717.1211[9714.5967, 0]
nsw-id:1599715997nsw-id:159973[31993,31994]30247.50[37211.758, 0]
nsw-id:1599815998nsw-id:159982[31995,31996]4393.52290[14759.063, 1]
nsw-id:1599915999nsw-id:159993[31997,31998]16477.020[0, 0]
nsw-id:1600016000nsw-id:160000[31999,32000]00[0, 1]
nsw-id:1600116001nsw-id:160014[32001,32002]15952.61[20279.949, 1]
nsw-id:1600216002nsw-id:160024[32003,32004]12359.310[12260.78, 1]
nsw-id:1600316003nsw-id:160030[32005,32006]6793.07710[5440.8184, 0]
nsw-id:1600416004nsw-id:160043[32007,32008]00[0, 0]
nsw-id:1600516005nsw-id:160051[32009,32010]665.737430[28262.131, 0]
nsw-id:1600616006nsw-id:160062[32011,32012]16328.9640[12116.611, 0]
nsw-id:1600716007nsw-id:160071[32013,32014]6336.78270[7254.4199, 0]
nsw-id:1600816008nsw-id:160081[32015,32016]5448.80080[25720.92, 0]
nsw-id:1600916009nsw-id:160093[32017,32018]12803.971[13602.43, 1]
nsw-id:1601016010nsw-id:160100[32019,32020]1294.40911[0, 1]
nsw-id:1601116011nsw-id:160110[32021,32022]99.5700151[9978.751, 0]
nsw-id:1601216012nsw-id:160122[32023,32024]796.559691[5204.2598, 0]
1–20 / 722

Expand every out-of-fold nuisance prediction

Read all 722 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 722
Every Y, D, ell, m, mu 0, mu 1
IDfoldYDellmmu0mu1
nsw-id:15993212418.0716388.02070.408637926371.27936440.9932
nsw-id:15994011656.50617485.29650.378245537637.59077229.5462
nsw-id:159951499.257207599.97350.435426677958.24617116.0779
nsw-id:15996116717.12117287.79070.425746857828.57116633.4475
nsw-id:15997330247.509453.27140.3913077610405.3297930.62
nsw-id:1599824393.522906710.51960.428693956771.68866560.4874
nsw-id:15999316477.0206232.1920.429577756067.34556503.7408
nsw-id:160000004604.38450.400629474014.76655499.2171
nsw-id:16001415952.615936.23680.401015046541.65784658.3249
nsw-id:16002412359.3105507.4160.404141385598.31335163.7073
nsw-id:1600306793.077107051.23380.382946177136.66086902.2664
nsw-id:160043006232.1920.429577756067.34556503.7408
nsw-id:160051665.7374309958.47890.4417704911457.5698001.7101
nsw-id:16006216328.96407857.79170.407411518338.55737186.4853
nsw-id:1600716336.782706933.5460.423621447347.21476451.9588
nsw-id:1600815448.800809592.5660.4395750810960.3577814.2435
nsw-id:16009312803.9715926.7820.393791345708.54926191.9799
nsw-id:1601001294.409114604.38450.400629474014.76655499.2171
nsw-id:16011099.57001517666.13850.376287127846.29127365.8996
nsw-id:160122796.5596917019.30860.408111167216.25366761.1929
1–20 / 722

Expand every PLR residual and score

Read all 722 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 722
All U, V and sum contributions
IDUVVUV²Score
nsw-id:159936030.04960.591362083565.94270.349709113239.2511
nsw-id:159944171.20930.621754472593.4680.386578622232.3337
nsw-id:15995-7100.7163-0.435426673091.84120.189596382914.7239
nsw-id:159969429.33040.574253155414.82270.329766685106.761
nsw-id:1599720794.229-0.39130776-8136.94310.15312177-8279.9865
nsw-id:15998-2316.9967-0.42869395993.282470.1837785821.60009
nsw-id:1599910244.828-0.42957775-4400.94990.18453704-4573.3409
nsw-id:16000-4604.3845-0.400629471844.65210.160503971694.7124
nsw-id:1600110016.3630.598984965999.65070.358782985664.4824
nsw-id:160026851.8936-0.40414138-2769.13380.16333026-2921.7138
nsw-id:16003-258.15667-0.3829461798.860110.14664777-38.135442
nsw-id:16004-6232.192-0.429577752677.2110.184537042504.82
nsw-id:16005-9292.7414-0.441770494105.2590.195161173922.9431
nsw-id:160068471.1721-0.40741151-3451.2530.16598414-3606.3122
nsw-id:16007-596.76331-0.42362144252.801740.1794551385.158178
nsw-id:16008-4143.7652-0.439575081821.49590.193226251640.9876
nsw-id:160096877.18770.606208664169.01080.367488943825.7096
nsw-id:16010-3309.97540.59937053-1983.90170.35924503-2319.5016
nsw-id:16011-7566.56850.62371288-4719.36620.38901776-5082.7792
nsw-id:16012-6222.74890.59188884-3683.17570.3503324-4010.4495
1–20 / 722

Expand all raw, grid and used propensities

Read all 722 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 722
Three propensity stages for the same rows
IDRaw mGridUsedGrid deltaClipped
nsw-id:159930.408637920.4090.4090.00036208182False
nsw-id:159940.378245530.3780.378-0.00024553039False
nsw-id:159950.435426670.4350.435-0.00042666636False
nsw-id:159960.425746850.4260.4260.00025315334False
nsw-id:159970.391307760.3910.391-0.00030776352False
nsw-id:159980.428693950.4290.4290.0003060489False
nsw-id:159990.429577750.430.430.00042225243False
nsw-id:160000.400629470.4010.4010.00037052945False
nsw-id:160010.401015040.4010.401-1.5041692e-05False
nsw-id:160020.404141380.4040.404-0.00014138437False
nsw-id:160030.382946170.3830.3835.3826478e-05False
nsw-id:160040.429577750.430.430.00042225243False
nsw-id:160050.441770490.4420.4420.00022950792False
nsw-id:160060.407411510.4070.407-0.00041150979False
nsw-id:160070.423621440.4240.4240.00037855716False
nsw-id:160080.439575080.440.440.00042491905False
nsw-id:160090.393791340.3940.3940.00020865843False
nsw-id:160100.400629470.4010.4010.00037052945False
nsw-id:160110.376287120.3760.376-0.00028711896False
nsw-id:160120.408111160.4080.408-0.00011115804False
1–20 / 722

Expand every AIPW pseudo-outcome

Read all 722 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 722
Observed outcomes, arm predictions and pseudo-outcomes
IDYDmu0mu1ePseudo-outcomeCentered score
nsw-id:1599312418.0716371.27936440.99320.40914683.59413761.776
nsw-id:1599411656.50617637.59077229.54620.37811303.48910381.671
nsw-id:15995499.257207958.24617116.07790.43512359.58211437.764
nsw-id:1599616717.12117828.57116633.44750.42622475.47221553.653
nsw-id:1599730247.5010405.3297930.620.391-35056.271-35978.089
nsw-id:159984393.522906771.68866560.48740.4293953.71233031.8939
nsw-id:1599916477.0206067.34556503.74080.43-17826.191-18748.009
nsw-id:16000004014.76655499.21710.4018186.89887265.0804
nsw-id:1600115952.616541.65784658.32490.40126281.94125360.122
nsw-id:1600212359.3105598.31335163.70730.404-11778.559-12700.378
nsw-id:160036793.077107136.66086902.26640.383322.46727-599.3511
nsw-id:16004006067.34556503.74080.4311080.86110159.043
nsw-id:16005665.73743011457.5698001.71010.44215884.34114962.522
nsw-id:1600616328.96408338.55737186.48530.407-14626.619-15548.438
nsw-id:160076336.782707347.21476451.95880.424858.96626-62.852109
nsw-id:160085448.8008010960.3577814.24350.446695.95125774.1329
nsw-id:1600912803.9715708.54926191.97990.39417265.13116343.312
nsw-id:160101294.409114014.76655499.21710.401-9001.3549-9923.1733
nsw-id:1601199.57001517846.29127365.89960.376-19805.736-20727.555
nsw-id:16012796.5596917216.25366761.19290.408-15074.26-15996.078
1–20 / 722

Expand every coefficient and training scale

Read all 60 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 60
Intercept index 0; feature penalty
foldTargetindexCoefficientMinimumRangeRHS
0ell06313.9852——5435.6975
0ell15361.9561039570.68683.71001
0ell2-1709.6007014029.0132
0m00.39093014——0.39341421
0m1-0.05806682039570.680.033494209
0m20.0096993296010.31542461
0mu006285.8395——5062.341
0mu016187.9623039570.68718.0083
0mu02-2271.073013614.0666
0mu106346.3867——6011.3573
0mu113824.3325037431.66666.87558
0mu12-847.16965014668.7986
1ell05888.9709——5460.7232
1ell15449.9462037849.07689.68382
1ell2-1137.9162014256.541
1m00.41735418——0.42114385
1m10.032698691037849.070.039661601
1m20.00097948773010.34315425
1mu005927.82——5091.905
1mu017405.5226037849.07712.86798
1–20 / 60

Expand every normal-equation matrix

Read all 180 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 180
All mean-Gram plus ridge entries
foldTargetRowColumnValue
0ell001
0ell010.090387201
0ell020.79722704
0ell100.090387201
0ell110.04339628
0ell120.070006051
0ell200.79722704
0ell210.070006051
0ell220.80722704
0m001
0m010.090387201
0m020.79722704
0m100.090387201
0m110.04339628
0m120.070006051
0m200.79722704
0m210.070006051
0m220.80722704
0mu0001
0mu0010.093792161
1–20 / 180

Expand the whole source-selection ledger

Read all 19204 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 19204
Complete ledger including excluded source units
IDNative keySource rowsEligibleReason
nsw-id:11[1,2]FalseOutside experimental frame
nsw-id:22[3,4]FalseOutside experimental frame
nsw-id:33[5,6]FalseOutside experimental frame
nsw-id:44[7,8]FalseOutside experimental frame
nsw-id:55[9,10]FalseOutside experimental frame
nsw-id:66[11,12]FalseOutside experimental frame
nsw-id:77[13,14]FalseOutside experimental frame
nsw-id:88[15,16]FalseOutside experimental frame
nsw-id:99[17,18]FalseOutside experimental frame
nsw-id:1010[19,20]FalseOutside experimental frame
nsw-id:1111[21,22]FalseOutside experimental frame
nsw-id:1212[23,24]FalseOutside experimental frame
nsw-id:1313[25,26]FalseOutside experimental frame
nsw-id:1414[27,28]FalseOutside experimental frame
nsw-id:1515[29,30]FalseOutside experimental frame
nsw-id:1616[31,32]FalseOutside experimental frame
nsw-id:1717[33,34]FalseOutside experimental frame
nsw-id:1818[35,36]FalseOutside experimental frame
nsw-id:1919[37,38]FalseOutside experimental frame
nsw-id:2020[39,40]FalseOutside experimental frame
1–20 / 19204

The complete training-membership CSV contains 8664 links across all folds and targets for this case. In the actual-data interaction, select a fold and target to inspect every training ID and trace the exclusion of each held-out row/group. This is a fitting-boundary ledger, not a stored coefficient oracle.

Observed outcomes and every out-of-fold ell prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every outcome residual U against treatment residual V

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every raw, grid and used propensity prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every PLR score and centered AIPW pseudo-outcome

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Expand every central exact fraction
[
  {
    "kind": "person",
    "metric": "rows",
    "value": "722",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "groups",
    "value": "722",
    "unit": "groups"
  },
  {
    "kind": "person",
    "metric": "treated",
    "value": "297",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "comparison",
    "value": "425",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "PLRtheta",
    "value": "28579996492258999659035857498691664930241826027893804805290869780265688844353795871689305298339028868428873118596032011216303952409607357177710593310833763777852966422319616137003894578375685486557782104875728315795479338817412314858288701034020789697929158702288594266693101/30593641544471737321284720573235973885730284817424429270292442236065282518875014378394496204155142979989167603275466414365332384102375431950122884903050308175951899745101761898048327099157830076800774751389868795402994135722454802160044321250827861403443389854873631260672",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRnumerator",
    "value": "200059975445812997613251002490841654511692782195256633637036088461859821910476571101825137088373202079002111830172224078514127666867251500243974153175836346444970764956237312959027262048629798405904474734130098210568355371721886204008020907238145527885504110916020159866851707/1216199931521021159500311368907078140757964642955015814804317772342176444662119940337155730089152013097846121068060371365287696984295237280700282746386898014316528191258581106418528761138122582717082294579846098579895320979042942369731701290106367158926743518303893848064",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRdenominator",
    "value": "3267753460865816669448746399118832659913818263579879835388902216376601831544877634411033224931121839293276568953373182686726786632028625849164736851827272906977284213496587116795933375459362953759848377376237206540236800385394037095951999645321579434571895278688284589/18557738212906206657414419081223726513030466353683712994450649602389166941255492253679744416643554887357271134461370412678340102909778400889591716711225860814156008777749345495888195207796059916947666848447358681944203506149947240749079914704992174666240593235838224",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "PLRnormalization",
    "value": "3267753460865816669448746399118832659913818263579879835388902216376601831544877634411033224931121839293276568953373182686726786632028625849164736851827272906977284213496587116795933375459362953759848377376237206540236800385394037095951999645321579434571895278688284589/13398686989718281206653210576643530542407996707359640781993369012924978531586465407156775468816646628671949759081109437953761554300860005442285219465505071507820638337535027448031276940028755260036215464578992968363714931440261907820835698417004350109025708316275197728",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "PLRrowHC0",
    "value": "671095042222992789760935918440627123323824301192936155222309475787689730486824906461115547990367139219595673388405836550692160734250042667789834221253249503963039985713752217001073851001890267281085816142529260565537543279668148884116911269844147924256410084009286806657846796998563896875076742266271788761012870645118826706979202509217603872205859407777653962500606298074238434370106705862279347579753140685114153801529182676848440862438648577741746942632207587279607905264848055985525208934120081936571329451328450160472875492827366782314305536370506274786880991485322324131989475942192081829798374671827896540380422762088205124466934770887481989621731451989311790568638525537573602462643647078464309193819209990982178817169931411480497097420713132486466400478379211819350639913431432644254704526461085921654621335050281727073955540222456621045125251081817091099294053721493510298596379464597505388357625638336142018396228523430896727017310516739946069379109339497392156984903880624111005141495247380061331209380048062397812028858748235258612497014237894178842757848739139867256867/2855570389984449444144788098321228315909077470446446578877541363198424712571076718181911716245660378870765463956706323126370175100631047832602338250248198815918728296871633555388189757020072642132669942874318830145271700230128900030177195336515982003886336985041479159864002037067563447106682904087183594155618639883281375229343969848281467981136989072638456294966901392051229547258538879706777422150994623482558687566838474916628824705076901984748757237512042419449761373743116182529316865929836050319897553862861110098779300287485176862217509479276691603217361352509042387376603763042300742381760748159776383641630600135788406581944840465883978204276676670858955345693717346686491874546360529880707646925676553907440440956136791009495740586226079321319679706916120650508737271410464848065714754739699819836618556431129467340988201184054176161148853693872399873495190557971671814332171397355299581631399416741252524168540023415609769465224076859774245655005253513786543903851839748684723378975948301382707463254098348516404517159321581691718552118970469258058214043608735023104",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "PLRgroupHC0",
    "value": "671095042222992789760935918440627123323824301192936155222309475787689730486824906461115547990367139219595673388405836550692160734250042667789834221253249503963039985713752217001073851001890267281085816142529260565537543279668148884116911269844147924256410084009286806657846796998563896875076742266271788761012870645118826706979202509217603872205859407777653962500606298074238434370106705862279347579753140685114153801529182676848440862438648577741746942632207587279607905264848055985525208934120081936571329451328450160472875492827366782314305536370506274786880991485322324131989475942192081829798374671827896540380422762088205124466934770887481989621731451989311790568638525537573602462643647078464309193819209990982178817169931411480497097420713132486466400478379211819350639913431432644254704526461085921654621335050281727073955540222456621045125251081817091099294053721493510298596379464597505388357625638336142018396228523430896727017310516739946069379109339497392156984903880624111005141495247380061331209380048062397812028858748235258612497014237894178842757848739139867256867/2855570389984449444144788098321228315909077470446446578877541363198424712571076718181911716245660378870765463956706323126370175100631047832602338250248198815918728296871633555388189757020072642132669942874318830145271700230128900030177195336515982003886336985041479159864002037067563447106682904087183594155618639883281375229343969848281467981136989072638456294966901392051229547258538879706777422150994623482558687566838474916628824705076901984748757237512042419449761373743116182529316865929836050319897553862861110098779300287485176862217509479276691603217361352509042387376603763042300742381760748159776383641630600135788406581944840465883978204276676670858955345693717346686491874546360529880707646925676553907440440956136791009495740586226079321319679706916120650508737271410464848065714754739699819836618556431129467340988201184054176161148853693872399873495190557971671814332171397355299581631399416741252524168540023415609769465224076859774245655005253513786543903851839748684723378975948301382707463254098348516404517159321581691718552118970469258058214043608735023104",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "AIPWtheta",
    "value": "24174910483204057954211900928736434882596531613025861161328346160182816248503857871873810562448002230359067843164036002205195278044984064832042298269053321239916597425468341777604740879601726030175901296928063377974081116093093034627144454472893897283588395794036148857314929914589270302190574381486015443029440725034614747904991154939608007407695084763458167888682236975771849903190507/26225242647822196865212940304182095654732962789847164201299439042660822888237494603671600002934237683199040813278275250534159015452947748620845878804863735416441064743162637899075042223184728575179610038305043050093166262993291134863915505463314978836831161221322846578402940907045706011810378578323790771161916108061735414461428873596939546378653031422460350378794630889945442549760",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "AIPWnumerator",
    "value": "24174910483204057954211900928736434882596531613025861161328346160182816248503857871873810562448002230359067843164036002205195278044984064832042298269053321239916597425468341777604740879601726030175901296928063377974081116093093034627144454472893897283588395794036148857314929914589270302190574381486015443029440725034614747904991154939608007407695084763458167888682236975771849903190507/36323050758756505353480526737094315311264491398680282827284541610333549706700131030016066486058500946259059298169356302678890603120426244627210358455489938249918372220446866896225820253718460630442673183247982063840950502760791045517888511722042906976220444904879288889754765799232279794751216867484474752301822864351434092051840545148115715205890625238864751217167078794938286080",
    "unit": "recorded real earnings"
  },
  {
    "kind": "person",
    "metric": "AIPWrowHC0",
    "value": "575919531111376729231431073370868208926324985458059658417734839335609181061402475970302118388865293654621941542876521164137917507267697675295127700612972577865759874480155446004814579351016518378304689399012532058820025615990369639543439447415951034057017530005289944154858151475667743860185297864635146822256982514674633482916126816874727946603294665388541950936209295142842490602950098371150261251390047837257994850105524919515703688426962815279410406612478238533434512376425082155255672179670114794923936510295282057837258772979623202010857784249695793909167712319760795057770394289816752444979800567002191902538210349759374930716660820036037409919901933739385541303267821492690602890482943397767987302504365151128191203278691680599722816748225692882730678051198102839843/2389808358430099059959215662817707705432149147819419888787832249524931836631907614942271406738139107443061261830935409437327028924845037303647765457912161342356091219797828768970341014956467555157224014563849228793968907083965170701124111898354463344615832463831348049851204524708328341719710956702857966873678103794098654777804548829930554281303090029137388213307093104372422833274230594528517280139592959550028929754687713166564051921729071202446432672283132220577450703426008701209266456685929538649195558508340680611318271978840101884951435380963443254655335880646983827297091690022414927323953812542473101347469006395130806227788060512497251716420442627863279339749089658999293357046796144035310039542973244657341276008717699755369425028048660713259455379564134400",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "AIPWgroupHC0",
    "value": "575919531111376729231431073370868208926324985458059658417734839335609181061402475970302118388865293654621941542876521164137917507267697675295127700612972577865759874480155446004814579351016518378304689399012532058820025615990369639543439447415951034057017530005289944154858151475667743860185297864635146822256982514674633482916126816874727946603294665388541950936209295142842490602950098371150261251390047837257994850105524919515703688426962815279410406612478238533434512376425082155255672179670114794923936510295282057837258772979623202010857784249695793909167712319760795057770394289816752444979800567002191902538210349759374930716660820036037409919901933739385541303267821492690602890482943397767987302504365151128191203278691680599722816748225692882730678051198102839843/2389808358430099059959215662817707705432149147819419888787832249524931836631907614942271406738139107443061261830935409437327028924845037303647765457912161342356091219797828768970341014956467555157224014563849228793968907083965170701124111898354463344615832463831348049851204524708328341719710956702857966873678103794098654777804548829930554281303090029137388213307093104372422833274230594528517280139592959550028929754687713166564051921729071202446432672283132220577450703426008701209266456685929538649195558508340680611318271978840101884951435380963443254655335880646983827297091690022414927323953812542473101347469006395130806227788060512497251716420442627863279339749089658999293357046796144035310039542973244657341276008717699755369425028048660713259455379564134400",
    "unit": "(recorded real earnings) squared"
  },
  {
    "kind": "person",
    "metric": "rawPropensityMin",
    "value": "144381702479519817944525729/406591361779605394407147329",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "rawPropensityMax",
    "value": "3719108225634040727950315331/8218665937646033493828086334",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "person",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

Factual source, complete ledgers and code

Python · R · Reproduction provenance

학부 심화 · 선택Advanced undergraduate · optional

33. NJPA 점포 384개와 중복 키 그룹33. 384 NJPA stores and repeated-key groups

기업 사례는 원 조사 410점포 행에서 출발합니다. FTE는 전일제 직원 수+관리자 수+시간제 직원 수의 절반으로 계산합니다. 세 성분 중 하나가 결측이면 그 파동 FTE도 결측입니다. 첫 파동은 398행, 두 번째는 396행에서 관측되며 두 값이 모두 있는 완전 쌍은 384행입니다. 이 장은 사후 수준을 Y, 이전 FTE를 X의 한 성분으로 쓰므로 그 384행을 분석합니다.

FTE=EMPFT+NMGRS+12EMPPT\mathrm{FTE}=\mathrm{EMPFT}+\mathrm{NMGRS}+\tfrac12\mathrm{EMPPT}

D는 NJ=1,PA=0입니다. X의 나머지 네 성분은 체인 2·3·4의 더미 세 개와 기업 소유 코드입니다. 체인 1을 기준으로 두어 네 체인 더미와 절편을 동시에 넣는 선형 종속을 피합니다. 원 체인 코드 1,2,3,4를 크기 순서의 연속 숫자로 회귀시키는 것과 다릅니다. 가격·임금·사후 FTE를 X에 임의로 추가하지 않습니다.

원 SHEET 407 두 행은 원행 42와 168입니다. 서로 다른 분석 ID를 유지하면서 같은 fold 2 그룹에 둡니다. 모든 384행을 사용한 기본 PLR는 약 1.152629 FTE, 격자 AIPW는 약 0.912250 FTE입니다. 원 m 예측 범위는 약 0.631501~0.889102이고, 기본 클리핑 변경은 0행입니다. 고용 “퍼센트”가 아니라 FTE 단위의 조정 비교입니다.

실제 점포 분석 분모와 설계
기록 / 설계값읽는 방법
원 점포 행410모든 원 성분·키·결측 유지
첫/둘째 FTE 관측398 /396결측을 폐업 0으로 보지 않음
완전 쌍 분석384NJ309·PA75
배경 X 차원5이전 FTE+체인 더미3+기업 소유
키 그룹383407두 원행은 한 fold

앞 장의 완전 쌍 DID=11/4와 이 값들이 다르다는 사실은 중요합니다. DID는 평균 전후 변화를 빼고, 여기서는 사후 수준을 이전 FTE·체인·소유로 조정합니다. 평행 무처치 변화 가정과 수준의 비혼란성 가정은 다릅니다. 두 주의 다른 경기와 정책, 조사 응답·폐업 처리, 기업의 고용 조정 과정이 남아 있을 수 있습니다. 어떤 값이 정책에 유리하다는 이유로 고르지 말고 대상·변수·가정을 비교하세요.

실제 NJPA 완전 384행 · 사후 FTE

아래 수치는 세 실제 원 CSV로부터 다시 만든 전체 선언 프레임의 계산입니다. 원분수·원행은 공개 파일에 보존하고 기본 표에는 짧은 값을 표시합니다. 원 m, 격자 e, 클리핑 사용 e를 구분하며, 유한 조정 비교를 인과·신뢰구간 인증으로 바꾸지 않습니다.

원본·분석·그룹·단위
항목값뜻
원 선택 장부 행410탈락 기록도 보존
분석 행384FTE 고용
그룹383동일 그룹은 같은 fold
K5사전 고정
lambda1/100훈련 평균손실의 기울기 벌점
AIPW 격자 / 클리핑1/1000 ;1/20원 PLR는 그대로
전체 최종 점수 요약 · 표준오차 인증 아님
지표값단위
rows384행
groups383그룹
treated309행
comparison75행
PLRtheta1.1526289FTE 고용
PLRnumerator69.613165FTE 고용
PLRdenominator60.395122무차원
PLRnormalization0.15727896무차원
PLRmeanScore0FTE 고용
PLRrowHC00.84721215FTE 고용 제곱
PLRgroupHC00.84623818FTE 고용 제곱
AIPWtheta0.91224958FTE 고용
AIPWnumerator350.30384FTE 고용
AIPWrowHC00.89496508FTE 고용 제곱
AIPWgroupHC00.89299534FTE 고용 제곱
rawPropensityMin0.63150104무차원
rawPropensityMax0.88910171무차원
grid1000무차원
clip0.05무차원
clippedRows0행
lambda0.01무차원
모든 fold·목표별 훈련 적합
fold목표nTrainnTestranklambdaMSE벌점목적함수손실 단위
0ell3077760.0159.5209893.937614763.458603FTE 고용 제곱
0m3077760.010.163226190.000633391520.16385958무차원
0mu0657760.0141.9681272.106630844.074758FTE 고용 제곱
0mu12427760.0160.8728885.33247366.205361FTE 고용 제곱
1ell3077760.0155.2102562.973198658.183454FTE 고용 제곱
1m3077760.010.14939220.000256950360.14964915무차원
1mu0577760.0144.8038771.956896946.760774FTE 고용 제곱
1mu12507760.0154.5909083.250860357.841769FTE 고용 제곱
2ell3067860.0157.5763034.852200262.428504FTE 고용 제곱
2m3067860.010.153748630.000388491620.15413713무차원
2mu0597860.0143.9772242.266562646.243787FTE 고용 제곱
2mu12477860.0157.598116.068957963.667068FTE 고용 제곱
3ell3087660.0153.2830283.834260957.117289FTE 고용 제곱
3m3087660.010.149154350.000691990780.14984634무차원
3mu0587660.0135.5284042.231315337.759719FTE 고용 제곱
3mu12507660.0155.185034.59914859.784178FTE 고용 제곱
4ell3087660.0153.3639044.620321657.984226FTE 고용 제곱
4m3087660.010.156610620.000484476560.15709509무차원
4mu0617660.0124.0959111.98618426.082095FTE 고용 제곱
4mu12477660.0157.3366785.83500963.171687FTE 고용 제곱
모든 선택 분석 행·이전 X 펼치기

전체 384행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 384
전체 분석 프레임·원행 연결
ID원 키그룹fold원행YDX
njpa-row:146sheet:461[1]240[40.5, 0, 0, 0, 0]
njpa-row:249sheet:492[2]11.50[13.75, 1, 0, 0, 0]
njpa-row:3506sheet:5061[3]10.50[8.5, 1, 0, 0, 1]
njpa-row:456sheet:561[4]200[34, 0, 0, 1, 1]
njpa-row:561sheet:614[5]35.50[24, 0, 0, 1, 1]
njpa-row:7445sheet:4451[7]290[70.5, 0, 0, 0, 0]
njpa-row:8451sheet:4514[8]36.50[23.5, 0, 0, 0, 0]
njpa-row:9455sheet:4551[9]110[11, 1, 0, 0, 1]
njpa-row:10458sheet:4580[10]8.50[9, 1, 0, 0, 1]
njpa-row:11462sheet:4622[11]17.50[15.5, 0, 1, 0, 1]
njpa-row:12468sheet:4682[12]290[58, 0, 0, 0, 0]
njpa-row:13469sheet:4693[13]30.50[26.5, 0, 0, 0, 0]
njpa-row:14470sheet:4701[14]260[28.5, 0, 0, 0, 0]
njpa-row:15474sheet:4743[15]180[13.5, 0, 0, 0, 0]
njpa-row:16481sheet:4811[16]200[16.75, 1, 0, 0, 1]
njpa-row:17483sheet:4834[17]13.50[9.5, 1, 0, 0, 1]
njpa-row:18487sheet:4873[18]190[15, 0, 1, 0, 1]
njpa-row:19488sheet:4882[19]15.50[29.5, 0, 1, 0, 0]
njpa-row:20489sheet:4893[20]14.50[18.5, 0, 1, 0, 0]
njpa-row:21490sheet:4904[21]140[20.25, 0, 1, 0, 1]
1–20 / 384

모든 밖 보조예측 펼치기

전체 384행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 384
모든 행의 Y,D,ell,m,mu0,mu1
IDfoldYDellmmu0mu1
njpa-row:1124028.7919630.7565736527.82487529.401901
njpa-row:2211.5014.7789420.8439057414.85439714.712
njpa-row:3110.5011.9686170.8724797512.78197111.804095
njpa-row:4120025.9198670.7357860923.65405226.944984
njpa-row:5435.5022.9211270.7317575119.58115824.186771
njpa-row:7129037.7286240.6695934831.13344540.036058
njpa-row:8436.5024.2570870.7963361124.82691224.250092
njpa-row:9111012.7133390.865231413.05768512.690275
njpa-row:1008.5012.377220.8425133513.55423412.077152
njpa-row:11217.5019.2096970.8339054616.0461719.790153
njpa-row:12229033.153420.7197467829.3543634.182282
njpa-row:13330.5023.9446990.8101166824.43453924.003906
njpa-row:14126025.2172990.7913657226.50144625.148238
njpa-row:15318020.9851960.8494352622.60032720.692953
njpa-row:16120014.4261990.848560213.69182814.728488
njpa-row:17413.5012.1710740.8195243512.33830812.238456
njpa-row:18319018.903210.8242935915.47377719.626286
njpa-row:19215.5023.1154220.8053870518.23931223.959755
njpa-row:20314.5020.1842990.8589814315.9360420.912864
njpa-row:21414020.0543010.8148596615.57422221.031824
1–20 / 384

모든 PLR 잔차·점수 펼치기

전체 384행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 384
전체 U,V와 합의 기여
IDUVVUV²점수
njpa-row:1-4.7919635-0.756573653.62547330.572403692.9657043
njpa-row:2-3.2789417-0.843905742.76711770.712176891.946242
njpa-row:3-1.4686173-0.872479751.28133880.761220910.40393358
njpa-row:4-5.9198669-0.735786094.35575570.541381173.7317441
njpa-row:512.578873-0.73175751-9.20468440.53546905-9.8218816
njpa-row:7-8.7286244-0.669593485.844630.448355435.3278426
njpa-row:812.242913-0.79633611-9.74947360.6341512-10.480415
njpa-row:9-1.713339-0.86523141.48243470.748625380.61954745
njpa-row:10-3.8772202-0.842513353.26660980.709828752.4484406
njpa-row:11-1.7096968-0.833905461.42572550.695398320.62418927
njpa-row:12-4.1534198-0.719746782.98941060.518035422.3923079
njpa-row:136.5553013-0.81011668-5.31055890.65628903-6.0670166
njpa-row:140.78270087-0.79136572-0.619402630.6262597-1.3412477
njpa-row:15-2.9851956-0.849435262.53573040.721540251.7040622
njpa-row:165.573801-0.8485602-4.72970570.72005442-5.5596612
njpa-row:171.3289258-0.81952435-1.08908710.67162016-1.8632159
njpa-row:180.096790404-0.82429359-0.0797837090.67945992-0.86294887
njpa-row:19-7.6154221-0.805387056.13336230.64864835.3857115
njpa-row:20-5.6842986-0.858981434.8827070.73784914.0322407
njpa-row:21-6.0543011-0.814859664.93340570.663996274.1680644
1–20 / 384

원·격자·사용 성향 전부 펼치기

전체 384행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 384
같은 행의 세 단계 성향
ID원 m격자사용격자 차이클리핑 변경
njpa-row:10.756573650.7570.7570.00042634752아니오
njpa-row:20.843905740.8440.8449.426206e-05아니오
njpa-row:30.872479750.8720.872-0.00047974887아니오
njpa-row:40.735786090.7360.7360.00021390873아니오
njpa-row:50.731757510.7320.7320.00024249219아니오
njpa-row:70.669593480.670.670.00040651832아니오
njpa-row:80.796336110.7960.796-0.00033611085아니오
njpa-row:90.86523140.8650.865-0.0002314013아니오
njpa-row:100.842513350.8430.8430.00048664675아니오
njpa-row:110.833905460.8340.8349.4540372e-05아니오
njpa-row:120.719746780.720.720.00025322184아니오
njpa-row:130.810116680.810.81-0.00011667973아니오
njpa-row:140.791365720.7910.791-0.0003657208아니오
njpa-row:150.849435260.8490.849-0.00043525525아니오
njpa-row:160.84856020.8490.8490.0004397981아니오
njpa-row:170.819524350.820.820.00047564864아니오
njpa-row:180.824293590.8240.824-0.00029358752아니오
njpa-row:190.805387050.8050.805-0.00038704734아니오
njpa-row:200.858981430.8590.8591.856621e-05아니오
njpa-row:210.814859660.8150.8150.00014033729아니오
1–20 / 384

모든 AIPW 의사결과 펼치기

전체 384행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 384
원 결과·팔 예측·의사결과
IDYDmu0mu1e의사결과중심 점수
njpa-row:124027.82487529.4019010.75717.31725116.405002
njpa-row:211.5014.85439714.7120.84421.36014920.447899
njpa-row:310.5012.78197111.8040950.87216.85002215.937772
njpa-row:420023.65405226.9449840.73617.13203916.21979
njpa-row:535.5019.58115824.1867710.732-54.793052-55.705302
njpa-row:729031.13344540.0360580.6715.36759814.455348
njpa-row:836.5024.82691224.2500920.796-57.797839-58.710089
njpa-row:911013.05768512.6902750.86514.87470113.962452
njpa-row:108.5013.55423412.0771520.84330.71548929.80324
njpa-row:1117.5016.0461719.7901530.834-5.0140313-5.9262809
njpa-row:1229029.3543634.1822820.726.09349335.1812437
njpa-row:1330.5024.43453924.0039060.81-32.354111-33.26636
njpa-row:1426026.50144625.1482380.7911.04605740.1338078
njpa-row:1518022.60032720.6929530.84928.55836827.646119
njpa-row:1620013.69182814.7284880.849-40.739315-41.651565
njpa-row:1713.5012.33830812.2384560.82-6.5536947-7.4659442
njpa-row:1819015.47377719.6262860.824-15.882848-16.795097
njpa-row:1915.5018.23931223.9597550.80519.76819818.855949
njpa-row:2014.5015.9360420.9128640.85915.16150614.249256
njpa-row:2114015.57422221.0318240.81513.9669113.05466
1–20 / 384

모든 계수·훈련 척도 펼치기

전체 120행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 120
절편은 index0 · 기울기 벌점
fold목표index계수최소범위RHS
0ell020.506035——21.282573
0ell117.8327735805.0000819
0ell2-7.9344791012.6327362
0ell3-3.2826669015.1962541
0ell4-0.91787245013.284202
0ell5-1.0859747016.4030945
0m00.81376101——0.78827362
0m1-0.229087895800.15518322
0m20.067379666010.16612378
0m30.07404484010.21172638
0m4-0.0098420829010.10423453
0m5-0.027172932010.27035831
0mu0023.665175——21.465385
0mu015.73760057.5636.3014042
0mu02-10.00183011.8153846
0mu03-8.4392493013.4115385
0mu04-2.5347779013.8115385
0mu05-0.24572071015.5076923
0mu1019.714318——21.233471
0mu1121.6144525804.8300433
1–20 / 120

정상방정식 전체 행렬 펼치기

전체 720행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 720
평균 Gram+ridge의 모든 원소
fold목표행열값
0ell001
0ell010.20571254
0ell020.19543974
0ell030.25732899
0ell040.14006515
0ell050.33876221
0ell100.20571254
0ell110.06816977
0ell120.019462541
0ell130.05540513
0ell140.032614007
0ell150.062326954
0ell200.19543974
0ell210.019462541
0ell220.20543974
0ell230
0ell240
0ell250.084690554
0ell300.25732899
0ell310.05540513
1–20 / 720

원 선택 장부 전부 펼치기

전체 410행을 이 표에서20행씩 읽을 수 있습니다. 페이지 번호로 바로 이동할 수 있습니다.

1–20 / 410
제외 원기록도 포함한 전체 장부
ID원 키원행포함이유
njpa-row:146[1]예포함
njpa-row:249[2]예포함
njpa-row:3506[3]예포함
njpa-row:456[4]예포함
njpa-row:561[5]예포함
njpa-row:662[6]아니오사후 FTE 결측
njpa-row:7445[7]예포함
njpa-row:8451[8]예포함
njpa-row:9455[9]예포함
njpa-row:10458[10]예포함
njpa-row:11462[11]예포함
njpa-row:12468[12]예포함
njpa-row:13469[13]예포함
njpa-row:14470[14]예포함
njpa-row:15474[15]예포함
njpa-row:16481[16]예포함
njpa-row:17483[17]예포함
njpa-row:18487[18]예포함
njpa-row:19488[19]예포함
njpa-row:20489[20]예포함
1–20 / 410

훈련 멤버십 원파일에는 이 사례의 모든 fold·목표에 대한 4608개 연결이 있습니다. 실제 데이터 실습의 fold·목표 선택으로 전체 훈련 ID를 확인하고, 원행·같은 그룹이 자기 평가 학습에 없는지 추적하세요. 그 파일은 최종 계수 정답이 아니라 학습 경계 장부입니다.

관측 결과와 모든 밖 ell 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 행의 결과 잔차 U와 처치 잔차 V

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 원·격자·사용 성향 예측

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

모든 PLR 점수와 중심 AIPW 의사결과

전체 계산점을 보존했습니다. 원자료 순서는 시간이나 인과 경로가 아닙니다. 겹치는 점도 수치표에서 개별 행으로 조회할 수 있으며 원본 그림 확대를 유지합니다.

원본 SVG 확대 · PNG

전체 핵심 정확 분수 펼치기
[
  {
    "kind": "company",
    "metric": "rows",
    "value": "384",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "groups",
    "value": "383",
    "unit": "groups"
  },
  {
    "kind": "company",
    "metric": "treated",
    "value": "309",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "comparison",
    "value": "75",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "PLRtheta",
    "value": "202694343659381903874805503426822256681636657101747525654649151823223975192712995874642896939934945952366015471692745061672757176143399326928087080030070956864320526486745696700619673801327177275504530656798434930555458597481355/175853943709716090250745969870743557352901345428326240019404567575362957308700521222759209102590971977481842511106814785162192457829620708673695140758257232190717784983521226129703732815655117172290789873241383362860380043157372",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRnumerator",
    "value": "151830969033244871816333710432076596765270904196065562288126705485561030106901120505350484599202206705892146420743629259679967922204793503316919161071214199898367435570596027491100879251930469869291783263519426914273751758413/2181066878805614321271406134344673274685879928631496898454368242250232175289328043719249292876173248271922491557757141298041921020978859162613622902883528872121842000792033146481299516746957626385171908501955009114549819840",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRdenominator",
    "value": "43963485927429022562686492467685889338225336357081560004851141893840739327175130305689802275647742994370460627776703696290548114457405177168423785189564308047679446245880306532425933203913779293072697468310345840715095010789343/727931070801373779724331797337534705426412426180762089859145400851014988502813234591299451497422821610754131557401445908221491140751694245522296643837377761070664767764341062638133713714297107806051124462527484291981002371600",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "PLRnormalization",
    "value": "43963485927429022562686492467685889338225336357081560004851141893840739327175130305689802275647742994370460627776703696290548114457405177168423785189564308047679446245880306532425933203913779293072697468310345840715095010789343/279525531187727531414143410177613326883742371653412642505911833926789755585080282083058989375010363498529586518042155228757052598048650590280561911233553060251135270821506968053043346066290089397523631793610553968120704910694400",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRrowHC0",
    "value": "3164904869179384359923153905425397203520295778233118701549231186738940172075731986769151936817658314336172562772278493479858493788345666413212521464548873290830485701402340893785799082705036374150872379720525166076469374532517517383527030073486672699662824627551183422495958945376566279824797546127071802535283206579295161257726100407562992474433438443777867796700067303845432904831527431369316991829752779088195802988735530410003164923690165265313386769214344361910892280239492350116484236608047042161900098464643956382655746784619287435678526881302186651171030855982077094448386502899385368823218412164598033297200193293284765238446053255267787421244075515156973871104833527962822745748210689666973101951979248192519560733538653357526607453476796449935622359268173211539058011710175794780789808850800149293249700846985330008828977749790889013817284808355098389727124828917282634825160763109491084027816850/3735669819753346470615207557555844813029694177724525339001999192782953190957653895987630923605165356263610090499830178083761128918998431619714683396364244176881139273995750305594750773350018709982295898702902267995227381869604096598650357535499781508426606202382350014708984195922165051785784985618554233829401736511342607900633349672593640701535406295065125319410422412985035660024856817927426060178256003237150050941053829410855789262730897185255518357371051758194174106354363616164873311239851323772159676832702230504210432190379842610047581841384753519700843565552347715380029350302408770907776015688036827172703100326099414411332578174981073430169592602641925980116471145054693859146079749598382761518074751274427921502952234968757081980152363757931722879259291987557700074052945064552702526078024884219787228030211955661361068138752969490725839362803457385470216811453929559424941426713277000878979201",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "PLRgroupHC0",
    "value": "3161266426484189141602688543912229788438205725779534638904184830610842746339224433320474805972005972495410014267623793421464316212834287536816377505205903308254864169825443914882052020841576593868775380453546879144614520680338839051060808639850548289486334447685318486414489798732694671566458574002326027238274793894454887293705812351848855007873786572322249489065648178173514320028624035380475982875332154220902619006342694531509170775358903574821034673917138604476786868768850759511368577119699454843365801670111787631153047719446106054502795090884252399637544403911314622012904759102889006465065849339329231615772763721558662404592594242754941496240297835156984626999564526999188973428486728155853369181686901406963251988403557828368299405393815509629783555822982312627277717180753755929414883617307327320877523362122239616585290041250803296248502629553406712145549219946636637382367676616887529569416850/3735669819753346470615207557555844813029694177724525339001999192782953190957653895987630923605165356263610090499830178083761128918998431619714683396364244176881139273995750305594750773350018709982295898702902267995227381869604096598650357535499781508426606202382350014708984195922165051785784985618554233829401736511342607900633349672593640701535406295065125319410422412985035660024856817927426060178256003237150050941053829410855789262730897185255518357371051758194174106354363616164873311239851323772159676832702230504210432190379842610047581841384753519700843565552347715380029350302408770907776015688036827172703100326099414411332578174981073430169592602641925980116471145054693859146079749598382761518074751274427921502952234968757081980152363757931722879259291987557700074052945064552702526078024884219787228030211955661361068138752969490725839362803457385470216811453929559424941426713277000878979201",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "AIPWtheta",
    "value": "69666089658951991161230913491909372595744030085959819883194684836085409141969448923435850997102382507714583439869400886516511432313348759264209592682906349243756870875455399436671228869308217460711116763693398971676087232226617355580196058381943203379343316879103922554432858791182121510015028923925371240610204592083952114781169157887831777708503107136272716264050373284207313267/76367357758319715250444206336149580877041159974581155301950823769799355999257305833668799481616024607126888700563823326489121571137108262907584098727361740416576618122832704884129183917988320003724916193159450741959341794414558965608081974771895777871019641331502840743812900134977578617355757506213280206770567936336680410081805839889683103479616478288927922514682252592504504320",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "AIPWnumerator",
    "value": "69666089658951991161230913491909372595744030085959819883194684836085409141969448923435850997102382507714583439869400886516511432313348759264209592682906349243756870875455399436671228869308217460711116763693398971676087232226617355580196058381943203379343316879103922554432858791182121510015028923925371240610204592083952114781169157887831777708503107136272716264050373284207313267/198873327495624258464698454000389533533961354100471758598830270233852489581399233941845831983375064081059605991051623246065420758169552767988500257102504532334834943028210168969086416453094583343033635919686069640519119256287913972937713475968478588205780315967455314437012760768170777649363951839097083871798354000876771901254702708046049748644834578877416464881985032792980480",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "AIPWrowHC0",
    "value": "1395335004713125216954023545238552655105855141934241939004154674367928192758974094531361731228499327136313332422781145543273900012459245035537542936660701670997441926939708042213890661771026539752400206605422696496631031812800418650166277802041859760909918989979937956559198664390599863930301283165203926607628864298951632853653432846426543018806679270417340457428676421558966041963176118757843296293825483142002856576885160154174117338297657611145802451428692492347040096968796556487898129975999199769853944992605947223565387781948506171155821342049898782175277796395081811729527403188803816020710144089594819053054585366608188064333354224295000682136667373646486896678576946787394967502098306128291218223417936722976660646163185057342537301985107439012170048619/1559094349149030437027277159801289303164941873223855303560372273387598835960946599177321557238973245050779304565560841406012907936836972976632043156312938867262230016786938255902521704851252780995991299948764691167703186123911249659732087676552429384997888905366652364802110614763314261166436500956092398116837029846025079063032800901759036579570829091735183525888224272316532558429045548828617525977037748027576985221133549507442936077071557735106767754012457129297809272202776312410070865813713149614102247712848499234819100919821520206297177989823224796787692407384687453107497557026139720707457477051522403430870024665733200128044264472273208706083033803423148234989044363268591364459950698640487717552570992951900746861809856121140253458435190175220681932800",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "AIPWgroupHC0",
    "value": "39386556720324709316933294456419422142901482607677397957809440339084751564332722190928716497562228490219929106271874671071316586146519000171444866278081649328700712151589262021519959344789834666106744948962427173607236690015645981254407172537770369573182330673576933259845628920190935012728939197149313691105154740019060901205918691268923382504518377692987953283294592571365414560409874634564422982252623144177727059453913813676243211480014635982684500437165516992573668420675496625379312539784510265948631586013319618769139258587583742283226802950189195811915502191626818923282065095430843823715036186254260494273154186072461089132916999005912163506768315443302268790822910778756407900190304853591519769949193430254172051203100437824189761547787936036174558282327/44106116694273309808405371821941131372971127385091443353324158574604105523509823234938989078936537007515930569315658860367102842890553672111997529766256947525332097604219706362104047501400548605862727457143563041301298548301124489096974391732461798013042669485574668543082545636575215274240621284721002387329788157635292062524476008087579903824463534522894895143140024995755221691010420853270260260303089329109279806291065544310487845141826148927364969771462878220677695545590275084337763296381103791748544924199243617823986690781053506106317231773770407141853300100175052307050718908810621596959109094006049339611837146355203958635087746679377530303463270099198359652987492491898683849121584621451746707058606456567688200611300362512030678009475403658567121633280",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "rawPropensityMin",
    "value": "667277711966683173376617/1056653381941354291305530",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "rawPropensityMax",
    "value": "1256815584263981771471/1413579093849811005198",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

원자료·완전 장부·실행 코드

Python · R · 재현 출처

Start from 410 native store records. FTE equals full-time employees plus managers plus half of part-time employees. If any component is missing, the wave’s FTE is missing. Pre FTE is observed in 398 rows, post FTE in 396, and 384 have both. This chapter uses post FTE as Y and pre FTE as a covariate, hence the complete-pair frame.

FTE=EMPFT+NMGRS+12EMPPT\mathrm{FTE}=\mathrm{EMPFT}+\mathrm{NMGRS}+\tfrac12\mathrm{EMPPT}

D is NJ=1 and PA=0. The remaining covariates are three indicators for chains 2,3,4 and corporate ownership. Chain 1 is the reference, avoiding all four chain indicators alongside an intercept. This differs from imposing an ordinal linear relationship on chain codes 1–4. We do not silently add post outcomes, wages or prices as controls.

Both SHEET407 records, source rows 42 and 168, retain distinct analysis IDs and share fold 2. All 384 rows give baseline PLR approximately 1.152629 FTE and grid-AIPW 0.912250 FTE. Raw m ranges approximately 0.631501–0.889102, and clipping changes zero rows. The unit is FTE, not an employment percentage.

Actual store frame and design
Record / designValueInterpretation
Native store rows410Original components, keys and missingness retained
Observed pre/post FTE398 /396Missing is not automatically closure zero
Complete-pair frame384309 NJ,75 PA
Covariate dimension5Pre FTE, three chain indicators, ownership
Key groups383Both 407 records share one fold

The earlier complete-pair DID 11/4 differs from these adjusted levels. DID subtracts average changes; we adjust post levels for prior FTE, chain and ownership. Parallel untreated changes and level unconfoundedness are different assumptions. State-specific shocks, survey observation, closures and employment-adjustment processes may matter. Compare targets, measurements and assumptions rather than selecting a policy-friendly number.

All 384 complete NJPA records: post FTE

These computations retain the full declared frames reconstructed from three factual CSVs. Raw fractions and source rows remain available; default tables use short values. Raw m, gridded e and clipped used e are distinct. Finite adjustment does not certify causality or confidence coverage.

Source, analysis, groups and units
QuantityValueMeaning
Source selection rows410Excluded records retained
Analysis rows384FTE employees
Groups383Same group,same fold
K5Predeclared
lambda1/100Feature penalty on training mean loss
AIPW grid /clip1/1000 ;1/20Raw PLR unchanged
All final-score summaries, not certified standard errors
MetricValueUnit
rows384rows
groups383groups
treated309rows
comparison75rows
PLRtheta1.1526289FTE employees
PLRnumerator69.613165FTE employees
PLRdenominator60.395122dimensionless
PLRnormalization0.15727896dimensionless
PLRmeanScore0FTE employees
PLRrowHC00.84721215(FTE employees) squared
PLRgroupHC00.84623818(FTE employees) squared
AIPWtheta0.91224958FTE employees
AIPWnumerator350.30384FTE employees
AIPWrowHC00.89496508(FTE employees) squared
AIPWgroupHC00.89299534(FTE employees) squared
rawPropensityMin0.63150104dimensionless
rawPropensityMax0.88910171dimensionless
grid1000dimensionless
clip0.05dimensionless
clippedRows0rows
lambda0.01dimensionless
Every fold and nuisance fit
foldTargetnTrainnTestranklambdaMSEPenaltyObjectiveLoss unit
0ell3077760.0159.5209893.937614763.458603FTE employees squared
0m3077760.010.163226190.000633391520.16385958Dimensionless
0mu0657760.0141.9681272.106630844.074758FTE employees squared
0mu12427760.0160.8728885.33247366.205361FTE employees squared
1ell3077760.0155.2102562.973198658.183454FTE employees squared
1m3077760.010.14939220.000256950360.14964915Dimensionless
1mu0577760.0144.8038771.956896946.760774FTE employees squared
1mu12507760.0154.5909083.250860357.841769FTE employees squared
2ell3067860.0157.5763034.852200262.428504FTE employees squared
2m3067860.010.153748630.000388491620.15413713Dimensionless
2mu0597860.0143.9772242.266562646.243787FTE employees squared
2mu12477860.0157.598116.068957963.667068FTE employees squared
3ell3087660.0153.2830283.834260957.117289FTE employees squared
3m3087660.010.149154350.000691990780.14984634Dimensionless
3mu0587660.0135.5284042.231315337.759719FTE employees squared
3mu12507660.0155.185034.59914859.784178FTE employees squared
4ell3087660.0153.3639044.620321657.984226FTE employees squared
4m3087660.010.156610620.000484476560.15709509Dimensionless
4mu0617660.0124.0959111.98618426.082095FTE employees squared
4mu12477660.0157.3366785.83500963.171687FTE employees squared
Expand every selected analytical row and prior X

Read all 384 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 384
Complete frame and source-row lineage
IDNative keyGroupfoldSource rowsYDX
njpa-row:146sheet:461[1]240[40.5, 0, 0, 0, 0]
njpa-row:249sheet:492[2]11.50[13.75, 1, 0, 0, 0]
njpa-row:3506sheet:5061[3]10.50[8.5, 1, 0, 0, 1]
njpa-row:456sheet:561[4]200[34, 0, 0, 1, 1]
njpa-row:561sheet:614[5]35.50[24, 0, 0, 1, 1]
njpa-row:7445sheet:4451[7]290[70.5, 0, 0, 0, 0]
njpa-row:8451sheet:4514[8]36.50[23.5, 0, 0, 0, 0]
njpa-row:9455sheet:4551[9]110[11, 1, 0, 0, 1]
njpa-row:10458sheet:4580[10]8.50[9, 1, 0, 0, 1]
njpa-row:11462sheet:4622[11]17.50[15.5, 0, 1, 0, 1]
njpa-row:12468sheet:4682[12]290[58, 0, 0, 0, 0]
njpa-row:13469sheet:4693[13]30.50[26.5, 0, 0, 0, 0]
njpa-row:14470sheet:4701[14]260[28.5, 0, 0, 0, 0]
njpa-row:15474sheet:4743[15]180[13.5, 0, 0, 0, 0]
njpa-row:16481sheet:4811[16]200[16.75, 1, 0, 0, 1]
njpa-row:17483sheet:4834[17]13.50[9.5, 1, 0, 0, 1]
njpa-row:18487sheet:4873[18]190[15, 0, 1, 0, 1]
njpa-row:19488sheet:4882[19]15.50[29.5, 0, 1, 0, 0]
njpa-row:20489sheet:4893[20]14.50[18.5, 0, 1, 0, 0]
njpa-row:21490sheet:4904[21]140[20.25, 0, 1, 0, 1]
1–20 / 384

Expand every out-of-fold nuisance prediction

Read all 384 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 384
Every Y, D, ell, m, mu 0, mu 1
IDfoldYDellmmu0mu1
njpa-row:1124028.7919630.7565736527.82487529.401901
njpa-row:2211.5014.7789420.8439057414.85439714.712
njpa-row:3110.5011.9686170.8724797512.78197111.804095
njpa-row:4120025.9198670.7357860923.65405226.944984
njpa-row:5435.5022.9211270.7317575119.58115824.186771
njpa-row:7129037.7286240.6695934831.13344540.036058
njpa-row:8436.5024.2570870.7963361124.82691224.250092
njpa-row:9111012.7133390.865231413.05768512.690275
njpa-row:1008.5012.377220.8425133513.55423412.077152
njpa-row:11217.5019.2096970.8339054616.0461719.790153
njpa-row:12229033.153420.7197467829.3543634.182282
njpa-row:13330.5023.9446990.8101166824.43453924.003906
njpa-row:14126025.2172990.7913657226.50144625.148238
njpa-row:15318020.9851960.8494352622.60032720.692953
njpa-row:16120014.4261990.848560213.69182814.728488
njpa-row:17413.5012.1710740.8195243512.33830812.238456
njpa-row:18319018.903210.8242935915.47377719.626286
njpa-row:19215.5023.1154220.8053870518.23931223.959755
njpa-row:20314.5020.1842990.8589814315.9360420.912864
njpa-row:21414020.0543010.8148596615.57422221.031824
1–20 / 384

Expand every PLR residual and score

Read all 384 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 384
All U, V and sum contributions
IDUVVUV²Score
njpa-row:1-4.7919635-0.756573653.62547330.572403692.9657043
njpa-row:2-3.2789417-0.843905742.76711770.712176891.946242
njpa-row:3-1.4686173-0.872479751.28133880.761220910.40393358
njpa-row:4-5.9198669-0.735786094.35575570.541381173.7317441
njpa-row:512.578873-0.73175751-9.20468440.53546905-9.8218816
njpa-row:7-8.7286244-0.669593485.844630.448355435.3278426
njpa-row:812.242913-0.79633611-9.74947360.6341512-10.480415
njpa-row:9-1.713339-0.86523141.48243470.748625380.61954745
njpa-row:10-3.8772202-0.842513353.26660980.709828752.4484406
njpa-row:11-1.7096968-0.833905461.42572550.695398320.62418927
njpa-row:12-4.1534198-0.719746782.98941060.518035422.3923079
njpa-row:136.5553013-0.81011668-5.31055890.65628903-6.0670166
njpa-row:140.78270087-0.79136572-0.619402630.6262597-1.3412477
njpa-row:15-2.9851956-0.849435262.53573040.721540251.7040622
njpa-row:165.573801-0.8485602-4.72970570.72005442-5.5596612
njpa-row:171.3289258-0.81952435-1.08908710.67162016-1.8632159
njpa-row:180.096790404-0.82429359-0.0797837090.67945992-0.86294887
njpa-row:19-7.6154221-0.805387056.13336230.64864835.3857115
njpa-row:20-5.6842986-0.858981434.8827070.73784914.0322407
njpa-row:21-6.0543011-0.814859664.93340570.663996274.1680644
1–20 / 384

Expand all raw, grid and used propensities

Read all 384 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 384
Three propensity stages for the same rows
IDRaw mGridUsedGrid deltaClipped
njpa-row:10.756573650.7570.7570.00042634752False
njpa-row:20.843905740.8440.8449.426206e-05False
njpa-row:30.872479750.8720.872-0.00047974887False
njpa-row:40.735786090.7360.7360.00021390873False
njpa-row:50.731757510.7320.7320.00024249219False
njpa-row:70.669593480.670.670.00040651832False
njpa-row:80.796336110.7960.796-0.00033611085False
njpa-row:90.86523140.8650.865-0.0002314013False
njpa-row:100.842513350.8430.8430.00048664675False
njpa-row:110.833905460.8340.8349.4540372e-05False
njpa-row:120.719746780.720.720.00025322184False
njpa-row:130.810116680.810.81-0.00011667973False
njpa-row:140.791365720.7910.791-0.0003657208False
njpa-row:150.849435260.8490.849-0.00043525525False
njpa-row:160.84856020.8490.8490.0004397981False
njpa-row:170.819524350.820.820.00047564864False
njpa-row:180.824293590.8240.824-0.00029358752False
njpa-row:190.805387050.8050.805-0.00038704734False
njpa-row:200.858981430.8590.8591.856621e-05False
njpa-row:210.814859660.8150.8150.00014033729False
1–20 / 384

Expand every AIPW pseudo-outcome

Read all 384 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 384
Observed outcomes, arm predictions and pseudo-outcomes
IDYDmu0mu1ePseudo-outcomeCentered score
njpa-row:124027.82487529.4019010.75717.31725116.405002
njpa-row:211.5014.85439714.7120.84421.36014920.447899
njpa-row:310.5012.78197111.8040950.87216.85002215.937772
njpa-row:420023.65405226.9449840.73617.13203916.21979
njpa-row:535.5019.58115824.1867710.732-54.793052-55.705302
njpa-row:729031.13344540.0360580.6715.36759814.455348
njpa-row:836.5024.82691224.2500920.796-57.797839-58.710089
njpa-row:911013.05768512.6902750.86514.87470113.962452
njpa-row:108.5013.55423412.0771520.84330.71548929.80324
njpa-row:1117.5016.0461719.7901530.834-5.0140313-5.9262809
njpa-row:1229029.3543634.1822820.726.09349335.1812437
njpa-row:1330.5024.43453924.0039060.81-32.354111-33.26636
njpa-row:1426026.50144625.1482380.7911.04605740.1338078
njpa-row:1518022.60032720.6929530.84928.55836827.646119
njpa-row:1620013.69182814.7284880.849-40.739315-41.651565
njpa-row:1713.5012.33830812.2384560.82-6.5536947-7.4659442
njpa-row:1819015.47377719.6262860.824-15.882848-16.795097
njpa-row:1915.5018.23931223.9597550.80519.76819818.855949
njpa-row:2014.5015.9360420.9128640.85915.16150614.249256
njpa-row:2114015.57422221.0318240.81513.9669113.05466
1–20 / 384

Expand every coefficient and training scale

Read all 120 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 120
Intercept index 0; feature penalty
foldTargetindexCoefficientMinimumRangeRHS
0ell020.506035——21.282573
0ell117.8327735805.0000819
0ell2-7.9344791012.6327362
0ell3-3.2826669015.1962541
0ell4-0.91787245013.284202
0ell5-1.0859747016.4030945
0m00.81376101——0.78827362
0m1-0.229087895800.15518322
0m20.067379666010.16612378
0m30.07404484010.21172638
0m4-0.0098420829010.10423453
0m5-0.027172932010.27035831
0mu0023.665175——21.465385
0mu015.73760057.5636.3014042
0mu02-10.00183011.8153846
0mu03-8.4392493013.4115385
0mu04-2.5347779013.8115385
0mu05-0.24572071015.5076923
0mu1019.714318——21.233471
0mu1121.6144525804.8300433
1–20 / 120

Expand every normal-equation matrix

Read all 720 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 720
All mean-Gram plus ridge entries
foldTargetRowColumnValue
0ell001
0ell010.20571254
0ell020.19543974
0ell030.25732899
0ell040.14006515
0ell050.33876221
0ell100.20571254
0ell110.06816977
0ell120.019462541
0ell130.05540513
0ell140.032614007
0ell150.062326954
0ell200.19543974
0ell210.019462541
0ell220.20543974
0ell230
0ell240
0ell250.084690554
0ell300.25732899
0ell310.05540513
1–20 / 720

Expand the whole source-selection ledger

Read all 410 rows in this table, twenty at a time. Enter a page number to jump directly.

1–20 / 410
Complete ledger including excluded source units
IDNative keySource rowsEligibleReason
njpa-row:146[1]TrueIncluded
njpa-row:249[2]TrueIncluded
njpa-row:3506[3]TrueIncluded
njpa-row:456[4]TrueIncluded
njpa-row:561[5]TrueIncluded
njpa-row:662[6]FalsePost FTE missing
njpa-row:7445[7]TrueIncluded
njpa-row:8451[8]TrueIncluded
njpa-row:9455[9]TrueIncluded
njpa-row:10458[10]TrueIncluded
njpa-row:11462[11]TrueIncluded
njpa-row:12468[12]TrueIncluded
njpa-row:13469[13]TrueIncluded
njpa-row:14470[14]TrueIncluded
njpa-row:15474[15]TrueIncluded
njpa-row:16481[16]TrueIncluded
njpa-row:17483[17]TrueIncluded
njpa-row:18487[18]TrueIncluded
njpa-row:19488[19]TrueIncluded
njpa-row:20489[20]TrueIncluded
1–20 / 410

The complete training-membership CSV contains 4608 links across all folds and targets for this case. In the actual-data interaction, select a fold and target to inspect every training ID and trace the exclusion of each held-out row/group. This is a fitting-boundary ledger, not a stored coefficient oracle.

Observed outcomes and every out-of-fold ell prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every outcome residual U against treatment residual V

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every raw, grid and used propensity prediction

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Every PLR score and centered AIPW pseudo-outcome

All computed points are retained. Source order is not time or a causal path. Overlapping points remain individually accessible in numerical tables, and original-figure enlargements are preserved.

Enlarge original SVG · PNG

Expand every central exact fraction
[
  {
    "kind": "company",
    "metric": "rows",
    "value": "384",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "groups",
    "value": "383",
    "unit": "groups"
  },
  {
    "kind": "company",
    "metric": "treated",
    "value": "309",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "comparison",
    "value": "75",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "PLRtheta",
    "value": "202694343659381903874805503426822256681636657101747525654649151823223975192712995874642896939934945952366015471692745061672757176143399326928087080030070956864320526486745696700619673801327177275504530656798434930555458597481355/175853943709716090250745969870743557352901345428326240019404567575362957308700521222759209102590971977481842511106814785162192457829620708673695140758257232190717784983521226129703732815655117172290789873241383362860380043157372",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRnumerator",
    "value": "151830969033244871816333710432076596765270904196065562288126705485561030106901120505350484599202206705892146420743629259679967922204793503316919161071214199898367435570596027491100879251930469869291783263519426914273751758413/2181066878805614321271406134344673274685879928631496898454368242250232175289328043719249292876173248271922491557757141298041921020978859162613622902883528872121842000792033146481299516746957626385171908501955009114549819840",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRdenominator",
    "value": "43963485927429022562686492467685889338225336357081560004851141893840739327175130305689802275647742994370460627776703696290548114457405177168423785189564308047679446245880306532425933203913779293072697468310345840715095010789343/727931070801373779724331797337534705426412426180762089859145400851014988502813234591299451497422821610754131557401445908221491140751694245522296643837377761070664767764341062638133713714297107806051124462527484291981002371600",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "PLRnormalization",
    "value": "43963485927429022562686492467685889338225336357081560004851141893840739327175130305689802275647742994370460627776703696290548114457405177168423785189564308047679446245880306532425933203913779293072697468310345840715095010789343/279525531187727531414143410177613326883742371653412642505911833926789755585080282083058989375010363498529586518042155228757052598048650590280561911233553060251135270821506968053043346066290089397523631793610553968120704910694400",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "PLRmeanScore",
    "value": "0",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "PLRrowHC0",
    "value": "3164904869179384359923153905425397203520295778233118701549231186738940172075731986769151936817658314336172562772278493479858493788345666413212521464548873290830485701402340893785799082705036374150872379720525166076469374532517517383527030073486672699662824627551183422495958945376566279824797546127071802535283206579295161257726100407562992474433438443777867796700067303845432904831527431369316991829752779088195802988735530410003164923690165265313386769214344361910892280239492350116484236608047042161900098464643956382655746784619287435678526881302186651171030855982077094448386502899385368823218412164598033297200193293284765238446053255267787421244075515156973871104833527962822745748210689666973101951979248192519560733538653357526607453476796449935622359268173211539058011710175794780789808850800149293249700846985330008828977749790889013817284808355098389727124828917282634825160763109491084027816850/3735669819753346470615207557555844813029694177724525339001999192782953190957653895987630923605165356263610090499830178083761128918998431619714683396364244176881139273995750305594750773350018709982295898702902267995227381869604096598650357535499781508426606202382350014708984195922165051785784985618554233829401736511342607900633349672593640701535406295065125319410422412985035660024856817927426060178256003237150050941053829410855789262730897185255518357371051758194174106354363616164873311239851323772159676832702230504210432190379842610047581841384753519700843565552347715380029350302408770907776015688036827172703100326099414411332578174981073430169592602641925980116471145054693859146079749598382761518074751274427921502952234968757081980152363757931722879259291987557700074052945064552702526078024884219787228030211955661361068138752969490725839362803457385470216811453929559424941426713277000878979201",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "PLRgroupHC0",
    "value": "3161266426484189141602688543912229788438205725779534638904184830610842746339224433320474805972005972495410014267623793421464316212834287536816377505205903308254864169825443914882052020841576593868775380453546879144614520680338839051060808639850548289486334447685318486414489798732694671566458574002326027238274793894454887293705812351848855007873786572322249489065648178173514320028624035380475982875332154220902619006342694531509170775358903574821034673917138604476786868768850759511368577119699454843365801670111787631153047719446106054502795090884252399637544403911314622012904759102889006465065849339329231615772763721558662404592594242754941496240297835156984626999564526999188973428486728155853369181686901406963251988403557828368299405393815509629783555822982312627277717180753755929414883617307327320877523362122239616585290041250803296248502629553406712145549219946636637382367676616887529569416850/3735669819753346470615207557555844813029694177724525339001999192782953190957653895987630923605165356263610090499830178083761128918998431619714683396364244176881139273995750305594750773350018709982295898702902267995227381869604096598650357535499781508426606202382350014708984195922165051785784985618554233829401736511342607900633349672593640701535406295065125319410422412985035660024856817927426060178256003237150050941053829410855789262730897185255518357371051758194174106354363616164873311239851323772159676832702230504210432190379842610047581841384753519700843565552347715380029350302408770907776015688036827172703100326099414411332578174981073430169592602641925980116471145054693859146079749598382761518074751274427921502952234968757081980152363757931722879259291987557700074052945064552702526078024884219787228030211955661361068138752969490725839362803457385470216811453929559424941426713277000878979201",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "AIPWtheta",
    "value": "69666089658951991161230913491909372595744030085959819883194684836085409141969448923435850997102382507714583439869400886516511432313348759264209592682906349243756870875455399436671228869308217460711116763693398971676087232226617355580196058381943203379343316879103922554432858791182121510015028923925371240610204592083952114781169157887831777708503107136272716264050373284207313267/76367357758319715250444206336149580877041159974581155301950823769799355999257305833668799481616024607126888700563823326489121571137108262907584098727361740416576618122832704884129183917988320003724916193159450741959341794414558965608081974771895777871019641331502840743812900134977578617355757506213280206770567936336680410081805839889683103479616478288927922514682252592504504320",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "AIPWnumerator",
    "value": "69666089658951991161230913491909372595744030085959819883194684836085409141969448923435850997102382507714583439869400886516511432313348759264209592682906349243756870875455399436671228869308217460711116763693398971676087232226617355580196058381943203379343316879103922554432858791182121510015028923925371240610204592083952114781169157887831777708503107136272716264050373284207313267/198873327495624258464698454000389533533961354100471758598830270233852489581399233941845831983375064081059605991051623246065420758169552767988500257102504532334834943028210168969086416453094583343033635919686069640519119256287913972937713475968478588205780315967455314437012760768170777649363951839097083871798354000876771901254702708046049748644834578877416464881985032792980480",
    "unit": "FTE employees"
  },
  {
    "kind": "company",
    "metric": "AIPWrowHC0",
    "value": "1395335004713125216954023545238552655105855141934241939004154674367928192758974094531361731228499327136313332422781145543273900012459245035537542936660701670997441926939708042213890661771026539752400206605422696496631031812800418650166277802041859760909918989979937956559198664390599863930301283165203926607628864298951632853653432846426543018806679270417340457428676421558966041963176118757843296293825483142002856576885160154174117338297657611145802451428692492347040096968796556487898129975999199769853944992605947223565387781948506171155821342049898782175277796395081811729527403188803816020710144089594819053054585366608188064333354224295000682136667373646486896678576946787394967502098306128291218223417936722976660646163185057342537301985107439012170048619/1559094349149030437027277159801289303164941873223855303560372273387598835960946599177321557238973245050779304565560841406012907936836972976632043156312938867262230016786938255902521704851252780995991299948764691167703186123911249659732087676552429384997888905366652364802110614763314261166436500956092398116837029846025079063032800901759036579570829091735183525888224272316532558429045548828617525977037748027576985221133549507442936077071557735106767754012457129297809272202776312410070865813713149614102247712848499234819100919821520206297177989823224796787692407384687453107497557026139720707457477051522403430870024665733200128044264472273208706083033803423148234989044363268591364459950698640487717552570992951900746861809856121140253458435190175220681932800",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "AIPWgroupHC0",
    "value": "39386556720324709316933294456419422142901482607677397957809440339084751564332722190928716497562228490219929106271874671071316586146519000171444866278081649328700712151589262021519959344789834666106744948962427173607236690015645981254407172537770369573182330673576933259845628920190935012728939197149313691105154740019060901205918691268923382504518377692987953283294592571365414560409874634564422982252623144177727059453913813676243211480014635982684500437165516992573668420675496625379312539784510265948631586013319618769139258587583742283226802950189195811915502191626818923282065095430843823715036186254260494273154186072461089132916999005912163506768315443302268790822910778756407900190304853591519769949193430254172051203100437824189761547787936036174558282327/44106116694273309808405371821941131372971127385091443353324158574604105523509823234938989078936537007515930569315658860367102842890553672111997529766256947525332097604219706362104047501400548605862727457143563041301298548301124489096974391732461798013042669485574668543082545636575215274240621284721002387329788157635292062524476008087579903824463534522894895143140024995755221691010420853270260260303089329109279806291065544310487845141826148927364969771462878220677695545590275084337763296381103791748544924199243617823986690781053506106317231773770407141853300100175052307050718908810621596959109094006049339611837146355203958635087746679377530303463270099198359652987492491898683849121584621451746707058606456567688200611300362512030678009475403658567121633280",
    "unit": "(FTE employees) squared"
  },
  {
    "kind": "company",
    "metric": "rawPropensityMin",
    "value": "667277711966683173376617/1056653381941354291305530",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "rawPropensityMax",
    "value": "1256815584263981771471/1413579093849811005198",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "grid",
    "value": "1000",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "clip",
    "value": "1/20",
    "unit": "dimensionless"
  },
  {
    "kind": "company",
    "metric": "clippedRows",
    "value": "0",
    "unit": "rows"
  },
  {
    "kind": "company",
    "metric": "lambda",
    "value": "1/100",
    "unit": "dimensionless"
  }
]

Factual source, complete ledgers and code

Python · R · Reproduction provenance

학부 심화 · 선택Advanced undergraduate · optional

34. 실제 프레임의 예측·잔차·격자 장부34. Prediction, residual and grid ledgers for actual frames

실제 데이터 실습의 첫 화면에서는 세 프레임 중 하나를 고르고 원 설정을 확인합니다. K=5와 source fold는 고정되어 있고, λ=1/100·range·단위 비중이 기본입니다. AIPW에는 1/1000 정확 격자와 1/20 클리핑을 별도로 적용합니다. PLR의 m은 원 정확 보조예측입니다. 먼저 행 수와 그룹 수가 앞 절의 선언과 같은지 확인한 뒤 계수를 읽으세요.

표를 따라가는 순서는 원행 ID→그룹·fold→훈련 멤버십→척도·계수→밖 예측→잔차→최종 점수입니다. 한 평가 행을 골라 자기 ID나 같은 그룹이 그 예측의 훈련 목록에 있는지 확인합니다. ell,m은 공통 훈련을 쓰고 μ₀,μ₁은 각각 그 안의 팔별 훈련을 씁니다. 원 D와 Y는 평가 점수를 계산할 때 사용되지만 보조학습에는 들어가지 않습니다.

화면에는 짧은 근삿값을 쓰고, 원분수는 펼쳐 볼 수 있게 합니다. 논문처럼 숫자가 길다는 이유로 모든 표 칸을 수백 자리 분자로 채우지 않습니다. 대신 어떤 값이 정확한 0인지, 비영인데 표시 0인지, 범위를 넘어서 숫자 표시가 불가능한지, 정확히 1이 아닌데 1로 보이는지를 구분합니다. 숫자 표는 좁은 화면에서 안쪽 가로 스크롤로 모든 열을 읽을 수 있어야 합니다.

실제 세 프레임에서 네 종류의 밖 보조예측은 총 6184개입니다. 원 예측과 결과·잔차의 그림은 전체 행을 유지한 수치표와 연결합니다. 원본 벡터 그림 확대와 그래프 수치표를 함께 보며, 작은 휴대전화에서 축 글자를 확대해야만 내용을 알 수 있는 구조에 의존하지 않습니다. 모든 행은 페이지를 나누어 조회해도 계산 프레임에서 사라지지 않습니다.

λ·척도·격자·클리핑을 바꿀 때는 무엇이 달라졌는지 기록합니다. 격자만 바꾼 PLR가 바뀐다면 구현을 의심해야 합니다. 반대로 λ를 바꾸면 m과 ell·팔 예측이 바뀔 수 있으므로 두 최종 점수도 달라질 수 있습니다. 이런 검사는 선언한 절차의 일관성을 확인하는 것이며, 가장 원하는 결과의 설정을 골라 인과적 진실로 발표하는 방법은 아닙니다.

Choose one actual frame and inspect its baseline before reading coefficients. Source K=5 and fold membership are fixed; defaults are λ=1/100, training-only range scaling and unit weights. AIPW separately uses a 1/1000 exact propensity grid and 1/20 clipping. PLR retains raw exact m. First verify the declared row and group counts.

Trace a row through source ID, group/fold, training membership, scaling/coefficients, out-of-fold prediction, residual and final score. Its ID and group must be absent from its nuisance training lists. The ell and m models share the common training frame; mu 0 and mu 1 use its respective arms. Held-out Y and D enter the final score, but not their own nuisance fitting.

Short approximations support reading, with raw fractions in disclosures. Long exact numerators should not fill every default table cell. Distinguish exact zero, nonzero underflow, display overflow and a nonunit value rounded to one. Narrow screens should scroll within tables to reach every column.

The three frames contain 6184 scalar out-of-fold nuisance predictions across four targets. Whole-row numerical tables accompany prediction, residual and outcome graphs, alongside enlarged original vector figures. Pagination changes viewing, not the analytical sample. Mobile reading should not depend exclusively on enlarging tiny axis text.

Record what changes when adjusting λ, scaling, grid or clipping. Changing only the AIPW grid must leave PLR unchanged. Changing λ can change all nuisance functions and both scores. These are consistency probes for the declared procedure, not instructions to select a favorable effect and call it causal truth.

대학원 연결Graduate bridge

35. 실제 조정 비교와 앞 장 DID를 비교하기35. Compare adjusted level scores with the previous DID

같은 데이터 파일에서 나온 값이라고 같은 질문의 답은 아닙니다. 앞 장은 잠재 결과의 시간 변화와 도입 시점을 중심에 두고, 적격한 비교군의 변화로 처치집단의 무처치 변화를 대신했습니다. 이번 장은 사후 수준 Y와 이전 X에서 예측하고 남은 잔차, 또는 AIPW 의사결과를 합칩니다. 데이터 원본·대상 행·시간·점수·가정 다섯 칸을 따로 비교해야 합니다.

서로 다른 질문을 분리하여 비교하기
차원현대 DID 학습이번 교차적합 학습
핵심 관측연결한 전후 변화·집단 시점사후 수준과 이전 X
처치 논리도입 시점과 깨끗한 비교이진 집단 및 조건부 예측
주요 가정평행 무처치 변화·사전 영향 없음 등적절한 조건부 평균·인과 해석에는 비혼란성 등
기본 점수ATT 셀·집계·TWFE 진단PLR 잔차 점수·AIPW
계산 확인원 쌍·셀·가중치fold·훈련·잔차·성향 장부

점포 예를 보면 원 완전 쌍은 두 장 모두 384개지만, DID는 NJ 평균 변화 7/15에서 PA 평균 변화 −137/60을 빼 11/4를 구합니다. 이번 PLR는 사후 FTE를 이전 FTE·체인·소유로 조정해 약 1.152629를 줍니다. 차이가 있다는 사실만으로 어느 한쪽의 수치 계산이 틀렸다고 할 수 없습니다. 어떤 대상을 어떤 가정으로 묻는지 먼저 일치시켜야 합니다.

두 방법을 실제로 결합하는 현대 연구도 있습니다. 예를 들어 조건부 평행 변화에 대한 이중강건 DID 점수를 교차적합으로 추정할 수 있습니다. 그러나 그것은 이 장의 사후 AIPW 식에 전후 변화만 임의로 대입하고 이름을 바꾸는 일이 아닙니다. 대상·패널 또는 반복 횡단면 구조·지지집합·보조함수·점수·추론의 정리를 다시 맞추어야 합니다.

비교 보고서를 작성한다면 서로 다른 수치를 한 줄의 우열 순위로 만들지 마세요. 같은 원본의 서로 다른 선택 장부와 모형을 나란히 두고, 어떤 공통 부분이 있고 어떤 가정에서 결론이 달라지는지 설명합니다. 이 접근은 정책·기업에 유리한 결론을 고르기보다 독자가 주장의 범위를 판단하도록 돕습니다.

Numbers from the same source file need not answer the same question. The previous chapter centered outcome changes and adoption timing, using eligible comparison changes to stand in for untreated changes. This chapter combines residualized post levels or AIPW pseudo-outcomes. Compare five separate elements: source, target rows, timing, score and assumptions.

Separate questions before comparing their results
DimensionModern-DID learningCurrent cross-fitting learning
Core observationsLinked changes and cohort-time cellsPost levels and prior X
Treatment logicAdoption timing and clean comparisonsBinary groups and conditional predictions
Key assumptionsParallel untreated changes, no anticipation, etc.Suitable conditional means; unconfoundedness for causal interpretations
ScoresATT cells, aggregation, TWFE diagnosticsPLR residual score, AIPW
Audit trailPairs, cells, weightsFolds, training, residuals, propensities

Both store exercises retain 384 complete pairs. DID subtracts PA mean change −137/60 from NJ mean change 7/15 to obtain 11/4. Current PLR adjusts post FTE for prior FTE, chain and ownership, yielding approximately 1.152629. Disagreement alone does not establish an arithmetic error. Align the target and identifying assumptions first.

Modern research can combine cross-fitting with doubly robust DID under conditional parallel trends. That requires a score appropriate to the target, panel or repeated-cross-section design, support, nuisances and inference theory. It is not achieved merely by replacing Y with a change in our post-level AIPW formula and changing the label.

A comparison report should not rank differing estimates as if they were interchangeable. Present the distinct source selections and models, explain their shared information and different assumptions, and let readers assess the claim boundaries rather than selecting a favorable policy narrative.

학부 심화 · 선택Advanced undergraduate · optional

36. 학자와 아이디어가 만나는 지점36. Scholars and the ideas they connect

이 장은 한 사람이 새 알고리즘 하나를 발명한 이야기로 읽기 어렵습니다. 잔차화·준모수 추정·강건 점수·실험 설계·머신러닝이 만나 있습니다. Neyman이라는 이름은 관심 모수 외의 보조모수 방향에 점수를 둔감하게 만드는 역사적 생각과 연결됩니다. Newey의 영향함수 연구는 평균 점수의 변동과 추론을 잇는 관점을 제공합니다. 이름을 외우는 대신 어느 식의 어느 문제를 다루는지 붙여 보세요.

인물은 정답의 권위가 아니라 서로 다른 아이디어로 들어가는 안내
학자 / 연결이 장에서 연결할 생각읽은 뒤 스스로 물을 질문
Jerzy Neyman보조모수에 둔감한 점수의 역사적 뿌리미분하는 대상과 허용 방향은 무엇인가?
Whitney Newey준모수 추정·영향함수어느 모형에서 어떤 나머지를 줄이는가?
James Robins복잡한 관측·시간 변화 처치의 인과 추론배경 변수가 혼란변수이면서 매개변수일 수 있는가?
Esther Duflo실험 평가·사회정책 질문배정과 실제 수령·외부 타당성을 어떻게 나누는가?
Victor Chernozhukov와 공동저자들직교 점수·교차적합의 DML 체계예측 학습과 관심 모수 추론을 어떻게 연결하는가?

Robins의 연구를 함께 보는 이유는 시간에 따라 바뀌는 처치와 배경을 다룰 때 단순한 “통제를 많이 하자”가 왜 충분하지 않은지 생각하기 위해서입니다. Duflo의 실험 평가와 정책 연구는 추정법보다 먼저 어떤 처치·대상·배정 질문을 묻는지 돌아보게 합니다. 이 두 역할을 관심 계수의 산술로 하나로 합치지 않습니다.

2018년 DML 논문은 Chernozhukov,Chetverikov,Demirer,Duflo,Hansen,Newey,Robins의 공동 연구입니다. 뒤의 읽기에서 일반 직교 점수와 교차적합 절차를 실제 정의로 대조해 보세요. 어떤 연구자의 학문적 명성이 실제 자료의 누락된 가정이나 불명확한 단위를 대신 검증해 주지는 않습니다.

출발점은 Newey의 공식 연구·논문 목록, Harvard의 Robins 연구 소개, J-PAL의 실험 평가 역사입니다. 현재 직함을 외우기보다 이 장의 연구 질문에 각각 어떤 아이디어가 필요한지 짧은 개념 지도를 만들어 보세요.

This chapter combines residualization, semiparametric estimation, robust scores, experimental design and machine learning rather than one person’s single invention. Neyman’s name connects to nuisance-orthogonal scores; Newey’s influence-function work links mean-score variation to inference. Connect each scholar to a problem in an equation rather than memorizing names.

People guide entry into distinct ideas; they do not replace an argument
Scholar / connectionIdea linked to this chapterA question to ask
Jerzy NeymanHistorical roots of nuisance-orthogonal scoresWhat is differentiated, and along which directions?
Whitney NeweySemiparametric estimation and influence functionsWhich model and remainder are being studied?
James RobinsCausal inference with complex longitudinal treatmentsCan a variable be both a confounder and a mediator?
Esther DufloExperimental evaluation and policy questionsHow do assignment, receipt and external validity differ?
Victor Chernozhukov and coauthorsThe DML framework combining scores and cross-fittingHow is predictive learning linked to target inference?

Robins’s work prompts a question about longitudinal treatment and covariates: why is adding more controls not always sufficient? Duflo’s evaluation and policy research prompts questions about treatment, targets and assignment before estimator choice. These roles are distinct from coefficient arithmetic.

The 2018 DML paper is joint work by Chernozhukov, Chetverikov, Demirer, Duflo, Hansen, Newey and Robins. Compare its definitions of orthogonal scores and cross-fitting with the constructions here. A scholar’s reputation does not verify assumptions or measurement units in an actual application.

Start from Newey’s official research list, Harvard’s Robins research introduction and J-PAL’s evaluation history. Build a concept map of their methodological roles rather than memorizing current job titles.

대학원 연결Graduate bridge

37. 본문에서 보는 공식 강의와 읽기37. An embedded official lecture and primary readings

아래 영상은 DoubleML 개발팀 자료 안내에서 연결한 Online Causal Inference Seminar 2024 자료입니다. 이 본문 안에서 재생하면서, 보조학습·묶음 밖 예측·점수 결합이 각각 어디에 있는지 찾아보세요. 영상의 순서와 이 장의 기호가 꼭 같지는 않으므로 뜻을 먼저 대조합니다.

첫 시청에서는 “무엇을 예측하는가”와 “어느 행으로 배우는가” 두 질문만 적습니다. 두 번째에는 직교성 설명에서 잠시 멈추고 12절의 정확한 다항식을 직접 펼쳐 보세요. 강의 속 신뢰구간을 그대로 우리 실제 기본 점수에 붙이지 말고, 그 강의의 표집·학습·대상 조건이 무엇인지 확인합니다. 특정 재생 시각을 외우는 대신 개념이 나올 때 직접 정지하고 계산합니다.

  1. Chernozhukov 외, Double/Debiased Machine Learning: 정의 2.1과 DML1·DML2를 비교하며 어떤 평균·미분이 0인지 표시합니다.
  2. Ahrens 외, An Introduction to Double/Debiased Machine Learning: 2.3절에서 직교성과 교차적합의 역할을 각각 한 문장으로 정리합니다.
  3. DoubleML 공식 basics: 사용하는 보조함수가 구조 g인지 결과 평균 ell인지 식으로 확인합니다.
  4. EconML 공식 DML 설명: 결과·처치 잔차화와 가정이 연결되는 부분을 이 장과 대조합니다.

읽기 기록은 세 칸으로 씁니다. 첫 칸은 자료가 정의한 대상과 보조함수, 둘째는 요구한 조건, 셋째는 이 장 실제 사례에서 확인한 부분과 아직 가정인 부분입니다. 논문 전체를 한꺼번에 이해하려 하지 말고 정의·알고리즘·PLR 또는 ATE 중 현재 계산하는 부분부터 돌아가며 읽으세요. 자료의 표를 그대로 옮기기보다 자신의 네 행 예제로 같은 식을 재현합니다.

The embedded video is the Online Causal Inference Seminar 2024 material linked by the DoubleML developer materials page. Watch here and identify nuisance fitting, out-of-fold prediction and score aggregation. Match roles before assuming the lecture uses our notation or ordering.

On the first pass, write only what is predicted and which rows fit it. On the second, pause at orthogonality and expand Section 12’s polynomial yourself. Do not transplant a lecture’s confidence interval to our baseline score without checking its target, sampling and learning conditions. Pause by concept rather than memorizing timestamps.

  1. Chernozhukov et al., Double/Debiased Machine Learning: compare Definition 2.1 with DML1 and DML2; mark the mean and derivative constrained to zero.
  2. Ahrens et al., An Introduction to Double/Debiased Machine Learning: use Section 2.3 to distinguish the roles of orthogonality and cross-fitting.
  3. Official DoubleML basics: check whether a nuisance is structural g or the outcome mean ell.
  4. Official EconML DML explanation: compare residualization and its assumptions with this chapter.

Keep three reading columns: target and nuisances, required assumptions, and which conditions are checked or still assumed in our actual cases. Begin with the relevant definition, algorithm, PLR or ATE section rather than trying to master a full paper at once. Reproduce an equation with your own four-row example instead of copying a published table.

학부 심화 · 선택Advanced undergraduate · optional

38. Python과 R로 원자료부터 재현하기38. Reproduce from factual source data in Python and R

재현의 출발점은 최종 계수 파일이 아니라 세 실제 원 CSV입니다. 원 2500군-연도·38408사람-연도·410점포 기록을 읽고, 대상 선택·정확한 원행 연결·이전 변수·그룹·고정 fold부터 다시 만듭니다. 공개 실행은 저장된 engine 결과나 파생 예측 CSV를 정답으로 불러오지 않습니다. 원 입력과 설계 규칙으로 보조학습과 점수까지 계산합니다.

Python 버전은 원 binary64 측정의 정확 분수 표현과 유한 산술을 사용합니다. 원 R 자료에서 17자리로 내보낸 토큰을 같은 binary64 값으로 복원한 뒤 그 저장값의 분수를 쓰는 규칙입니다. 이것이 현실 측정의 무한 정확도를 주장하는 것은 아닙니다. 점포의 원 십진 성분은 선언한 FTE 산술로 결합합니다. R 버전은 base R의 수치 근사를 명시하며, 정확 분수 oracle인 것처럼 표시하지 않습니다.

python metr21-reproduce.py --source-dir metr21-sources --out run-python
Rscript metr21-reproduce.R metr21-sources run-r

실행 후에는 행 수·그룹 수·fold 멤버십부터 비교하고, 각 fold의 훈련 최소·범위·계수·예측을 확인합니다. 이어 U,V,PLR 분자·분모·점수, AIPW raw·grid·used 성향과 의사결과를 대조합니다. 짧은 최종 숫자가 같다는 것만으로 재현을 마치지 않습니다. 결측을 0으로 만들거나 다른 사람을 넣어도 우연히 비슷한 최종값이 나올 수 있습니다.

R과 Python의 아주 작은 차이를 발견하면 먼저 원 토큰·단위·원행·반올림·행렬 조건을 확인합니다. R 결과를 Python 저장값으로 덮어서 같게 만들지 않습니다. 원 수치 출력을 남기고 선언한 허용오차 안인지, 격자 경계나 식별 판정처럼 작은 차이에도 의미가 달라지는 곳인지 따로 검토합니다.

원자료·실행 코드·설계 설정·출력 장부·그림 수치를 함께 보존하는 것이 재현입니다. 이 장의 결과를 다른 모집단·새 가격 연도·다른 정책 정의로 옮길 때는 같은 실행 파일이 돌아간다는 사실만으로 외적 타당성이 생기지 않습니다.

Reproduction begins with three factual source CSVs, not a final-coefficient file. Read 2500 county-year,38408 person-year and 410 store records, and reconstruct target selection, lineage, prior features, groups and fixed folds. Public programs do not import saved engine answers or derived predictions as an oracle. They fit nuisances and calculate scores from factual inputs and design rules.

Python recovers the retained native binary 64 measurements from their 17-digit exports and then uses exact rational storage arithmetic. This is not infinite accuracy of real-world measurement. Native store decimal components follow the declared FTE formula. Base R explicitly supplies numerical approximations, not an exact-fraction oracle.

python metr21-reproduce.py --source-dir metr21-sources --out run-python
Rscript metr21-reproduce.R metr21-sources run-r

Compare rows, groups and fold membership first, then training minima, ranges, coefficients and predictions. Next inspect U, V, PLR numerator/denominator/scores, and AIPW raw/grid/used propensities and pseudo-outcomes. Agreement in a short final coefficient alone can conceal zero-imputed missingness or different people.

When R and Python differ slightly, check source tokens, units, lineage, rounding and matrix conditioning. Never overwrite R outputs with saved Python values. Retain actual numerical results and assess tolerances separately from boundaries where a small difference can change a grid or identification decision.

Preserve source files, complete code, design settings, output ledgers and graph values together. Executing the same program on another population, price year or policy definition does not establish external validity.

학부Undergraduate

39. 실습 문제와 해설로 연결하기39. Connect interactive exercises and worked solutions

실습은 버튼을 여러 번 누르는 것보다 예측을 먼저 적을 때 효과가 큽니다. 예를 들어 Y와 ell에 같은 상수를 더하면 U가 그대로일 것, 같은 그룹을 두 fold로 나누면 거부될 것, AIPW 격자만 바꾸면 PLR가 그대로일 것을 먼저 종이에 써 보세요. 그런 다음 결과와 이유를 비교합니다. 수치가 예상과 다르면 입력 상태·분모·프레임·단위를 차례로 확인합니다.

여섯 실습을 이론·손계산과 연결하는 순서
실습먼저 할 손계산바꾸어 볼 것확인할 상태
직교 점수네 행 분자·분모일관된 Y·ell 이동0분모 대 비영 작은 분모
예측 perturbM₀,M₁,M₂t의 부호·a,b직접식=다항식
보조 ridge두 행 정상방정식λ·훈련 범위유일 계수 대 예측 식별
교차적합절편 전용 두 fold한 평가 Y자기 예측 불변·다른 fold 영향
AIPW네 의사결과e=0·명시적 clip미정의 대 수정 점수
실제 프레임행·그룹·단위선언한 learner 옵션원·격자·사용 성향·전체 행

문제의 해설은 답 숫자만 보여 주지 않습니다. 무엇을 가정했고, 어느 프레임·단위에서 계산했고, 왜 다른 해석이 성립하지 않는지를 함께 봅니다. 처음 읽을 때는 기초·학부 문제를 풀고, 두 번째 읽기에서 rate·영향함수·아핀 해집합 문제로 돌아오세요. 어려운 정리가 있다고 첫 네 행 계산까지 건너뛸 필요는 없습니다.

각 실습에서 입력을 보존한 채 한국어·영어를 바꾸어 용어를 대조해 보세요. residual은 관측 오류가 아니라 지정 예측의 잔차, nuisance는 쓸모없는 변수가 아니라 관심 대상 추정을 위한 보조함수입니다. undefined는 정확한 0과 다릅니다. 수식과 원자료 식별자는 번역으로 이름을 바꾸지 않고 설명만 맞춥니다.

원분수·전체 수치표·원본 그림을 보고 어떤 화면 표현이 계산과 연결되는지 확인하세요. 숫자가 길어 기본 표에는 짧게 보이더라도 원 정보가 사라진 것은 아니어야 합니다. 예측값이 화면에서 1로 보이는 것과 실제 확률 1이라는 결론을 분리하는 작은 습관이 복잡한 연구에서도 도움이 됩니다.

Before running an interaction, write a prediction. A common shift of Y and ell should preserve U; a group spanning folds should be rejected; changing only the AIPW grid should preserve PLR. Then compare both result and reason. If surprised, inspect input state, denominator, frame and units in that order.

Connect six interactions to theory and hand calculations
InteractionFirst hand calculationChange to exploreState to inspect
Orthogonal scoreFour-row numerator/denominatorConsistent Y/ell shiftZero versus tiny nonzero denominator
Nuisance perturbationM₀, M₁, M₂Sign of t, directionsDirect score equals polynomial
Ridge nuisanceTwo-row normal equationsλ, training rangeUnique coefficients versus predictions
Cross-fittingIntercept-only foldsOne held-out YOwn prediction fixed, other fold changes
AIPWFour pseudo-outcomese=0, explicit clippingUndefined versus modified score
Actual framesRow s, groups, unitsDeclared learner optionsRaw/grid/used propensities, all rows

Worked solutions explain assumptions, frame, units and interpretive limits as well as answers. Begin with foundation and undergraduate questions; return to rates, influence functions and affine families on a second pass. Difficult graduate theory need not prevent completing the first four-row calculation.

Switch languages while retaining edited inputs and compare terminology. A residual is unexplained variation under a predictor, not necessarily a measurement error. A nuisance is an auxiliary function, not a useless variable. Undefined differs from exact zero. Source identifiers and mathematical symbols remain stable across translations.

Use raw fractions, complete numerical tables and enlarged original figures to connect display to calculation. Short default values should preserve access to full information. Distinguishing a displayed one from an actual probability one remains useful in much larger research projects.

대학원 연결Graduate bridge

40. 종합 사례:정확한 계산과 정직한 주장40. Capstone: exact calculation and an honest claim

세 실제 사례 중 하나를 골라 두 쪽짜리 연구 메모를 작성하세요. 첫 문장에는 누가 어느 시점에 어떤 처치를 정의했고 어떤 단위의 결과를 비교하는지 적습니다. 다음에는 원본→선택 프레임→그룹·fold→보조학습→점수라는 계산 경로를 재현 가능한 표로 정리합니다. 자신이 원하는 정책 결론에서 거꾸로 모형을 고르지 않습니다.

첫 쪽에는 결과와 계산을 씁니다. 원본·대상·완전 행 수, 양팔 수, 배경 변수와 시점, λ·척도·격자·클리핑, 모든 밖 예측의 진단, PLR 분자·분모와 AIPW 평균을 적습니다. 독자가 한 행을 끝까지 추적할 수 있게 원행 연결과 전체 장부를 제공합니다. 짧은 표와 그림은 전체 수치를 숨기는 대신 읽기 순서를 도와야 합니다.

둘째 쪽에는 해석을 씁니다. PLR 잔차 목표와 AIPW 목표가 같은지, 인과 해석에 필요한 배정·비혼란성·지지집합·간섭 조건은 무엇인지, 아직 모르는 의존 단위와 선택 문제는 무엇인지 설명합니다. 실제 값이 정확한 유한 계산이라는 사실, 모집단 가정이 검증되었다는 사실, 다른 지역·사람에 일반화된다는 사실을 구분합니다.

대안 하나를 사전에 정해 비교해 보세요. 예를 들어 λ만 1/10로 바꾸거나, AIPW 격자만 100으로 바꾸고 원 설정을 보존합니다. 대안이 어떤 함수·점수·대상을 바꾸는지 먼저 예측하세요. 결과가 달라지면 계산 오류인지 선언한 절차의 민감도인지 분리합니다. 어떤 선택이 더 참에 가까운지 판단할 외부 근거가 없다면 그 한계를 그대로 적습니다.

마지막 문장은 값만 반복하지 말고 다음에 필요한 자료나 설계를 제시합니다. 군에서는 더 큰 정책 배정·공통 충격 정보, 점포에서는 주별 비교 설계와 관측 선택, 개인에서는 배정·수령·일반화 근거 등이 될 수 있습니다. 이것이 계산을 끝낸 뒤 연구 질문을 더 잘 만드는 방법입니다.

Choose one actual case and write a two-page research memo. Begin by defining units, timing, treatment and outcome scale. Reconstruct the path from native records through selection, groups/folds, nuisance fitting and scores. Do not select a model backward from a desired policy conclusion.

Page one reports calculations: original, target and complete-row counts, arm sizes, covariate dates, λ, scaling, grid/clipping, held-out diagnostics and both scores’ components. Supply source links and full ledgers so a reader can trace one row. Compact tables and graphs guide reading without hiding whole data.

Page two explains interpretation: whether PLR and AIPW target the same quantity, which assignment, unconfoundedness, support and interference assumptions are needed, and what remains unknown about dependence or selection. Separate an exact finite calculation from verified population assumptions and external validity.

Predeclare one alternative, such as changing only λ to 1/10 or only the AIPW grid to 100, while preserving the baseline. Predict which functions and scores change before running it. Distinguish a software error from sensitivity to a declared procedure. If no external evidence ranks alternatives by truth, say so.

End with the next evidence or design needed: larger policy-assignment and shared-shock information for counties, state-comparison and observation design for stores, or assignment, receipt and generalization evidence for people. A completed calculation should improve the research question.

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

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

1. 교차적합의 역할 교대Switching cross-fit roles

빨강 3행, 파랑 5행이 있습니다. 두 묶음 교차적합에서 각 행의 보조예측은 어느 묶음으로 학습하나요? 최종 평가 행 수는 몇 개인가요? 모두 완전하고 양수 비중이라고 가정합니다.

There are three red and five blue rows, all complete with positive weights. Which group fits each row’s nuisance prediction under two-fold cross-fitting? How many rows enter final scoring?

풀이와 확인할 이유Solution and explanation

빨강 3행은 파랑 5행에서 배운 모형으로 예측하고, 파랑 5행은 빨강 3행에서 배운 모형으로 예측합니다. 각 행의 결과는 자기 예측의 학습에 쓰이지 않습니다.

최종 점수에는 적격 8행이 모두 들어갑니다. 훈련 묶음의 크기는 서로 다를 수 있습니다. 이 규칙은 그룹 독립성·인과 타당성·예측 수렴 속도를 증명하지 않습니다.

Red predictions are fitted on the five blue rows; blue predictions on the three red rows. A row’s outcome is absent from its own prediction’s fitting sample.

All eight eligible rows enter final scoring. Training sizes may differ. This role swap does not establish independent groups, causal validity or nuisance convergence rates.

2. 반복 사람의 누출Leakage from repeated people

한 사람의 1975년 기록은 fold 0, 1978년 기록은 fold 1에 넣었습니다. 원행 ID가 다르니 안전한가요? 엔진은 같은 group을 두 fold에 넣으면 무엇을 해야 하나요?

One person’s 1975 row is in fold 0 and 1978 row in fold 1. Do distinct row IDs make this safe? What should the engine do if the same group spans both folds?

풀이와 확인할 이유Solution and explanation

서로 다른 연도 기록에는 같은 사람의 공통 배경과 충격이 남을 수 있어, 원행 ID가 다르다는 사실만으로 안전하지 않습니다. 같은 사람의 group을 유지하고 같은 fold로 묶습니다.

공통 group이 두 fold에 들어가면 입력을 거부해야 합니다. 한 행이 결측이나 비중 0으로 현재 제외되어도 그룹 분할 규칙은 검사합니다. 그룹을 묶었다는 사실이 모든 종류의 의존성을 해결하는 것은 아닙니다.

Repeated years can share the person’s background and shocks. Distinct row IDs do not remove that dependence. Retain a common person group and assign it to one fold.

Reject a common group spanning folds, even if one row is currently incomplete or zero-weight. Grouping guards one leakage channel; it does not solve every form of dependence.

3. 정확한 대상과 단위Correct target and units

실제 세 사례에서 country를 440개 국가, NSW의 re를 1978년 시급, NJPA 결과를 FTE 변화라고 부르면 각각 무엇이 틀리나요?

What is wrong with calling country 440 countries, NSW re an hourly wage in 1978, and the NJPA outcome an FTE change in this chapter?

풀이와 확인할 이유Solution and explanation

country는 미국 정책 맥락의 군 440개이며 여러 국가가 아닙니다. NSW Y는 원 파일의 1978년 기록된 실질소득 re이고 시급이 아닙니다. 확인되지 않은 가격 기준 연도도 붙이지 않습니다.

이 장 NJPA의 Y는 사후 FTE 수준이고 이전 FTE는 X입니다. 전 장의 쌍별 FTE 변화 DID와 대상·방정식이 다릅니다. 같은 원자료를 써도 추정 대상이 자동으로 같아지지 않습니다.

Country refers to 440 US counties in a national-policy context, not 440 countries. NSW Y is recorded real earnings re in 1978, not an hourly wage; do not invent an unverified price-base year.

The NJPA outcome here is post-wave FTE level, with pre FTE as a covariate. It differs from the preceding chapter’s paired-change DID equation and target. Sharing a source file does not equate estimands.

4. 변동 비중 PLR와 ATEVariation-weighted PLR versus ATE

가상 모집단의 배경 A와 B는 절반씩이고, 효과 τ는 각각 2와 8, 처치 확률 e는 각각 1/2과 1/10입니다. 적절한 식별 조건을 가정할 때 ATE와 처치변동 비중 PLR를 구하세요.

Constructed covariate groups A and B each have population share one-half, effects 2 and 8, and propensities 1/2 and 1/10. Under suitable identifying conditions, compute ATE and the treatment-variation-weighted PLR target.

풀이와 확인할 이유Solution and explanation

ATE=(2+8)/2=5입니다. 처치 변동은 A에서 1/4, B에서 9/100입니다. 공통 모집단 비중 1/2는 PLR 비율에서 약분됩니다.

PLR=(2/4+72/100)/(1/4+9/100)=(122/100)/(34/100)=61/17≈3.588입니다. A의 처치 변동이 더 커 낮은 효과 2에 더 큰 비중을 줍니다. 이 차이는 정확한 계산에서도 생기는 대상 차이입니다.

ATE is five. Conditional treatment variances are 1/4 and 9/100. Equal population shares cancel from the PLR ratio.

PLR=(2/4+72/100)/(1/4+9/100)=61/17, approximately 3.588. GroupA has greater treatment variation and its smaller effect receives more weight. The difference is an estimand distinction even with exact arithmetic.

5. 공통 프레임 분모The common-frame denominator

5절 가상 표의 a,b,c,d에서 적격 행 수와 비중 합을 구하세요. c의 결측 Y를 0으로 바꾸면 문제가 해결되나요?

For rows a, b, c, d in Section 5, find the eligible row count and total weight. Does replacing c’s missing Y by zero solve the problem?

풀이와 확인할 이유Solution and explanation

a와 b만 포함되므로 적격 행 수 2, 비중 합 2입니다. c는 Y 결측, d는 비중 0으로 제외됩니다. 원 네 행과 각 제외 이유는 남깁니다.

c를 0으로 바꾸면 관측하지 않은 결과를 만든 것이며, 평균·보조예측·대상을 바꿉니다. 결측 처리의 타당성은 별도 가정과 설계로 다루어야 합니다.

Only a and b qualify, giving two rows and total weight two. Row c lacks Y; row d has zero weight. Preserve all four source records and exclusion reasons.

Replacing missing Y by zero invents an observation and changes means, predictions and the target. Missingness needs an explicitly justified design.

6. 학습 불가능한 팔An unavailable training arm

어떤 fold의 외부 훈련 자료에 D=1이 한 행도 없습니다. 평가 행은 완전하고 양수 비중입니다. μ₁ 예측이 필요한 AIPW를 위해 이 행들만 최종 평균에서 빼도 되나요?

A fold’s outer training data contain no D=1 row, but its held-out rows are complete with positive weights. May those held-out rows be omitted from the final AIPW average because μ₁ cannot be fitted?

풀이와 확인할 이유Solution and explanation

안 됩니다. 필요한 양수 비중 예측이 없다는 이유로 최종 표본을 바꾸면 미리 선언한 대상과 달라집니다. μ₁의 미정의와 영향을 받는 행·fold·훈련 팔을 보존하고 관련 전체 AIPW를 미정의로 표시합니다.

다른 보조모형·새 분할·새 대상은 별도 설계로 검토할 수 있지만, 같은 결과인 척 숨겨 대체하지 않습니다. PLR에 필요한 ell,m이 식별되어 있는지는 별도로 확인할 수 있습니다.

No. Removing positive-weight held-out rows changes the predeclared target. Preserve the undefined μ₁ and affected rows, fold and training arm; mark the corresponding whole AIPW estimator undefined.

A different learner, split or target may be studied as a new design, not silently substituted. Whether PLR’s ell and m remain identified is a separate question.

7. ell과 g 손계산Compute ell versus g

θ=2,g(X)=3+X,m(4)=1/4일 때 X=4의 g와 ell은 각각 얼마인가요? Y를 X만으로 학습한 예측은 어느 쪽을 목표로 하나요?

Let θ=2, g(X)=3+X and m(4)=1/4. At X=4, find g and ell. Which target is learned by predicting Y from X alone?

풀이와 확인할 이유Solution and explanation

g(4)=7, ell(4)=θm(4)+g(4)=2×1/4+7=15/2입니다. 두 값의 차이 1/2는 X=4에서 기대되는 처치 기여입니다.

X만으로 Y를 예측하는 함수는 ell=E[Y|X]를 목표로 합니다. 구조함수 g=E[Y−θD|X]와 바꾸어 쓰지 않습니다. 모형과 조건부 평균 가정을 전제로 한 관계입니다.

The structural function is g(4)=7, whereas ell(4)=2×1/4+7=15/2. The difference one-half is the expected treatment contribution at X=4.

Prediction of Y from X alone targets ell=E[Y|X], not structural g=E[Y−θD|X]. The relationship presumes the stated model and conditional-mean assumptions.

8. 잔차 부호Residual signs

두 가상 관측에서 D는 0과 1, m은 둘 다 3/4입니다. V를 구하고 음수 값의 의미를 설명하세요.

Two constructed observations have D=0 and 1, with m=3/4 for both. Compute V and interpret its negative value.

풀이와 확인할 이유Solution and explanation

잔차는 −3/4와 1/4입니다. 첫 행은 배경상 처치가 상당히 예상되었으나 실제로 받지 않았다는 뜻입니다. 음수 처치를 관측한 것이 아닙니다.

같은 처치 여부라도 m이 다르면 잔차 크기가 달라집니다. 이 잔차의 제곱이 기울기 계산의 분모에 들어가며, m을 정하는 정보와 훈련 경계를 확인해야 합니다.

Residuals are −3/4 and 1/4. The first row was predicted to receive treatment with substantial probability but did not. This is not a negative observed treatment.

The same treatment state can yield a different residual when m changes. Its square enters the slope denominator, so inspect the information and training boundary used to construct m.

9. 비율의 평균이 아닌 합의 비율A ratio of sums, not a mean of ratios

U=(1,3),V=(1,2),w=(1,1)에서 잔차 기울기와 U/V 단순 평균을 구하세요. 왜 다르며 어떤 값이 제곱오차를 최소화하나요?

With U=(1,3), V=(1,2) and unit weights, compute the residual slope and the simple mean of U/V. Why do they differ, and which minimizes the stated squared loss?

풀이와 확인할 이유Solution and explanation

잔차 기울기는 (1×1+2×3)/(1²+2²)=7/5입니다. U/V의 단순 평균은 (1+3/2)/2=5/4입니다.

기울기는 행 비율을 V²에 비례해 평균하는 것과 같아, 두 번째 행의 비중이 네 배입니다. 7/5가 Σ(U−θV)²를 최소화합니다. 일반적으로 행 비율이 정의되지 않는 V=0도 있으므로 합부터 계산하는 규칙을 유지합니다.

The residual slope is seven-fifths; the mean of row ratios is five-fourths.

The slope weights available row ratios by V², so the second row receives four times the weight. Seven-fifths minimizes Σ(U−θV)². Since some rows may have V=0, form numerator and denominator sums before dividing.

10. 정확한 0과 비영 표시 0Exact zero versus a displayed zero

모든 양수 비중 행에서 D=m인 경우와, 가상 한 행 U=1,V=10⁻²⁰⁰인 경우를 비교하세요. 화면 분모가 0처럼 보이면 두 경우를 같은 것으로 처리해도 되나요?

Compare all positive-weight rows satisfying D=m with one constructed row U=1, V=10⁻²⁰⁰. If the displayed denominator appears zero, may both cases be treated alike?

풀이와 확인할 이유Solution and explanation

첫 경우 분모와 분자가 정확히 0이고 어느 θ도 점수를 만족하므로 기울기가 식별되지 않습니다. θ=0이라고 채우지 않습니다.

둘째는 정확 분모 10⁻⁴⁰⁰, 분자 10⁻²⁰⁰, 기울기 10²⁰⁰입니다. 분모는 비영인데 화면만 0일 수 있습니다. 원분수·underflow 상태를 보존해야 하며, 매우 약한 변동의 실질 신뢰도는 별도 문제입니다.

In the first case numerator and denominator are exactly zero, every θ solves the score and the slope is unidentified. Do not fill it with zero.

In the second, the exact denominator is 10⁻⁴⁰⁰, the numerator 10⁻²⁰⁰ and the slope 10²⁰⁰. Retain the fraction and nonzero-underflow flag. Weak residual information remains a substantive concern.

11. 일관된 결과 재척도Consistent outcome rescaling

10절 네 행에서 Y와 ell을 모두 aY+b, aell+b로 바꿉니다. D,m은 그대로이고 a=−3입니다. θ와 행 HC0·그룹 HC0 분산 대용값은 어떻게 바뀌나요?

Transform both Y and ell to aY+b and aell+b in Section 10, holding D and m fixed, with a=−3. What happens to θ and the row/group HC0 variance plug-ins?

풀이와 확인할 이유Solution and explanation

U가 −3배이고 V는 그대로라 θ는 −3이 됩니다. 점수도 −3배, 분산 대용값은 9배입니다. b는 Y와 ell의 차이에서 약분됩니다.

행 HC0는 9×29/4=261/4, 지정한 두 그룹 HC0는 여전히 0입니다. 이 대수적 0을 신뢰구간의 확실성으로 해석하지 않습니다. Y만 바꾸고 ell을 두는 변환과 다릅니다.

U and θ are multiplied by −3 while V is unchanged. Scores scale by −3 and variance plug-ins by nine. The common shift b cancels between Y and ell.

The row HC0 value becomes 261/4; the specified two-group HC0 remains zero. This algebraic zero does not certify confidence coverage. Changing Y alone while keeping ell fixed is a different operation.

12. 행 점수와 그룹 점수Row scores versus group scores

10절의 ψ=(−3/4,3/4,−7/4,7/4), 분모 1에서 행 HC0와 a,b / c,d 두 그룹 HC0를 직접 계산하세요. 둘 중 작은 것이 더 좋은 불확실성 추정이라고 단정할 수 있나요?

Using ψ=(−3/4,3/4, −7/4,7/4) and denominator one, compute row HC0 and two-group HC0 for a, b and c, d. Is the smaller number automatically a better uncertainty estimate?

풀이와 확인할 이유Solution and explanation

행 제곱합은 (9+9+49+49)/16=116/16=29/4입니다. 두 그룹 합은 각각 0이므로 그룹 합의 제곱합은 0입니다.

두 값은 다른 의존성 구조를 전제로 쓰는 대용 공식입니다. 자료의 실제 의존성·독립 그룹 수·모형 조건을 보지 않고 작다는 이유로 고를 수 없습니다. 두 그룹만 있는 이 가상 표에서 정규 근사나 무오차 효과를 보장하지 않습니다.

The row sum of squared scores is 116/16=29/4. Both group sums are zero, so the sum of squared group sums is zero.

The formulas address different dependence structures. Choosing the smaller value without examining actual dependence, independent-group counts and model conditions is unjustified. This two-group construction guarantees neither a normal approximation nor an error-free effect.

13. 잔차 변화 부호The sign of a residual change

Y=9,ell=4,a=2,t=1/10입니다. 원 U, 새 ell, 새 U를 구하세요. 예측과 잔차가 같은 방향으로 움직이나요?

Let Y=9, ell=4, a=2 and t=1/10. Find original U, new ell and new U. Do prediction and residual move in the same direction?

풀이와 확인할 이유Solution and explanation

원 U=5, 새 ell=4+1/5=21/5, 새 U=9−21/5=24/5입니다. 예측은 1/5 커지고 잔차는 1/5 작아집니다.

관측 Y를 고정했으므로 Uₜ=U−ta입니다. 예측을 올렸다고 잔차에도 더하면 점수 미분의 부호가 잘못됩니다.

Original U=5, new ell=21/5 and new U=24/5. The prediction rises by one-fifth while the residual falls by one-fifth.

Holding Y fixed gives Uₜ=U−ta. Adding the perturbation to the residual would reverse a score-derivative sign.

14. 유한 일차항이 비영인 예A nonzero finite linear term

10절 네 행과 θ=1에 a=b=1을 넣었습니다. M₀,M₁,M₂와 t=1/10의 점수 평균을 구하세요. 결과가 모집단 직교성과 모순되나요?

Use Section 10’s four rows, θ=1 and a=b=1. Compute M₀, M₁, M₂ and M(1/10). Does this contradict population orthogonality?

풀이와 확인할 이유Solution and explanation

M₀=0이고, 평균 U=5/2·평균 V=0이므로 M₁=평균(−U+V)=−5/2입니다. M₂=1−1=0, 따라서 M(1/10)=−1/4입니다.

모순이 아닙니다. 모집단의 올바른 조건부 평균·허용 방향에서 미분의 기댓값이 0이라는 명제와, 임의로 지정한 유한 표의 미분이 0이라는 명제는 다릅니다. 이 표에서 ell=0을 모집단 참 평균이라고 가정하지 않았습니다.

M₀=0, mean U=5/2 and mean V=0, so M₁=−5/2. M₂=0 and M(1/10)=−1/4.

There is no contradiction. A zero expected derivative at true conditional means with allowed directions does not require every constructed finite-table derivative to vanish. We did not stipulate ell=0 to be a true population mean.

15. 균형 표의 이차항A balanced table’s quadratic term

D와 ε의 네 조합에서 Y=3+2D+ε,ell=4,m=1/2,θ=2,a=7,b=2입니다. M₁,M₂와 t=−1/10의 변화량을 구하세요.

For the four D/ε combinations, Y=3+2D+ε, ell=4, m=1/2, θ=2, a=7, b=2. Find M₁, M₂ and the change at t=−1/10.

풀이와 확인할 이유Solution and explanation

균형상 평균 U=평균 V=0이라 M₁=0입니다. M₂=ab−θb²=14−8=6입니다. 원 점수 평균도 0입니다.

t가 −1/10이어도 t²=1/100이므로 변화량은 6/100=3/50입니다. 이 균형은 구성한 가상 표의 특성이며 실제 표에서 자동 성립하는 것은 아닙니다.

Balanced mean residuals give M₁=0. M₂=14−8=6, and the original mean score is zero.

At t=−1/10, the squared term still gives 3/50. The balancing is a property deliberately built into this constructed table, not an automatic feature of observed data.

16. 방향의 정보 제한Information allowed in a direction

참 조건부 평균을 썼더라도 b가 평가 행의 U₀ 자체이면 E[bU₀]=0이라고 할 수 있나요? 원 증명의 어느 조건이 사라지나요?

Even with true conditional means, may we conclude E[bU₀]=0 when b equals the evaluation row’s U₀? Which proof condition is missing?

풀이와 확인할 이유Solution and explanation

일반적으로 안 됩니다. b=U₀이면 E[bU₀]=E[U₀²]로 보통 양수입니다. 유한한 분산이 존재하고 잔차 변동이 양수인 예를 생각하면 바로 확인됩니다.

원 증명에서는 b(X)가 X만의 함수라 조건부 기댓값 밖으로 고정해서 꺼낼 수 있었습니다. 평가 행의 U₀를 들여다본 방향에는 이 조건이 없습니다. 임의의 자료 의존 방향까지 직교성을 확대하지 않습니다.

No. If b=U₀, then E[bU₀]=E[U₀²], typically positive for a finite, nonzero residual variance.

The proof required an X-measurable direction that could be held fixed conditional on X. A direction inspecting the evaluation residual lacks that property. Orthogonality does not cover every data-dependent perturbation.

17. 수렴 속도의 순서The order of convergence rates

rm의 L2 오차가 n⁻⁰·⁴,rℓ이 n⁻⁰·¹⁵인 경우와 이를 뒤집은 경우를 비교하세요. 곱이 같으면 제시한 PLR 충분조건도 같나요?

Compare L2 error rates rm: n⁻⁰·⁴, rℓ: n⁻⁰·¹⁵ with their reversal. Does an equal product imply the same displayed PLR sufficient condition?

풀이와 확인할 이유Solution and explanation

첫 경우 곱은 n⁻⁰·⁵⁵, rm²은 n⁻⁰·⁸입니다. 두 항 모두 n⁻¹ᐟ²보다 빠른 크기입니다.

뒤집으면 곱은 그대로지만 rm²은 n⁻⁰·³이므로 일반적으로 충분조건을 만족시키지 못합니다. 이는 제시한 bound의 판단이며, 특별한 상쇄나 θ₀=0을 추가로 가정한 결론은 아닙니다. 다른 정리 조건들도 여전히 필요합니다.

In the first case, the product is n⁻⁰·⁵⁵ and rm² is n⁻⁰·⁸, both faster than n⁻¹ᐟ².

After reversal, the product is unchanged but rm² is n⁻⁰·³, which generally fails this sufficient bound. We are not assuming special cancellation or θ₀=0. The remaining theorem conditions are still needed.

18. 동일 관측과 다른 인과 세계Identical observations, different causal worlds

15절 두 세계에서 참 ell과 m을 알아 PLR를 계산하면 각각 얼마인가요? 그것만으로 두 ATE를 구분할 수 있나요?

Using the true ell and m in Section 15’s two worlds, what PLR coefficient is obtained in each? Does that distinguish their ATEs?

풀이와 확인할 이유Solution and explanation

두 세계 모두 U=V=D−1/2이고 E[V²]=1/4이므로 PLR=1입니다. 그 값은 관측 분포만으로 같습니다.

세계 A의 ATE는 1, 숨은 유형으로 배정된 세계 B의 ATE는 0입니다. 두 세계의 배정·잠재 결과 가정을 구분하는 근거가 추가로 필요합니다. 직교성이나 정확 계산이 그 근거를 대신하지 못합니다.

Both have U=V=D−1/2 and E[V²]=1/4, so both yield PLR=1 from the identical observed distribution.

ATE is one in randomized world A and zero in hidden-type world B. Additional evidence about assignment and potential outcomes is required. Orthogonality and exact arithmetic do not supply it.

19. 외운 예측의 분모The denominator after memorization

같은 행을 외운 보조예측 ellhat=Y,mhat=D이면 PLR의 U,V,분자,분모가 무엇인가요? 최종 계수를 0이라고 발표해도 되나요?

If in-sample nuisance predictions memorize ellhat=Y and mhat=D, what are U, V, numerator and denominator? May the coefficient be announced as zero?

풀이와 확인할 이유Solution and explanation

두 잔차와 분자·분모는 모두 정확히 0입니다. 모든 θ가 같은 점수 0을 주므로 관심 기울기는 식별되지 않습니다.

0을 계산한 것이 아니라 고를 정보가 사라졌습니다. 교차적합과 적절한 예측 설계가 필요한 이유이지만, 분할만 한다고 좋은 예측이 자동으로 생기는 것은 아닙니다.

Both residuals, numerator and denominator are exactly zero. Every θ produces the same zero score, so the target slope is unidentified.

The calculation has not estimated a zero effect; it has lost information selecting a slope. Cross-fitting needs a suitable prediction design, not a split alone.

20. 407 두 행의 분모Two 407 records and fold counts

NJPA는 분석 384행·그룹 383개이며 fold 2에 78행·77그룹이 있습니다. 이 차이를 설명하고, 원 SHEET 407 두 행을 하나로 평균해 없애도 되는지 판단하세요.

NJPA has 384 analytical rows and 383 groups; fold 2 has 78 rows and 77 groups. Explain the difference and assess averaging away the two native SHEET407 records.

풀이와 확인할 이유Solution and explanation

원행 42와 168이 모두 SHEET 407이어서 서로 다른 분석 행 ID를 유지한 채 같은 누출 방지 그룹에 들어갔습니다. 그 그룹은 fold 2에 속하므로 그 fold의 행 수가 그룹 수보다 1 많습니다.

원자료에서 별도 관측인 두 행을 근거 없이 평균하거나 중복 제거하지 않습니다. 키 반복은 같은 물리 점포라는 확정 증거가 아니며, 같은 그룹 처리도 주 정책의 더 큰 의존성을 해결하지 않습니다.

Native rows 42 and 168 both carry SHEET407. They retain distinct analysis IDs but share one leakage-guard group in fold 2, hence one more row than group.

Do not average or deduplicate distinct observations without justification. A repeated key does not prove physical identity, and same-group folding does not solve larger state-policy dependence.

21. 평가값을 본 척도Scaling that saw the evaluation value

훈련 X는 0,1이고 평가 X는 1000입니다. 훈련 전용 range 변환 후 세 값은 각각 무엇인가요? 전체 최대 1000을 써도 동일한 절차라고 할 수 있나요?

Training X values are 0 and 1, and held-out X is 1000. What are their training-only range transforms? Is using the full-data maximum 1000 the same procedure?

풀이와 확인할 이유Solution and explanation

훈련 최소 0·범위 1이므로 변환 값은 0,1,1000입니다. 평가 값이 1보다 큰 것도 그대로 보존합니다.

전체 최대를 쓰면 훈련 값은 0,1/1000으로 바뀌고 ridge의 척도도 달라집니다. Y를 보지 않았어도 평가 X를 전처리에 사용한 다른 절차입니다. 어떤 일반화 목표에서 그 정보를 허용하는지 명시해야 합니다.

Training minimum zero and range one give transforms 0,1,1000. The out-of-range evaluation value is retained.

Using the full maximum changes training transforms to 0 and 1/1000 and changes the ridge scale. Even without seeing Y, it is a different preprocessing-information policy whose generalization target must be stated.

22. 두 행 ridge 검산Check two-row ridge

X=(0,1),Y=(1,3),단위 비중,scale none,λ=1에서 α=9/5,β=2/5임을 정상방정식으로 확인하고 MSE·벌점·전체 목적함수를 구하세요.

With X=(0,1), Y=(1,3), unit weights, scale none and λ=1, verify α=9/5 and β=2/5 using normal equations. Compute MSE, penalty and total objective.

풀이와 확인할 이유Solution and explanation

정상방정식은 α+β/2=2, α/2+3β/2=3/2입니다. 9/5와 2/5를 넣으면 각각 2와 3/2가 됩니다.

예측은 9/5,11/5이고 오차는 −4/5,4/5입니다. 평균 제곱오차는 16/25, 벌점은 4/25, 목적함수는 20/25=4/5입니다. 절편 제곱은 벌점에 넣지 않습니다.

The normal equations are α+β/2=2 and α/2+3β/2=3/2, satisfied by 9/5 and 2/5.

Predictions are 9/5 and 11/5, with errors −4/5 and 4/5. MSE is 16/25, the feature penalty 4/25, and objective 4/5. The intercept is not penalized.

23. 계수와 예측 식별Coefficient versus prediction identification

λ=0,훈련 X=(7,7),Y=(2,4)입니다. 원척도 직선의 해집합, X=7과 X=10 예측의 식별 여부를 쓰세요. λ>0이 외삽에 무엇을 추가하나요?

Let λ=0, training X=(7,7), Y=(2,4). Give the raw-line solution family and identification at X=7 and X=10. What does positive λ add for extrapolation?

풀이와 확인할 이유Solution and explanation

해집합은 αraw+7βraw=3입니다. X=7의 예측은 모든 해에서 3이지만 X=10은 3+3βraw로 달라져 미식별입니다.

양수 ridge는 이 설정에서 기울기 0을 골라 X=10도 3으로 예측합니다. 이것은 벌점이 선택한 규칙이며 X=10의 관측 정보가 생기거나 무규제 계수가 식별된 것은 아닙니다.

The solution family is αraw+7βraw=3. All solutions predict 3 at seven, but predict 3+3βraw at ten, so the latter is unidentified.

Positive ridge selects slope zero and predicts 3 at ten here. The penalty adds a rule, not an observation at ten or identification of unregularized coefficients.

24. 두 fold를 직접 합치기Combine both folds by hand

20절 절편 전용 표의 네 밖 예측을 사용해 PLR 기울기와 AIPW 평균을 구하세요. a의 결과만 1에서 9로 바꾸면 a 자신의 보조예측이 바뀌나요?

Using Section 20’s intercept-only out-of-fold predictions, compute PLR and the AIPW average. If only a’s Y changes from 1 to 9, does a’s own nuisance prediction change?

풀이와 확인할 이유Solution and explanation

PLR 분자는 3, 분모는 1이므로 기울기 3입니다. AIPW 의사결과는 5,1,1,5이고 평균 3입니다. 이 일치는 구성 표의 대칭에 따른 결과입니다.

a는 fold 0의 평가 행이므로 자기 예측을 만든 c,d 훈련 자료는 그대로입니다. 따라서 a의 예측은 바뀌지 않지만 관측 Y가 바뀌어 a의 최종 점수는 바뀝니다. a를 훈련에 쓰는 fold 1의 보조예측은 바뀔 수 있습니다.

The PLR numerator is 3 and denominator 1, giving slope 3. AIPW pseudo-outcomes 5,1,1,5 also average 3; agreement reflects this construction.

Row a’s own prediction still comes from unchanged c, d training rows. Its observed outcome and final score change, but its nuisance prediction does not. Fold 1 predictions, whose training includes a, can change.

25. 두 fold 집계Aggregating two folds

가상 fold 총합이 (A₁,B₁)=(1,1),(A₂,B₂)=(9,3)입니다. DML2형 전체 점수 해와 fold 해 단순 평균을 비교하세요. B=0인 추가 fold의 해를 0으로 채워도 되나요?

Constructed fold totals are(1,1) and(9,3). Compare the pooled DML2-form root with the mean of fold roots. May an additional zero-denominator fold root be filled with zero?

풀이와 확인할 이유Solution and explanation

전체 해는 10/4=5/2, fold 해 평균은 (1+3)/2=2입니다. 두 계산의 잔차 변동 비중이 다릅니다.

B=0이면 해당 fold의 해는 미식별이므로 0으로 채우지 않습니다. 모든 보조예측이 존재한다면 그 fold의 A도 0이고 전체 점수에는 0 기여를 유지합니다. 예측 자체가 없으면 전체 점수 완성과 다른 문제입니다.

The pooled root is 5/2; the mean of fold roots is 2. Their residual-variation weights differ.

A zero-denominator fold root is unidentified, not zero. If its nuisances exist, A also equals zero and its zero contribution remains in the pooled equation. An unavailable nuisance prediction is a different failure.

26. 비중의 공통 배수A common multiple of weights

모든 w를 양수 c배 합니다. PLR 기울기와 제시한 행·그룹 HC0 대용값은 어떻게 바뀌나요? 이 불변성이 비중의 실질 타당성을 보장하나요?

Multiply all weights by positive c. What happens to the PLR root and the displayed row/group HC0 plug-ins? Does invariance validate the weights substantively?

풀이와 확인할 이유Solution and explanation

분자·분모가 모두 c배라 기울기는 같습니다. s는 c배, A도 c배여서 분산 대용식의 분자·분모가 c²배로 약분되어 같습니다.

이것은 정의한 식의 유한 대수입니다. 그 비중이 표집 빈도·중요도·정책 모집단을 타당하게 나타내는지는 별도 설계 문제입니다.

Numerator and denominator both scale by c, so the root is unchanged. Score contributions and denominator scale by c, so c² cancels from both HC0 formulas.

This finite invariance does not establish whether the weights represent a sampling design, importance distribution or policy population.

27. AIPW 네 의사결과Four AIPW pseudo-outcomes

Y=(1,2,3,4),D=(0,1,0,1),e=1/2,μ₀=1,μ₁=3,단위 비중입니다. 네 Aᵢ와 평균을 구하세요. Aᵢ는 개인의 관측된 인과 효과인가요?

Let Y=(1,2,3,4), D=(0,1,0,1), e=1/2, mu 0=1, mu 1=3 with unit weights. Find each Aᵢ and their mean. Are they observed individual causal effects?

풀이와 확인할 이유Solution and explanation

기본 차이는 2입니다. 비교 행은 결과 오차를 1/2로 나누어 빼고 처치 행은 더하므로 A=(2,0,−2,4), 평균 1입니다.

의사결과는 두 잠재 결과를 관측한 개인 효과가 아닙니다. 반사실 가정과 보조함수를 사용하는 추정용 수량입니다. 음수 A가 그 개인의 참 효과 음수를 확정하지 않습니다.

Starting from contrast two, the residual corrections give A=(2,0, −2,4), averaging one.

A pseudo-outcome is an estimating quantity, not observation of both potential outcomes. Its negative value does not establish that person’s true effect is negative.

28. 편향 곱 직접 계산Calculate the bias product

같은 X에서 e₀=1/2,e=1/4,δ₁=2,δ₀=1입니다. 조건부 AIPW 편향 항을 계산하고 두 강건성 통로를 설명하세요.

At one X, let e₀=1/2, e=1/4, δ1=2 and δ0=1. Compute the conditional AIPW bias term and explain its two robustness routes.

풀이와 확인할 이유Solution and explanation

편향 항은 (1/4−1/2)(2/(1/4)+1/(3/4))=−1/4×28/3=−7/3입니다.

e=e₀이면 첫 인자가 0이고, 결과 함수가 둘 다 정확해 δ₁=δ₀=0이면 괄호가 0입니다. 임의의 한 결과 함수만 맞거나 두 종류가 모두 틀린 경우에 일반적으로 편향 0을 보장하지 않습니다.

The bias is(−1/4)(8+4/3)=−7/3.

Correct e makes the first factor zero; both correct outcome regressions make the bracket zero. One correct outcome regression alone, or two wrong nuisance classes, generally does not guarantee zero bias.

29. 클리핑과 미정의Clipping and undefined support

양수 비중 한 행에 D=1,Y=1,e=0,μ₀=μ₁=0입니다. 기본 AIPW와 c=1/20 클리핑 AIPW는 각각 무엇을 반환하나요? 클리핑이 겹침을 입증하나요?

One positive-weight row has D=1, Y=1, e=0, mu 0=mu 1=0. What do default AIPW and AIPW clipped at 1/20 return? Does clipping prove overlap?

풀이와 확인할 이유Solution and explanation

기본은 e가 엄격 지원집합 밖이라 전체 미정의입니다. 명시적 클리핑 후 사용 e=1/20이므로 의사결과와 평균은 20입니다. 원 e=0과 바뀐 상태를 유지합니다.

20은 수정한 점수의 정확한 산술이며 실제 처치 확률이 양수였다는 증거가 아닙니다. 실제 겹침이나 인과 타당성을 클리핑으로 만들 수 없습니다.

Default AIPW is undefined because e violates strict support. Explicit clipping uses e=1/20 and produces pseudo-outcome and average 20, while retaining raw zero and the changed flag.

Twenty is exact arithmetic for a modified score, not evidence of actual overlap or causal validity.

30. 격자 반올림과 원값Grid rounding and raw values

1/1000 격자에서 ties-to-even으로 0.1235,0.1245를 반올림하세요. 원 m,PLR,AIPW 입력 중 무엇이 바뀌며, 최종 효과 오차가 1/2000 이하라고 말할 수 있나요?

Round 0.1235 and 0.1245 to a 1/1000 grid with ties to even. Which of raw m, PLR and AIPW inputs changes? Is final effect error bounded by 1/2000?

풀이와 확인할 이유Solution and explanation

둘 다 0.124입니다. 중간 정수 123.5는 짝수 124로, 124.5도 짝수 124로 갑니다. 원 m과 PLR는 그대로이고 AIPW에 넣을 별도 성향 값만 격자화한 뒤 명시적 클리핑을 합니다.

반올림 성향 오차의 한계가 1/2000이지 최종 점수·효과 오차 한계가 아닙니다. 역수와 결과 예측 오차가 결합합니다. 원·격자·사용 값을 모두 공개하고, 고정 격자가 보조함수 일치성을 자동 보장한다고 주장하지 않습니다.

Both become 0.124: the adjacent integer ties 123.5 and 124.5 select even 124. Raw m and PLR remain unchanged; only the separate AIPW propensity is rounded before explicit clipping.

The propensity-rounding bound is not a bound on the final effect. Reciprocals and outcome errors interact. Preserve raw, grid and used values, and do not claim fixed-grid nuisance consistency automatically.

31. 안쪽과 바깥쪽Inner versus outer information

외부 평가 Y를 보고 λ 후보 중 효과가 가장 큰 것을 고른 뒤 “묶음 밖 추정이라 선택 편향이 없다”고 했습니다. 무엇이 잘못되었고 중첩 검증은 어떻게 다른가요?

An analyst chooses the λ producing the largest effect after inspecting outer evaluation outcomes, then claims out-of-fold estimation removes selection bias. What is wrong, and how does nested validation differ?

풀이와 확인할 이유Solution and explanation

외부 결과가 설정 선택에 사용되었으므로 손대지 않은 평가가 아닙니다. 효과가 큰 방향으로 고른 기준도 관심 주장과 직접 얽힙니다.

중첩 검증은 외부 fold를 잠근 채 외부 훈련 안의 안쪽 검증으로 예측 설정을 고릅니다. 척도도 각 훈련 안에서 배우며, 선택 후 외부 훈련 전체로 재학습해 외부를 예측합니다. 그래도 인과 가정은 별도입니다.

Outer outcomes entered model selection, so they are not untouched evaluation information. Selecting the largest effect directly favors the reported claim.

Nested validation locks the outer fold, chooses prediction settings within the remaining data, and fits scaling inside each training stage before refitting on outer training. Causal assumptions remain separate.

32. 분할 산포와 표집 산포Split dispersion versus sampling dispersion

세 가상 분할 계수가 1,3,100입니다. 평균·중앙값을 구하고 중앙값 3이 참 효과라는 결론과 분할 표준편차가 효과 표준오차라는 결론을 평가하세요.

Three constructed split estimates are 1,3,100. Find mean and median, and assess claims that median 3 is the true effect or split standard deviation is an effect standard error.

풀이와 확인할 이유Solution and explanation

평균은 104/3≈34.667, 중앙값은 3입니다. 중앙값은 극단 분할에 덜 민감하지만 참값을 알려 주지 않습니다.

같은 자료의 분할 반복은 새 독립 표본이 아닙니다. 분할 산포를 표집 표준오차로 바로 바꾸지 않습니다. 극단값의 분모·학습 실패·그룹 구성 원인을 장부로 조사합니다.

The mean is 104/3 and median 3. The median is less sensitive to the extreme split, but does not establish truth.

Resplitting fixed data does not draw independent new samples. Investigate denominator, learner and grouping causes; do not automatically reinterpret split dispersion as a sampling standard error.

33. 많은 행과 적은 정책Many rows, few policies

NJPA에 384점포·383키 그룹이 있으므로 독립 정책 군집도 383개라는 주장에 답하세요. 실제 정책 상태는 NJ와 PA입니다.

Respond to the claim that 384 NJPA stores and 383 key groups provide 383 independent policy clusters, when policy states are NJ and PA.

풀이와 확인할 이유Solution and explanation

키별 그룹은 같은 원 키의 직접 누출을 막는 분할 규칙입니다. 정책 배정과 공통 충격은 주 단위일 수 있고 실제 상태는 두 주뿐입니다.

383을 정책 실험 수로 바꾸어 쓰지 않습니다. 현재 그룹 HC0는 선언한 점수 산술이며, 주 정책 효과의 유효한 추론에는 적은 배정 단위라는 제약과 추가 설계가 필요합니다.

Key groups address a direct identity-leakage channel. Policy assignment and common shocks can operate at state level, with only two states observed.

Do not relabel 383 groups as policy experiments. The displayed group HC0 is finite score algebra; validated state-policy inference faces few-assignment-unit limitations and needs further design.

34. 한 표본의 작은 오차A small error in one sample

n=10000에서 두 추정 L2 오차가 각각 0.1이라고 가정했습니다. 곱과 n⁻¹ᐟ²를 비교하세요. 이 한 숫자로 o(n⁻¹ᐟ²)를 검증할 수 있나요?

At n=10000, suppose both nuisance L2 errors are 0.1. Compare their product with n⁻¹ᐟ². Does this one value verify a little-o condition?

풀이와 확인할 이유Solution and explanation

곱은 0.01이고 n⁻¹ᐟ²도 0.01입니다. 한 표본의 같은 크기 비교는 수렴 비율이 0으로 간다는 뜻이 아닙니다.

작은 o는 n이 커지는 수열·확률 조건에 관한 주장입니다. 실제 참 함수 오차도 보통 관측하지 못합니다. 관측 Y에 대한 MSE와 L2 함수 오차를 혼동하지 않습니다.

Both the product and n⁻¹ᐟ² equal 0.01. Equality at one sample size does not show that their ratio vanishes.

Little o concerns a sequence and appropriate probabilistic conditions. True-function errors are usually unknown; prediction MSE against observed Y is not the same object.

35. 영향함수식 검산Check the influence-function form

20절 네 행은 ψ=(1/2,−1/2,−1/2,1/2),ΣV²=1입니다. Bhat와 φhat,Σφhat²/n²를 구하고 행 HC0와 비교하세요.

Section 20 has ψ=(1/2, −1/2, −1/2,1/2) and ΣV²=1. Find Bhat, φhat and Σφhat²/n², and compare row HC0.

풀이와 확인할 이유Solution and explanation

n=4라 Bhat=1/4, φhat=ψ/Bhat=(2,−2,−2,2)입니다. 제곱합 16을 n²=16으로 나누면 1입니다.

직접 행 HC0도 Σψ²/(ΣV²)²=1/1=1입니다. 같은 유한 대수이며 이 계산만으로 영향함수 점근 전개의 조건이나 신뢰구간 타당성을 증명하지 않습니다.

Bhat=1/4 and φhat=(2, −2, −2,2). Squared values sum to 16, so dividing by n²=16 gives one.

Direct row HC0 is also one. This algebraic identity does not prove the conditions for an asymptotic influence representation or valid confidence coverage.

36. 효율적이라는 말의 조건Conditions for an efficiency claim

두 그룹 점수 합이 0이라 HC0=0입니다. 따라서 이 추정량이 모든 인과 모형에서 효율적이라는 결론을 평가하세요.

Two group score sums vanish, so group HC0=0. Assess a claim that the estimator is therefore efficient in every causal model.

풀이와 확인할 이유Solution and explanation

잘못된 결론입니다. 그 0은 특정 유한 표·그룹의 상쇄이며, 표집·배정·모형의 정규성·충분한 독립 그룹을 보장하지 않습니다.

효율성은 고정한 통계 모형과 정규 추정량 계열 안에서 점근 분산 한계와 비교하는 성질입니다. 다른 의존 구조나 조건부 이분산에서 같은 단순 PLR 점수가 언제나 효율적이라고 주장하지 않습니다.

The conclusion is invalid. A finite cancellation establishes neither sampling and assignment conditions nor regularity or many independent groups.

Efficiency compares an asymptotic variance bound within a specified model and regular estimator class. The same simple PLR score is not universally efficient under different dependence or conditional-heteroskedasticity structures.

37. 군 프레임의 선택Selection of the county frame

원 500개 군에서 2004도입 20개,2006도입 40개를 제외해 2007도입 131개·미도입 309개를 비교합니다. 최종 행 수와 선택 이유를 쓰세요. 이 선택이 계산 편의를 위한 축소인가요?

From 500 counties, exclude 20 first adopting in 2004 and 40 in 2006, to compare 131 adopting in 2007 with 309 never adopters. State the frame size and rationale. Is it computational sample shrinking?

풀이와 확인할 이유Solution and explanation

500−20−40=440, 또는 131+309=440입니다. 미리 선언한 2007 도입 집단 대 관측 기간 내 미도입이라는 대상에 맞춘 선택입니다.

계산 비용 때문에 추출한 표본이 아니며 원 500군 모두 선택 장부에 남습니다. 대상 선택의 실질 타당성은 독자가 검토할 수 있어야 합니다.

The frame is 440 counties. Selection follows the declared 2007-adopter versus never-adopter target.

It is not a computational subsample, and all 500 counties remain in the selection ledger. The target choice still needs substantive justification.

38. NSW의 세 분모Three NSW denominators

원 38408행·19204명에서 실험 722명·297처치·425비교를 분석합니다. 실험 밖 사람 수와 분석 행 수를 구하고, 그들의 treated 결측을 어떻게 다루는지 쓰세요.

The native file has 38408 rows and 19204 people; the experimental frame has 722 people,297 treated and 425 comparisons. Find nonexperimental people and analysis rows, and explain their missing treatment codes.

풀이와 확인할 이유Solution and explanation

실험 밖 사람은 19204−722=18482명입니다. 두 원파동을 연결한 분석 행은 실험 사람별 1개, 총 722개입니다.

실험 밖 treated 결측은 0으로 바꾸지 않습니다. 원 사람·원행·코드·선택 사유를 보존하며, 결과 re는 기록된 실질소득이지 시급이 아닙니다.

There are 18482 nonexperimental people and 722 linked unit-level experimental analysis rows.

Do not recode nonexperimental treated missingness as zero. Preserve IDs, source rows, codes and selection reasons. Recorded re is real earnings, not an hourly wage.

39. 체인 변수의 차원Dimension of chain covariates

NJPA의 X는 이전 FTE,체인 2·3·4 더미,기업 소유입니다. 특징 차원과 절편 포함 계수 수는 얼마인가요? 네 체인 더미를 모두 절편과 넣으면 어떤 문제가 생기나요?

NJPA X consists of pre FTE, indicators for chains 2–4, and corporate ownership. How many features and coefficients including intercept? What happens if all four chain indicators accompany the intercept?

풀이와 확인할 이유Solution and explanation

특징은 5개, 절편을 포함한 계수는 6개입니다. 네 체인 더미의 합은 항상 1이므로 절편 열과 선형 종속이 됩니다.

이 장은 체인 1을 기준으로 세 더미만 사용합니다. 양수 ridge의 해가 유일하더라도 원 설계의 중복 정보를 감춘 채 무규제 계수 식별을 주장하면 안 됩니다. 체인 숫자를 순서형 연속 척도로 바꾸지도 않습니다.

There are five features and six coefficients including intercept. All four chain indicators sum to one and are collinear with the intercept.

We use chain 1 as reference. A unique regularized solution would not justify claiming unregularized coefficient identification in a redundant design. Chain codes are not treated as an ordinal continuous scale.

40. 기본 실제 결과 읽기Read a baseline actual result

군 PLR −0.067322를 “440개 국가에서 최저임금이 청소년 수를 0.067322명 감소시켰다”고 요약했습니다. 단위·대상·주장 세 측면을 고치세요.

A county PLR of −0.067322 is summarized as “minimum wages reduced teen employment by 0.067322 people across 440 countries.” Correct target, unit and claim.

풀이와 확인할 이유Solution and explanation

대상은 미국 군 440개이고 Y는 로그 청소년 고용이므로 단위는 로그 점입니다. 국가 수나 인원 수로 바꾸어 쓰지 않습니다.

고정 보조학습과 fold로 계산한 조정 잔차 비교라고 설명하고, 원 정확 분수의 짧은 표시임을 밝힙니다. 미관측 교란·정책 의존성·모형 조건을 검증하지 않고 참 인과 효과라고 단정하지 않습니다.

The units are 440 US counties and log-employment points, not countries or headcounts.

Describe the fixed-learner cross-fitted adjusted comparison and its short display of an exact fraction. Do not assert a causal effect without evidence for confounding, policy dependence and model assumptions.

41. 원 성향과 수정 성향의 경계Raw and modified propensities

실제 프레임에서 AIPW 격자만 1000에서 100으로 바꾸었는데 PLR도 바뀌었다고 합니다. 선언한 엔진에서는 가능한가요? λ를 바꾼 경우는 어떤가요?

Only the actual-data AIPW grid changes from 1000 to 100, but PLR also changes. Is that consistent with this engine? What if λ changes instead?

풀이와 확인할 이유Solution and explanation

아닙니다. 격자는 AIPW에 넣을 별도 e만 바꾸고 PLR의 원 ell,m은 유지합니다. 같은 프레임·λ·척도에서 PLR 변화는 구현이나 비교 설정을 다시 확인할 이유입니다.

λ가 바뀌면 원 보조학습 자체가 바뀌므로 PLR와 AIPW가 모두 달라질 수 있습니다. 어떤 옵션을 바꿨는지 기록하고 원·격자·사용 성향을 나란히 확인합니다.

No. The grid modifies only the separate AIPW e input; PLR retains raw ell and m. With unchanged frame, λ and scaling, a PLR change requires investigation.

Changing λ changes nuisance fitting and can alter both estimators. Record options and inspect raw, grid and used propensities separately.

42. DID와 조정 수준DID versus adjusted levels

점포 완전 쌍 DID 11/4와 이번 PLR 약 1.152629가 다릅니다. 이 사실만으로 어느 한 프로그램이 틀렸다고 결론낼 수 있나요? 비교해야 할 항목을 적으세요.

Store complete-pair DID is 11/4 while current PLR is approximately 1.152629. Does disagreement alone establish a software error? List what should be aligned.

풀이와 확인할 이유Solution and explanation

그렇지 않습니다. DID는 전후 변화 비교이고 이번 PLR는 사후 수준을 이전 FTE·체인·소유로 조정합니다. 같은 384행이어도 점수와 대상·가정이 다릅니다.

원본·선택 프레임·시간·변수·단위·배정·식별 가정·보조모형·점수·비중을 비교합니다. 수치 차이를 원하는 정책 결론에 맞춰 우열이나 편향의 증거로 바로 쓰지 않습니다.

No. DID compares changes; current PLR adjusts post levels for pre FTE, chain and ownership. Shared 384 rows do not equate scores, targets or assumptions.

Compare source, selection, timing, variables, units, assignment, identifying assumptions, nuisance learner, score and weights. Disagreement alone is neither a ranking nor evidence favoring a desired policy narrative.

43. 인물과 개념 연결Connect scholars and concepts

직교 점수·영향함수·실험 평가·시간변화 처치 문제를 36절 인물 소개와 연결하고, 인물의 명성이 실제 가정을 대신할 수 없는 이유를 쓰세요.

Connect orthogonal scores, influence functions, experimental evaluation and time-varying treatments with Section 36’s scholars. Why can reputation not replace an application’s assumptions?

풀이와 확인할 이유Solution and explanation

Neyman은 직교 점수의 역사, Newey는 준모수·영향함수, Duflo는 실험 평가, Robins는 복잡한 관측·시간변화 처치의 인과 문제와 연결해 볼 수 있습니다. DML은 여러 공동저자의 이론·절차가 결합한 연구입니다.

그 연결은 학습 지도이지 권위에 의한 결론이 아닙니다. 각 실제 사례의 원자료·배정·지지집합·단위·의존성을 별도로 확인해야 합니다.

Connect Neyman to orthogonal-score history, Newey to semiparametric influence functions, Duflo to experimental evaluation and Robins to complex longitudinal causal inference. DML combines multiple coauthors’ ideas.

These are learning connections, not authority-based validation. Each application still needs evidence about source records, assignment, support, units and dependence.

44. 영상에서 확인할 두 경계Two boundaries to inspect in the video

본문 강의를 보며 보조학습과 최종 점수의 경계를 설명하세요. 본인의 메모에 특정 시각의 말을 인용하지 않고도 검산 가능한 내용을 무엇으로 남길 수 있나요?

While watching the embedded lecture, describe the boundary between nuisance fitting and final scoring. What verifiable notes can you retain without quoting an unverified timestamp?

풀이와 확인할 이유Solution and explanation

어떤 행으로 무엇을 예측했는지와, 어떤 밖 예측·관측 Y,D로 점수를 계산했는지를 구분해 도식화합니다. 관심 계수 미분과 보조함수 방향 미분도 따로 적습니다.

직접 네 행 표·M₀,M₁,M₂ 전개·분자·분모를 재현해 남깁니다. 강의의 표집·학습·대상 조건을 이 장 실제 사례에 자동 대입하지 않습니다.

Diagram which rows fit which predictions, and which held-out predictions and observed outcomes form the score. Separate differentiation in θ from differentiation along nuisance directions.

Retain a self-computed four-row table, polynomial expansion, numerator and denominator. Do not automatically transfer the lecture’s sampling, learning or target assumptions to the actual cases.

45. 마지막 숫자만 같은 재현Reproduction with only the final number matching

원행·fold가 다르지만 최종 PLR가 소수 셋째 자리까지 같습니다. 재현 성공이라고 할 수 있나요? 비교할 중간 산출물을 순서대로 적으세요.

Source rows and folds differ, but final PLR agrees to three decimals. Is reproduction established? List intermediate comparisons in order.

풀이와 확인할 이유Solution and explanation

아닙니다. 원 토큰·선택 프레임·행 ID·그룹·fold·단위부터 확인합니다. 이어 훈련 멤버십·척도·계수·밖 예측·잔차·점수·집계를 대조합니다.

최종 근삿값의 우연한 일치로 다른 대상을 같은 재현이라고 부르지 않습니다. 숫자 차이를 덮어쓰기보다 실제 Python/R 출력을 남겨 허용오차와 민감 경계를 따로 검토합니다.

No. Compare source tokens, selection, IDs, groups, folds and units first; then training memberships, scaling, coefficients, predictions, residuals, scores and aggregation.

A coincidental rounded agreement does not reproduce the same target. Retain actual Python/R outputs rather than overwriting differences, and assess tolerances and sensitive boundaries.

46. 이차 나머지의 부호The sign of a quadratic remainder

모집단 전개 조건을 가정하고 θ₀=1,rm=1/10,rℓ=1/5가 일정합니다. 점수 평균의 이차 차이를 구하세요. 양의 보조오차이면 점수 변화도 반드시 양수인가요?

Under the population expansion conditions, let θ₀=1, constant rm=1/10 and rℓ=1/5. Compute the quadratic mean-score difference. Must positive nuisance errors always give a positive change?

풀이와 확인할 이유Solution and explanation

rmrℓ−θ₀rm²=1/50−1/100=1/100입니다.

항이 두 개이고 두 번째는 빼므로 일반적으로 부호가 고정되지 않습니다. 예를 들어 같은 θ₀,rm에 rℓ=0이면 −1/100입니다. 이 평균 차이와 계수의 최종 변화는 분모·표본 변동까지 고려해 구분합니다.

The difference is 1/50−1/100=1/100.

The subtraction prevents a universal sign claim. With the same θ₀ and rm but rℓ=0, it is −1/100. A mean-score shift and a final coefficient shift must also be distinguished through denominator and sampling behavior.

47. 정확 Python과 근사 RExact Python and approximate R

Python의 정확 분수와 R 근사에서 아주 작은 차이가 있습니다. 양쪽 표를 같게 보이려고 R 출력에 Python 값을 넣어도 되나요? 격자 경계는 왜 별도 검사하나요?

Exact Python fractions and approximate R values differ slightly. May R output be replaced by Python values to make the tables agree? Why inspect grid boundaries separately?

풀이와 확인할 이유Solution and explanation

안 됩니다. 실제 R 결과와 원 실행·입력을 보존하고, 방정식·원 토큰·단위·수치 조건·허용오차를 검토합니다. 정확 산술과 측정의 진실도 별도입니다.

격자 중간값·0분모·지원집합 경계에서는 작은 수치 차이가 이산 선택이나 정의 상태를 바꿀 수 있습니다. 모든 차이를 같은 상대오차 기준으로만 덮지 않습니다. 원분수와 표시·근사 상태를 구분합니다.

No. Preserve actual R results and examine equations, tokens, units, conditioning and declared tolerances. Exact arithmetic is also distinct from measurement truth.

Near a grid tie, zero denominator or support boundary, a tiny difference can change a discrete decision or defined status. A single relative-error rule does not resolve every boundary; retain exact and approximate display meanings.

48. 정직한 실제 결론An honest actual conclusion

NJPA 기본 결과를 세 문장으로 요약하세요. 분모·설정·수치, 해석의 한계, 다음 필요한 근거를 각각 한 문장에 넣습니다.

Summarize the NJPA baseline in three sentences: denominator/settings/result, interpretive limits, and next required evidence.

풀이와 확인할 이유Solution and explanation

예: “원 410행 중 두 FTE가 관측된 384행을 고정 5fold·훈련 range·λ=1/100으로 조정한 PLR는 약 1.152629 FTE이고, 명시적 격자 AIPW는 약 0.912250 FTE다.”

“이 값들은 사후 수준의 유한 조정 비교이며, 두 주 정책의 비혼란성·독립 배정·충분한 nuisance rate나 외적 타당성을 자동으로 입증하지 않는다.” “다음에는 주별 동시 충격·관측 선택과 배정 단위를 조사하고, 앞 장 DID와 대상·가정을 정렬해 비교하겠다.” 수치만 원하는 방향으로 강조하는 문장과 구분합니다.

Example: “Among 384 complete-FTE records from 410 originals, the fixed-five-fold, training-range, λ=1/100 PLR is approximately 1.152629 FTE, and explicit-grid AIPW approximately 0.912250 FTE.”

“These are finite adjusted post-level comparisons, not automatic proof of state-policy unconfoundedness, independent assignment, nuisance rates or external validity.” “Next investigate state shocks, observation selection and assignment units, and align targets and assumptions with the preceding DID.”

자료와 출처Data and sources

실습에 추가한 실제 입력과 출처Additional observed lab inputs and provenance

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

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

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