METR-23 · ECONOMETRICS

교육·임금 IV와 경제 패널의 재현Replicating schooling/wage IV and economic panels

학교가 가까우면 교육의 효과를 알 수 있을까? 같은 사람·나라·기업의 기록에서 단위와 투영, 가정과 결론을 차근차근 구분한다.Can college proximity reveal schooling effects? Work carefully from person, country and firm records through units, projections, assumptions and conclusions.

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

학부Undergraduate

1. 계수 하나보다 재현 경로1. Reproduce the path, not only one coefficient

누군가 “교육을 1년 더 받으면 임금이 얼마나 달라질까?”라고 묻습니다. 대학을 오래 다닌 사람과 짧게 다닌 사람의 평균 임금을 빼는 것은 시작입니다. 그러나 교육 연수 외에도 가정환경·건강·지역·능력·일자리 선택이 다를 수 있습니다. 관측에서 얻은 차이와 교육을 바꾸었을 때의 차이는 같은 질문이 아닙니다. 이 장은 그 간격을 숨기지 않고 수치를 다시 만드는 연습입니다.

재현은 마지막 계수의 자릿수만 맞추는 일이 아닙니다. 원파일에서 어떤 사람을 남겼는지, 임금을 그대로 썼는지 기록된 로그를 썼는지, 무엇을 함께 조정했는지, 어떤 대학 접근성 변수를 도구로 삼았는지를 차례로 잇습니다. 같은 숫자를 얻어도 다른 표본·다른 단위에서 나왔다면 같은 분석을 재현한 것이 아닐 수 있습니다.

개인 사례에는 실제 공개 NLS 기록을, 국가 사례에는 실제 World Bank 연간 값을 사용합니다. 기업 사례는 공식 Stata 교육용 기업 패널로 계산법을 확인합니다. 마지막 자료는 배포자가 소프트웨어 설명용이며 일부 자료가 바뀌었을 수 있다고 명시하므로, 새로운 산업 사실을 발견했다고 주장하는 용도로 쓰지 않습니다. 실제 파일을 사용하는 것과 자료의 원래 용도를 존중하는 일을 함께 합니다.

읽는 순서는 질문→원행→변수와 단위→표본→투영과 추정→해석입니다. 먼저 작은 가상 표에서 손으로 계산한 뒤 실제 전체 표본으로 갑니다. 결과가 마음에 들지 않아도 행을 조용히 지우지 않고, 무엇이 바뀌었는지 장부에 적습니다. 반박할 수 있는 분석은 다른 사람이 같은 경로를 따라가며 어디에서 동의하지 않는지 말할 수 있는 분석입니다.

Suppose someone asks how one more year of schooling would change wages. Comparing people with different education is a starting observation. Family circumstances, health, location, ability and job choices may also differ. An observed comparison and an intervention on schooling are different questions. This chapter reconstructs numbers while keeping that gap visible.

Replication concerns more than matching the last digits of a coefficient. Trace which people remain, whether the outcome is raw wage or a recorded logarithm, which controls are included and which college-proximity variable is an instrument. Identical numbers from different frames or units need not reproduce the same analysis.

The person case uses actual public NLS records, and the country case uses actual World Bank annual values. The firm case uses an official Stata instructional panel. Its publisher warns that examples demonstrate software features and may have been altered; we do not use it to announce a new industry fact. Respecting a source’s purpose accompanies using its actual files.

Follow question, source rows, variables and units, frame, projection, estimation and interpretation. Start with a constructed hand calculation, then retain the full declared actual sample. Record changes instead of silently removing inconvenient records. A contestable analysis lets another person follow the path and identify a specific disagreement.

학부Undergraduate

2. 개인·국가·기업의 관측 단위2. Person, country and firm units

“행”은 파일에서 한 줄에 해당하는 기록입니다. 개인 자료 한 행은 1976년 남성 한 명입니다. 국가 패널 한 분석 행은 한 국가의 한 해입니다. 기업 패널 한 행은 한 기업의 한 해입니다. 세 파일의 행 수를 더해 하나의 큰 독립 표본이라고 부르면 안 됩니다. 같은 국가·기업이 여러 해 등장하면 그 행들은 같은 단위의 반복 기록입니다.

NLS 원본에는 3613명이 있습니다. 성장률·실업 변화 사례에는 선정한 16개국의 2010–2024년 분석 행 240개가 있습니다. 실업률 변화를 만들기 위해 2009년 원값도 보존하므로 원 지표 파일의 범위와 분석 연도 범위가 다릅니다. 기업 자료는 140개 기업의 1031개 기업·연도 기록으로, 모든 기업이 같은 해 수를 갖는 균형 패널이 아닙니다.

1976년 명목 센트/시간, 기록 로그 시급, GDP의 연간 성장률 %, 실업률 변화의 %포인트, 기업의 기록 로그 고용은 서로 다른 단위입니다. 예컨대 실업률이 4%에서 5%가 되면 변화는 1%포인트입니다. 원 수준에 대한 상대 변화율은 25%여서 숫자가 다릅니다. 이 장의 국가 X는 앞의 1%포인트를 사용합니다.

행과 반복 단위를 먼저 이름 붙이기
자료한 분석 행반복 단위주요 결과 단위
NLS1976년 개인이 장은 단면기록 로그 시급
국가국가·연도같은 국가연간 GDP 성장률 %
기업 교육용 패널기업·연도같은 기업기록 로그 고용

반복 단위는 나중에 평균을 빼거나 점수 기여를 묶을 때 사용합니다. 그렇다고 기업별로 묶기만 하면 서로 다른 기업의 충격이 독립적이라는 가정이 자동으로 맞는 것은 아닙니다. 같은 해 경기 충격, 연결된 공급망, 같은 지역의 정책처럼 단위 사이를 잇는 요인이 남을 수 있습니다.

A row is one record in a file. One NLS row represents a man in the 1976 cross-section. One analytical country-panel row is a country-year, and one firm-panel row is a firm-year. Adding their row counts does not create one large independent sample. Repeated years for the same country or firm belong to the same observational unit.

There are 3613 native NLS people. The country analysis has 240 target rows for 16 selected countries in 2010–2024. Original 2009 unemployment is also retained to construct changes, so the source range differs from the target range. The instructional firm panel has 1031 records for 140 firms, with unequal observation counts across firms.

Nominal 1976 cents/hour, recorded log wage, annual GDP growth percent, unemployment changes in percentage points and stored log employment are different units. A move from 4% to 5% unemployment is one percentage point; its relative increase is 25%. Country X uses the former.

Name rows and repeated units first
SourceOne analytical rowRepeated unitMain outcome unit
NLSPerson in 1976Cross-section hereRecorded log wage
CountryCountry-yearSame countryAnnual GDP growth percent
Instructional firm panelFirm-yearSame firmStored log employment

The repeated unit is used when subtracting means or grouping score contributions. Grouping by firm does not establish independence across firms. Common business cycles, supply chains and regional policies may connect those units.

학부Undergraduate

3. 원본·버전·가공 정의3. Originals, vintages and transformations

재현 폴더에는 원파일과 분석용 사본을 나란히 둡니다. 원 ZIP은 코드북·자료·예제 SAS를 담고, 원 DTA는 숫자의 저장 방식까지 보존합니다. 해시 SHA-256은 파일 바이트의 지문입니다. 내용 한 글자나 줄바꿈이 달라져도 지문이 달라질 수 있습니다. 이는 파일이 같다는 확인이지 파일의 경제적 주장이 옳다는 확인이 아닙니다.

World Bank 원 JSON에는 제공자 갱신일 2026-10-08이 기록되어 있습니다. 이 날짜를 우리가 내려받은 시각으로 바꾸어 부르지 않습니다. 보존된 파일의 정확한 옛 요청 URL과 최초 다운로드 시각은 기록되어 있지 않으므로 그 한계도 남깁니다. 같은 API를 오늘 호출하면 과거 수치가 개정되어 달라질 수 있습니다. 로컬 사본 재현과 과거 시점에 실제 이용 가능했던 정보의 재구성은 다른 작업입니다.

숫자의 저장 방식도 구별합니다. NLS의 원 소수 토큰은 그 기록 문자열의 정확한 유리수로 계산합니다. DTA의 부동소수 값은 저장된 이진수를 정확한 분수로 보존합니다. 이 정확성은 계산기의 산술에 관한 것이지, 인터뷰 임금이나 기업 고용을 오차 없이 측정했다는 뜻은 아닙니다.

가공 정의는 간단한 말과 식을 같이 적습니다. 잠재경험은 나이−교육−6, 경험 제곱 열은 그 값의 제곱/100입니다. 원 SAS는 제곱을 100으로 나누지 않지만 이는 열의 단위를 바꾸는 변환입니다. 같은 통제공간을 유지하면 교육 계수와 적합값은 같고 그 제곱 열의 계수는 그에 맞게 달라집니다. 원본을 덮어쓰기보다 새 열과 변환 설명을 남깁니다.

potential experience=age76−ed76−6,C2=experience2/100.\text{potential experience}=\text{age76}-\text{ed76}-6,\qquad C_2=\text{experience}^2/100.

Keep original files beside analytical copies. The ZIP contains a codebook, data and example SAS; the DTA preserves numeric storage. SHA-256 fingerprints bytes. A changed character or line ending may change that fingerprint. Matching files is not a validation of their economic claims.

The retained World Bank JSON records provider last-updated date 2026-10-08. That is not our acquisition time. The precise historical query URL and initial download timestamp were not archived. A request today may return revised historical values. Reproducing a retained local copy differs from reconstructing information actually available in an earlier year.

Distinguish representations too. Native NLS decimal tokens are calculated as their exact rational values. DTA floating values are preserved as exact fractions of their stored binary values. Arithmetic exactness does not imply error-free wage interviews or employment measurement.

State transformations in words and equations. Potential experience is age minus schooling minus six; the squared control here divides its square by one hundred. Native SAS uses the unscaled square. This rescales a column. Preserving the control space preserves the schooling coefficient and fitted values while changing that nuisance coefficient’s unit. Retain the original and explain the new column.

potential experience=age76−ed76−6,C2=experience2/100.\text{potential experience}=\text{age76}-\text{ed76}-6,\qquad C_2=\text{experience}^2/100.
학부Undergraduate

4. 3017개 시급과 3010개 기록 로그4. 3017 observed wages versus 3010 recorded logs

원 시급 wage76가 관측된 기록은 3017개입니다. 그렇다고 기록 로그 lwage76도 3017개라고 가정하면 안 됩니다. 코드북은 이 로그를 이상치가 정리된 값으로 설명하고, 실제로 관측된 로그는 3010개입니다. 원 시급이 있으나 기록 로그가 없는 원행은 712·813·1180·1423·1807·3091·3301입니다. 원 ID와 별개인 이 원행 번호를 보존하여 누구를 셌는지 추적할 수 있게 합니다.

여기서는 원 로그를 없는 값 대신 직접 계산해 끼워 넣지 않습니다. 그렇게 하면 제공된 변수의 표본 정의를 바꾸기 때문입니다. “원 로그를 사용한 분석”과 “관측된 모든 원 시급에 새 로그를 적용한 분석”은 각각 할 수 있는 연구이지만 구분해서 선언해야 합니다. 기록 로그의 결측만 보고 일하지 않았거나 설문에 응답하지 않았다고도 단정하지 않습니다.

로그는 곱셈을 덧셈으로 바꾸어 비례 변화의 질문을 다루기 좋게 합니다. 같은 통제를 고정한 적합 로그 임금의 교육 기울기 β는 교육 1년당 로그 점입니다. 적합 로그값을 ℓ(E), 이를 지수로 돌린 값을 W̃(E)=exp(ℓ(E))라 두면 한 단위의 W̃ 비율 변화는 exp(β)−1입니다. 작은 β일 때 이를 100β%로 근사합니다. W̃는 산술평균 임금과 자동으로 같지 않습니다. 산술평균 임금의 비율에도 같은 식을 쓰려면 잔차 분포에 관한 추가 조건이 필요합니다. 지수 변환의 수치 표시는 유리수 회귀 산술과도 구별합니다.

ℓ(E+1)−ℓ(E)=β,W~(E):=exp⁡(ℓ(E)),W~(E+1)W~(E)−1=exp⁡(β)−1.\ell(E+1)-\ell(E)=\beta,\qquad \widetilde W(E):=\exp(\ell(E)),\qquad \frac{\widetilde W(E+1)}{\widetilde W(E)}-1=\exp(\beta)-1.

센트/시간에서 달러/시간으로 바꾸어도 같은 연도 안의 단위만 바뀝니다. 로그에서는 상수 log(100)을 빼므로 절편이 이동하고 같은 표본·식의 기울기는 그대로입니다. 연도별 물가 조정이나 다른 사람의 소득 증가를 수행한 것은 아닙니다. 본문 표에는 기본적으로 “로그 점/교육 연수”를 표시하여 근사 %와 섞지 않습니다.

Native wage76 is observed for 3017 records. Do not assume the same count for lwage76. The codebook labels this log as outlier-trimmed, and only 3010 recorded logs are observed. Source rows 712, 813, 1180, 1423, 1807, 3091 and 3301 have raw wages but missing recorded logs. Source-row numbers are preserved separately from native IDs.

We do not fill those items by computing new logs. Doing so would change the supplied variable’s frame. An analysis of recorded logs and one of newly logged raw wages can each be declared, but they are different analyses. A missing log item does not establish unemployment or survey nonresponse.

Logarithms turn multiplication into addition. At fixed controls, a fitted log-wage schooling slope β has units of log points per year. Let ℓ(E) denote the fitted log value and define W̃(E)=exp(ℓ(E)). Its one-unit proportional change is exp(β)−1, approximated by β for small β. W̃ is not automatically the arithmetic mean wage. Applying the same ratio to arithmetic mean wages needs additional residual-distribution conditions. Numerical exponentiation is also separate from exact rational regression algebra.

ℓ(E+1)−ℓ(E)=β,W~(E):=exp⁡(ℓ(E)),W~(E+1)W~(E)−1=exp⁡(β)−1.\ell(E+1)-\ell(E)=\beta,\qquad \widetilde W(E):=\exp(\ell(E)),\qquad \frac{\widetilde W(E+1)}{\widetilde W(E)}-1=\exp(\beta)-1.

Changing cents/hour to dollars/hour within the same year subtracts log(100) from log wages. It shifts the intercept but preserves slopes on the same frame and equation. It neither adjusts prices across years nor changes anyone’s income. Default tables use log points per schooling year rather than silently substituting approximate percent.

학부 심화 · 선택Advanced undergraduate · optional

5. 같은 완전 프레임으로 식 비교5. Compare equations on one complete frame

두 추정치가 다를 때는 먼저 같은 사람을 비교했는지 봅니다. 도구·통제변수를 늘리면서 결측 때문에 사람이 빠지면, 추정 방법의 차이와 표본 구성의 차이가 함께 움직입니다. 두 숫자를 단순히 “OLS와 IV의 차이”라고 부르면 그 두 원인을 분리하지 못합니다. 작은 표에서 전체 요구 변수를 먼저 나란히 놓으면 이 문제를 볼 수 있습니다.

새 변수를 요구할 때 표본도 바뀔 수 있다
가상 IDYXZC모든 변수 공통 프레임
a1000포함
b3111포함
c42결측0제외 · 도구 결측
d531결측제외 · 통제 결측

이 표의 단순 Y–X 관계에는 네 행을 쓸 수 있지만 전체 통제·도구 식에는 a와 b만 남습니다. 같은 방법을 비교하려면 처음부터 a·b 공통 프레임에서 두 식을 계산하는 길과, 각 식의 가용 표본을 사용하되 표본 변경을 함께 보고하는 길이 있습니다. 어느 쪽인지 명시하지 않은 채 계수의 크기만 비교하지 않습니다.

실제 NLS 기본 프레임은 기록 로그·교육·선언한 14개 통제·두 대학 접근성 도구가 모두 있는 3010명입니다. 단일 도구 nearc4와 두 도구 보기를 비교할 때도 이 공통 프레임을 유지합니다. 교육 경험식은 나이와 교육으로 만들므로 교육의 영향을 받지 않는 순수한 외생 통제라고 자동으로 정당화되는 것도 아닙니다. 어떤 조건부 질문을 묻는지 적습니다.

완전 프레임을 고정하면 산술 비교가 명확해지지만 선택 편의가 사라지는 것은 아닙니다. 로그가 없는 사람, 표본에 처음부터 들지 않은 사람, 다른 연령·성별 집단의 결과를 자동으로 설명하지 않습니다. 패널에서도 같은 완전 프레임에서 평균을 빼고, 원행과 제외 이유는 장부에 남깁니다. 원본의 3613을 분석의 3010으로 바꾸어 적어 원행 수를 잃지 않습니다.

When two estimates differ, first ask whether they concern the same people. Adding instruments or controls may remove records with missing items. A change of method and a change of composition then move together. Calling the difference simply OLS versus IV fails to separate them. A small table with every required variable makes the issue visible.

Requiring another variable can change the frame
Constructed IDYXZCAll-variable common frame
a1000Included
b3111Included
c42Missing0Excluded: instrument missing
d531MissingExcluded: control missing

All four rows can enter a simple Y–X comparison, but only a and b enter the full controlled IV equation. Compare methods on that common frame, or explicitly report each available-frame change alongside its estimate. Do not compare coefficient magnitudes without naming the choice.

The actual NLS baseline uses 3010 people complete in recorded log wage, schooling, the 14 declared controls and both college-proximity instruments. The nearc4 and two-instrument views retain this common frame. Constructed experience depends on age and schooling, so its status as an exogenous control also requires justification. State the conditional question.

Fixing a common frame clarifies arithmetic without eliminating selection bias. It does not automatically describe missing-log people, initially unsampled people or other ages and genders. Panel means likewise use the same complete frame while original rows and exclusion reasons remain in the ledger. Keep the native count 3613 separate from the analytical count 3010.

학부 심화 · 선택Advanced undergraduate · optional

6. 교육·경험·조정 변수의 질문6. Schooling, experience and controls

교육 연수가 긴 사람의 시급이 높을 때, 교육과 함께 달라지는 나이·지역·환경을 어떻게 다룰까요? 회귀의 통제변수는 “비교할 때 함께 놓을 조건”을 식의 열로 표현합니다. 통제를 추가하면 무조건 진실에 가까워진다는 규칙은 없습니다. 무엇을 고정한 비교를 원하는지, 그 조건이 처치의 결과인지, 측정이 충분한지부터 생각합니다.

실제 NLS 식에는 잠재경험, 그 제곱/100, 기록된 흑인 여부, 1976년 대도시권 여부, 1976년 남부 여부, 1966년 대도시권 여부와 1966년 지역 더미 8개를 둡니다. 코드북의 reg76r는 “1976년 남부에 있는가”인 0/1 값입니다. 이름에 reg가 들어 있다는 이유만으로 네 지역을 나타내는 범주 코드라고 읽지 않습니다. 변수명과 설명을 함께 읽는 이유입니다.

잠재경험=나이−교육−6은 실제로 일한 기간을 직접 물어본 값이 아닙니다. 나이 28세, 교육 16년이면 6년입니다. 휴학·군복무·돌봄·실업이 있었다면 실제 취업 경험과 다를 수 있습니다. 교육을 늘리면 같은 나이에서 이 잠재경험 값도 줄어듭니다. 따라서 이를 함께 고정한 교육 기울기는 단순히 나이만 고정한 변화와도 다릅니다.

여기서 통제는 원 식을 재현하는 선언이지 모든 통제가 외생적이라는 증명이 아닙니다. 대학 접근성이 가족의 거주 선택과 관련되거나, 교육으로 구성한 경험을 조건으로 삼는 일이 다른 선택을 만들 수 있습니다. “통제했으니 끝” 대신 어떤 조건부 독립·배제 가정이 필요한지를 적습니다. IQ나 부모 교육 같은 추가 열도 있다는 이유만으로 무조건 넣지 않고 다른 식으로 선언합니다.

When more-schooled people earn higher wages, how should age, location and background be handled? Controls encode conditions used in a comparison as regression columns. Adding controls is not a universal route to truth. Ask which conditions the question holds fixed, whether they follow treatment and how adequately they are measured.

The actual baseline includes potential experience, its square divided by 100, recorded Black status, 1976 metropolitan status, 1976 South status, 1966 metropolitan status and eight 1966 region dummies. Native reg76r is a zero/one South indicator, not a four-region category inferred from its name. Read labels alongside variable names.

Potential experience, age minus schooling minus six, is not directly observed years worked. A 28-year-old with 16 years of schooling has six potential years. Military service, caregiving, unemployment or interruptions can separate this from actual employment experience. Increasing schooling at fixed age also reduces this constructed experience. Holding it fixed therefore defines a different comparison.

These controls declare a replicated specification; they do not prove every column exogenous. College proximity may relate to residential selection, and conditioning on experience constructed from schooling may introduce additional issues. State conditional independence and exclusion requirements rather than treating adjustment as the end of the argument. Further IQ or family-education columns define additional specifications, not automatic improvements.

학부 심화 · 선택Advanced undergraduate · optional

7. 통제 변수를 먼저 빼 보는 FWL7. Partial controls first with FWL

수학을 시작하기 전에 다음 여섯 가상 기록을 봅니다. C=0인 세 기록의 X 평균은 1, Y 평균은 3입니다. C=1인 세 기록의 X 평균은 1, Y 평균은 4입니다. 각 행에서 자기 C 그룹의 평균을 빼면 “같은 C에서 예상한 수준보다 얼마나 높거나 낮은가”가 남습니다. 이 특별한 이진 C 예에서는 절편과 C를 조정하는 선형회귀가 그룹 평균을 빼는 것과 같습니다.

그룹별 예상 수준을 뺀 여섯 가상 행
가상 IDCXY남은 X남은 Y
a001-1-2
b11400
c02512
d102-1-2
e01300
f12612

남은 X 제곱합은 4, 남은 X×남은 Y의 합은 8입니다. 따라서 남은 것끼리의 기울기는 8/4=2입니다. 원 Y를 절편·X·C에 함께 회귀해도 X 계수는 2입니다. 이것이 FWL 정리를 손으로 보는 첫 예입니다. 임의의 연속 통제에서는 단순 그룹 평균 대신 그 통제 열이 만드는 선형 적합값을 뺍니다.

MC=I−PC,Y~=MCY,X~=MCX,β^OLS=X~TY~X~TX~.M_C=I-P_C,\qquad \widetilde Y=M_CY,\quad \widetilde X=M_CX,\qquad \widehat\beta_{OLS}=\frac{\widetilde X^{\mathsf T}\widetilde Y}{\widetilde X^{\mathsf T}\widetilde X}.

C는 여기서 절편을 포함한 통제 행렬이고 P_C는 그 열공간으로의 직교투영입니다. 중복 열이 있어 계수 표현이 유일하지 않아도 그 열공간에 대한 적합값과 잔차는 유일합니다. 역행렬을 억지로 계산하기보다 rank와 가능한 계수 방향을 보존하는 이유입니다. 남은 X 제곱합이 0이면 이 비율로 X 기울기를 식별할 수 없습니다.

“빼기”는 관측되지 않은 모든 능력이나 지역 차이를 지웠다는 뜻이 아닙니다. 선언한 열의 선형 적합 부분을 뺐다는 유한 산술입니다. 통계적 독립성이나 인과성이 자동으로 생기지 않습니다. 아래 실습에서 통제 열을 상수로 바꾸거나 같은 열을 두 번 넣어 적합 잔차와 계수 식별이 어떻게 다른지 확인합니다.

Begin with six constructed records. For C=0, mean X is one and mean Y is three. For C=1, mean X is one and mean Y is four. Subtract each row’s C-group means to retain its deviation from the level predicted at that C. In this binary example, adjusting for an intercept and C is exactly group-mean subtraction.

Six constructed rows after subtracting C-group predictions
Constructed IDCXYResidual XResidual Y
a001-1-2
b11400
c02512
d102-1-2
e01300
f12612

The residual-X sum of squares is four and its crossproduct with residual Y is eight. The residual slope is 8/4=2, equal to the X coefficient from regressing original Y jointly on an intercept, X and C. This is a hand-worked FWL example. For general continuous controls, subtract their linear fitted values rather than arbitrary group means.

MC=I−PC,Y~=MCY,X~=MCX,β^OLS=X~TY~X~TX~.M_C=I-P_C,\qquad \widetilde Y=M_CY,\quad \widetilde X=M_CX,\qquad \widehat\beta_{OLS}=\frac{\widetilde X^{\mathsf T}\widetilde Y}{\widetilde X^{\mathsf T}\widetilde X}.

C denotes the control matrix including an intercept; P_C is the orthogonal projection onto its column space. Duplicate columns can leave coefficients nonunique while fitted projections and residuals remain unique. Retain rank and coefficient directions rather than forcing an inverse. If residual X has zero sum of squares, this ratio does not identify its slope.

Subtraction removes the finite linear fit of the declared columns, not every unobserved ability or regional difference. It creates neither statistical independence nor causality. In the lab, replace a control by a constant or duplicate it to distinguish residual predictions from coefficient identification.

학부 심화 · 선택Advanced undergraduate · optional

8. 남은 도구와 남은 교육8. Residual instruments and schooling

IV에서도 교육과 임금만 조정하면 부족합니다. 원 도구 Z에도 통제변수가 설명하는 부분이 있습니다. 같은 C를 사용하여 Y·X·Z 모두에서 그 선형 적합값을 뺍니다. 단일 도구이면 남은 대학 접근성이 남은 교육과 어떻게 함께 움직이는지, 남은 임금과는 어떻게 움직이는지 비교합니다. 여러 도구도 각각 같은 방법으로 조정합니다.

Z~=MCZ,CTY~=CTX~=CTZ~=0.\widetilde Z=M_CZ,\qquad C^{\mathsf T}\widetilde Y=C^{\mathsf T}\widetilde X=C^{\mathsf T}\widetilde Z=0.

직교라는 말은 이 표에서 통제 열과 잔차의 곱을 모두 더하면 0이라는 뜻입니다. 절편이 C에 들어 있으므로 잔차의 합도 0입니다. 이 계산은 맞더라도 독립성을 뜻하지 않습니다. 예를 들어 X와 X²의 공분산이 0인 대칭 분포가 있어도 X를 알면 X²에 관해 알게 됩니다. 곱의 합이 0인 것과 두 변수가 정보를 주고받지 않는 것은 다릅니다.

원 nearc4가 0/1이라고 남은 도구도 0/1이어야 하는 것은 아닙니다. 어떤 행의 원 Z가 0, 선형 예상값이 0.7이면 남은 Z는 −0.7입니다. 이는 음수인 대학 접근성이나 음수인 확률이 아닙니다. 원 이진 변수에서 선형 예측을 뺀 값입니다. 선형 예측값을 참 조건부 확률로 자동 해석하지도 않습니다.

통제 C가 Z를 완전히 설명하면 남은 Z는 전부 0입니다. 원 자료에서 대학 가까이에 산 사람이 많이 있다는 사실만으로 조정 후 관련성이 남는 것은 아닙니다. 반대로 조정 후 변동이 있더라도 배제 가정을 입증한 것은 아닙니다. 관측된 대학 접근성·교육·임금을 연결한 그림은 이 세 층을 구분해서 읽습니다.

IV requires adjusting the instrument too. Original Z can contain a component predicted by C. Residualize Y, X and every instrument using the same controls and common frame. With one instrument, compare how residual college proximity moves with residual schooling and residual wages.

Z~=MCZ,CTY~=CTX~=CTZ~=0.\widetilde Z=M_CZ,\qquad C^{\mathsf T}\widetilde Y=C^{\mathsf T}\widetilde X=C^{\mathsf T}\widetilde Z=0.

Orthogonality means that the sample crossproduct of each control column and residual is zero. Including an intercept also makes residual sums zero. This does not mean independence. A symmetric distribution can give zero covariance between X and X² even though knowing X reveals X². Zero crossproducts differ from an absence of information.

Residual nearc4 need not be binary. If original Z is zero and its linear prediction is 0.7, the residual is −0.7. That is neither negative college access nor a negative probability. It is a deviation from a linear fitted value. The linear prediction is not automatically the true conditional probability.

If controls completely explain Z, residual Z is zero everywhere. Many people living near a college in the original file do not ensure adjusted relevance. Remaining variation likewise does not prove exclusion. Read source access, schooling and wage plots as distinct layers.

학부 심화 · 선택Advanced undergraduate · optional

9. 관련성·독립성·배제의 차이9. Relevance, independence and exclusion differ

도구의 세 질문을 나누어 봅니다. 관련성은 도구가 교육을 움직이는가입니다. 독립성은 도구가, 필요한 조건 아래, 구조적 오차와 관련되지 않는가입니다. 배제는 도구가 교육 이외의 경로로 임금을 직접 바꾸지 않는가입니다. 첫 단계 회귀는 주로 첫 질문의 관측된 선형 부분을 다룹니다. 나머지 두 질문의 답을 그 통계량 하나에 맡길 수 없습니다.

작은 가상 모집단에서 Z와 U가 서로 독립이고 각각 −1과 1을 반반 갖는다고 선언합니다. 네 조합에 같은 확률을 주고 X=Z+U, Y=2X+U라고 정합니다. 여기서 U는 X와 관련된 숨은 요인입니다. 실제 NLS를 단순화해 측정한 표가 아니라, 가정과 계산의 관계를 보기 위해 만든 네 점 모집단입니다.

독립 Z·U를 선언한 가상 모집단 · 각 셀 확률 1/4
가상 Z가상 UX=Z+UY=2X+U
-1-1-2-5
-1101
1-10-1
1125

이 모집단에서 Var(X)=2, Cov(X,Y)=5이므로 OLS 기울기는 5/2입니다. Cov(Z,X)=1, Cov(Z,Y)=2이므로 IV 비율은 2입니다. 구조식에 직접 적어 둔 X의 계수도 2입니다. U가 X에 들어가 OLS 비교를 흔들지만 Z는 U와 독립이고 Y에 직접 들어가지 않도록 우리가 가정을 설계했기 때문입니다.

이제 Y=2X+U+0.5Z로만 바꾸면 어떨까요? 관련성과 Z–U 독립성은 그대로지만 배제가 깨집니다. IV 비율은 2.5가 되어 구조적 X 계수 2와 달라집니다. 첫 단계 자료 X와 Z를 바꾸지 않았으므로 첫 단계의 적합·F도 그대로입니다. 좋은 첫 단계만으로 직접 경로가 없음을 검증할 수 없다는 구체적인 반례입니다.

Separate three questions. Relevance asks whether the instrument moves schooling. Independence asks whether it is unrelated to the structural error under the required conditions. Exclusion asks whether it affects wages through a route other than schooling. A first-stage regression examines mainly observed linear relevance; its statistic cannot answer all three questions.

Construct a population where independent Z and U each take −1 or 1 with equal probability. Give the four combinations probability one quarter and define X=Z+U, Y=2X+U. U is an unobserved factor correlated with X. This is a declared four-point population for studying assumptions, not measured NLS observations.

Declared independent Z and U; each constructed cell has probability 1/4
Constructed ZConstructed UX=Z+UY=2X+U
-1-1-2-5
-1101
1-10-1
1125

Here Var(X)=2 and Cov(X, Y)=5, so the OLS slope is 5/2. Cov(Z, X)=1 and Cov(Z, Y)=2 give IV ratio two, equal to the structural X coefficient we declared. U enters X, while our assumptions keep Z independent of U and out of Y’s direct equation.

Change only Y to 2X+U+0.5Z. Relevance and Z–U independence remain, but exclusion fails. The IV ratio becomes 2.5 although the structural X coefficient remains two. Since X and Z did not change, first-stage fit and F do not change. This is a concrete counterexample to using a strong first stage as a test of no direct effect.

학부 심화 · 선택Advanced undergraduate · optional

10. 단일 도구 Wald 비율의 단위10. Units of the just-identified Wald ratio

단일 도구에서 통제 후 남은 도구의 제곱합이 양수라고 하겠습니다. 교육을 남은 도구에 회귀한 첫 단계 기울기를 π, 임금을 남은 도구에 회귀한 축약형 기울기를 δ라 쓰면 IV는 δ/π입니다. 같은 도구가 교육을 얼마나 바꾸는지로, 그 도구에 따른 임금 변화를 나누는 모양입니다. 앞 절의 가상 모집단에서는 δ=2, π=1이어서 2입니다.

π^=Z~TX~Z~TZ~,δ^=Z~TY~Z~TZ~,β^IV=δ^π^=Z~TY~Z~TX~.\widehat\pi=\frac{\widetilde Z^{\mathsf T}\widetilde X}{\widetilde Z^{\mathsf T}\widetilde Z},\qquad \widehat\delta=\frac{\widetilde Z^{\mathsf T}\widetilde Y}{\widetilde Z^{\mathsf T}\widetilde Z},\qquad \widehat\beta_{IV}=\frac{\widehat\delta}{\widehat\pi}=\frac{\widetilde Z^{\mathsf T}\widetilde Y}{\widetilde Z^{\mathsf T}\widetilde X}.

원 도구가 대학 접근성 0/1이고 결과가 로그 시급이면, π의 단위는 도구 1단위당 교육 연수, δ는 도구 1단위당 로그 점입니다. 비율에서는 도구 단위가 약분되어 교육 1년당 로그 점이 남습니다. 이를 누구에게나 공통인 인과 수익이라고 읽으려면 추가 구조·독립·배제·효과 해석 조건이 필요합니다.

도구를 10배로 다시 표기하면 첫 단계와 축약형 기울기는 각각 1/10이 됩니다. δ/π, 부분 R²와 같은 적합은 그대로입니다. 따라서 단위가 다른 첫 단계 계수의 크기를 보고 더 강한 도구라고 판정하면 안 됩니다. 배제 위반의 직접 효과 범위를 쓸 때도 새 도구 단위에 맞추어 바꾸어야 합니다.

분모가 정확히 0이면 비율은 식별되지 않습니다. 화면에서 작은 양의 수가 0처럼 보이는 것과 정확한 0은 다릅니다. 두 도구를 사용할 때는 두 비율을 임의로 평균하지 않고 남은 도구들의 열공간으로 X를 투영합니다. 그 계산을 다음 절에서 두 단계와 연결합니다.

Suppose residual Z has positive sum of squares. Let π be the first-stage slope of residual schooling on residual Z and δ the reduced-form slope for residual wages. IV is δ/π: divide the wage movement associated with the instrument by its schooling movement. The constructed population above has δ=2 and π=1.

π^=Z~TX~Z~TZ~,δ^=Z~TY~Z~TZ~,β^IV=δ^π^=Z~TY~Z~TX~.\widehat\pi=\frac{\widetilde Z^{\mathsf T}\widetilde X}{\widetilde Z^{\mathsf T}\widetilde Z},\qquad \widehat\delta=\frac{\widetilde Z^{\mathsf T}\widetilde Y}{\widetilde Z^{\mathsf T}\widetilde Z},\qquad \widehat\beta_{IV}=\frac{\widehat\delta}{\widehat\pi}=\frac{\widetilde Z^{\mathsf T}\widetilde Y}{\widetilde Z^{\mathsf T}\widetilde X}.

For a zero/one college-access instrument and log wages, π is schooling years per instrument unit and δ log points per instrument unit. Instrument units cancel, leaving log points per schooling year. Reading this as a common causal return for everyone requires further structural, independence, exclusion and effect-interpretation conditions.

Rescaling Z by ten divides each slope by ten while preserving δ/π, partial R² and the fitted projection. Compare strength using more than coefficient magnitudes in arbitrary instrument units. A stipulated direct-effect range must be rescaled to the new unit too.

An exact zero denominator leaves the ratio unidentified. This differs from a small positive value displayed as zero. With two instruments, do not average two ratios arbitrarily; project X onto the residual instrument column space. The next section connects that projection to two-stage estimation.

학부 심화 · 선택Advanced undergraduate · optional

11. 두 단계와 한 번의 투영11. Two stages and one projection

두 단계 최소제곱이라는 이름을 그대로 따라가 봅니다. 먼저 X에서 통제 C가 설명하는 부분을 빼고, 남은 X를 남은 도구들의 열공간에 투영합니다. 이 예측을 x̂라 씁니다. 다음으로 남은 Y를 x̂에 회귀합니다. x̂는 원 X와 전혀 다른 새 관측이 아니라, 도구와 통제가 만드는 공간에서 얻은 X의 적합 부분입니다.

x^=PZ~X~,β^2SLS=x^TY~x^TX~=x^TY~x^Tx^.\widehat x=P_{\widetilde Z}\widetilde X,\qquad \widehat\beta_{2SLS}=\frac{\widehat x^{\mathsf T}\widetilde Y}{\widehat x^{\mathsf T}\widetilde X}=\frac{\widehat x^{\mathsf T}\widetilde Y}{\widehat x^{\mathsf T}\widehat x}.

두 분모가 같은 이유는 투영 잔차 X̃−x̂가 x̂에 직교하기 때문입니다. X̃=x̂+(X̃−x̂)를 대입하면 x̂′X̃=x̂′x̂가 됩니다. 따라서 분모는 음수가 될 수 없고, 0이면 도구가 통제 밖 X 변동을 설명하지 못합니다. 단일 도구에서는 앞 절의 교차합 비율과 같고, 여러 도구에서는 그 공동 열공간을 사용합니다.

앞의 네 점 가상 모집단에서 X=(−2,0,0,2), 도구가 예측한 x̂=(−1,−1,1,1), Y=(−5,1,−1,5)입니다. 분모는 4, 분자는 8이어서 계수는 2입니다. 네 사람에게 새 임금이 관측된 것이 아니라 같은 표의 X 성분을 나누어 읽은 것입니다.

계수가 같다고 두 번째 회귀의 일반 OLS 표준오차를 그대로 쓰지는 않습니다. 원 X를 넣은 구조 잔차 Y−2X는 (−1,1,−1,1)인데, x̂를 넣은 두 번째 회귀의 잔차 Y−2x̂는 (−3,3,−3,3)입니다. IV의 유한 sandwich 계산은 전자의 구조 잔차와 적절한 도구 투영 비중을 사용합니다. 직접 두 번 OLS를 실행하는 학습과 최종 추론식을 재현하는 일을 구분해야 합니다.

Follow the name two-stage least squares. Remove controls from X, then project residual X onto the residual instrument column space, giving x̂. Regress residual Y on that projection. x̂ is a fitted component of the original X, not a newly observed exposure.

x^=PZ~X~,β^2SLS=x^TY~x^TX~=x^TY~x^Tx^.\widehat x=P_{\widetilde Z}\widetilde X,\qquad \widehat\beta_{2SLS}=\frac{\widehat x^{\mathsf T}\widetilde Y}{\widehat x^{\mathsf T}\widetilde X}=\frac{\widehat x^{\mathsf T}\widetilde Y}{\widehat x^{\mathsf T}\widehat x}.

Projection makes X̃−x̂ orthogonal to x̂. Substitution gives x̂′X̃=x̂′x̂, so the denominator is nonnegative. Zero means the instruments explain no X variation outside controls. With one instrument this matches the crossproduct ratio; with several it uses their joint column space.

The four-point constructed population has X=(−2,0,0,2), x̂=(−1, −1,1,1) and Y=(−5,1, −1,5). Denominator four and numerator eight give coefficient two. No new outcomes have been observed; we have decomposed the same X values.

Matching the coefficient does not justify copying ordinary second-stage OLS standard errors. Structural residuals Y−2X are (−1,1, −1,1); second-stage residuals Y−2x̂ are (−3,3, −3,3). Finite IV sandwich calculations use the former structural residuals with the appropriate projected-instrument weights. Learning by two OLS fits differs from reproducing the final inference formula.

대학원 연결Graduate bridge

12. 중복 도구와 rank12. Redundant instruments and rank

도구 열이 두 개라고 정보 방향이 두 개라는 뜻은 아닙니다. Z₂=2Z₁이면 한 열을 알 때 다른 열도 정확히 정해집니다. 두 열이 만드는 공간은 Z₁ 하나의 공간과 같습니다. 열 개수와 rank를 따로 기록하는 이유입니다. 첫 단계의 예측에 필요한 것은 그 공간으로의 투영입니다.

가상 모집단 X=Z₁+U에서 첫 단계 계수 (1,0)은 가능한 표현입니다. (−1,1)도 Z₁×(−1)+Z₂×1=Z₁이므로 같은 예측입니다. 일반적으로 (1−2t,t)가 모두 같은 x̂를 만듭니다. 계수 벡터가 유일하지 않아도 예측 x̂와 최종 관심 IV 계수는 유일할 수 있습니다.

Z2=2Z1,(b1,b2)=(1−2t,t)⟹Z1b1+Z2b2=Z1.Z_2=2Z_1,\qquad (b_1,b_2)=(1-2t,t)\quad\Longrightarrow\quad Z_1b_1+Z_2b_2=Z_1.

계산기가 특이행렬이라는 이유로 무조건 중단하거나, 작은 임의의 수를 대각선에 더해 다른 회귀로 바꾸지 않습니다. 이 장은 정확한 rank·자유 방향을 보존하며 관측된 열공간으로 투영합니다. 다만 관심 X 대비 자체가 그 공간에서 식별되지 않으면 계수를 0으로 대신하지 않고 미식별로 표시합니다.

실제 두 대학 접근성 nearc4와 nearc2는 복사한 열이 아닙니다. 같은 3010명에서 둘을 함께 쓰면 기울기가 단일 도구와 달라질 수 있습니다. 추가 열의 관련성·배제·효과 해석도 함께 달라집니다. 도구 수를 늘리면 무조건 더 옳거나 더 강하다는 원칙은 없습니다. 중복 열을 추가한 경우와 새로운 방향을 추가한 경우를 구별합니다.

Two instrument columns need not provide two information directions. If Z₂=2Z₁, either determines the other and their column space is unchanged. Record column count separately from rank. First-stage prediction needs the projection onto that space.

In the constructed X=Z₁+U population, coefficients (1,0) produce the first-stage fit. So do (−1,1), since −Z₁+Z₂=Z₁. Every pair (1−2t, t) gives the same prediction. Nonunique instrument coefficients can coexist with unique fitted X and a unique final exposure coefficient.

Z2=2Z1,(b1,b2)=(1−2t,t)⟹Z1b1+Z2b2=Z1.Z_2=2Z_1,\qquad (b_1,b_2)=(1-2t,t)\quad\Longrightarrow\quad Z_1b_1+Z_2b_2=Z_1.

The calculation retains exact rank and free directions instead of automatically stopping or adding an arbitrary diagonal constant that changes the estimator. If the exposure contrast itself is unidentified, it is marked as such rather than replaced by zero.

Actual nearc4 and nearc2 are not copied columns. Using both on the same 3010 people can change the coefficient. The additional direction brings its own relevance, exclusion and effect-interpretation requirements. Distinguish duplicating a column from supplying another direction; more instruments are not automatically better.

대학원 연결Graduate bridge

13. 약한 1단계와 미정의 대비13. Weak first stages and unidentified contrasts

비율 δ/π는 π가 0에 가까울 때 작은 오차에 민감할 수 있습니다. 그러나 π의 숫자만 작다고 도구가 약하다고 판단하지 않습니다. 앞에서 Z를 10배 표기하면 π는 10분의 1이지만 자료의 정보는 같았습니다. 중요한 것은 조정 후 X 변동 중 도구가 설명하는 부분과 남은 잡음, 표본 크기·의존·설계입니다.

같은 네 점 가상 모집단에서 X=0.1Z+U, Y=2X+U로 바꿉니다. Z와 U의 분포·U의 크기는 그대로입니다. 첫 단계가 설명한 X의 제곱합은 0.04, 남은 제곱합은 4입니다. 부분 R²=1/101≈0.009901이고, 이 네 행에 적용한 관례적 부분 F의 유한 산술은 0.02입니다. IV 비율은 여전히 2여도, 작은 축약형 변화나 배제 위반에 대한 비율의 민감성은 커집니다.

이제 같은 X에 직접 효과 0.1Z를 Y에 더하면 IV 비율은 3입니다. 직접 효과를 0–0.1로 허용하는 가정은 구조 기울기 2–3을 허용합니다. 첫 단계 π=1이었다면 같은 직접 효과 범위가 만드는 폭은 0.1이지만 π=0.1에서는 폭이 1입니다. 이 집합은 관측 불확실성의 신뢰구간이 아니라 선언한 배제 위반 가정의 범위입니다.

정확한 분모 0, 비영이지만 화면에서 0으로 보이는 작은 분모, 값은 유한하지만 표시 범위를 넘는 비율을 따로 구분합니다. Wald의 대칭 구간이 불안정한 경우 약한 식별에 견디는 검정·집합을 고려할 수 있지만, 그런 방법도 도구 자체가 유효해야 하는 가정을 지우지 않습니다. 도구를 더 넣거나 반올림으로 0을 바꾸는 것은 그 문제의 해답이 아닙니다.

A ratio δ/π can be sensitive to small errors when π is near zero, but a small numerical coefficient alone does not establish weak information. Writing Z in tenfold units divides π by ten without changing the data. Examine explained versus unexplained residual X variation, sample size, dependence and design.

Keep the same four-point Z/U distribution and define X=0.1Z+U, Y=2X+U. The unchanged U noise leaves first-stage explained sum of squares 0.04 and residual sum four. Partial R² is 1/101, about 0.009901; conventional partial-F arithmetic on these four rows is 0.02. Although IV remains two, sensitivity to reduced-form disturbances or exclusion violations grows.

Adding direct effect 0.1Z to Y with that same X changes the IV ratio to three. A stipulated direct-effect range 0–0.1 allows structural slopes two to three. At π=1 the same range has width 0.1; at π=0.1 it has width one. This is an exclusion-sensitivity set, not a confidence interval.

Keep exact zero denominators separate from tiny nonzero denominators displayed as zero and finite ratios outside display range. Weak-identification-robust testing or sets may address unstable Wald inference, but still require valid instruments. More instruments or rounding away a zero does not establish those requirements.

대학원 연결Graduate bridge

14. 첫 단계 F의 정의와 한계14. Definition and limits of first-stage F

첫 단계의 축약 모형은 X를 C만으로 예측하고, 확장 모형은 C와 제외 도구 Z를 함께 사용합니다. 두 잔차 제곱합을 SSR_R과 SSR_U라고 합시다. 추가 도구의 독립 방향 수 q_eff는 조정 후 도구 rank입니다. 중복 도구를 두 번 세지 않습니다. 두 모형은 반드시 같은 완전 프레임에서 비교합니다.

F=(SSRR−SSRU)/qeffSSRU/(n−rC−qeff),n−rC−qeff>0,qeff>0.F=\frac{(SSR_R-SSR_U)/q_{eff}}{SSR_U/(n-r_C-q_{eff})},\qquad n-r_C-q_{eff}>0,\quad q_{eff}>0.

실제 단일 nearc4 기본 식에서는 n=3010, 절편을 포함한 통제 rank r_C=15, q_eff=1입니다. 첫 단계 잔차 자유도는 2994이고 계산한 F는 약 13.255785입니다. 이는 이 표본·통제·단위 비중에 대한 관례적 첫 단계 산술입니다. 특정 숫자를 넘었다는 이유로 배제·독립성이나 모든 약한 IV 추론 문제가 해결되었다고 쓰지 않습니다.

X=Z+U인 네 점 가상 표에서는 SSR_R=8, SSR_U=4, n=4, r_C=1, q_eff=1입니다. F=(4/1)/(4/2)=2입니다. Z를 10배로 바꾸어도 두 적합 공간이 같아 이 F는 같습니다. X=0.1Z+U로 잡음 대비 신호를 줄인 다른 표에서는 0.02가 되어, 단위 변경과 정보 변경의 차이를 보여 줍니다.

확장 모형이 완전 적합되어 SSR_U=0이고 설명 제곱합이 양수이며 자유도가 남으면 이 유한 비율은 양의 무한대로 표시합니다. 반면 잔차 자유도가 0이면 일반적인 이 F를 정의할 수 없습니다. 둘을 유한한 큰 상수나 0으로 바꾸지 않습니다. 실제 표집 F 분포를 붙이는 일은 동분산·독립 등 적절한 법칙이 추가로 필요한 추론 단계입니다.

The restricted first stage predicts X from C; the unrestricted stage adds excluded Z. Call their residual sums SSR_R and SSR_U. The number of added independent directions, q_eff, is residual instrument rank, not a duplicate-column count. Compare both fits on the same complete frame.

F=(SSRR−SSRU)/qeffSSRU/(n−rC−qeff),n−rC−qeff>0,qeff>0.F=\frac{(SSR_R-SSR_U)/q_{eff}}{SSR_U/(n-r_C-q_{eff})},\qquad n-r_C-q_{eff}>0,\quad q_{eff}>0.

Actual baseline nearc4 has n=3010, control rank 15 including the intercept and q_eff=1. First-stage residual degrees of freedom are 2994 and computed F is about 13.255785. This is conventional first-stage arithmetic for the declared frame and unit weights. Crossing a preferred numerical cutoff does not establish exclusion, independence or all conditions for weak-IV inference.

For constructed X=Z+U, SSR_R=8, SSR_U=4, n=4, r_C=1 and q_eff=1 give F=2. Rescaling Z by ten leaves both fitted spaces and F unchanged. Reducing the signal relative to the same noise with X=0.1Z+U gives 0.02 instead. This separates unit changes from information changes.

If the unrestricted fit is perfect, explained sum of squares is positive and residual degrees of freedom remain, the finite ratio is positive infinity. With zero residual degrees of freedom, this conventional F is undefined. Neither is replaced by a large finite constant or zero. Assigning an actual F sampling distribution requires the relevant additional error-law conditions.

대학원 연결Graduate bridge

15. 잔차·선형 비중·그룹 기여15. Residuals, contrast weights and group contributions

같은 표본·설계 행렬이 고정되면 관심 계수는 Y들의 선형 결합으로 쓸 수 있습니다. 남은 도구가 예측한 x̂와 분모 B=x̂′X̃로 a_i=x̂_i/B를 정의합니다. β̂=Σa_iY_i입니다. 절편·통제를 조정했으므로 a′C=0이고 a′X=1입니다. 이 a는 음수가 될 수 있는 투영 비중이며, 원 자료에 부여하는 음이 아닌 분석 비중과 다른 개념입니다.

ai=x^iB,β^=∑iaiYi,ui=Y~i−β^X~i,V^HC0=∑i(aiui)2.a_i=\frac{\widehat x_i}{B},\qquad \widehat\beta=\sum_i a_iY_i,\qquad u_i=\widetilde Y_i-\widehat\beta\widetilde X_i,\qquad \widehat V_{HC0}=\sum_i(a_iu_i)^2.

네 점 가상 표에서 a=(−1/4,−1/4,1/4,1/4), 구조 잔차 u=(−1,1,−1,1)입니다. 영향 기여 a_i u_i는 (1/4,−1/4,−1/4,1/4)이고 제곱합은 1/4입니다. 한 Y를 ε만큼 바꾸면 고정 설계의 β̂는 a_i ε만큼 변합니다. 원행·설계가 그대로일 때의 성질이며 행을 삭제해 설계까지 바꾸면 a도 다시 계산해야 합니다.

그룹 HC0는 같은 그룹의 영향 기여를 먼저 더한 다음 제곱합니다. 그룹 사이의 가정과 그룹을 정한 근거가 중요합니다. 이 가상 표를 Z=−1과 Z=1의 두 그룹으로 묶으면 각 합이 0이어서 그룹 산술이 0입니다. 이를 실제 연구의 불확실성이 사라졌다는 뜻으로 읽으면 안 됩니다. 임의로 그룹을 골라 작은 분산을 만드는 것은 유효한 추론 설계가 아닙니다.

이 장의 행·그룹 HC0는 자유도 보정을 자동으로 넣지 않는 유한 계산입니다. 다른 패키지가 집락 수나 흡수한 효과를 사용해 보정하면 같은 계수에 다른 표시 분산이 붙을 수 있습니다. 비교할 때는 잔차 정의·묶음·보정 인자를 따로 대조합니다. “표준오차가 작다”는 문장보다 어떤 변동을 어떤 독립 가정 아래 다루었는지 쓰는 것이 먼저입니다.

With a fixed frame and design, the exposure coefficient is linear in Y. Define a_i=x̂_i/B with B=x̂′X̃. Then β̂=Σa_iY_i, a′C=0 and a′X=1. Projection weights a may be negative. They differ from nonnegative analysis weights assigned to source observations.

ai=x^iB,β^=∑iaiYi,ui=Y~i−β^X~i,V^HC0=∑i(aiui)2.a_i=\frac{\widehat x_i}{B},\qquad \widehat\beta=\sum_i a_iY_i,\qquad u_i=\widetilde Y_i-\widehat\beta\widetilde X_i,\qquad \widehat V_{HC0}=\sum_i(a_iu_i)^2.

The constructed four-point case has a=(−1/4, −1/4,1/4,1/4) and structural u=(−1,1, −1,1). Influence contributions are (1/4, −1/4, −1/4,1/4), with squared sum one quarter. Perturbing one Y by ε changes the fixed-design coefficient by a_i ε. Deleting a row changes the design too, requiring recalculation of a.

Grouped HC0 first sums contributions within each group and then squares those sums. Group definitions and cross-group assumptions matter. Grouping this constructed table by the two Z values makes both sums zero. That finite zero does not establish an absence of research uncertainty. Choosing groups to minimize variance is not a valid inferential design.

These row/group HC0 calculations apply no automatic finite-sample correction. Packages can attach different displayed variances to the same coefficient through cluster-count or absorbed-effect corrections. Compare residual definitions, grouping and correction factors separately. Explain the variation and independence assumptions before describing a standard error as small.

학부 심화 · 선택Advanced undergraduate · optional

16. 정확 산술과 반사실 가정16. Exact arithmetic and counterfactual assumptions

계산이 정확하다는 말부터 범위를 정합니다. 화면에서 0.1로 저장한 원값은 이 장의 유리수 계산에서 1/10입니다. 교차합과 rank를 반올림 없이 계산할 수 있습니다. 그러나 조사에서 소수 한 자리로 기록한 임금이 실제 세상에서도 정확히 그 숫자였다는 뜻은 아닙니다. 입력 기록의 정확한 재현과 현실 측정의 정확성은 다른 문제입니다.

같은 구분을 인과 질문에도 적용합니다. 도구와 오차가 직교하는 정확한 표를 만들었다고, 관측되지 않은 다른 교육 선택에서 그 사람의 임금까지 관측한 것은 아닙니다. “이 설계 행렬의 계수는 이 분수다”는 계산 주장입니다. “대학 접근성을 바꾸면 교육 외의 모든 임금 경로가 그대로다”는 반사실 가정입니다. 자료와 계산 결과만으로 후자를 인증하지 않습니다.

예를 들어 교육이 같은 사람들끼리 비교한 회귀에서 남은 대학 접근성과 남은 임금이 관련될 수 있습니다. 그것이 교육의 효과인지, 주거지·가정·노동시장 경로인지 따져야 합니다. 통제 목록이 길다는 이유만으로 남은 경로가 모두 차단되었다고 결론 내리지 않습니다. 잘못 조정한 매개·선택 변수는 질문을 바꿀 수도 있습니다.

재현 노트에는 네 줄을 따로 씁니다. ① 어떤 원행과 변수를 읽었는가, ② 어떤 수학적 계수를 계산했는가, ③ 어떤 표집·의존 가정으로 불확실성을 말하는가, ④ 어떤 반사실 가정으로 정책 의미를 붙이는가. 다음 절의 민감도는 마지막 줄 하나를 명시적인 범위로 바꾸는 연습입니다.

Define exactness before using the word. A source token 0.1 is the rational 1/10 here, permitting exact crossproducts and rank decisions. That does not mean a wage recorded to one decimal place was measured without error. Reproducing the stored record exactly differs from measuring reality exactly.

The distinction extends to causality. Exact sample orthogonality does not reveal a person’s unobserved wage under another schooling choice. A statement about a fraction computed from this design is mathematical. A statement that changing college proximity leaves every non-schooling wage channel unchanged is counterfactual. The former does not certify the latter.

Residual proximity and wages might be associated through schooling, residential location, family circumstances or labor markets. A long control list does not establish closure of every alternative path. Conditioning on mediators or selection variables can also change the question.

Keep four lines in a reproduction note: source rows and variables; the mathematical coefficient; sampling/dependence assumptions for uncertainty; and counterfactual assumptions for policy meaning. The following sensitivity exercise replaces one item on the last line with an explicit range.

학부 심화 · 선택Advanced undergraduate · optional

17. 배제 위반을 직접 효과로 쓰기17. Represent exclusion violations as a direct effect

통제를 제거한 단일 도구 관계를 생각합니다. 첫 단계는 교육 X와 도구 Z의 기울기 π, 축약형은 임금 로그 Y와 Z의 기울기 δ입니다. Z가 교육을 거치지 않고 Y에 미치는 직접 기울기를 γ라고 가정하면 δ=βπ+γ입니다. 이는 이 절에서 채택한 선형 민감도 모형입니다. 모든 가능한 위반을 하나의 상수 γ로 표현할 수 있다고 자동으로 가정하지 않습니다.

δ=βπ+γ,π≠0⟹β(γ)=δ−γπ.\delta=\beta\pi+\gamma,\qquad \pi\ne0\quad\Longrightarrow\quad \beta(\gamma)=\frac{\delta-\gamma}{\pi}.

손으로 따라갑시다. π=1, δ=2.5이면 완전 배제 γ=0에서 β=2.5입니다. 직접 기울기를 0부터 0.5까지 허용하면 γ=0.5에서 β=2가 되므로 허용 집합은 [2,2.5]입니다. 반대로 γ를 −0.5부터 0.5로 허용하면 [2,3]입니다. γ의 부호·단위를 연구자가 설명해야 하며, “작은 위반”이라는 말만으로 숫자를 정하지 않습니다.

실습에서 축약형 2.5, 첫 단계 1, 직접 효과 하한 0·상한 0.5를 넣습니다. 다음에는 상한만 0.2로 바꾸어 [2.3,2.5]를 확인합니다. 마지막에는 직접 효과 범위를 다시 [0,0.5]로 되돌리고 첫 단계를 0.1, 축약형을 0.25로 함께 바꾸어, 원래 비율 2.5가 같은 경우를 비교합니다. 같은 0–0.5 직접 효과 범위가 [−2.5,2.5]로 커집니다. 이는 자료를 새로 추정한 결과가 아니라 지정한 수의 민감도 산술입니다.

γ는 도구 1단위당 결과 단위입니다. 임금 로그를 결과로 쓰면 로그점/도구 단위이며, 첫 단계는 교육 연수/도구 단위입니다. 도구를 10배 단위로 쓰면 π·δ·γ도 모두 10분의 1로 바꾸어야 같은 가정입니다. 같은 데이터에서 표기 단위만 바꿔 민감도 결론을 바꾸면 단위를 잘못 맞춘 것입니다.

Consider a single instrument after controls. Let π be the X-on-Z first-stage slope and δ the Y-on-Z reduced-form slope. Stipulate a direct Z-to-Y slope γ outside schooling, giving δ=βπ+γ. This is the declared linear sensitivity model, not a claim that every possible exclusion failure reduces to one constant.

δ=βπ+γ,π≠0⟹β(γ)=δ−γπ.\delta=\beta\pi+\gamma,\qquad \pi\ne0\quad\Longrightarrow\quad \beta(\gamma)=\frac{\delta-\gamma}{\pi}.

At π=1 and δ=2.5, exclusion γ=0 gives β=2.5. Allowing γ from zero to 0.5 gives [2,2.5]; allowing −0.5 to 0.5 gives [2,3]. Explain the sign and units of the range rather than calling an unspecified violation small.

Enter reduced form 2.5, first stage one and direct range 0–0.5. Lower the upper bound to 0.2 and obtain [2.3,2.5]. Then restore the direct-effect range to [0,0.5] and set first stage 0.1 and reduced form 0.25 together, keeping the baseline ratio 2.5. The same direct range 0–0.5 now gives [−2.5,2.5]. These are stipulated-number calculations, not newly estimated data results.

γ has outcome units per instrument unit. For log wages it is log points per Z unit; π is schooling years per Z unit. Tenfold instrument coding divides π, δ and γ by ten. Changing only the units must not change a consistently specified sensitivity set.

학부 심화 · 선택Advanced undergraduate · optional

18. 음의 첫 단계와 구간 방향18. Negative first stages and interval orientation

첫 단계가 음수라고 계산을 금지하지 않습니다. π<0이면 γ가 커질수록 (δ−γ)/π가 커집니다. 양수로 나눌 때의 끝점 순서를 그대로 쓰면 구간을 뒤집게 됩니다. 두 끝점의 값을 실제로 계산한 다음 작은 값을 하한으로 정하는 방식이 안전합니다.

B=[min⁡{δ−γLπ,δ−γUπ}, max⁡{δ−γLπ,δ−γUπ}],π≠0.\mathcal B=\left[\min\left\{\frac{\delta-\gamma_L}{\pi},\frac{\delta-\gamma_U}{\pi}\right\},\ \max\left\{\frac{\delta-\gamma_L}{\pi},\frac{\delta-\gamma_U}{\pi}\right\}\right],\quad\pi\ne0.

π=−2, δ=−3, γ∈[−1,1]을 넣습니다. γ=−1에서 (−3+1)/(−2)=1, γ=1에서 (−3−1)/(−2)=2이므로 집합은 [1,2]입니다. 같은 내용을 Z의 부호를 바꾸어 Z*=−Z로 표현하면 π*=2, δ*=3이고 직접 효과 범위도 [−1,1]로 부호 변환됩니다. β의 집합은 같습니다.

직접 효과 범위가 비대칭일 때는 부호 변경이 더욱 중요합니다. γ∈[0,1]이라면 Z*=−Z에서 γ*∈[−1,0]입니다. “도구는 같은 것이니 범위를 그대로 둔다”고 하면 다른 가정을 입력하게 됩니다. 음의 첫 단계 자체가 배제 가정이 깨졌다는 뜻도 아닙니다. 도구를 어떻게 코딩했는지 먼저 확인합니다.

실습은 위 음수 예를 계산한 뒤 모든 Z 관련 기울기를 함께 부호 반전해 결과가 같은지 확인하는 순서로 진행합니다. 자료를 삭제하거나 교육·임금 결과의 부호를 임의로 바꾸지 않습니다. 마지막으로 하한이 상한보다 큰 직접 범위를 넣으면 입력 오류로 거부되는지도 확인합니다.

A negative first stage is not prohibited. At π<0, increasing γ increases (δ−γ)/π. Reusing the positive-denominator endpoint order reverses the interval. Evaluate both endpoints and order their resulting values.

B=[min⁡{δ−γLπ,δ−γUπ}, max⁡{δ−γLπ,δ−γUπ}],π≠0.\mathcal B=\left[\min\left\{\frac{\delta-\gamma_L}{\pi},\frac{\delta-\gamma_U}{\pi}\right\},\ \max\left\{\frac{\delta-\gamma_L}{\pi},\frac{\delta-\gamma_U}{\pi}\right\}\right],\quad\pi\ne0.

With π=−2, δ=−3 and γ∈[−1,1], the two endpoints give one and two, hence [1,2]. Recoding Z*=−Z changes π to two, δ to three and the direct-effect range by the same sign transformation. The β set is unchanged.

For an asymmetric range, that transformation matters: γ∈[0,1] becomes γ*∈[−1,0]. Keeping the old range would assert a different assumption. A negative first stage alone does not refute exclusion; first inspect coding.

Calculate the negative example, then reverse every Z-related slope and check invariance. Do not delete rows or arbitrarily reverse schooling or wage outcomes. Finally verify rejection of a direct range whose lower bound exceeds its upper bound.

대학원 연결Graduate bridge

19. 첫 단계 0에서 전체 실수 또는 공집합19. All reals or an empty set at a zero first stage

π=0에서 β=(δ−γ)/π를 계산하려 하면 분모가 0입니다. 그러나 식 δ=βπ+γ를 처음부터 보면 무엇을 알 수 있는지 분명합니다. π=0이면 δ=γ만 남고 β는 식에 나타나지 않습니다. 관측 축약형 δ가 허용 직접 효과 범위 안에 있으면 모든 실수 β가 이 한 식과 양립합니다. 범위 밖이면 어느 β도 이 식을 만족하지 못합니다.

π=0⟹B={R,δ∈[γL,γU],∅,δ∉[γL,γU].\pi=0\quad\Longrightarrow\quad \mathcal B=\begin{cases}\mathbb R,&\delta\in[\gamma_L,\gamma_U],\\\varnothing,&\delta\notin[\gamma_L,\gamma_U].\end{cases}

예를 들어 δ=0.2, 직접 범위 [0,0.3]이면 전체 실수입니다. 범위를 [0,0.1]로 좁히면 공집합입니다. 첫 결과는 효과가 0이라는 뜻이 아니라 이 모형으로 효과를 제한하지 못한다는 뜻입니다. 두 번째는 가정·입력 조합이 서로 맞지 않는다는 뜻이지, 특정 교육 효과를 입증한 것이 아닙니다.

정확한 π=0과 작지만 비영인 π를 혼동하지 않습니다. π=10⁻⁶이고 δ=0.2, γ∈[0,0.3]이면 [−100000,200000]이라는 유한하지만 넓은 집합입니다. π를 반올림해 0으로 만들면 다른 식별 문제로 바뀝니다. 화면 근삿값과 펼쳐 보는 정확값을 함께 보존하는 이유입니다.

실습에서는 먼저 π=0인 두 범위를 비교합니다. 이어 δ=0.2와 직접 효과 범위 [0,0.3]을 다시 지정하고 π=0.000001로 바꾸어 끝점을 손으로 계산합니다. 화면에서 “미정의”, “전체 실수”, “공집합”이 서로 다른 상태임을 설명할 수 있어야 합니다. 범위에 표집 불확실성까지 결합하는 방법은 별도 추론 설계가 필요합니다. 여기의 숫자 범위는 신뢰집합이라는 이름을 자동으로 얻지 않습니다.

At π=0, return to δ=βπ+γ instead of dividing. The equation becomes δ=γ and contains no β. If δ lies in the allowed direct-effect range, every real β satisfies this equation for some allowed γ. Otherwise no β does.

π=0⟹B={R,δ∈[γL,γU],∅,δ∉[γL,γU].\pi=0\quad\Longrightarrow\quad \mathcal B=\begin{cases}\mathbb R,&\delta\in[\gamma_L,\gamma_U],\\\varnothing,&\delta\notin[\gamma_L,\gamma_U].\end{cases}

For δ=0.2, range [0,0.3] gives all reals; [0,0.1] gives the empty set. All reals means no restriction on the effect, not an effect of zero. Empty means incompatibility of the stipulated inputs and assumptions, not proof of a particular schooling effect.

Exact zero differs from a tiny nonzero first stage. At π=10⁻⁶ with δ=0.2 and γ∈[0,0.3], the finite set is [−100000,200000]. Rounding π to zero changes identification. Preserve exact values alongside short display approximations.

Compare both zero-stage ranges. Then restore δ=0.2 and the direct-effect range [0,0.3], set π=0.000001 and calculate endpoints by hand. Explain undefined ratios, all reals and empty sets as distinct states. Combining this assumption range with sampling uncertainty requires a separate inferential design; these numbers are not automatically a confidence set.

대학원 연결Graduate bridge

20. 대학 접근성과 누구의 효과인가20. College proximity and whose effect is being estimated

이제 실제 질문으로 돌아갑니다. 집 가까이에 대학이 있는 사람과 없는 사람은 원래부터 다를 수 있습니다. 접근성은 교육 비용·이동·진학 선택과 관련될 수 있지만, 거주지와 가족 배경 또는 지역 노동시장도 임금과 연결될 수 있습니다. 첫 단계가 보인다는 사실과 접근성의 준무작위성·배제는 별개의 주장입니다.

효과가 사람마다 다르면 단일 IV 숫자가 모든 사람에게 똑같은 교육 효과를 뜻하지 않을 수 있습니다. 이산적 이진 처치의 전형적인 LATE 설명에서는 독립성·배제·관련성·단조성 등 적절한 조건 아래 도구 때문에 처치가 바뀌는 순응자의 평균 효과를 해석합니다. 이 장의 X는 이진 진학 여부가 아니라 교육 연수입니다. 이 설명을 그대로 붙여 “모든 근로자의 평균 교육 수익률”이라고 부르면 안 됩니다.

연수 처치에서는 교육 한계의 어느 구간이 어떤 사람에게 바뀌었는지, 조건부 도구를 어떻게 평균했는지, 가중치가 어떤 성질을 갖는지 추가로 따져야 합니다. 두 대학 접근성을 함께 쓰면 새로운 식별 방향·가중의 문제가 더해집니다. 단일 도구 0.1315와 두 도구 0.1571이라는 실제 표본 계수 차이를, 둘 중 하나가 참이거나 보편 효과가 바뀌었다는 증거로 곧바로 읽지 않습니다.

개인 사례 노트의 제목을 연습해 봅니다. “미국 교육 1년의 보편적 임금 효과를 증명”보다 “기록 로그가 있는 3010명에서, 선언한 통제와 대학 접근성 도구로 계산한 schooling IV”가 계산 범위를 드러냅니다. 정책 결론을 쓰려면 배제 경로·표본·효과 이질성·다른 시기와 집단으로의 전이를 따로 논의해야 합니다. 다음 패널 사례 역시 같은 원칙을 지킵니다.

Return to the substantive question. People living near a college can differ before schooling choices. Proximity can affect costs, travel and attendance, while family background, residential selection and local labor markets may also relate to wages. A first stage differs from a claim of quasi-random assignment or exclusion.

With heterogeneous effects, a single IV number need not be everyone’s schooling effect. In the standard binary-treatment LATE explanation, suitable independence, exclusion, relevance and monotonicity conditions identify a complier average effect. Here X is years of schooling, not binary attendance. Do not transfer that explanation unchanged into a claim about every worker’s average return.

For schooling years, examine which margins change for whom, how conditional instruments are combined and which weights arise. Combining two proximity instruments adds identification and weighting questions. The actual single- and two-instrument coefficients, about 0.1315 and 0.1571, do not alone reveal which is true or establish a changing universal effect.

Practice a precise case title: “Schooling IV on 3010 recorded-log observations with declared controls and proximity instruments.” A policy conclusion needs additional discussion of exclusion paths, the frame, heterogeneous effects and transfer to other periods or groups. Apply the same discipline to the panel cases next.

학부Undergraduate

21. 반복 관측과 같은 프레임21. Repeated observations and one common frame

한 나라의 한 해와 다음 해는 서로 다른 나라 두 곳이 아닙니다. 한 기업을 여러 해 관측하면 시간이 지나도 유지되는 특징과 그때그때 달라지는 특징을 구별할 수 있습니다. 패널은 같은 개체를 시간에 따라 추적한 표입니다. 개인의 1976년 단면을 변수 이름에 연도가 있다는 이유만으로 반복 임금 패널이라고 부르지 않습니다.

국가 사례의 한 행은 국가–연도, 기업 사례는 기업–연도입니다. 국가별 성장률을 15년씩 16개국에서 관측해 240행이어도 국가 집락은 16개입니다. 기업 자료는 140개 기업의 1031행으로, 모든 기업에 9개 연도가 완전히 있는 균형 표가 아닙니다. n, 개체 수, 서로 다른 시점 수를 따로 표시합니다.

pooled는 개체·시점 효과 없이 선언한 통제를 넣고, entity는 개체 효과를, twoway는 개체와 공통 시점 효과를 함께 조정합니다. 세 결과를 비교할 때에는 Y·X·통제의 완전 프레임을 먼저 한 번 정합니다. 한 결과만 결측 행을 더 빼면 계수 차이에 표본 차이까지 섞입니다. 이 장의 세 실제 패널 결과는 같은 프레임에서 계산합니다.

다음 일곱 행 가상 표를 노트에 옮겨 보세요. b는 시점 1, c는 시점 0이 없습니다. 이 누락은 0이라는 관측이 아닙니다. 각 행을 (개체,시점)으로 식별하며 같은 칸을 두 번 입력하지 않습니다. ID 문자열 “1”과 숫자 1의 처리 규칙도 선언해야 합니다. 이 실습은 두 자료형을 서로 다른 키로 보존합니다.

손으로 계산할 불균형 가상 패널
개체시점YX
a010
a141
a262
b031
b294
c140
c281

A country in successive years is not two different countries. Tracking one firm over time separates persistent features from changing ones. A panel follows the same unit across time. A 1976 personal cross-section does not become a repeated-wage panel merely because variable names contain years.

The country unit is country-year; the company unit is firm-year. Sixteen countries over 15 years give 240 rows but 16 country clusters. The firm data have 1031 rows from 140 firms, not nine complete years for every firm. Report rows, units and distinct dates separately.

Pooled uses declared controls without entity or time effects; entity adds unit effects; twoway adds unit and common time effects. Establish the complete Y/X/control frame once before comparing all three. Otherwise changing coefficients can mix estimator and sample changes. Actual panel fits here use one common frame.

Copy the seven-row constructed table. Unit b lacks time one and c lacks time zero. Missing cells are not observed zeros. Identify cells by entity and time without duplicates. Declare ID type semantics too: this exercise preserves string “1” and number 1 as different keys.

Constructed unbalanced panel for hand calculations
EntityTimeYX
a010
a141
a262
b031
b294
c140
c281
학부 심화 · 선택Advanced undergraduate · optional

22. 같은 개체의 평균을 빼기22. Subtract each entity’s own mean

기업마다 고유한 기본 수준 α_i가 있다고 합시다. 같은 기업의 평균을 각 관측에서 빼면 α_i−α_i=0입니다. “남보다 큰 기업인가” 대신 “이 기업의 자기 평균보다 얼마나 높은가”를 비교합니다. 평균은 그 식의 완전 프레임에 남은 시점들로 계산하며, 결측 시점을 0으로 채워 분모를 늘리지 않습니다.

Yit=αi+βXit+uit,Yit−Yˉi=β(Xit−Xˉi)+(uit−uˉi).Y_{it}=\alpha_i+\beta X_{it}+u_{it},\qquad Y_{it}-\bar Y_i=\beta(X_{it}-\bar X_i)+(u_{it}-\bar u_i).

가상 패널에서 a의 X 평균은 1, b는 5/2, c는 1/2입니다. a의 X 편차는 (−1,0,1), b는 (−3/2,3/2), c는 (−1/2,1/2)입니다. 제곱합은 2+9/2+1/2=7입니다. Y와의 편차 교차합은 5+9+2=16이므로 개체 내 기울기는 16/7≈2.286입니다. 모든 일곱 행의 pooled 기울기 63/40≈1.575와 다른 질문입니다.

이 계산은 시간에 따라 일정한 α_i를 제거합니다. 그러나 기업별로 변하는 수요, 미래 임금 선택, 측정오차까지 자동으로 제거하지 않습니다. 일반적인 FE 인과 해석에는 해당 모형에 맞는 엄격 외생성 같은 강한 조건이 필요할 수 있습니다. 현재 오차가 미래 X에 영향을 주면 같은 개체의 전체 평균을 빼는 연산에 그 의존이 들어옵니다.

실습에서는 패널 모드를 entity로 정하고 위 일곱 행의 결과를 확인합니다. 그다음 각 개체 Y에 다른 상수를 더합니다. 예를 들어 a에 100, b에 −20, c에 7을 더하면 개체 내 Y 편차와 기울기는 그대로입니다. 첫 표로 되돌린 뒤 모든 개체에 공통인 시간별 충격을 넣어 보세요. 그것은 개체 상수와 달라 entity만으로 사라진다고 보장하지 않습니다.

Suppose each firm has a fixed level α_i. Subtracting its own mean eliminates α_i. Compare deviations from the same firm’s average rather than levels across firms. Calculate means on dates retained in that equation’s complete frame, without filling missing dates with zeros.

Yit=αi+βXit+uit,Yit−Yˉi=β(Xit−Xˉi)+(uit−uˉi).Y_{it}=\alpha_i+\beta X_{it}+u_{it},\qquad Y_{it}-\bar Y_i=\beta(X_{it}-\bar X_i)+(u_{it}-\bar u_i).

In the constructed panel, mean X is one for a, 5/2 for b and 1/2 for c. X deviations are (−1,0,1), (−3/2,3/2) and (−1/2,1/2). Their squared sum is 2+9/2+1/2=7. The Y crossproduct is 5+9+2=16, giving within slope 16/7, about 2.286. Pooled slope 63/40, about 1.575, answers a different comparison.

This removes a time-constant α_i, not time-varying demand, future wage choices or measurement error automatically. A causal FE interpretation can require strong conditions such as suitable strict exogeneity. If current errors affect future X, dependence enters through the unit’s full-period mean.

Select entity mode and reproduce the seven rows. Add different Y constants to each unit, such as 100 to a, −20 to b and seven to c. Within deviations and the slope stay fixed. Reset to the original table before adding common date-specific shocks; those need not disappear under entity effects alone.

대학원 연결Graduate bridge

23. 개체와 시점 효과를 함께 빼기23. Jointly absorb entity and time effects

전국 경기 침체처럼 같은 해 여러 나라에 공통으로 작용하는 요인을 시점 효과 λ_t로 나타내 볼 수 있습니다. 개체 효과 α_i는 시간에 일정한 국가 차이이고 λ_t는 국가들에 공통인 해별 차이입니다. 이 둘을 조정한 뒤 남은 X·Y 변동의 관계를 계산합니다. 나라별로 다른 시간 추세까지 같은 해 상수 하나로 제거하는 것은 아닙니다.

Yit=αi+λt+βXit+CitTθ+uit,β^=XTM[Di,Dt,C]YXTM[Di,Dt,C]X.Y_{it}=\alpha_i+\lambda_t+\beta X_{it}+C_{it}^{\mathsf T}\theta+u_{it},\qquad \widehat\beta=\frac{X^{\mathsf T}M_{[D_i,D_t,C]}Y}{X^{\mathsf T}M_{[D_i,D_t,C]}X}.

M은 괄호 안 모든 열의 공간을 한꺼번에 제거하는 직교 투영의 잔차 연산입니다. 절편과 더미 열의 중복 때문에 α·λ 각각의 표기가 유일하지 않아도 적합 공간과 잔차는 유일합니다. 실습은 개체 평균을 먼저 제거한 다음 통제와 시점 더미도 같은 방식으로 변환하여 공동 투영합니다. 시점 효과를 하나씩 한 번만 빼고 멈추는 방식과 다릅니다.

일곱 행 가상 표에서 pooled 기울기는 63/40, entity는 16/7, twoway는 1/2입니다. twoway의 조정 후 X 제곱합은 4/15입니다. 관심 대비가 의존하는 변동이 크게 줄었습니다. 수치가 더 작아졌다는 이유로 진실에 가까워졌다고 말하지 않고, 어떤 비교와 어떤 전제가 바뀌었는지 설명합니다.

국가 실제 프레임에서는 pooled 약 −1.298767, entity −1.356718, twoway −0.474150입니다. 이 결과는 성장률과 실업률 변화의 선언된 유한 표본 관계입니다. 공통 해별 충격을 조정했어도 역인과·정책·나라별 시변 요인을 해결했다는 증거가 아닙니다. 세 기울기를 나란히 비교하되 같은 240행이라는 사실을 먼저 확인합니다.

A date effect λ_t can represent shocks common across countries, such as a global downturn. Entity effects capture time-constant unit differences; time effects capture common date differences. They do not remove every country-specific time trend.

Yit=αi+λt+βXit+CitTθ+uit,β^=XTM[Di,Dt,C]YXTM[Di,Dt,C]X.Y_{it}=\alpha_i+\lambda_t+\beta X_{it}+C_{it}^{\mathsf T}\theta+u_{it},\qquad \widehat\beta=\frac{X^{\mathsf T}M_{[D_i,D_t,C]}Y}{X^{\mathsf T}M_{[D_i,D_t,C]}X}.

M removes the joint column space. Redundant intercept/dummy columns can make effect labels nonunique while fitted values and residuals remain unique. The exercise first demeans by entity, then jointly projects the similarly transformed controls and date indicators. It does not subtract each effect once and stop.

The seven-row example gives slopes 63/40 pooled, 16/7 entity and 1/2 twoway. Residual X sum of squares under twoway is 4/15, leaving much less variation for the contrast. A smaller coefficient alone does not establish greater truth; explain which comparisons and assumptions changed.

Actual country slopes are approximately −1.298767 pooled, −1.356718 entity and −0.474150 twoway. They describe the declared growth/unemployment-change frame. Common year adjustment does not establish removal of reverse causality, policy or country-specific changing confounders. First verify that all three use the same 240 rows.

대학원 연결Graduate bridge

24. 불균형 표에서 한 번씩 평균을 빼면24. Why one-pass double demeaning fails in an unbalanced table

균형 패널의 두 방향 고정효과를 배울 때 Y−개체평균−시점평균+전체평균이라는 편리한 식을 만납니다. 완전한 직사각형에서 단위 비중을 쓰면 이 식이 공동 효과를 제거합니다. 하지만 빠진 칸이 있는 표에서 원자료 평균을 한 번씩 빼는 식을 그대로 적용하면 일반적으로 같은 투영이 아닙니다. 어떤 개체가 어느 시점에 나타나는지가 평균에 다른 비중으로 들어가기 때문입니다.

일곱 행의 전체 X 평균은 9/7입니다. a의 시점 0에서 X=0, 개체 평균 1, 시점 0 평균 1/2이므로 단순 변환은 0−1−1/2+9/7=−3/14입니다. 같은 방식으로 전체 X·Y를 바꾼 뒤 원점 회귀를 하면 기울기는 77/111≈0.693694입니다. 올바른 공동 투영의 1/2와 다릅니다.

왜 틀렸는지 결과 계수만 보지 말고 직교를 확인합니다. 단순 변환한 X의 a 행 합은 11/21로 0이 아닙니다. 시점 0의 합도 −13/14로 0이 아닙니다. 개체와 시점 더미를 모두 제거했다면 각 더미와의 교차합이 0이어야 합니다. 이 잔차 점검은 정답 숫자를 외우는 것보다 다른 표에도 적용하기 쉽습니다.

반복 평균 제거를 충분히 수렴시키는 방법과 정확한 공동 투영은 적절히 수행하면 같은 목표를 가질 수 있습니다. 이 작은 실습은 후자의 정확한 열공간 계산으로 rank와 잔차를 함께 보존합니다. 1회만 수행한 식을 “FE를 했다”고 기록하지 않습니다. 자료를 균형으로 보이게 하려고 누락 칸에 0을 넣거나 기존 행을 이유 없이 버리는 것도 피합니다.

In a complete rectangular panel with unit weights, Y minus its entity mean minus its time mean plus the grand mean removes both effects. In an unbalanced table, applying original-data means once generally does not equal the joint projection: attendance patterns change the weights entering the means.

Grand mean X in the seven rows is 9/7. For a at time zero, the one-pass transformation is 0−1−1/2+9/7=−3/14. Transforming all X/Y this way and regressing through the origin gives 77/111, about 0.693694, rather than the correct joint-projection slope 1/2.

Check orthogonality instead of memorizing the output. The transformed X sums to 11/21 within a and −13/14 at time zero. Neither is zero. Residuals after removing every entity and date indicator must have zero crossproduct with each such column. This diagnostic transfers to other tables.

Properly converged alternating projections and an exact joint projection can target the same space. This small exercise uses the latter, preserving rank and residuals. A single pass is not sufficient to declare FE complete. Do not fill absent cells with zeros or discard observations merely to manufacture a rectangle.

대학원 연결Graduate bridge

25. 불변 열·끊어진 패널·식별25. Invariant columns, disconnected panels and identification

한 기업 안에서 본점 국가가 한 번도 바뀌지 않았다면 개체 평균을 뺀 그 열은 모두 0입니다. 개체 효과와 별도로 그 국가 더미의 계수를 식별할 수 없습니다. 출력이 미식별인 것을 “국가 효과가 정확히 0”이라고 번역하지 않습니다. 동일하게 X 자체가 개체마다 일정하면 entity 식에서 X 대비가 없어집니다.

개체와 시점의 연결을 그림으로 그려 봅니다. 왼쪽은 개체, 오른쪽은 시점이고 관측된 칸마다 선을 잇습니다. 연결 성분이 K개라면, 관측된 개체 E개·시점 T개의 더미 공간 rank는 E+T−K입니다. 한 성분에서 모든 개체 효과에 상수를 더하고 그 성분의 시점 효과에서 빼도 적합값이 같은 중복이 있습니다. 이는 관심 X가 조정 후 남는지와 구분할 문제입니다.

일곱 행 표는 하나로 연결되어 E=3,T=3,K=1입니다. 효과 공간 rank는 5이고 조정 후 X가 비영이라 전체 rank는 6, 잔차 자유도는 7−6=1입니다. 작은 자유도를 감추기 위해 표준적인 균형 패널 공식을 대신 끼우지 않습니다. 통제 열이 추가되면 그중 효과 공간 밖에 남는 독립 방향만 더 셉니다.

전체 실제 기업에서는 140개 기업·9개 시점의 연결된 효과 공간 rank 148에 X와 두 통제의 독립 방향 3이 더해 전체 rank 151, 잔차 자유도 880입니다. 이는 실제 계산한 rank의 설명이지 모든 140×9 표에 자동 적용되는 상수가 아닙니다. 행 삭제 후에는 연결·rank·대비의 식별을 다시 점검합니다. 유일한 적합 공간, 유일한 관심 계수, 유일하지 않은 더미 표현을 구별할 수 있으면 대학원 수준의 rank 결손 출력도 읽을 수 있습니다.

If headquarters country never changes within a firm, its demeaned indicator is zero. Its coefficient cannot be separately identified from firm effects. Unidentified is not evidence that the country effect equals zero. Likewise, an X constant within every entity provides no within exposure contrast.

Draw a bipartite graph of observed entities and dates, linking each observed cell. With E observed entities, T dates and K connected components, the dummy-space rank is E+T−K. Within a component, adding a constant to entity effects and subtracting it from date effects preserves fitted values. This redundancy differs from whether residual X remains informative.

The seven-row graph is connected: E=3, T=3, K=1. Effect-space rank is five. Nonzero residual X adds one direction, yielding rank six and residual df one. Do not replace actual rank with a convenient balanced-panel formula. Additional controls contribute only independent directions outside the effects.

In the actual firm frame, the connected 140-entity/nine-date effect space has rank 148. X and two controls add three independent directions, giving rank 151 and df 880. This describes the computed frame, not every possible table of those dimensions. Recheck connectivity, rank and identification after deletions. Distinguish unique fitted spaces and target coefficients from nonunique dummy representations.

학부 심화 · 선택Advanced undergraduate · optional

26. 성장률 %와 실업률 변화 %p26. Growth percent and unemployment percentage-point changes

실제 국가 표의 Y는 1인당 GDP 수준이 아니라 연간 총 GDP 성장률입니다. X는 실업률 수준이 아니라 같은 국가의 올해 실업률에서 전년 실업률을 뺀 값입니다. 두 값에 모두 % 기호가 등장하지만 같은 변화가 아닙니다. 성장률 Y의 숫자 2는 약 2% 성장, 실업률 변화 X의 1은 1%포인트 증가입니다.

원자료의 실업률은 전체 인구 대비 비율이 아니라 노동력 대비 ILO 모형 추정 실업률입니다. 분모·정의·측정 방식이 다르면 같은 5라는 숫자도 다른 통계일 수 있습니다. 이 장은 GDP 성장률 코드 NY.GDP.MKTP.KD.ZG와 실업률 코드 SL.UEM.TOTL.ZS를 고정해 이름이 비슷한 다른 지표와 섞지 않습니다.

Xit=Uit−Ui,t−1(percentage points),Yit=annual GDP growth in percent.X_{it}=U_{it}-U_{i,t-1}\quad(\text{percentage points}),\qquad Y_{it}=\text{annual GDP growth in percent}.

한국의 보존 빈티지에서 2020년 실업률 3.931과 2019년 3.746의 차이는 0.185%포인트입니다. 같은 행 GDP 성장률은 약 −0.700242%입니다. “실업이 18.5% 늘었다”거나 “성장률 수준이 −0.7만큼 하락했다”로 바꾸지 않습니다. 첫 문장은 상대변화와 혼동하고, 두 번째는 전년 성장률과 비교한 차이를 새로 요구합니다.

twoway 기울기 약 −0.474150은 이 프레임·식에서 X가 1%포인트 다른 잔여 대비에 대응하는 성장률 차이를 % 단위로 나타냅니다. X가 0.185인 단일 행의 Y를 βX만으로 예측할 수는 없습니다. 국가·시점 효과와 잔차가 남습니다. 특정 한 해를 전체 회귀의 인과 검증으로 사용하지 않습니다.

Actual country Y is annual aggregate GDP growth, not per-capita GDP levels. X is the current unemployment rate minus the same country’s prior-year rate. Growth Y=2 means about two percent; X=1 means a one-percentage-point unemployment increase.

Unemployment is the ILO modeled percentage of the labor force, not of the entire population. Preserve definitions and denominators. This chapter fixes codes NY.GDP.MKTP.KD.ZG and SL.UEM.TOTL.ZS, avoiding similarly named series.

Xit=Uit−Ui,t−1(percentage points),Yit=annual GDP growth in percent.X_{it}=U_{it}-U_{i,t-1}\quad(\text{percentage points}),\qquad Y_{it}=\text{annual GDP growth in percent}.

In the retained vintage, Korea’s 2020 unemployment rate 3.931 minus 2019 rate 3.746 is 0.185 percentage points. The same row’s GDP growth is about −0.700242 percent. Neither an 18.5-percent unemployment increase nor a change in GDP growth follows from those two stored values.

The twoway slope, about −0.474150, expresses growth-percent differences per residual one-percentage-point X contrast in this equation. βX alone does not predict the single 2020 outcome: country/date effects and residuals remain. One year is not a causal validation of the whole regression.

학부 심화 · 선택Advanced undergraduate · optional

27. 달력상 전년과 보존 빈티지27. Calendar lags and the retained vintage

컴퓨터의 “이전 행”은 달력의 “전년”과 다를 수 있습니다. 한국 2019년 다음에 한국 2021년이 나온다면 두 행의 차이는 2021−2020 변화가 아닙니다. 국가를 바꾸는 경계에서는 다른 나라의 실업률을 빼는 더 큰 오류도 생깁니다. (국가,연도) 키로 정확히 t−1을 찾습니다.

2010–2024의 15개 분석 연도에 X를 만들기 위해 원 실업률은 2009년부터 보존했습니다. 16개국×16개년×2지표=512개 원 지표 레코드이고, 분석은 16×15=240개 국가–연도입니다. 2009년 성장률도 원자료 보존 표에는 있지만 이 식의 Y로 사용하지 않습니다. 원 지표 레코드 수와 회귀 관측 수를 혼동하지 않습니다.

각 분석 행에는 현재 GDP 성장률 원행, 현재 실업률 원행, 전년 실업률 원행의 세 연결을 남깁니다. 원 JSON은 연도 역순이어도 키로 결합하면 상관없습니다. 행을 정렬한 뒤 단순 shift를 쓰려면 국가 그룹·연도 간격·중복·결측 검사를 별도로 해야 합니다. 누락 전년을 임의로 보간한 뒤 실제 관측이라고 쓰지 않습니다.

이 보존 JSON의 공급자 갱신일은 2026-10-08입니다. 정확한 과거 요청 URL과 다운로드 시각은 보존되어 있지 않아 새로 만들어 적지 않습니다. 2020년 숫자도 이 보존 빈티지의 2020년 값이며 당시 실시간 공개치라는 보장은 없습니다. 이 장은 회고적 표본 재현이지, 개정 전 빈티지를 복원한 실시간 예측 실험이 아닙니다.

The previous computer row need not be the previous calendar year. If Korea 2019 is followed by Korea 2021, their difference is not 2021 minus 2020. Crossing a country boundary can subtract another country’s rate. Match exact country/year keys to t−1.

To create X for 2010–2024, retain unemployment from 2009. Sixteen countries ×16 source years ×two indicators give 512 native indicator records; the regression has 16×15=240 country-years. Source preservation also includes 2009 GDP growth, unused as Y in this equation. Distinguish indicator-record and regression-row counts.

Keep three lineage links per analysis row: current GDP growth, current unemployment and prior unemployment. Reverse chronological JSON ordering is harmless under keyed matching. A simple grouped shift needs its own gap, duplicate and missingness checks. Do not silently interpolate a missing prior year and label it observed.

The retained JSON reports provider update date 2026-10-08. Exact historical request URL and download time were not archived and are not invented. A 2020 value is the 2020 observation in this retained vintage, not necessarily the real-time release. This is retrospective reproduction rather than reconstruction of unrevised vintages.

학부 심화 · 선택Advanced undergraduate · optional

28. 기업의 기록 로그와 정태 모형28. Stored firm logs and a static model

기업 자료는 공식 Stata 예제 abdata를 사용합니다. Y=n은 기록된 고용 로그, X=w는 기록된 임금 로그입니다. 통제 k는 자본 로그, ys는 산업 산출 로그입니다. 원파일에는 수준 변수와 동태 모형용 시차 열도 있지만, 이 장의 식에는 n·w·k·ys만 선언합니다. 원자료에 열이 있다는 이유만으로 자동 투입하지 않습니다.

nit=αi+λt+βwit+θkkit+θsysit+uit.n_{it}=\alpha_i+\lambda_t+\beta w_{it}+\theta_k k_{it}+\theta_s ys_{it}+u_{it}.

저장 방식도 읽어 봅니다. 네 기록 로그는 원 DTA의 이진 부동소수점 값입니다. 이를 정확한 유리수로 보존하면 긴 분모가 나올 수 있습니다. 원 저장값을 그대로 재현하는 장치이지, 원래 기업 고용·임금을 무한 정밀도로 측정했다는 뜻은 아닙니다. 이미 기록된 로그를 새로 log(수준)로 덮어쓰면 원식과 미세하게 달라질 수 있습니다.

twoway 기울기는 약 −0.296877입니다. 다른 설명 성분을 고정한 로그 적합 관계에서 임금 수준을 1% 높인 대비는 β×log(1.01)이고, 지수화한 고용 적합값의 상대 차이는 exp{βlog(1.01)}−1≈−0.294966%입니다. 이는 적합 로그의 지수 변환이며 평균 고용의 인과 탄력성이라고 자동 해석하지 않습니다.

공급자는 이 예제 자료가 소프트웨어 교육을 위해 변경되었을 수 있으며 실질적 연구 분석용이 아니라고 안내합니다. 따라서 실제 파일·실제 패널 구조로 계산을 연습하되, 이 결과를 새 산업정책 근거로 제시하지 않습니다. 원 연구의 동태 고용모형이나 GMM을 재현했다고도 부르지 않습니다. 이 장은 명시한 정태 pooled·entity·twoway 식의 재현입니다.

The firm case uses official Stata instructional abdata. Y=n is stored log employment; X=w is stored log wages; controls k and ys are log capital and log industry output. The file also has levels and lag columns, but only the declared four variables enter this chapter’s equation.

nit=αi+λt+βwit+θkkit+θsysit+uit.n_{it}=\alpha_i+\lambda_t+\beta w_{it}+\theta_k k_{it}+\theta_s ys_{it}+u_{it}.

The stored log variables use native binary floating-point values. Exact rational preservation can yield long denominators; it reproduces storage, not infinitely precise measurement. Replacing stored logs with newly computed logarithms of levels can subtly change the equation.

Twoway slope is approximately −0.296877. Holding other fitted-log components fixed, a one-percent wage-level contrast changes fitted log employment by βlog(1.01). The exponentiated fit changes by exp{βlog(1.01)}−1, about −0.294966 percent. This is a transformed fitted-log contrast, not automatically a causal elasticity of mean employment.

The publisher warns that demonstration data may be altered and are not for substantive analysis. Use the actual file and panel structure for calculation practice rather than new policy evidence. We reproduce declared static pooled/entity/twoway equations, not the original dynamic employment model or GMM analysis.

대학원 연결Graduate bridge

29. 집락·자유도·인과 범위29. Clusters, degrees of freedom and causal scope

같은 나라의 여러 해가 함께 흔들릴 수 있으므로 한 행을 독립 단위라고 가정한 산술과 국가별로 기여를 묶는 산술은 다릅니다. 관심 기울기의 투영 비중을 a_it, 구조 잔차를 u_it라 하면 국가 i의 점수 합은 s_i=Σ_t a_it u_it입니다. 집락 HC0는 Σ_i s_i²입니다. 기업 사례에서는 기업별로 같은 연산을 합니다.

si=∑taituit,V^cluster,HC0=∑isi2.s_i=\sum_t a_{it}u_{it},\qquad \widehat V_{cluster,HC0}=\sum_i s_i^2.

분산이 유리수로 정확히 계산되어도 추론의 근거가 완성되지는 않습니다. 적절한 집락 독립성·근사 체계와 집락 수를 검토해야 합니다. 국가 16개는 240개 나라가 아니며, 세계 공통 충격이나 국가 간 연결도 남을 수 있습니다. 시점 효과를 넣었다는 이유만으로 남은 오차가 국가 사이에 독립이라고 인증하지 않습니다.

이 장은 보정하지 않은 HC0를 표시합니다. 표준 패키지의 집락 수·잔차 자유도 보정과 다를 수 있으므로 계수·분산·보정식을 분리해서 대조합니다. 유의확률·신뢰구간을 자동으로 만들지 않고, 표본 선택이나 도구 타당성이 해결되었다는 문장도 붙이지 않습니다.

대학원 연결로 엄격 외생성의 한 예를 읽어 봅니다. 개체효과를 조건으로 모든 시점의 X와 통제 경로를 보아도 각 시점 오차의 평균이 0이라는 조건은, 단지 같은 해 X와의 상관이 0인 것보다 강합니다. 수요 충격이 미래 임금 선택을 바꾸면 깨질 수 있습니다. FE의 정확한 잔차 직교는 추정 연산의 결과이며 이 조건을 검정 없이 증명한 것이 아닙니다.

Repeated years within a country can move together. Row-independent arithmetic differs from summing influence contributions by country. With contrast weights a_it and structural residuals u_it, define s_i=Σ_t a_it u_it. Cluster HC0 is Σ_i s_i². Use firms as groups in the firm case.

si=∑taituit,V^cluster,HC0=∑isi2.s_i=\sum_t a_{it}u_{it},\qquad \widehat V_{cluster,HC0}=\sum_i s_i^2.

An exact rational variance calculation does not complete inference. Examine suitable cluster independence, asymptotics and group counts. Sixteen countries are not 240 countries; international dependence can remain. Date effects do not certify cross-country independence of residual errors.

We show uncorrected HC0. Packages may apply cluster-count or residual-df adjustments, so compare coefficients, variances and correction formulas separately. We do not automatically attach p-values, confidence intervals or validity certificates.

A strict-exogeneity condition can require each error’s conditional mean to vanish given entity effects and the full time paths of X and controls. This exceeds zero contemporaneous correlation and can fail when current demand shocks affect future wages. Exact fitted residual orthogonality follows from estimation; it does not prove this condition.

대학원 연결Graduate bridge

30. 그룹 삭제는 매번 원표에서30. Start every group deletion from the original frame

계수 하나가 특정 국가·기업에 지나치게 의존하는지 살펴보는 방법으로 그룹 삭제가 있습니다. “한국 제외”, “미국 제외”를 각각 계산한다면 두 번째 실험도 전체 원표에서 미국만 빼야 합니다. 한국을 뺀 표에서 다시 미국을 빼면 다른 실험입니다. 겹친 삭제 블록도 허용되지만 각 블록이 원표에서 독립적으로 시작함을 기록합니다.

일곱 행 가상 패널에서 a를 제외하면 4행, b를 제외하면 5행입니다. “a 제외 다음 b 제외”로 누적하면 2행만 남습니다. 결과가 미식별로 바뀔 수 있으므로 기울기가 없을 때 0으로 채우지 않습니다. 새 프레임에서 평균·rank·시점 연결·집락 점수를 모두 다시 계산합니다.

한 번 프레임을 정한 실제 세 모드 비교와 그룹 삭제 후 프레임이 바뀌는 분석은 목적이 다릅니다. 삭제표에서는 제거한 개체·행 수, 남은 n, rank, 추정 상태를 함께 읽습니다. 원행 인덱스를 남겨 삭제 후 결과를 원자료로 되짚을 수 있어야 합니다. 달력 원점도 원표의 선언을 유지하며 다른 시점 번호로 조용히 바꾸지 않습니다.

실습은 최대 20개 삭제 블록을 받아 과도한 계산을 거부합니다. 140개 기업을 모두 한 번에 삭제 재추정했다는 주장을 하지 않습니다. 사전 지정한 일부 블록을 검사했다면 그 범위를 정확히 적습니다. 삭제 민감성은 영향 진단이며, 몇 개 결과가 비슷하다고 인과 가정·대표성·jackknife 신뢰구간이 자동으로 성립하지 않습니다.

Group deletion can reveal reliance on particular countries or firms. Separate “omit Korea” and “omit USA” experiments both begin with the full original table. Removing the USA after already removing Korea is another experiment. Blocks may overlap, but each starts independently.

In the seven-row example, omitting a leaves four rows; omitting b leaves five. Cumulatively omitting both leaves two. Identification can disappear, so do not replace an unavailable slope with zero. Recalculate means, rank, date connectivity and group scores on each retained frame.

Comparing three modes on one frame differs from comparing changed deletion frames. Read removed units/rows, retained n, rank and estimation status together. Preserve original row indices and the declared calendar origin rather than silently renumbering dates.

The exercise permits at most 20 deletion blocks and rejects excessive requests. Do not claim all 140 firm deletions if only prespecified blocks were evaluated. Stability under selected deletions is an influence diagnostic, not automatic causal validity, representativeness or a jackknife confidence interval.

대학원 연결Graduate bridge

31. 개인 사례: 교육·임금과 대학 접근성31. Person case: schooling, wages and college proximity

가상의 학생이 대학 근처로 이사했다고 상상하는 것과 실제 대학 접근성 자료를 분석하는 것은 다릅니다. 이 사례는 Card의 공개 ZIP에 보존된 NLS 남성 단면을 사용합니다. 3613개 원행에서 기록 시급은 3017개, outlier-trimmed 기록 로그는 3010개입니다. 시급이 있는데 로그가 없는 7개를 새 log로 채워 표본을 바꾸지 않습니다. 원행 수·고유 ID·결측 사유의 범위를 먼저 읽습니다.

질문은 “이 프레임과 통제에서 교육 연수에 대한 로그 임금의 OLS와 근접성 IV 계수가 어떻게 다른가?”입니다. 전체 프레임에서 같은 14개 통제를 쓰면 OLS 약 0.074693, nearc4 IV 약 0.131504입니다. 같은 프레임에서 통제를 모두 뺀 다른 식은 OLS 약 0.052094, IV 약 0.188063입니다. 두 변화에는 질문과 조정 공간의 차이가 있습니다. 특정 숫자가 원 논문 전체 표와 같다는 주장은 하지 않습니다.

실제 SAS의 제곱 경험 열과 기준 지역을 확인해 봅니다. 원 경험 제곱 대신 /100 열을 쓰고, 1966 지역 더미의 기준을 바꿔도 절편과 함께 같은 통제 공간을 만들면 관심 계수는 같습니다. 통제 계수의 단위·절편 표현은 달라질 수 있습니다. 반면 남부 지표 reg76r를 여러 지역 번호라고 잘못 읽으면 다른 식을 계산합니다.

아래 원행·표·그림을 읽을 때 세 가지를 적으세요. 누가 분석에 남았는가, 어떤 교육 변동을 도구가 설명하는가, 교육 외 경로를 막는 근거가 무엇인가. 기록 시급의 수준·기록 로그·지수화한 적합값을 혼동하지 않습니다. 이 단면과 도구만으로 특정 학생의 미래 임금이나 모든 시기의 정책 수익률을 예언하지 않습니다.

개인의 실제 교육·임금 기록에서 IV까지

분석은 공개 NLS 남성 1976년 기록 로그 단면입니다. 원 3613행, 시급 관측 3017행, 기록 로그·통제·두 도구가 있는 공통 프레임 3010행입니다. 원 조사 가중치는 보존하되 여기의 회귀는 단위 비중을 씁니다.

관측·결측의 서로 다른 분모
구분행 수
원행3613
시급 관측3017
시급 결측596
기록 로그·완전 프레임3010
시급 있지만 기록 로그 없음7
같은 프레임·통제의 두 IV 식
도구nOLSIV통제 rank도구 rankR²F첫 단계 df구조 df
nearc430100.0746932590.131503831510.004407934113.25578529942994
both30100.0746932590.157059371520.00524669787.893095929932994

OLS와 IV는 같은 3010행을 사용합니다. 첫 단계 F와 부분 R²는 이 프레임의 유한 산술이며 배제·독립·약한 IV 추론을 인증하지 않습니다. IV는 기록 로그 임금/교육 연수 단위입니다. 지수화 적합값과 산술평균 임금의 인과 효과는 다릅니다.

단일 도구의 지정 직접 효과 범위 · 신뢰구간 아님
δπγLγUβLβU
0.0420679340.31989894000.131503830.13150383
0.0420679340.3198989400.010.100243950.13150383
0.0420679340.31989894-0.010.010.100243950.1627637

직접 효과 γ는 도구 1단위당 로그 임금입니다. ±0.01은 원자료가 입증한 값이 아니라 학습자가 검토할 추가 가정입니다. 분모의 부호와 단위를 보존하고 다른 범위를 실습에서 비교하세요.

모든 통제 계수 30개
두 구조식의 통제 계수
식통제 식별자계수
nearc4intercept3.7739653
nearc4potentialExperience0.1082711
nearc4potentialExperienceSquaredOver100-0.23349375
nearc4black-0.14677576
nearc4smsa76r0.11180832
nearc4reg76r-0.14467149
nearc4smsa66r0.018531105
nearc4reg661-0.10781424
nearc4reg662-0.0070464613
nearc4reg6630.040444543
nearc4reg664-0.05791715
nearc4reg6650.038457647
nearc4reg6660.055088688
nearc4reg6670.026757962
nearc4reg668-0.19089124
bothintercept3.3396868
bothpotentialExperience0.11881488
bothpotentialExperienceSquaredOver100-0.23564834
bothblack-0.1232778
bothsmsa76r0.10075301
bothreg76r-0.14319445
bothsmsa66r0.015062581
bothreg661-0.102976
bothreg662-0.00022865623
bothreg6630.046955624
bothreg664-0.055408384
bothreg6650.051504116
bothreg6660.069996789
bothreg6670.03905955
bothreg668-0.1980371
nearc4 원행 3613개의 적격·잔차·기여

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

1–20 / 3613
원행과 도구 예측·구조 잔차
ID원행포함YXỸX̃Z̃예측 X̃1단계 잔차구조 잔차원단위 적합투영 비중영향 기여
nls:21예6.306275370.19804715-3.0675386[-0.98571945]-0.31533061-2.7522080.601440225.7048351-0.0063170836-0.0037993481
nls:32예6.175867312-0.21116006-1.7275618[-0.95058714]-0.30409182-1.423470.0160209286.1598463-0.0060919347-9.7598444e-05
nls:43예6.5806391120.204719331.0129755[-0.93556966]-0.299287741.31226320.0715091736.50913-0.0059956936-0.00042874709
nls:54예5.521460911-0.96790533-2.2535365[0.047407424]0.015165585-2.2687021-0.671556666.19301760.00030381531-0.0002040292
nls:65예6.5916737120.12517261.0904369[0.060757328]0.0194362051.0710006-0.0182240156.60989770.00038936953-7.0958763e-06
nls:76예6.214608112-0.24679479-2.0483506[0.044231531]0.01414962-2.06250020.022571146.1920370.000283462286.3980667e-06
nls:87예6.336825718-0.140782914.3498996[0.045739848]0.0146321294.3352674-0.712811347.04963710.00029312848-0.00020894531
nls:98예6.410174914-0.067433760.34989957[0.045739848]0.0146321290.33526744-0.113446896.52362180.00029312848-3.3254515e-05
nls:109예6.052089212-0.43727708-1.2535365[0.047407424]0.015165585-1.2687021-0.272432246.32452140.00030381531-8.2769084e-05
nls:1110예6.244166912-0.25250883-0.85865877[0.049234259]0.015749987-0.87440876-0.139591926.38375880.00031552277-4.4044429e-05
nls:1211예5.41610049-1.1239794-3.3407457[0.12252359]0.039195166-3.3799409-0.68465866.1007590.00078520492-0.0005375973
nls:1312예5.991464512-0.46993834-2.0483506[0.044231531]0.01414962-2.0625002-0.200572416.1920370.00028346228-5.6854712e-05
nls:1413예6.033086211-0.4076628-3.4482869[0.042882474]0.013718058-3.46200490.0458001215.98728610.000274816711.2586638e-05
nls:1514예5.379897411-1.1180529-1.0739619[0.053365708]0.017071634-1.0910336-0.976822846.35672020.00034199959-0.00033407301
nls:1615예6.7957058160.585788813.2693854[-0.0044099391]-0.00141073483.27079620.155852126.6398537-2.8261544e-05-4.4046216e-06
nls:1716예5.703782514-0.64831611-1.6582131[0.039790859]0.012729054-1.6709421-0.430254756.13403720.00025500378-0.00010971659
nls:1817아니오—11—————————
nls:1918예5.846438812-0.620062351.0904369[0.060757328]0.0194362051.0710006-0.763458976.60989770.00038936953-0.00029726766
nls:2019예6.4892049140.011596290.34989957[0.045739848]0.0146321290.33526744-0.0344168426.52362180.00029312848-1.0088557e-05
nls:2220예6.3543710-0.13499621-3.2535365[0.047407424]0.015165585-3.26870210.292856286.06151380.000303815318.8974223e-05
1–20 / 3613

nearc4 OLS의 모든 잔차·기여

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

1–20 / 3010
3010행의 OLS 계산
ID잔차투영 비중기여
nls:20.42717161-0.00027087919-0.0001157119
nls:3-0.082122836-0.000152552451.252804e-05
nls:40.129056888.9450863e-051.154425e-05
nls:5-0.79958135-0.000198998680.00015911563
nls:60.043724329.6291093e-054.2102625e-06
nls:7-0.093796815-0.000180879721.6965942e-05
nls:8-0.465691090.00038411815-0.0001788804
nls:9-0.0935688993.0897903e-05-2.8910828e-06
nls:10-0.34364635-0.000110693623.8039458e-05
nls:11-0.18837281-7.5823915e-051.4283164e-05
nls:12-0.87444825-0.000295004750.00025796639
nls:13-0.31694037-0.000180879725.7328085e-05
nls:14-0.15009901-0.000304501184.5705326e-05
nls:15-1.0378352-9.4836273e-059.8424424e-05
nls:160.341587760.000288703289.8617506e-05
nls:17-0.52445877-0.000146428617.6795768e-05
nls:19-0.701510639.6291093e-05-6.7549225e-05
nls:20-0.0145388493.0897903e-05-4.4921996e-07
nls:220.10802103-0.00028730374-3.1034847e-05
nls:25-0.0400750522.789179e-05-1.1177649e-06
1–20 / 3010

both 원행 3613개의 적격·잔차·기여

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

1–20 / 3613
원행과 도구 예측·구조 잔차
ID원행포함YXỸX̃Z̃예측 X̃1단계 잔차구조 잔차원단위 적합투영 비중영향 기여
nls:21예6.306275370.19804715-3.0675386[-0.98571945, -0.5738725]-0.38658929-2.68094940.679832835.6264425-0.0065065288-0.0044233519
nls:32예6.175867312-0.21116006-1.7275618[-0.95058714, -0.48000166]-0.36378053-1.36378130.0601697076.1156976-0.0061226438-0.00036839768
nls:43예6.5806391120.204719331.0129755[-0.93556966, -0.49574195]-0.360902231.37387770.0456220356.5350171-0.0060742003-0.00027711738
nls:54예5.521460911-0.96790533-2.2535365[0.047407424, 0.34307407]0.057395588-2.3109321-0.613966316.13542720.00096600206-0.00059309272
nls:65예6.5916737120.12517261.0904369[0.060757328, 0.32857101]0.0598914681.0305454-0.0460907216.63776450.0010080092-4.6459872e-05
nls:76예6.214608112-0.24679479-2.0483506[0.044231531, 0.34521139]0.056640341-2.10499090.074917856.13969020.000953290817.1418499e-05
nls:87예6.336825718-0.140782914.3498996[0.045739848, 0.3443113]0.057013174.2928864-0.823975397.16080110.00095956574-0.00079065856
nls:98예6.410174914-0.067433760.34989957[0.045739848, 0.3443113]0.057013170.2928864-0.122388776.53256360.00095956574-0.00011744007
nls:109예6.052089212-0.43727708-1.2535365[0.047407424, 0.34307407]0.057395588-1.3109321-0.240397436.29248660.00096600206-0.00023222441
nls:1110예6.244166912-0.25250883-0.85865877[0.049234259, 0.34149972]0.057787595-0.91644637-0.117648436.36181530.00097259977-0.00011442483
nls:1211예5.41610049-1.1239794-3.3407457[0.12252359, 0.17535734]0.060847547-3.4015933-0.599284036.01538440.0010241006-0.00061372713
nls:1312예5.991464512-0.46993834-2.0483506[0.044231531, 0.34521139]0.056640341-2.1049909-0.14822576.13969020.00095329081-0.0001413022
nls:1413예6.033086211-0.4076628-3.4482869[0.042882474, 0.34577436]0.056277102-3.5045640.133922965.89916330.000947177280.00012684879
nls:1514예5.379897411-1.1180529-1.0739619[0.053365708, 0.33733962]0.058600376-1.1325623-0.949377166.32927450.00098627937-0.00093635111
nls:1615예6.7957058160.585788813.2693854[-0.0044099391, 0.26618075]0.0313261113.23805930.0723012016.72340460.000527237183.8119881e-05
nls:1716예5.703782514-0.64831611-1.6582131[0.039790859, 0.34544048]0.05524492-1.713458-0.387878216.09166070.00092980503-0.00036065111
nls:1817아니오—11—————————
nls:1918예5.846438812-0.620062351.0904369[0.060757328, 0.32857101]0.0598914681.0305454-0.791325676.63776450.0010080092-0.00079766357
nls:2019예6.4892049140.011596290.34989957[0.045739848, 0.3443113]0.057013170.2928864-0.0433587166.53256360.00095956574-4.1605538e-05
nls:2220예6.3543710-0.13499621-3.2535365[0.047407424, 0.34307407]0.057395588-3.31093210.376002185.97836790.000966002060.00036321888
1–20 / 3613

both OLS의 모든 잔차·기여

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

1–20 / 3010
3010행의 OLS 계산
ID잔차투영 비중기여
nls:20.42717161-0.00027087919-0.0001157119
nls:3-0.082122836-0.000152552451.252804e-05
nls:40.129056888.9450863e-051.154425e-05
nls:5-0.79958135-0.000198998680.00015911563
nls:60.043724329.6291093e-054.2102625e-06
nls:7-0.093796815-0.000180879721.6965942e-05
nls:8-0.465691090.00038411815-0.0001788804
nls:9-0.0935688993.0897903e-05-2.8910828e-06
nls:10-0.34364635-0.000110693623.8039458e-05
nls:11-0.18837281-7.5823915e-051.4283164e-05
nls:12-0.87444825-0.000295004750.00025796639
nls:13-0.31694037-0.000180879725.7328085e-05
nls:14-0.15009901-0.000304501184.5705326e-05
nls:15-1.0378352-9.4836273e-059.8424424e-05
nls:160.341587760.000288703289.8617506e-05
nls:17-0.52445877-0.000146428617.6795768e-05
nls:19-0.701510639.6291093e-05-6.7549225e-05
nls:20-0.0145388493.0897903e-05-4.4921996e-07
nls:220.10802103-0.00028730374-3.1034847e-05
nls:25-0.0400750522.789179e-05-1.1177649e-06
1–20 / 3010

모든 수치로 다시 그린 그래프와 원본 확대

실제 교육 연수와 기록 로그 임금
실제 교육 연수와 기록 로그 임금 · 3010개 점 · 원본 SVG 확대 · PNG
단일 도구의 예측 잔여 교육과 잔여 로그 임금
단일 도구의 예측 잔여 교육과 잔여 로그 임금 · 3010개 점 · 원본 SVG 확대 · PNG
두 도구의 예측 잔여 교육과 잔여 로그 임금
두 도구의 예측 잔여 교육과 잔여 로그 임금 · 3010개 점 · 원본 SVG 확대 · PNG
단일 도구 IV의 모든 구조 잔차
단일 도구 IV의 모든 구조 잔차 · 3010개 점 · 원본 SVG 확대 · PNG
두 도구 IV의 모든 구조 잔차
두 도구 IV의 모든 구조 잔차 · 3010개 점 · 원본 SVG 확대 · PNG

그림의 선형 대비와 잔차는 선언한 식의 계산입니다. 두번째 단계 그림의 가로축은 도구 예측 잔여 X이며, 그 단순 회귀 잔차를 IV 구조 잔차로 바꾸어 쓰지 않습니다. 원행 중 결측·탈락은 위 장부에 남아 있으며, 이 그림의 점은 적격 관측만 표시합니다.

요약 수치의 정확한 전체 원값
[
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "sourceRows",
    "value": "3613",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "completeRows",
    "value": "3010",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "controlRank",
    "value": "15",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "OLSbeta",
    "value": "43362543680354071573108131424745510876703842052451/580541591403175451327698493040953241339574700000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "IVbeta",
    "value": "883635803050733267106017060762467817529811313085011/6719468421432676514850330110658464043279865000000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "Sxx",
    "value": "34832495484190527079661909582457194480374482/3075885630553634415868925460056477570737",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "explainedXSS",
    "value": "64501794095187065138967814866418567490209997851514457049030313755375382754095306311750/1292177858203244018308114063714842289218126882669817637977814005321268786896165424427",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstSSE",
    "value": "4736395338337090926078935186585861891926834463456/420099448876667922572408033379176883858313371",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "instrumentRank",
    "value": "1",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "partialR2",
    "value": "32250897047593532569483907433209283745104998925757228524515156877687691377047653155875/7316556077953732303566556853511335959322623742617510494645683991511571907576210493899411",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstF",
    "value": "48279592880247518256517409427514297766422183391858571101199189845898473991440336774344875/3642152590453069385498536473039063337788759371845876633060584417316942108099581420371768",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "structuralResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "structuralSSE",
    "value": "159262176035168206367033729164439724098651098572120439116110575447320517554837638669314045297419462156977/352744186458054262478730237550726540962085925750469686986884528349709124436458706392382812500000000000",
    "unit": "recordedlogwage squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "rowHC0Variance",
    "value": "1188911682714108892806518263694633924309457797662132362792221547968127392884000333538373687914984876718901286755344866608156428167909790587502580403588646423656488137362364771144542869420551/407727181266795076431360122197668103279350318352265639904549463417023852676121955654899308407527443851155302694451612238418999537420447876818204618106436484381820042430125000000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "groupHC0Variance",
    "value": "1188911682714108892806518263694633924309457797662132362792221547968127392884000333538373687914984876718901286755344866608156428167909790587502580403588646423656488137362364771144542869420551/407727181266795076431360122197668103279350318352265639904549463417023852676121955654899308407527443851155302694451612238418999537420447876818204618106436484381820042430125000000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "reportingGroups",
    "value": "3010",
    "unit": "groups"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "sourceRows",
    "value": "3613",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "completeRows",
    "value": "3010",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "controlRank",
    "value": "15",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "OLSbeta",
    "value": "43362543680354071573108131424745510876703842052451/580541591403175451327698493040953241339574700000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "IVbeta",
    "value": "151415501558217247492945802560604032927033188013110758938051416652114031985315740555922089871901/964065390980304610518288644983766615963308462679735826621666389148261299297701847907748500000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "Sxx",
    "value": "34832495484190527079661909582457194480374482/3075885630553634415868925460056477570737",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "explainedXSS",
    "value": "48203269549015230525914432249188330798165423133986791331083319457413064964885092395387425/811289849022894483723594697436621712002038084155731164348943596977701327847218606859923",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstSSE",
    "value": "2971225780062887806428833959355828865598607731716069/263758132280382903647775140509439349320978754179",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "instrumentRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "partialR2",
    "value": "845671395596758430279200565775233873652024967262926163703216130831808157278685831498025/161181648273245003154077117671639620241243642802896519629827212854791258670146219258639654",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstF",
    "value": "2531094487021097981825647293365274983840510727017938007963725879579601814735106693673588825/320671953755296489447595834211728772735183235671267186932247993447918901025735066854283258",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstResidualDF",
    "value": "2993",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "structuralResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "structuralSSE",
    "value": "112261421477401295112067359488414673599850609122997022287000292709432606366373418890813303276226356080286430767609936676571213639998871941896533105494367960731862220149147840886468286937255402057/228279106898317654734756088808692851289220339032482591468741202792288914801878826856882098403182178429494286168427060532927548481869216890486810415079329073264510162412785079500000000000000000",
    "unit": "recordedlogwage squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "rowHC0Variance",
    "value": "186043722632411680069516361996052721281932056029649104016139579416770613864154086987646904120096854797382359700091711989265756047106258493239908909124764527692238918520008456123420160898920600929049554693926757689586780429637120945649601954882600108922075899952276272286644853525363729254097572369097622858042453268721209052043869786671168800784717041499758735605117011/67723911299923083363296354588802901727655565484082869409785869967676454787374455698485903614653098093862564168019651183832325845018686593001414768740490059471596487854556467640041421715558613128536138288147377493291591937299413253912925969243117588902782734729022700601859046247381879565431907956509752401102960719125494767069883751733524903224587796900000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "groupHC0Variance",
    "value": "186043722632411680069516361996052721281932056029649104016139579416770613864154086987646904120096854797382359700091711989265756047106258493239908909124764527692238918520008456123420160898920600929049554693926757689586780429637120945649601954882600108922075899952276272286644853525363729254097572369097622858042453268721209052043869786671168800784717041499758735605117011/67723911299923083363296354588802901727655565484082869409785869967676454787374455698485903614653098093862564168019651183832325845018686593001414768740490059471596487854556467640041421715558613128536138288147377493291591937299413253912925969243117588902782734729022700601859046247381879565431907956509752401102960719125494767069883751733524903224587796900000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "reportingGroups",
    "value": "3010",
    "unit": "groups"
  }
]

원자료·공개 코드·정확한 전체 표

Python은 보존 토큰의 정확한 유리수, R은 같은 식의 명시적 부동소수점 근사입니다. 두 프로그램 모두 factual CSV 세 개만 읽고 엔진·모델 정답·기존 계산표를 입력으로 읽지 않습니다.

Python · R · 출처·정밀도·재현 경로

An imagined student moving near college differs from analyzing actual proximity data. This case uses the NLS male cross-section preserved in Card’s public ZIP. Its 3613 native rows have 3017 observed wages and 3010 outlier-trimmed recorded logs. Do not fill the seven observed-wage/missing-log records with new logarithms. First inspect row counts, unique IDs and the scope of missingness information.

The question compares schooling slopes in OLS and proximity IV on this frame and control space. Fourteen controls give OLS about 0.074693 and nearc4 IV about 0.131504. Removing controls on the same frame gives about 0.052094 and 0.188063. Equation and adjustment changes matter; this is not a claim to reproduce every original-paper table.

Compare the actual SAS squared-experience and regional-reference coding. Scaling experience squared by 1/100 and changing the omitted 1966 region preserve the interest coefficient when the intercept/control span is unchanged. Nuisance coefficients and intercept representations may differ. Misreading southern indicator reg76r as a multi-region category would change the equation.

Use the tables and figures to record who remains, which schooling variation the instrument predicts and what supports blocking non-schooling pathways. Separate wages, recorded logs and exponentiated fitted values. This cross-section does not predict a particular student’s future wage or every period’s policy return.

From actual schooling/wage records to IV

This is the public NLS male 1976 recorded-log cross-section: 3613 native rows, 3017 observed wages and 3010 common complete log/control/two-instrument rows. Native survey weights are retained; these fits use unit weights.

Distinct observed/missing denominators
ItemRows
Native rows3613
Observed wages3017
Missing wages596
Recorded logs and complete frame3010
Observed wage, missing recorded log7
Two IV equations on the same frame and controls
InstrumentsnOLSIVControl rankInstrument rankR²FFirst-stage dfStructural df
nearc430100.0746932590.131503831510.004407934113.25578529942994
both30100.0746932590.157059371520.00524669787.893095929932994

OLS and IV use the same 3010 rows. First-stage F and partial R² are finite arithmetic, not certificates of exclusion, independence or weak-IV inference. IV units are recorded log wages per schooling year. Exponentiated fitted values differ from causal effects on arithmetic mean wages.

Stipulated single-instrument direct effects; not confidence intervals
δπγLγUβLβU
0.0420679340.31989894000.131503830.13150383
0.0420679340.3198989400.010.100243950.13150383
0.0420679340.31989894-0.010.010.100243950.1627637

Direct γ is log wage per instrument unit. The ±0.01 range is an added assumption for scrutiny, not established by the archive. Preserve signs and units when changing ranges.

All 30 control coefficients
Control coefficients in both structural equations
EquationControl identifierCoefficient
nearc4intercept3.7739653
nearc4potentialExperience0.1082711
nearc4potentialExperienceSquaredOver100-0.23349375
nearc4black-0.14677576
nearc4smsa76r0.11180832
nearc4reg76r-0.14467149
nearc4smsa66r0.018531105
nearc4reg661-0.10781424
nearc4reg662-0.0070464613
nearc4reg6630.040444543
nearc4reg664-0.05791715
nearc4reg6650.038457647
nearc4reg6660.055088688
nearc4reg6670.026757962
nearc4reg668-0.19089124
bothintercept3.3396868
bothpotentialExperience0.11881488
bothpotentialExperienceSquaredOver100-0.23564834
bothblack-0.1232778
bothsmsa76r0.10075301
bothreg76r-0.14319445
bothsmsa66r0.015062581
bothreg661-0.102976
bothreg662-0.00022865623
bothreg6630.046955624
bothreg664-0.055408384
bothreg6650.051504116
bothreg6660.069996789
bothreg6670.03905955
bothreg668-0.1980371
nearc4: eligibility, residuals and contributions for all 3613 rows

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

1–20 / 3613
Native rows, instrument fits and structural residuals
IDSource rowIncludedYXỸX̃Z̃Predicted X̃First-stage residualStructural residualOriginal fitted YContrast weightInfluence
nls:21true6.306275370.19804715-3.0675386[-0.98571945]-0.31533061-2.7522080.601440225.7048351-0.0063170836-0.0037993481
nls:32true6.175867312-0.21116006-1.7275618[-0.95058714]-0.30409182-1.423470.0160209286.1598463-0.0060919347-9.7598444e-05
nls:43true6.5806391120.204719331.0129755[-0.93556966]-0.299287741.31226320.0715091736.50913-0.0059956936-0.00042874709
nls:54true5.521460911-0.96790533-2.2535365[0.047407424]0.015165585-2.2687021-0.671556666.19301760.00030381531-0.0002040292
nls:65true6.5916737120.12517261.0904369[0.060757328]0.0194362051.0710006-0.0182240156.60989770.00038936953-7.0958763e-06
nls:76true6.214608112-0.24679479-2.0483506[0.044231531]0.01414962-2.06250020.022571146.1920370.000283462286.3980667e-06
nls:87true6.336825718-0.140782914.3498996[0.045739848]0.0146321294.3352674-0.712811347.04963710.00029312848-0.00020894531
nls:98true6.410174914-0.067433760.34989957[0.045739848]0.0146321290.33526744-0.113446896.52362180.00029312848-3.3254515e-05
nls:109true6.052089212-0.43727708-1.2535365[0.047407424]0.015165585-1.2687021-0.272432246.32452140.00030381531-8.2769084e-05
nls:1110true6.244166912-0.25250883-0.85865877[0.049234259]0.015749987-0.87440876-0.139591926.38375880.00031552277-4.4044429e-05
nls:1211true5.41610049-1.1239794-3.3407457[0.12252359]0.039195166-3.3799409-0.68465866.1007590.00078520492-0.0005375973
nls:1312true5.991464512-0.46993834-2.0483506[0.044231531]0.01414962-2.0625002-0.200572416.1920370.00028346228-5.6854712e-05
nls:1413true6.033086211-0.4076628-3.4482869[0.042882474]0.013718058-3.46200490.0458001215.98728610.000274816711.2586638e-05
nls:1514true5.379897411-1.1180529-1.0739619[0.053365708]0.017071634-1.0910336-0.976822846.35672020.00034199959-0.00033407301
nls:1615true6.7957058160.585788813.2693854[-0.0044099391]-0.00141073483.27079620.155852126.6398537-2.8261544e-05-4.4046216e-06
nls:1716true5.703782514-0.64831611-1.6582131[0.039790859]0.012729054-1.6709421-0.430254756.13403720.00025500378-0.00010971659
nls:1817false—11—————————
nls:1918true5.846438812-0.620062351.0904369[0.060757328]0.0194362051.0710006-0.763458976.60989770.00038936953-0.00029726766
nls:2019true6.4892049140.011596290.34989957[0.045739848]0.0146321290.33526744-0.0344168426.52362180.00029312848-1.0088557e-05
nls:2220true6.3543710-0.13499621-3.2535365[0.047407424]0.015165585-3.26870210.292856286.06151380.000303815318.8974223e-05
1–20 / 3613

nearc4: all OLS residuals and contributions

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

1–20 / 3010
OLS calculations for all 3010 rows
IDResidualContrast weightInfluence
nls:20.42717161-0.00027087919-0.0001157119
nls:3-0.082122836-0.000152552451.252804e-05
nls:40.129056888.9450863e-051.154425e-05
nls:5-0.79958135-0.000198998680.00015911563
nls:60.043724329.6291093e-054.2102625e-06
nls:7-0.093796815-0.000180879721.6965942e-05
nls:8-0.465691090.00038411815-0.0001788804
nls:9-0.0935688993.0897903e-05-2.8910828e-06
nls:10-0.34364635-0.000110693623.8039458e-05
nls:11-0.18837281-7.5823915e-051.4283164e-05
nls:12-0.87444825-0.000295004750.00025796639
nls:13-0.31694037-0.000180879725.7328085e-05
nls:14-0.15009901-0.000304501184.5705326e-05
nls:15-1.0378352-9.4836273e-059.8424424e-05
nls:160.341587760.000288703289.8617506e-05
nls:17-0.52445877-0.000146428617.6795768e-05
nls:19-0.701510639.6291093e-05-6.7549225e-05
nls:20-0.0145388493.0897903e-05-4.4921996e-07
nls:220.10802103-0.00028730374-3.1034847e-05
nls:25-0.0400750522.789179e-05-1.1177649e-06
1–20 / 3010

both: eligibility, residuals and contributions for all 3613 rows

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

1–20 / 3613
Native rows, instrument fits and structural residuals
IDSource rowIncludedYXỸX̃Z̃Predicted X̃First-stage residualStructural residualOriginal fitted YContrast weightInfluence
nls:21true6.306275370.19804715-3.0675386[-0.98571945, -0.5738725]-0.38658929-2.68094940.679832835.6264425-0.0065065288-0.0044233519
nls:32true6.175867312-0.21116006-1.7275618[-0.95058714, -0.48000166]-0.36378053-1.36378130.0601697076.1156976-0.0061226438-0.00036839768
nls:43true6.5806391120.204719331.0129755[-0.93556966, -0.49574195]-0.360902231.37387770.0456220356.5350171-0.0060742003-0.00027711738
nls:54true5.521460911-0.96790533-2.2535365[0.047407424, 0.34307407]0.057395588-2.3109321-0.613966316.13542720.00096600206-0.00059309272
nls:65true6.5916737120.12517261.0904369[0.060757328, 0.32857101]0.0598914681.0305454-0.0460907216.63776450.0010080092-4.6459872e-05
nls:76true6.214608112-0.24679479-2.0483506[0.044231531, 0.34521139]0.056640341-2.10499090.074917856.13969020.000953290817.1418499e-05
nls:87true6.336825718-0.140782914.3498996[0.045739848, 0.3443113]0.057013174.2928864-0.823975397.16080110.00095956574-0.00079065856
nls:98true6.410174914-0.067433760.34989957[0.045739848, 0.3443113]0.057013170.2928864-0.122388776.53256360.00095956574-0.00011744007
nls:109true6.052089212-0.43727708-1.2535365[0.047407424, 0.34307407]0.057395588-1.3109321-0.240397436.29248660.00096600206-0.00023222441
nls:1110true6.244166912-0.25250883-0.85865877[0.049234259, 0.34149972]0.057787595-0.91644637-0.117648436.36181530.00097259977-0.00011442483
nls:1211true5.41610049-1.1239794-3.3407457[0.12252359, 0.17535734]0.060847547-3.4015933-0.599284036.01538440.0010241006-0.00061372713
nls:1312true5.991464512-0.46993834-2.0483506[0.044231531, 0.34521139]0.056640341-2.1049909-0.14822576.13969020.00095329081-0.0001413022
nls:1413true6.033086211-0.4076628-3.4482869[0.042882474, 0.34577436]0.056277102-3.5045640.133922965.89916330.000947177280.00012684879
nls:1514true5.379897411-1.1180529-1.0739619[0.053365708, 0.33733962]0.058600376-1.1325623-0.949377166.32927450.00098627937-0.00093635111
nls:1615true6.7957058160.585788813.2693854[-0.0044099391, 0.26618075]0.0313261113.23805930.0723012016.72340460.000527237183.8119881e-05
nls:1716true5.703782514-0.64831611-1.6582131[0.039790859, 0.34544048]0.05524492-1.713458-0.387878216.09166070.00092980503-0.00036065111
nls:1817false—11—————————
nls:1918true5.846438812-0.620062351.0904369[0.060757328, 0.32857101]0.0598914681.0305454-0.791325676.63776450.0010080092-0.00079766357
nls:2019true6.4892049140.011596290.34989957[0.045739848, 0.3443113]0.057013170.2928864-0.0433587166.53256360.00095956574-4.1605538e-05
nls:2220true6.3543710-0.13499621-3.2535365[0.047407424, 0.34307407]0.057395588-3.31093210.376002185.97836790.000966002060.00036321888
1–20 / 3613

both: all OLS residuals and contributions

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

1–20 / 3010
OLS calculations for all 3010 rows
IDResidualContrast weightInfluence
nls:20.42717161-0.00027087919-0.0001157119
nls:3-0.082122836-0.000152552451.252804e-05
nls:40.129056888.9450863e-051.154425e-05
nls:5-0.79958135-0.000198998680.00015911563
nls:60.043724329.6291093e-054.2102625e-06
nls:7-0.093796815-0.000180879721.6965942e-05
nls:8-0.465691090.00038411815-0.0001788804
nls:9-0.0935688993.0897903e-05-2.8910828e-06
nls:10-0.34364635-0.000110693623.8039458e-05
nls:11-0.18837281-7.5823915e-051.4283164e-05
nls:12-0.87444825-0.000295004750.00025796639
nls:13-0.31694037-0.000180879725.7328085e-05
nls:14-0.15009901-0.000304501184.5705326e-05
nls:15-1.0378352-9.4836273e-059.8424424e-05
nls:160.341587760.000288703289.8617506e-05
nls:17-0.52445877-0.000146428617.6795768e-05
nls:19-0.701510639.6291093e-05-6.7549225e-05
nls:20-0.0145388493.0897903e-05-4.4921996e-07
nls:220.10802103-0.00028730374-3.1034847e-05
nls:25-0.0400750522.789179e-05-1.1177649e-06
1–20 / 3010

Graphs redrawn from every numeric point, with original enlargement

Actual schooling years and recorded log wages
Actual schooling years and recorded log wages · 3010 points · Enlarge original SVG · PNG
Single-instrument predicted residual schooling and residual log wage
Single-instrument predicted residual schooling and residual log wage · 3010 points · Enlarge original SVG · PNG
Two-instrument predicted residual schooling and residual log wage
Two-instrument predicted residual schooling and residual log wage · 3010 points · Enlarge original SVG · PNG
All structural residuals from single-instrument IV
All structural residuals from single-instrument IV · 3010 points · Enlarge original SVG · PNG
All structural residuals from two-instrument IV
All structural residuals from two-instrument IV · 3010 points · Enlarge original SVG · PNG

Plots show declared finite contrasts and residuals. Second-stage plots use instrument-predicted residual X; their ordinary regression residuals are not substituted for IV structural residuals. Missing/excluded native rows remain in the ledgers; plotted points are eligible observations.

Full exact values behind summary metrics
[
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "sourceRows",
    "value": "3613",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "completeRows",
    "value": "3010",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "controlRank",
    "value": "15",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "OLSbeta",
    "value": "43362543680354071573108131424745510876703842052451/580541591403175451327698493040953241339574700000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "IVbeta",
    "value": "883635803050733267106017060762467817529811313085011/6719468421432676514850330110658464043279865000000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "Sxx",
    "value": "34832495484190527079661909582457194480374482/3075885630553634415868925460056477570737",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "explainedXSS",
    "value": "64501794095187065138967814866418567490209997851514457049030313755375382754095306311750/1292177858203244018308114063714842289218126882669817637977814005321268786896165424427",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstSSE",
    "value": "4736395338337090926078935186585861891926834463456/420099448876667922572408033379176883858313371",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "instrumentRank",
    "value": "1",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "partialR2",
    "value": "32250897047593532569483907433209283745104998925757228524515156877687691377047653155875/7316556077953732303566556853511335959322623742617510494645683991511571907576210493899411",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstF",
    "value": "48279592880247518256517409427514297766422183391858571101199189845898473991440336774344875/3642152590453069385498536473039063337788759371845876633060584417316942108099581420371768",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "firstResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "structuralResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "structuralSSE",
    "value": "159262176035168206367033729164439724098651098572120439116110575447320517554837638669314045297419462156977/352744186458054262478730237550726540962085925750469686986884528349709124436458706392382812500000000000",
    "unit": "recordedlogwage squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "rowHC0Variance",
    "value": "1188911682714108892806518263694633924309457797662132362792221547968127392884000333538373687914984876718901286755344866608156428167909790587502580403588646423656488137362364771144542869420551/407727181266795076431360122197668103279350318352265639904549463417023852676121955654899308407527443851155302694451612238418999537420447876818204618106436484381820042430125000000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "groupHC0Variance",
    "value": "1188911682714108892806518263694633924309457797662132362792221547968127392884000333538373687914984876718901286755344866608156428167909790587502580403588646423656488137362364771144542869420551/407727181266795076431360122197668103279350318352265639904549463417023852676121955654899308407527443851155302694451612238418999537420447876818204618106436484381820042430125000000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "nearc4",
    "metric": "reportingGroups",
    "value": "3010",
    "unit": "groups"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "sourceRows",
    "value": "3613",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "completeRows",
    "value": "3010",
    "unit": "rows"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "controlRank",
    "value": "15",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "OLSbeta",
    "value": "43362543680354071573108131424745510876703842052451/580541591403175451327698493040953241339574700000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "IVbeta",
    "value": "151415501558217247492945802560604032927033188013110758938051416652114031985315740555922089871901/964065390980304610518288644983766615963308462679735826621666389148261299297701847907748500000000",
    "unit": "recordedlogwage/schoolingyears"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "Sxx",
    "value": "34832495484190527079661909582457194480374482/3075885630553634415868925460056477570737",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "explainedXSS",
    "value": "48203269549015230525914432249188330798165423133986791331083319457413064964885092395387425/811289849022894483723594697436621712002038084155731164348943596977701327847218606859923",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstSSE",
    "value": "2971225780062887806428833959355828865598607731716069/263758132280382903647775140509439349320978754179",
    "unit": "schoolingyears squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "instrumentRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "partialR2",
    "value": "845671395596758430279200565775233873652024967262926163703216130831808157278685831498025/161181648273245003154077117671639620241243642802896519629827212854791258670146219258639654",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstF",
    "value": "2531094487021097981825647293365274983840510727017938007963725879579601814735106693673588825/320671953755296489447595834211728772735183235671267186932247993447918901025735066854283258",
    "unit": "dimensionless"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "firstResidualDF",
    "value": "2993",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "structuralResidualDF",
    "value": "2994",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "structuralSSE",
    "value": "112261421477401295112067359488414673599850609122997022287000292709432606366373418890813303276226356080286430767609936676571213639998871941896533105494367960731862220149147840886468286937255402057/228279106898317654734756088808692851289220339032482591468741202792288914801878826856882098403182178429494286168427060532927548481869216890486810415079329073264510162412785079500000000000000000",
    "unit": "recordedlogwage squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "rowHC0Variance",
    "value": "186043722632411680069516361996052721281932056029649104016139579416770613864154086987646904120096854797382359700091711989265756047106258493239908909124764527692238918520008456123420160898920600929049554693926757689586780429637120945649601954882600108922075899952276272286644853525363729254097572369097622858042453268721209052043869786671168800784717041499758735605117011/67723911299923083363296354588802901727655565484082869409785869967676454787374455698485903614653098093862564168019651183832325845018686593001414768740490059471596487854556467640041421715558613128536138288147377493291591937299413253912925969243117588902782734729022700601859046247381879565431907956509752401102960719125494767069883751733524903224587796900000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "groupHC0Variance",
    "value": "186043722632411680069516361996052721281932056029649104016139579416770613864154086987646904120096854797382359700091711989265756047106258493239908909124764527692238918520008456123420160898920600929049554693926757689586780429637120945649601954882600108922075899952276272286644853525363729254097572369097622858042453268721209052043869786671168800784717041499758735605117011/67723911299923083363296354588802901727655565484082869409785869967676454787374455698485903614653098093862564168019651183832325845018686593001414768740490059471596487854556467640041421715558613128536138288147377493291591937299413253912925969243117588902782734729022700601859046247381879565431907956509752401102960719125494767069883751733524903224587796900000000000000000000",
    "unit": "(recordedlogwage/schoolingyears) squared"
  },
  {
    "kind": "person",
    "spec": "both",
    "metric": "reportingGroups",
    "value": "3010",
    "unit": "groups"
  }
]

Factual inputs, public code and complete exact tables

Python preserves source-token fractions; R explicitly approximates the same equations. Both read only three factual CSVs, not the engine, answer model or precomputed tables.

Python · R · Provenance, precision and reproduction

대학원 연결Graduate bridge

32. 국가 사례: 성장과 실업률 변화32. Country case: growth and unemployment changes

국가 사례의 목표는 어떤 나라의 정책이 옳다고 판정하는 것이 아니라, 같은 원자료에서 서로 다른 패널 비교를 재현하는 것입니다. 16개국 2010–2024년의 GDP 성장률과 전년 대비 실업률 변화를 사용합니다. 각 분석 행의 현재·전년 출처를 추적하고 2009년 실업률이 2010년 변화에 쓰인다는 것을 확인합니다.

동일 240행에서 pooled 기울기 약 −1.298767, 개체 효과 −1.356718, 두 방향 효과 −0.474150입니다. 서로 다른 세 결과를 원하는 방향으로 골라 “증명”하지 않습니다. pooled의 국가 간 수준 대비와 개체 내 대비, 공통 해별 움직임을 제거한 대비가 어떻게 달라지는지 잔여 X·Y 그림과 rank를 함께 읽습니다.

노트 한쪽에는 16개국을 고른 범위, ILO 모형 추정 실업률의 분모, 성장률 %·변화 %포인트, 2026년 보존 빈티지의 소급 개정 가능성을 적습니다. 다른 쪽에는 나라 간 오차 의존·역인과·나라별 시변 충격 등으로 인과 해석이 제한된다는 점을 적습니다. 세계 모든 국가의 대표 표본으로 추론하지 않습니다.

케이스 스터디 과제는 한국 2020년 행을 원 지표 세 레코드와 연결하고, 16개 국가별 연도 궤적을 비교하는 것입니다. 특별한 한 점이 눈에 띄면 먼저 원행·단위를 확인한 뒤 사전 지정한 국가 삭제를 별도로 계산합니다. 그래프의 눈에 띄는 모양만으로 관측을 버리거나 원본을 수정하지 않습니다.

실제 국가–연도와 세 비교 공간

같은 240개 국가–연도에 세 식을 적용합니다. Y는 GDP 성장률 %, X는 실제 전년 대비 실업률 변화 %포인트입니다. 16개국의 2026년 보존 빈티지이며 세계 대표 표본·실시간 당시 공개치·인과 효과를 인증하지 않습니다.

같은 표본의 세 비교 · HC0는 보정하지 않음
식n개체시점rankdfβX 잔차 제곱합HC0개체 HC0
pooled24016152238-1.2987673173.292910.108982720.079299072
entity240161517223-1.3567175163.4670.104386460.11271931
twoway240161531209-0.47415046118.892630.0528060380.067518206
240개 행의 실제 전년 연결

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

1–20 / 240
현재 GDP·현재 U·전년 U 원행 연결
ID국가연도YU(t)U(t−1)ΔUGDP 원행U 원행전년 U 원행
wb:AUS:2010AUS20102.2100485.2145.565-0.3511514551456
wb:AUS:2011AUS20112.39473495.0835.214-0.1311414541455
wb:AUS:2012AUS20123.95247145.2255.0830.1421314531454
wb:AUS:2013AUS20132.6544535.6635.2250.4381214521453
wb:AUS:2014AUS20142.60118986.0785.6630.4151114511452
wb:AUS:2015AUS20152.16434786.0556.078-0.0231014501451
wb:AUS:2016AUS20162.75564075.7116.055-0.344914491450
wb:AUS:2017AUS20172.29331035.5925.711-0.119814481449
wb:AUS:2018AUS20182.87417045.3455.592-0.247714471448
wb:AUS:2019AUS20192.1940175.1435.345-0.202614461447
wb:AUS:2020AUS2020-0.13353196.3945.1431.251514451446
wb:AUS:2021AUS20212.00694845.0226.394-1.372414441445
wb:AUS:2022AUS20224.25304563.7285.022-1.294314431444
wb:AUS:2023AUS20233.5838213.6683.728-0.06214421443
wb:AUS:2024AUS20241.37340773.9423.6680.274114411442
wb:BRA:2010BRA20107.52822588.429.419-0.9996015001501
wb:BRA:2011BRA20113.97442317.5788.42-0.8425914991500
wb:BRA:2012BRA20121.9211767.2517.578-0.3275814981499
wb:BRA:2013BRA20133.00482277.0717.251-0.185714971498
wb:BRA:2014BRA20140.503955746.7557.071-0.3165614961497
1–20 / 240

pooled 모든 변환·잔차·비중

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

1–20 / 240
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
wb:AUS:2010country:AUS20102.210048-0.3512.210048-0.351-0.81323442-0.2350375-1.11849343.3285414-0.00135630190.0015170148
wb:AUS:2011country:AUS20112.3947349-0.1312.3947349-0.131-0.62854743-0.0150375-0.648077643.0428126-8.6775045e-055.6236967e-05
wb:AUS:2012country:AUS20123.95247140.1423.95247140.1420.929189010.25796251.26422232.68824910.00148859240.0018819116
wb:AUS:2013country:AUS20132.6544530.4382.6544530.438-0.368829350.55396250.350639062.3038140.0031966830.0011208819
wb:AUS:2014country:AUS20142.60118980.4152.60118980.415-0.422092590.53096250.267504162.33368560.00306395980.00081962199
wb:AUS:2015country:AUS20152.1643478-0.0232.1643478-0.023-0.858934560.0929625-0.738197912.90254570.00053644723-0.00039600422
wb:AUS:2016country:AUS20162.7556407-0.3442.7556407-0.344-0.26764172-0.2280375-0.563809373.31945-0.00131590790.00074192118
wb:AUS:2017country:AUS20172.2933103-0.1192.2933103-0.119-0.72997207-0.0030375-0.733917083.0272274-1.7528126e-051.2864191e-05
wb:AUS:2018country:AUS20182.8741704-0.2472.8741704-0.247-0.14911198-0.1310375-0.31929923.1934696-0.000756161930.0002414419
wb:AUS:2019country:AUS20192.194017-0.2022.194017-0.202-0.82926533-0.0860375-0.941008033.1350251-0.000496485980.0004671973
wb:AUS:2020country:AUS2020-0.13353191.251-0.13353191.251-3.15681431.3669625-1.3814481.24791610.0078881618-0.010897086
wb:AUS:2021country:AUS20212.0069484-1.3722.0069484-1.372-1.0163339-1.2560375-2.64763444.6545829-0.00724806060.019190215
wb:AUS:2022country:AUS20224.2530456-1.2944.2530456-1.2941.2297632-1.1780375-0.300233414.553279-0.00679795560.0020409734
wb:AUS:2023country:AUS20233.583821-0.063.583821-0.060.560538640.05596250.63322092.95060010.000322935890.00020448976
wb:AUS:2024country:AUS20241.37340770.2741.37340770.274-1.64987460.3899625-1.14340412.51681180.0022503085-0.0025730119
wb:BRA:2010country:BRA20107.5282258-0.9997.5282258-0.9994.5049434-0.88303753.35808324.1701426-0.0050956355-0.017111568
wb:BRA:2011country:BRA20113.9744231-0.8423.9744231-0.8420.95114071-0.72603750.00818691763.9662362-0.004189655-3.430036e-05
wb:BRA:2012country:BRA20121.921176-0.3271.921176-0.327-1.1021064-0.2110375-1.3761953.297371-0.00121780810.0016759414
wb:BRA:2013country:BRA20133.0048227-0.183.0048227-0.18-0.018459702-0.0640375-0.101629523.1064522-0.00036953333.755549e-05
wb:BRA:2014country:BRA20140.50395574-0.3160.50395574-0.316-2.5193266-0.2000375-2.77912883.2830845-0.00115433170.0032080365
1–20 / 240

entity 모든 변환·잔차·비중

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

1–20 / 240
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
wb:AUS:2010country:AUS20102.210048-0.351-0.26849032-0.2428-0.26849032-0.2428-0.597901342.8079493-0.0014853150.00088807186
wb:AUS:2011country:AUS20112.3947349-0.131-0.083803334-0.0228-0.083803334-0.0228-0.114736492.5094714-0.000139477691.6003181e-05
wb:AUS:2012country:AUS20123.95247140.1421.47393310.25021.47393310.25021.81338382.13908760.00153058410.0027755365
wb:AUS:2013country:AUS20132.6544530.4380.175914750.54620.175914750.54620.916953861.73749920.00334134710.0030638611
wb:AUS:2014country:AUS20142.60118980.4150.12265150.52320.12265150.52320.832486121.76870370.00320064590.0026644933
wb:AUS:2015country:AUS20152.1643478-0.023-0.314190470.0852-0.314190470.0852-0.198598142.36294590.0005212061-0.00010351056
wb:AUS:2016country:AUS20162.7556407-0.3440.27710238-0.23580.27710238-0.2358-0.0428116152.7984523-0.00144249296.1755453e-05
wb:AUS:2017country:AUS20172.2933103-0.119-0.18522797-0.0108-0.18522797-0.0108-0.199880522.4931908-6.6068379e-051.3205782e-05
wb:AUS:2018country:AUS20182.8741704-0.2470.39563212-0.13880.39563212-0.13880.207319722.6668507-0.00084910102-0.00017603539
wb:AUS:2019country:AUS20192.194017-0.202-0.28452124-0.0938-0.28452124-0.0938-0.411781342.6057984-0.000573816110.00023628677
wb:AUS:2020country:AUS2020-0.13353191.251-2.61207021.3592-2.61207021.3592-0.768019710.634487810.0083148279-0.0063859517
wb:AUS:2021country:AUS20212.0069484-1.372-0.47158983-1.2638-0.47158983-1.2638-2.18620944.1931579-0.00773122390.016902075
wb:AUS:2022country:AUS20224.2530456-1.2941.7745073-1.18581.7745073-1.18580.165711674.0873339-0.0072540633-0.0012020829
wb:AUS:2023country:AUS20233.583821-0.061.10528270.04821.10528270.04821.17067652.41314450.000294860730.00034518653
wb:AUS:2024country:AUS20241.37340770.274-1.10513050.3822-1.10513050.3822-0.58659311.96000080.0023380865-0.0013715054
wb:BRA:2010country:BRA20107.5282258-0.9995.8214427-0.824466675.8214427-0.824466674.70287432.8253515-0.0050436274-0.023719546
wb:BRA:2011country:BRA20113.9744231-0.8422.2676399-0.667466672.2676399-0.667466671.36207622.6123469-0.004083189-0.0055616146
wb:BRA:2012country:BRA20121.921176-0.3270.21439285-0.152466670.21439285-0.152466670.00753864891.9136373-0.00093270607-7.0313436e-06
wb:BRA:2013country:BRA20133.0048227-0.181.2980395-0.00546666671.2980395-0.00546666671.29062281.7141999-3.3442019e-05-4.3161033e-05
wb:BRA:2014country:BRA20140.50395574-0.316-1.2028274-0.14146667-1.2028274-0.14146667-1.39475771.8987134-0.00086541420.0012070431
1–20 / 240

twoway 모든 변환·잔차·비중

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

1–20 / 240
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
wb:AUS:2010country:AUS20102.210048-0.351-0.26849032-0.2428-2.826776-0.134325-2.89046625.1005142-0.00112980090.0032656513
wb:AUS:2011country:AUS20112.3947349-0.131-0.083803334-0.0228-0.917975580.171675-0.83657583.23131070.0014439499-0.0012079735
wb:AUS:2012country:AUS20123.95247140.1421.47393310.25021.27694210.29273751.41574372.53672760.00246220050.003485845
wb:AUS:2013country:AUS20132.6544530.4380.175914750.5462-0.033260660.49573750.20179352.45265950.00416962340.00084140291
wb:AUS:2014country:AUS20142.60118980.4150.12265150.5232-0.173722190.60880.114940612.48624920.00512058640.00058856334
wb:AUS:2015country:AUS20152.1643478-0.023-0.314190470.0852-0.14383811-0.079075-0.181331562.3456794-0.000665095880.00012060287
wb:AUS:2016country:AUS20162.7556407-0.3440.27710238-0.23580.51262947-0.4568250.296025692.459615-0.0038423323-0.001137429
wb:AUS:2017country:AUS20172.2933103-0.119-0.18522797-0.0108-0.607076280.00455-0.604918892.89822923.8269823e-05-2.3150139e-05
wb:AUS:2018country:AUS20182.8741704-0.2470.39563212-0.13880.214106290.007050.217449052.65672135.9297198e-051.2894119e-05
wb:AUS:2019country:AUS20192.194017-0.202-0.28452124-0.09380.39393442-0.06020.365390561.8286265-0.0005063392-0.00018501156
wb:AUS:2020country:AUS2020-0.13353191.251-2.61207021.35924.03033680.073054.0649735-4.19850540.00061441990.0024976006
wb:AUS:2021country:AUS20212.0069484-1.372-0.47158983-1.2638-3.1951527-1.1147-3.72368825.7306367-0.00937568610.034912132
wb:AUS:2022country:AUS20224.2530456-1.2941.7745073-1.18580.88588969-0.23163750.776058663.4769869-0.0019482915-0.0015119885
wb:AUS:2023country:AUS20233.583821-0.061.10528270.04821.44888820.18473751.53648162.04733940.00155381790.0023874126
wb:AUS:2024country:AUS20241.37340770.274-1.10513050.3822-0.864925510.238425-0.751876192.12528390.0020053808-0.0015077981
wb:BRA:2010country:BRA20107.5282258-0.9995.8214427-0.824466673.263157-0.715991672.92366924.6045566-0.0060221702-0.017606834
wb:BRA:2011country:BRA20113.9744231-0.8422.2676399-0.667466671.4334677-0.472991671.20919852.7652246-0.0039783093-0.0048105655
wb:BRA:2012country:BRA20121.921176-0.3270.21439285-0.152466670.017401871-0.10992917-0.0347210941.9558971-0.000924608743.2103426e-05
wb:BRA:2013country:BRA20133.0048227-0.181.2980395-0.00546666671.0888641-0.0559291671.06234531.9424774-0.00047041743-0.00049974574
wb:BRA:2014country:BRA20140.50395574-0.316-1.2028274-0.14146667-1.4992011-0.055866667-1.52569032.029646-0.000469891750.00071690928
1–20 / 240

모든 개체 평균과 관측 수

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

1–20 / 48
완전 프레임 내 개체 평균
식개체n평균 Y평균 X통제 평균
pooledcountry:AUS152.4785383-0.1082[]
pooledcountry:BRA151.7067831-0.17453333[]
pooledcountry:CAN152.1442507-0.1406[]
pooledcountry:CHN156.7360523-0.0086666667[]
pooledcountry:DEU151.330114-0.29866667[]
pooledcountry:FRA151.2582146-0.1148[]
pooledcountry:GBR151.646234-0.22146667[]
pooledcountry:IDN154.745757-0.187[]
pooledcountry:IND156.1463727-0.23086667[]
pooledcountry:JPN150.9490367-0.1712[]
pooledcountry:KOR152.9976854-0.0386[]
pooledcountry:MEX151.9407981-0.17853333[]
pooledcountry:SGP154.4545058-0.2082[]
pooledcountry:USA152.4190485-0.3488[]
pooledcountry:VNM156.1155459-0.009[]
pooledcountry:ZAF151.30358080.58373333[]
entitycountry:AUS152.4785383-0.1082[]
entitycountry:BRA151.7067831-0.17453333[]
entitycountry:CAN152.1442507-0.1406[]
entitycountry:CHN156.7360523-0.0086666667[]
1–20 / 48

모든 집락 점수

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

1–20 / 48
개체별 영향 합과 제곱
식개체점수 합제곱
pooledcountry:AUS0.0144286680.00020818646
pooledcountry:BRA-0.0115945780.00013443423
pooledcountry:CAN-0.0489954550.0024005546
pooledcountry:CHN0.0157531130.00024816058
pooledcountry:DEU-0.0128339060.00016470915
pooledcountry:FRA0.0148049780.00021918738
pooledcountry:GBR-0.0291210270.00084803421
pooledcountry:IDN-0.028826460.00083096482
pooledcountry:IND-0.100189810.010037997
pooledcountry:JPN0.00364547861.3289514e-05
pooledcountry:KOR0.00417634831.7441885e-05
pooledcountry:MEX-0.0640964780.0041083585
pooledcountry:SGP-0.081950490.0067158828
pooledcountry:USA0.0920490570.008473029
pooledcountry:VNM0.022055530.0004864464
pooledcountry:ZAF0.210695030.044392395
entitycountry:AUS0.0177273890.00031426032
entitycountry:BRA-0.00646961994.1855982e-05
entitycountry:CAN-0.0443604260.0019678474
entitycountry:CHN-0.0209338480.00043822599
1–20 / 48

표의 분산은 원 프레임·잔차·개체 묶음의 유한 HC0 계산입니다. 적은 집락·집락 간 의존·엄격 외생성·역인과·표본 선택은 별도 문제입니다. 추정 연산의 직교 관계가 인과 가정의 증명은 아닙니다.

모든 수치로 다시 그린 그래프와 원본 확대

16개국의 모든 연간 GDP 성장률
16개국의 모든 연간 GDP 성장률 · 240개 점 · 원본 SVG 확대 · PNG
국가 pooled의 모든 조정 잔차
국가 pooled의 모든 조정 잔차 · 240개 점 · 원본 SVG 확대 · PNG
국가 entity의 모든 조정 잔차
국가 entity의 모든 조정 잔차 · 240개 점 · 원본 SVG 확대 · PNG
국가 twoway의 모든 조정 잔차
국가 twoway의 모든 조정 잔차 · 240개 점 · 원본 SVG 확대 · PNG

원계열 그림의 가로축은 관측 연도입니다. 패널 잔차 그림은 각 pooled·entity·twoway 식에서 해당 통제·개체·시점 효과를 조정한 X 잔차와 Y 잔차를 사용합니다. 어떤 효과를 조정했는지는 모드마다 다르므로 축과 식을 함께 읽으세요. 원행 중 결측·탈락은 위 장부에 남아 있으며, 이 그림의 점은 적격 관측만 표시합니다.

요약 수치의 정확한 전체 원값
[
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "beta",
    "value": "-1800537356467066955231/1386343269300000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "designRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "absorbedEntityRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "remainingControlRank",
    "value": "1",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "residualDF",
    "value": "238",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "Sxx",
    "value": "13863432693/80000000",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "Sxy",
    "value": "-1800537356467066955231/8000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "SSE",
    "value": "14613087350183763883238193922916626954616137/6931716346500000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "rowHC0Variance",
    "value": "223649659895162534985499112944357635621136824211691027326247581/2052157116145043147867114179771208755444500000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "groupHC0Variance",
    "value": "488202462323444313849961246970156570824605133856155052648230799/6156471348435129443601342539313626266333500000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "beta",
    "value": "-3326678242698440366067/2452005056000000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "designRank",
    "value": "17",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "absorbedEntityRank",
    "value": "16",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "remainingControlRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "residualDF",
    "value": "223",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "Sxx",
    "value": "38312579/234375",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "Sxy",
    "value": "-1108892747566146788689/5000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "SSE",
    "value": "45447401472467680042063243247611209904034647/36780075840000000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "rowHC0Variance",
    "value": "294794692908984075332124775739141621677082939084073170402141/2824070119919708494422610018410168320000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "groupHC0Variance",
    "value": "254661796457893987171428657214657944160948878650645513305131/2259256095935766795538088014728134656000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "beta",
    "value": "-13529519157141259496067/28534231832000000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "designRank",
    "value": "31",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "absorbedEntityRank",
    "value": "16",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "remainingControlRank",
    "value": "14",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "residualDF",
    "value": "209",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "Sxx",
    "value": "3566778979/30000000",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "Sxy",
    "value": "-4509839719047086498689/80000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "SSE",
    "value": "1230555173536989834840397595737406589538478461/2282738546560000000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "rowHC0Variance",
    "value": "700129403811247824656627744002984813937360017849327737966502245153/13258510515253828426856586591070201321963520000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "groupHC0Variance",
    "value": "5594942774365488187585149898603986744297371488476207265515715601/82865690720336427667853666194188758262272000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  }
]

원자료·공개 코드·정확한 전체 표

Python은 보존 토큰의 정확한 유리수, R은 같은 식의 명시적 부동소수점 근사입니다. 두 프로그램 모두 factual CSV 세 개만 읽고 엔진·모델 정답·기존 계산표를 입력으로 읽지 않습니다.

Python · R · 출처·정밀도·재현 경로

This case reproduces alternative panel comparisons rather than judging a country’s policy. Use GDP growth and annual unemployment changes for 16 countries over 2010–2024. Trace each current/prior source link, including 2009 unemployment for the 2010 change.

The same 240 rows yield slopes about −1.298767 pooled, −1.356718 entity and −0.474150 twoway. Do not choose whichever coefficient supports a preferred claim. Compare across-country, within-country and common-date-adjusted variation using residual plots and ranks.

Record the 16-country scope, labor-force denominator, percent/percentage-point units and retrospective retained vintage. Separately list international dependence, reverse causality and country-specific changing shocks. This is not a representative sample of all countries.

Trace Korea’s 2020 row to its three native indicator records and compare all country trajectories. A striking point calls first for source/unit checks, then a separately declared deletion analysis. Visual appearance alone does not justify deleting or changing observations.

Actual country-years and three comparison spaces

Apply three equations to the same 240 country-years. Y is annual GDP growth percent; X is actual prior-year unemployment change in percentage points. These 16 countries use a retained 2026 vintage, not a representative world sample, a real-time release reconstruction or a causal certificate.

Three same-frame contrasts; uncorrected HC0
EquationnEntitiesDatesrankdfβResidual X SSHC0Entity HC0
pooled24016152238-1.2987673173.292910.108982720.079299072
entity240161517223-1.3567175163.4670.104386460.11271931
twoway240161531209-0.47415046118.892630.0528060380.067518206
Actual prior-calendar-year links for every row

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

1–20 / 240
Source links for current GDP/current U/prior U
IDCountryYearYU(t)U(t−1)ΔUGDP source rowU source rowPrior U source row
wb:AUS:2010AUS20102.2100485.2145.565-0.3511514551456
wb:AUS:2011AUS20112.39473495.0835.214-0.1311414541455
wb:AUS:2012AUS20123.95247145.2255.0830.1421314531454
wb:AUS:2013AUS20132.6544535.6635.2250.4381214521453
wb:AUS:2014AUS20142.60118986.0785.6630.4151114511452
wb:AUS:2015AUS20152.16434786.0556.078-0.0231014501451
wb:AUS:2016AUS20162.75564075.7116.055-0.344914491450
wb:AUS:2017AUS20172.29331035.5925.711-0.119814481449
wb:AUS:2018AUS20182.87417045.3455.592-0.247714471448
wb:AUS:2019AUS20192.1940175.1435.345-0.202614461447
wb:AUS:2020AUS2020-0.13353196.3945.1431.251514451446
wb:AUS:2021AUS20212.00694845.0226.394-1.372414441445
wb:AUS:2022AUS20224.25304563.7285.022-1.294314431444
wb:AUS:2023AUS20233.5838213.6683.728-0.06214421443
wb:AUS:2024AUS20241.37340773.9423.6680.274114411442
wb:BRA:2010BRA20107.52822588.429.419-0.9996015001501
wb:BRA:2011BRA20113.97442317.5788.42-0.8425914991500
wb:BRA:2012BRA20121.9211767.2517.578-0.3275814981499
wb:BRA:2013BRA20133.00482277.0717.251-0.185714971498
wb:BRA:2014BRA20140.503955746.7557.071-0.3165614961497
1–20 / 240

pooled: every transformed value, residual and weight

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

1–20 / 240
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
wb:AUS:2010country:AUS20102.210048-0.3512.210048-0.351-0.81323442-0.2350375-1.11849343.3285414-0.00135630190.0015170148
wb:AUS:2011country:AUS20112.3947349-0.1312.3947349-0.131-0.62854743-0.0150375-0.648077643.0428126-8.6775045e-055.6236967e-05
wb:AUS:2012country:AUS20123.95247140.1423.95247140.1420.929189010.25796251.26422232.68824910.00148859240.0018819116
wb:AUS:2013country:AUS20132.6544530.4382.6544530.438-0.368829350.55396250.350639062.3038140.0031966830.0011208819
wb:AUS:2014country:AUS20142.60118980.4152.60118980.415-0.422092590.53096250.267504162.33368560.00306395980.00081962199
wb:AUS:2015country:AUS20152.1643478-0.0232.1643478-0.023-0.858934560.0929625-0.738197912.90254570.00053644723-0.00039600422
wb:AUS:2016country:AUS20162.7556407-0.3442.7556407-0.344-0.26764172-0.2280375-0.563809373.31945-0.00131590790.00074192118
wb:AUS:2017country:AUS20172.2933103-0.1192.2933103-0.119-0.72997207-0.0030375-0.733917083.0272274-1.7528126e-051.2864191e-05
wb:AUS:2018country:AUS20182.8741704-0.2472.8741704-0.247-0.14911198-0.1310375-0.31929923.1934696-0.000756161930.0002414419
wb:AUS:2019country:AUS20192.194017-0.2022.194017-0.202-0.82926533-0.0860375-0.941008033.1350251-0.000496485980.0004671973
wb:AUS:2020country:AUS2020-0.13353191.251-0.13353191.251-3.15681431.3669625-1.3814481.24791610.0078881618-0.010897086
wb:AUS:2021country:AUS20212.0069484-1.3722.0069484-1.372-1.0163339-1.2560375-2.64763444.6545829-0.00724806060.019190215
wb:AUS:2022country:AUS20224.2530456-1.2944.2530456-1.2941.2297632-1.1780375-0.300233414.553279-0.00679795560.0020409734
wb:AUS:2023country:AUS20233.583821-0.063.583821-0.060.560538640.05596250.63322092.95060010.000322935890.00020448976
wb:AUS:2024country:AUS20241.37340770.2741.37340770.274-1.64987460.3899625-1.14340412.51681180.0022503085-0.0025730119
wb:BRA:2010country:BRA20107.5282258-0.9997.5282258-0.9994.5049434-0.88303753.35808324.1701426-0.0050956355-0.017111568
wb:BRA:2011country:BRA20113.9744231-0.8423.9744231-0.8420.95114071-0.72603750.00818691763.9662362-0.004189655-3.430036e-05
wb:BRA:2012country:BRA20121.921176-0.3271.921176-0.327-1.1021064-0.2110375-1.3761953.297371-0.00121780810.0016759414
wb:BRA:2013country:BRA20133.0048227-0.183.0048227-0.18-0.018459702-0.0640375-0.101629523.1064522-0.00036953333.755549e-05
wb:BRA:2014country:BRA20140.50395574-0.3160.50395574-0.316-2.5193266-0.2000375-2.77912883.2830845-0.00115433170.0032080365
1–20 / 240

entity: every transformed value, residual and weight

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

1–20 / 240
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
wb:AUS:2010country:AUS20102.210048-0.351-0.26849032-0.2428-0.26849032-0.2428-0.597901342.8079493-0.0014853150.00088807186
wb:AUS:2011country:AUS20112.3947349-0.131-0.083803334-0.0228-0.083803334-0.0228-0.114736492.5094714-0.000139477691.6003181e-05
wb:AUS:2012country:AUS20123.95247140.1421.47393310.25021.47393310.25021.81338382.13908760.00153058410.0027755365
wb:AUS:2013country:AUS20132.6544530.4380.175914750.54620.175914750.54620.916953861.73749920.00334134710.0030638611
wb:AUS:2014country:AUS20142.60118980.4150.12265150.52320.12265150.52320.832486121.76870370.00320064590.0026644933
wb:AUS:2015country:AUS20152.1643478-0.023-0.314190470.0852-0.314190470.0852-0.198598142.36294590.0005212061-0.00010351056
wb:AUS:2016country:AUS20162.7556407-0.3440.27710238-0.23580.27710238-0.2358-0.0428116152.7984523-0.00144249296.1755453e-05
wb:AUS:2017country:AUS20172.2933103-0.119-0.18522797-0.0108-0.18522797-0.0108-0.199880522.4931908-6.6068379e-051.3205782e-05
wb:AUS:2018country:AUS20182.8741704-0.2470.39563212-0.13880.39563212-0.13880.207319722.6668507-0.00084910102-0.00017603539
wb:AUS:2019country:AUS20192.194017-0.202-0.28452124-0.0938-0.28452124-0.0938-0.411781342.6057984-0.000573816110.00023628677
wb:AUS:2020country:AUS2020-0.13353191.251-2.61207021.3592-2.61207021.3592-0.768019710.634487810.0083148279-0.0063859517
wb:AUS:2021country:AUS20212.0069484-1.372-0.47158983-1.2638-0.47158983-1.2638-2.18620944.1931579-0.00773122390.016902075
wb:AUS:2022country:AUS20224.2530456-1.2941.7745073-1.18581.7745073-1.18580.165711674.0873339-0.0072540633-0.0012020829
wb:AUS:2023country:AUS20233.583821-0.061.10528270.04821.10528270.04821.17067652.41314450.000294860730.00034518653
wb:AUS:2024country:AUS20241.37340770.274-1.10513050.3822-1.10513050.3822-0.58659311.96000080.0023380865-0.0013715054
wb:BRA:2010country:BRA20107.5282258-0.9995.8214427-0.824466675.8214427-0.824466674.70287432.8253515-0.0050436274-0.023719546
wb:BRA:2011country:BRA20113.9744231-0.8422.2676399-0.667466672.2676399-0.667466671.36207622.6123469-0.004083189-0.0055616146
wb:BRA:2012country:BRA20121.921176-0.3270.21439285-0.152466670.21439285-0.152466670.00753864891.9136373-0.00093270607-7.0313436e-06
wb:BRA:2013country:BRA20133.0048227-0.181.2980395-0.00546666671.2980395-0.00546666671.29062281.7141999-3.3442019e-05-4.3161033e-05
wb:BRA:2014country:BRA20140.50395574-0.316-1.2028274-0.14146667-1.2028274-0.14146667-1.39475771.8987134-0.00086541420.0012070431
1–20 / 240

twoway: every transformed value, residual and weight

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

1–20 / 240
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
wb:AUS:2010country:AUS20102.210048-0.351-0.26849032-0.2428-2.826776-0.134325-2.89046625.1005142-0.00112980090.0032656513
wb:AUS:2011country:AUS20112.3947349-0.131-0.083803334-0.0228-0.917975580.171675-0.83657583.23131070.0014439499-0.0012079735
wb:AUS:2012country:AUS20123.95247140.1421.47393310.25021.27694210.29273751.41574372.53672760.00246220050.003485845
wb:AUS:2013country:AUS20132.6544530.4380.175914750.5462-0.033260660.49573750.20179352.45265950.00416962340.00084140291
wb:AUS:2014country:AUS20142.60118980.4150.12265150.5232-0.173722190.60880.114940612.48624920.00512058640.00058856334
wb:AUS:2015country:AUS20152.1643478-0.023-0.314190470.0852-0.14383811-0.079075-0.181331562.3456794-0.000665095880.00012060287
wb:AUS:2016country:AUS20162.7556407-0.3440.27710238-0.23580.51262947-0.4568250.296025692.459615-0.0038423323-0.001137429
wb:AUS:2017country:AUS20172.2933103-0.119-0.18522797-0.0108-0.607076280.00455-0.604918892.89822923.8269823e-05-2.3150139e-05
wb:AUS:2018country:AUS20182.8741704-0.2470.39563212-0.13880.214106290.007050.217449052.65672135.9297198e-051.2894119e-05
wb:AUS:2019country:AUS20192.194017-0.202-0.28452124-0.09380.39393442-0.06020.365390561.8286265-0.0005063392-0.00018501156
wb:AUS:2020country:AUS2020-0.13353191.251-2.61207021.35924.03033680.073054.0649735-4.19850540.00061441990.0024976006
wb:AUS:2021country:AUS20212.0069484-1.372-0.47158983-1.2638-3.1951527-1.1147-3.72368825.7306367-0.00937568610.034912132
wb:AUS:2022country:AUS20224.2530456-1.2941.7745073-1.18580.88588969-0.23163750.776058663.4769869-0.0019482915-0.0015119885
wb:AUS:2023country:AUS20233.583821-0.061.10528270.04821.44888820.18473751.53648162.04733940.00155381790.0023874126
wb:AUS:2024country:AUS20241.37340770.274-1.10513050.3822-0.864925510.238425-0.751876192.12528390.0020053808-0.0015077981
wb:BRA:2010country:BRA20107.5282258-0.9995.8214427-0.824466673.263157-0.715991672.92366924.6045566-0.0060221702-0.017606834
wb:BRA:2011country:BRA20113.9744231-0.8422.2676399-0.667466671.4334677-0.472991671.20919852.7652246-0.0039783093-0.0048105655
wb:BRA:2012country:BRA20121.921176-0.3270.21439285-0.152466670.017401871-0.10992917-0.0347210941.9558971-0.000924608743.2103426e-05
wb:BRA:2013country:BRA20133.0048227-0.181.2980395-0.00546666671.0888641-0.0559291671.06234531.9424774-0.00047041743-0.00049974574
wb:BRA:2014country:BRA20140.50395574-0.316-1.2028274-0.14146667-1.4992011-0.055866667-1.52569032.029646-0.000469891750.00071690928
1–20 / 240

All entity means and observed counts

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

1–20 / 48
Entity means within the complete frame
EquationEntitynMean YMean XControl means
pooledcountry:AUS152.4785383-0.1082[]
pooledcountry:BRA151.7067831-0.17453333[]
pooledcountry:CAN152.1442507-0.1406[]
pooledcountry:CHN156.7360523-0.0086666667[]
pooledcountry:DEU151.330114-0.29866667[]
pooledcountry:FRA151.2582146-0.1148[]
pooledcountry:GBR151.646234-0.22146667[]
pooledcountry:IDN154.745757-0.187[]
pooledcountry:IND156.1463727-0.23086667[]
pooledcountry:JPN150.9490367-0.1712[]
pooledcountry:KOR152.9976854-0.0386[]
pooledcountry:MEX151.9407981-0.17853333[]
pooledcountry:SGP154.4545058-0.2082[]
pooledcountry:USA152.4190485-0.3488[]
pooledcountry:VNM156.1155459-0.009[]
pooledcountry:ZAF151.30358080.58373333[]
entitycountry:AUS152.4785383-0.1082[]
entitycountry:BRA151.7067831-0.17453333[]
entitycountry:CAN152.1442507-0.1406[]
entitycountry:CHN156.7360523-0.0086666667[]
1–20 / 48

Every cluster score

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

1–20 / 48
Entity influence sums and squares
EquationEntityScore sumSquare
pooledcountry:AUS0.0144286680.00020818646
pooledcountry:BRA-0.0115945780.00013443423
pooledcountry:CAN-0.0489954550.0024005546
pooledcountry:CHN0.0157531130.00024816058
pooledcountry:DEU-0.0128339060.00016470915
pooledcountry:FRA0.0148049780.00021918738
pooledcountry:GBR-0.0291210270.00084803421
pooledcountry:IDN-0.028826460.00083096482
pooledcountry:IND-0.100189810.010037997
pooledcountry:JPN0.00364547861.3289514e-05
pooledcountry:KOR0.00417634831.7441885e-05
pooledcountry:MEX-0.0640964780.0041083585
pooledcountry:SGP-0.081950490.0067158828
pooledcountry:USA0.0920490570.008473029
pooledcountry:VNM0.022055530.0004864464
pooledcountry:ZAF0.210695030.044392395
entitycountry:AUS0.0177273890.00031426032
entitycountry:BRA-0.00646961994.1855982e-05
entitycountry:CAN-0.0443604260.0019678474
entitycountry:CHN-0.0209338480.00043822599
1–20 / 48

Variances are finite HC0 calculations on the declared residuals and grouping. Few clusters, cross-cluster dependence, strict exogeneity, reverse causality and selection remain separate issues. Estimation orthogonality does not prove causal assumptions.

Graphs redrawn from every numeric point, with original enlargement

All annual GDP growth observations for 16 countries
All annual GDP growth observations for 16 countries · 240 points · Enlarge original SVG · PNG
Country pooled residual space
Country pooled residual space · 240 points · Enlarge original SVG · PNG
Country entity residual space
Country entity residual space · 240 points · Enlarge original SVG · PNG
Country twoway residual space
Country twoway residual space · 240 points · Enlarge original SVG · PNG

The native-series plot uses observed year on the horizontal axis. Panel residual plots use X and Y residuals after removing the controls and effects declared by each pooled, entity or twoway equation. The effects adjusted differ by mode, so read the axes with the equation. Missing/excluded native rows remain in the ledgers; plotted points are eligible observations.

Full exact values behind summary metrics
[
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "beta",
    "value": "-1800537356467066955231/1386343269300000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "designRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "absorbedEntityRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "remainingControlRank",
    "value": "1",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "residualDF",
    "value": "238",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "Sxx",
    "value": "13863432693/80000000",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "Sxy",
    "value": "-1800537356467066955231/8000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "SSE",
    "value": "14613087350183763883238193922916626954616137/6931716346500000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "rowHC0Variance",
    "value": "223649659895162534985499112944357635621136824211691027326247581/2052157116145043147867114179771208755444500000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "groupHC0Variance",
    "value": "488202462323444313849961246970156570824605133856155052648230799/6156471348435129443601342539313626266333500000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "pooled",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "beta",
    "value": "-3326678242698440366067/2452005056000000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "designRank",
    "value": "17",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "absorbedEntityRank",
    "value": "16",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "remainingControlRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "residualDF",
    "value": "223",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "Sxx",
    "value": "38312579/234375",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "Sxy",
    "value": "-1108892747566146788689/5000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "SSE",
    "value": "45447401472467680042063243247611209904034647/36780075840000000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "rowHC0Variance",
    "value": "294794692908984075332124775739141621677082939084073170402141/2824070119919708494422610018410168320000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "groupHC0Variance",
    "value": "254661796457893987171428657214657944160948878650645513305131/2259256095935766795538088014728134656000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "entity",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "sourceRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "completeRows",
    "value": "240",
    "unit": "rows"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "beta",
    "value": "-13529519157141259496067/28534231832000000000000",
    "unit": "GDPgrowthpercent/unemploymentchangepp"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "entities",
    "value": "16",
    "unit": "entities"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "periods",
    "value": "15",
    "unit": "periods"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "designRank",
    "value": "31",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "absorbedEntityRank",
    "value": "16",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "remainingControlRank",
    "value": "14",
    "unit": "directions"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "residualDF",
    "value": "209",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "Sxx",
    "value": "3566778979/30000000",
    "unit": "unemploymentchangepp squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "Sxy",
    "value": "-4509839719047086498689/80000000000000000000",
    "unit": "unemploymentchangepp*GDPgrowthpercent"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "SSE",
    "value": "1230555173536989834840397595737406589538478461/2282738546560000000000000000000000000000000",
    "unit": "GDPgrowthpercent squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "rowHC0Variance",
    "value": "700129403811247824656627744002984813937360017849327737966502245153/13258510515253828426856586591070201321963520000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "groupHC0Variance",
    "value": "5594942774365488187585149898603986744297371488476207265515715601/82865690720336427667853666194188758262272000000000000000000000000",
    "unit": "(GDPgrowthpercent/unemploymentchangepp) squared"
  },
  {
    "kind": "country",
    "spec": "twoway",
    "metric": "reportingGroups",
    "value": "16",
    "unit": "groups"
  }
]

Factual inputs, public code and complete exact tables

Python preserves source-token fractions; R explicitly approximates the same equations. Both read only three factual CSVs, not the engine, answer model or precomputed tables.

Python · R · Provenance, precision and reproduction

대학원 연결Graduate bridge

33. 기업 사례: 교육용 실제 패널의 정태 재현33. Company case: static replication on an actual instructional panel

기업 사례는 공식 Stata DTA를 실제로 읽어 1031개 기업–연도와 30개 원 변수를 보존합니다. 회귀에 사용하는 열은 기록 고용 로그 n, 임금 로그 w, 자본 로그 k, 산업 산출 로그 ys입니다. 140개 기업의 관측 기간이 서로 다른 불균형 표를 그대로 두고 결측 칸을 새 기업 관측으로 만들지 않습니다.

동일 1031행의 관심 기울기는 pooled 약 −0.366950, entity −0.310643, twoway −0.296877입니다. 뒤 두 식에서 시간에 일정한 기업 차이를 제거하고 마지막 식에서 공통 시점 효과를 추가합니다. 통제 k·ys도 같은 변환 공간을 거쳐야 합니다. Y·X만 평균을 빼고 통제를 원래 수준으로 두면 선언한 식을 재현하지 않습니다.

첫 원행의 기업 키는 1이고 연도는 1977입니다. 원파일에 어떤 기업의 이전 연도 열이 있다고 해서 그 기업–연도 관측이 이 정태 프레임에 모두 존재하는 것은 아닙니다. 전체 1976–1984의 9개 시점과 기업별 관측 수를 구분해 읽습니다. 저장 로그의 정확한 분수는 펼쳐 볼 수 있지만 기본 표에는 읽기 좋은 근삿값을 사용합니다.

출판사의 교육용·실질 분석 부적합 안내를 함께 읽고, 이 사례의 결론은 유한 패널 계산과 패키지 식 비교로 제한합니다. 임금 인상 정책이 고용을 낮춘다는 새 인과 결과, 동태 고용 GMM의 재현, 원산업 전체의 대표 추정이라고 쓰지 않습니다. 실제 자료를 사용하는 것과 그 자료가 모든 실질적 질문에 적합한 것은 다릅니다.

실제 교육용 기업 패널과 정태 식

같은 1031개 기업–연도에 세 정태 식을 적용합니다. Y=n, X=w, 통제=k·ys이며 기록 로그를 보존합니다. 140개 기업의 불균형 표로, 출판사의 소프트웨어 교육용·실질 분석 부적합 안내를 따릅니다.

같은 표본의 세 비교 · HC0는 보정하지 않음
식n개체시점rankdfβX 잔차 제곱합HC0개체 HC0
pooled1031140941027-0.3669498170.9431220.00648128290.045385309
entity10311409143888-0.310642536.79494640.00765345370.01309175
twoway10311409151880-0.296876755.3223060.0104929690.015668542
1031개 원행의 기록 로그와 연결

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

1–20 / 1031
기업·연도·기록 로그
ID원행기업연도nwkys
abdata:11119771.61760452.5765433-0.528650224.5612936
abdata:22119781.72276662.5097456-0.459182414.5783834
abdata:33119791.61243342.5525265-0.38993634.6012454
abdata:44119801.55074892.6249511-0.482724194.6106563
abdata:55119811.40927822.659539-0.678061544.6007414
abdata:66119821.15246892.699218-0.860619544.5912242
abdata:77119831.07704822.6231022-0.936493464.6054711
abdata:88219774.26716282.69401222.82945924.5612936
abdata:99219784.25763892.646432.84735994.5783834
abdata:1010219794.26152422.70493872.8645584.6012454
abdata:1111219804.27709672.74025922.8711554.6106563
abdata:1212219814.29985382.78481982.81620484.6007414
abdata:1313219824.28246882.78076772.78790214.5912242
abdata:1414219834.22709662.79147792.85472154.6054711
abdata:1515319772.9526163.12201241.95974254.5612936
abdata:1616319782.96733283.0298341.93829554.5783834
abdata:1717319792.99071983.05422761.92519714.6012454
abdata:1818319803.00766093.09995721.89532344.6106563
abdata:1919319812.97399783.21371871.82674054.6007414
abdata:2020319822.89729213.21264431.74302434.5912242
1–20 / 1031

pooled 모든 변환·잔차·비중

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

1–20 / 1031
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
abdata:1firm:119771.61760452.57654331.61760452.57654330.66693448-0.561350340.460947071.1566574-0.0079126817-0.0036473275
abdata:2firm:119781.72276662.50974561.72276662.50974560.70832003-0.629816130.477209121.2455575-0.0088777617-0.0042365489
abdata:3firm:119791.61243342.55252651.61243342.55252650.53173826-0.589014440.315599521.2968339-0.0083026293-0.0026203059
abdata:4firm:119801.55074892.62495111.55074892.62495110.54043686-0.516112650.351049421.1996995-0.0072750204-0.0025538917
abdata:5firm:119811.40927822.6595391.40927822.6595390.56078678-0.478905820.385052381.0242258-0.0067505603-0.0025993193
abdata:6firm:119821.15246892.6992181.15246892.6992180.45532687-0.43676550.295055850.85741307-0.0061565588-0.0018165287
abdata:7firm:119831.07704822.62310221.07704822.62310220.43445095-0.512847010.246261840.83078634-0.0072289885-0.001780224
abdata:8firm:219774.26716282.69401224.26716282.69401220.61284717-0.479647770.436840513.8303223-0.0067610187-0.0029534868
abdata:9firm:219784.25763892.646434.25763892.646430.58106387-0.528348750.38718643.8704525-0.007447498-0.0028835699
abdata:10firm:219794.26152422.70493874.26152422.70493870.56060494-0.471264960.387674353.8738499-0.0066428563-0.002575265
abdata:11firm:219804.27709672.74025924.27709672.74025920.56654482-0.436525820.406361763.870735-0.0061531803-0.0025004172
abdata:12firm:219814.29985382.78481984.29985382.78481980.63809559-0.39084140.494676413.8051774-0.0055092219-0.0027252821
abdata:13firm:219824.28246882.78076774.28246882.78076770.64786748-0.394075220.503261653.7792071-0.0055548052-0.0027955205
abdata:14firm:219834.22709662.79147794.22709662.79147790.53215631-0.384850430.390935523.836161-0.0054247744-0.002120737
abdata:15firm:319772.9526163.12201242.9526163.1220124-0.0014825705-0.042384458-0.0170355392.9696515-0.000597442811.0177761e-05
abdata:16firm:319782.96733283.0298342.96733283.0298340.022654129-0.13526255-0.0269804382.9943133-0.00190663385.1441815e-05
abdata:17firm:319792.99071983.05422762.99071983.05422760.046088834-0.111971150.00500104032.9857188-0.0015783229-7.8932564e-06
abdata:18firm:319803.00766093.09995723.00766093.09995720.082760203-0.0664344580.0583820912.9492788-0.00093644678-5.4671721e-05
abdata:19firm:319812.97399783.21371872.97399783.21371870.108866660.0485959160.126698932.84729890.000684998278.6788545e-05
abdata:20firm:319822.89729213.21264432.89729213.21264430.103931790.0489301320.121886692.77540540.000689709318.4066384e-05
1–20 / 1031

entity 모든 변환·잔차·비중

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

1–20 / 1031
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
abdata:1firm:119771.61760452.57654330.16869753-0.0299746310.13559419-0.0294227450.126454231.4911503-0.0043300922-0.00054755849
abdata:2firm:119781.72276662.50974560.27385967-0.0967723640.19175697-0.0907869820.163554671.559212-0.013360956-0.0021852468
abdata:3firm:119791.61243342.55252650.16352647-0.0539914880.029231378-0.0418804010.0162215441.5962119-0.006163463-9.9980888e-05
abdata:4firm:119801.55074892.62495110.101841980.0184331620.0144636460.0272125460.0229170211.52783190.00400482149.1778574e-05
abdata:5firm:119811.40927822.659539-0.0396288120.053021022-0.0111497860.0511664870.00474470111.40453350.00753007953.5727976e-05
abdata:6firm:119821.15246892.699218-0.296438050.092700073-0.159537010.080876747-0.134413261.28688220.011902485-0.0015998517
abdata:7firm:119831.07704822.6231022-0.371858780.016584226-0.200359380.002834348-0.199478911.27652710.00041712588-8.3207815e-05
abdata:8firm:219774.26716282.6940122-0.00038603374-0.0406600410.022925424-0.0449357270.0089664764.2581963-0.0066131099-5.9296291e-05
abdata:9firm:219784.25763892.64643-0.0099099023-0.08824219-0.0065172295-0.089572888-0.0343423784.2919813-0.013182280.00045271086
abdata:10firm:219794.26152422.7049387-0.0060246331-0.029733556-0.025472553-0.027450263-0.0339997724.295524-0.00403980570.00013735248
abdata:11firm:219804.27709672.74025920.00954791480.0055869647-0.0190300540.0093346368-0.0161303194.29322710.0013737617-2.2159214e-05
abdata:12firm:219814.29985382.78481980.0323049680.0501476360.0404149160.0500361390.0559582694.24389550.00736372830.00041206149
abdata:13firm:219824.28246882.78076770.0149199620.0460954730.0444616830.0434591860.0579619554.22450680.00639580990.00037071365
abdata:14firm:219834.22709662.7914779-0.0404522760.056805713-0.0567821870.059128917-0.0384142314.26551080.008701896-0.00033427664
abdata:15firm:319772.9526163.12201240.0077631133-0.03463081-0.0093080916-0.035450838-0.020320632.9729366-0.00521723590.00010601752
abdata:16firm:319782.96733283.0298340.022479977-0.126809150.0076796353-0.12658302-0.0316424362.9989753-0.0186289950.0005894668
abdata:17firm:319792.99071983.05422760.045866932-0.10241560.025311274-0.10003751-0.00576463242.9964844-0.014722348.4868878e-05
abdata:18firm:319803.00766093.09995720.062808003-0.0566859590.053689499-0.0546034880.0367273342.9709335-0.0080358968-0.00029513706
abdata:19firm:319812.97399783.21371870.0291449680.0570754660.0644023360.0546408890.081376122.89262170.00804140110.00065437802
abdata:20firm:319822.89729213.2126443-0.0475607260.0560011520.040378110.0483676590.0554031622.8418890.00711818120.00039436974
1–20 / 1031

twoway 모든 변환·잔차·비중

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

1–20 / 1031
동일 프레임의 전체 행 계산
ID개체연도YX개체 변환 Y개체 변환 XỸX̃구조 잔차원단위 적합투영 비중기여
abdata:1firm:119771.61760452.57654330.16869753-0.0299746310.0671947350.00737903410.0693853981.54821910.00138643559.6198382e-05
abdata:2firm:119781.72276662.50974560.27385967-0.0967723640.14924105-0.0387850150.137726681.58504-0.0072872576-0.0010036498
abdata:3firm:119791.61243342.55252650.16352647-0.0539914880.0090261092-0.00694095390.00696550141.6054679-0.0013041253-9.0838866e-06
abdata:4firm:119801.55074892.62495110.101841980.0184331620.0022224620.0492462150.0168425181.53390640.00925279670.0001558404
abdata:5firm:119811.40927822.659539-0.0396288120.0530210220.0151825570.0363201480.0259651641.3833130.00682413750.00017718985
abdata:6firm:119821.15246892.699218-0.296438050.092700073-0.110776970.035188619-0.100330291.25279920.0066115362-0.00066333733
abdata:7firm:119831.07704822.6231022-0.371858780.016584226-0.13208994-0.082408047-0.156554971.2336032-0.0154835230.0024240225
abdata:8firm:219774.26716282.6940122-0.00038603374-0.040660041-0.047083711-0.0034027844-0.0480939194.3152567-0.000639343993.0748558e-05
abdata:9firm:219784.25763892.64643-0.0099099023-0.08824219-0.051472584-0.030400946-0.0604979184.3181368-0.00571198770.00034556336
abdata:10firm:219794.26152422.7049387-0.0060246331-0.029733556-0.0489547530.017120713-0.0438720114.30539620.0032167848-0.00014112682
abdata:11firm:219804.27709672.74025920.00954791480.0055869647-0.0329489870.036299532-0.02217254.29926920.0068202641-0.00015122231
abdata:12firm:219814.29985382.78481980.0323049680.0501476360.0673284490.0334815710.0772683494.22258550.00629080150.00048607985
abdata:13firm:219824.28246882.78076770.0149199620.0460954730.096285007-0.0112325120.0929503354.1895185-0.0021104596-0.00019616792
abdata:14firm:219834.22709662.7914779-0.0404522760.0568057130.01684658-0.0418655740.00441766434.2226789-0.0078660592-3.4749609e-05
abdata:15firm:319772.9526163.12201240.0077631133-0.03463081-0.078164990.0026954578-0.0773647713.02998070.00050644548-3.9181038e-05
abdata:16firm:319782.96733283.0298340.022479977-0.12680915-0.036756618-0.06893682-0.0572223573.0245552-0.0129524340.00074116883
abdata:17firm:319792.99071983.05422760.045866932-0.10241560.0018606805-0.055559434-0.0146336243.0053534-0.0104389780.00015276007
abdata:18firm:319803.00766093.09995720.062808003-0.0566859590.03921533-0.0260066460.0314945612.9761663-0.0048863492-0.00015389342
abdata:19firm:319812.97399783.21371870.0291449680.0570754660.0905412720.0403630090.102524112.87147370.00758374440.00077751666
abdata:20firm:319822.89729213.2126443-0.0475607260.0560011520.090535189-0.0014266290.0901116562.8071805-0.00026804716-2.4154174e-05
1–20 / 1031

모든 개체 평균과 관측 수

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

1–20 / 420
완전 프레임 내 개체 평균
식개체n평균 Y평균 X통제 평균
pooledfirm:171.4489072.606518[-0.6193811, 4.5927165]
pooledfirm:274.26754882.7346722[2.8387658, 4.5927165]
pooledfirm:372.94485293.1566432[1.8974406, 4.5927165]
pooledfirm:473.25712012.8031071[2.154943, 4.6696186]
pooledfirm:574.4436432.9489197[3.1821021, 4.5889453]
pooledfirm:67-0.27911463.1219882[-1.9095907, 4.6467466]
pooledfirm:770.484521743.4042199[-0.051226803, 4.6480785]
pooledfirm:872.19794243.3608019[1.2882601, 4.6480785]
pooledfirm:970.964786583.1786274[-0.79566254, 4.6467466]
pooledfirm:1071.25484853.1346695[0.089944932, 4.5907026]
pooledfirm:1170.248518643.1302644[-0.68297843, 4.6480785]
pooledfirm:1270.163890423.4475414[-1.7839162, 4.6480785]
pooledfirm:1370.756397313.2091172[-0.7620483, 4.738875]
pooledfirm:1470.869971673.1551562[-1.1664862, 4.6869644]
pooledfirm:1571.87770493.1118367[0.63482802, 4.6182454]
pooledfirm:1670.90966613.2916184[-0.41673687, 4.6464972]
pooledfirm:1770.175617223.2248057[-1.8845121, 4.7213137]
pooledfirm:1871.88215573.2655543[0.21815731, 4.6363767]
pooledfirm:1972.9790723.4322549[1.6093826, 4.6464972]
pooledfirm:2070.0196634163.2648207[-1.6895065, 4.6363767]
1–20 / 420

모든 집락 점수

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

1–20 / 420
개체별 영향 합과 제곱
식개체점수 합제곱
pooledfirm:1-0.0192541460.00037072213
pooledfirm:2-0.0185542780.00034426125
pooledfirm:3-0.000122008381.4886044e-08
pooledfirm:40.00247913946.1461322e-06
pooledfirm:5-0.00918993818.4454962e-05
pooledfirm:60.000769131985.91564e-07
pooledfirm:7-0.0201827140.00040734194
pooledfirm:8-0.00327121061.0700819e-05
pooledfirm:90.000841498997.0812055e-07
pooledfirm:100.000166034892.7567586e-08
pooledfirm:110.00100472131.0094649e-06
pooledfirm:120.00954169899.1044019e-05
pooledfirm:130.00035183351.2378681e-07
pooledfirm:140.00113071751.278522e-06
pooledfirm:150.000723775075.2385035e-07
pooledfirm:16-0.00204914684.1990027e-06
pooledfirm:170.0038270071.4645983e-05
pooledfirm:180.00453637812.0578727e-05
pooledfirm:190.00975630829.518555e-05
pooledfirm:200.000576459093.3230509e-07
1–20 / 420

표의 분산은 원 프레임·잔차·개체 묶음의 유한 HC0 계산입니다. 적은 집락·집락 간 의존·엄격 외생성·역인과·표본 선택은 별도 문제입니다. 추정 연산의 직교 관계가 인과 가정의 증명은 아닙니다.

모든 수치로 다시 그린 그래프와 원본 확대

140개 기업의 모든 기록 고용 로그
140개 기업의 모든 기록 고용 로그 · 1031개 점 · 원본 SVG 확대 · PNG
기업 pooled의 모든 조정 잔차
기업 pooled의 모든 조정 잔차 · 1031개 점 · 원본 SVG 확대 · PNG
기업 entity의 모든 조정 잔차
기업 entity의 모든 조정 잔차 · 1031개 점 · 원본 SVG 확대 · PNG
기업 twoway의 모든 조정 잔차
기업 twoway의 모든 조정 잔차 · 1031개 점 · 원본 SVG 확대 · PNG

원계열 그림의 가로축은 관측 연도입니다. 패널 잔차 그림은 각 pooled·entity·twoway 식에서 해당 통제·개체·시점 효과를 조정한 X 잔차와 Y 잔차를 사용합니다. 어떤 효과를 조정했는지는 모드마다 다르므로 축과 식을 함께 읽으세요. 원행 중 결측·탈락은 위 장부에 남아 있으며, 이 그림의 점은 적격 관측만 표시합니다.

요약 수치의 정확한 전체 원값
[
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "beta",
    "value": "-6711984828900072389199233439643317147521599919591004897451/18291288391475291648082964748318301281431508813955429528576",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "designRank",
    "value": "4",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "absorbedEntityRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "remainingControlRank",
    "value": "3",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "residualDF",
    "value": "1027",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "Sxx",
    "value": "17862586319800089500081020262029591095147957826128349149/251787430661307623605332725908715535932304184322293760",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "Sxy",
    "value": "-6711984828900072389199233439643317147521599919591004897451/257830328997179006571860711330524708794679484746028810240",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "SSE",
    "value": "50203198619387944698335380089226121061203224206402170722158314660446367497457/164753279167948805259821369920057193271443004944284266218109780519542587392",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "rowHC0Variance",
    "value": "115315319092874848574906205564656988059685911236114537009556323103348558873496237233426589507981194414793557247156468359427799238695250155252592073082835488374597238741903930443908774447458954943839486580779065926054291425939/17792051414858131249493247226644735191121678125929416945433077551472056270003682064214646128516440438815372201361444192230744523809228225115593824807356181618859163016430941199356965198099760359983132022932865893668607474794496",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "groupHC0Variance",
    "value": "2422493249001574887269785120157899424879783384970877207940882763108160101813165255293268067283749799125680546902802865759262628929437939812281930084719228140222259315153772635434562440479143738504137548105569104217602124627303/53376154244574393748479741679934205573365034377788250836299232654416168810011046192643938385549321316446116604084332576692233571427684675346781474422068544856577489049292823598070895594299281079949396068798597681005822424383488",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "beta",
    "value": "-2852668537071829791989906249054707079367357031995970370919/9183122811381079666212932360428344059544181187745657665152",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "designRank",
    "value": "143",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "absorbedEntityRank",
    "value": "140",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "remainingControlRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "residualDF",
    "value": "888",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "Sxx",
    "value": "71743146963914684892288534065846437965188915529262950509/10558309489609688246291901476467086068932990460428812288",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "Sxy",
    "value": "-950889512357276597329968749684902359789119010665323456973/450487871556680031841787796329262338941140926311629324288",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "SSE",
    "value": "391935038403489896497032262535995273856107953704203307958773326999748997435307/26054978337002999165505753438999164266398062967137084324539449566785657896960",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "rowHC0Variance",
    "value": "2790476533836666968895470820183252542956502210154082853579190466298539188886254353222468930230339034600965087378177879317699396820043379683976344648686045142774465982452740554598215889012525527639146565751643636019340050339693383/364603569824709524823565829413606621647814791946868818328678146823582558312233147809858083709496982186625880408810910374151237269620824981612602659133208066333063185208127407891891651697067967230814443396966411130233348722380636160",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "groupHC0Variance",
    "value": "1420624607346377024885188457056259306214650331993871419800827407241885651266945579590393876283709722805491920426178309602769809483491544237209517258134825932193697364218818358561010484100345421400145807215536195229256627356999/108512967209734977626061258754049589776135354746091910216868496078447189973878913038648239199255054222210083455003247135164058711196674101670417458075359543551506900359561728539253467766984514056790012915763812836378972834041856",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "beta",
    "value": "-429412606293594481440368954408097920232438313490458612746291382332873/1446433935020377007881803696522464186336159810096434836536329481763328",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "designRank",
    "value": "151",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "absorbedEntityRank",
    "value": "140",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "remainingControlRank",
    "value": "10",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "residualDF",
    "value": "880",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "Sxx",
    "value": "403580897048096263359878263538633980562544589870657041444288359867/75828202386745438431481904976206242212774005004613308628095467520",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "Sxy",
    "value": "-47712511810399386826707661600899768914715368165606512527365709148097/30196475261566183482047905270524796898953559326281566458121572843520",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "SSE",
    "value": "2355239287214945028863636648247599425918397146294514296234931780950957001595058956871793941/164156815135500014955586455048980784756089602655296115047178965309837938511001857661337600",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "rowHC0Variance",
    "value": "123626466255309727547134520114702968875893862570770712939637310495615995529166027420444649488685984587412699691849264398398627489122287070256652510309129228717269609948729667585822082136762858858133654137982054626469449439442090325284704553140192651800903407591765976057973231/11781838338717828509544073305893872836999386130158488835552340298285007307846667052166696510460306150379146363996027198688505614981295668006073531110782989977389696743323448190250503974602562388841377050266460851077931019062021148153813936347179865066913612794492708710671974400",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "groupHC0Variance",
    "value": "183139113939288669822046997835112837803364050932295863726047033277042477829305390939644064491243676037867876785647071981190391925600566644093101415484194106434405935482084939745373180258553249213753409324193047186546772348794205331564566069894328394293435434294212890973547/11688331685235940981690548914577254798610502113252469082889226486393856456197090329530452887361414831725343615075423808222723824386206019847295169752760902755346921372344690664931055530359684909564858184788155606228106169704386059676402714630138755026700012692949115784396800",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  }
]

원자료·공개 코드·정확한 전체 표

Python은 보존 토큰의 정확한 유리수, R은 같은 식의 명시적 부동소수점 근사입니다. 두 프로그램 모두 factual CSV 세 개만 읽고 엔진·모델 정답·기존 계산표를 입력으로 읽지 않습니다.

Python · R · 출처·정밀도·재현 경로

Read the official Stata DTA, preserving 1031 firm-year rows and 30 native variables. The equation uses stored logs n, w, k and ys. Keep the unbalanced observation histories of 140 firms rather than inventing missing firm-year cells.

The same 1031 rows give slopes about −0.366950 pooled, −0.310643 entity and −0.296877 twoway. The latter equations remove persistent firm differences; the last adds common dates. Controls k and ys must undergo the same transformation space as Y and X. Demeaning only Y/X would not reproduce the declared equation.

The first native row is firm one in 1977. Existing lag columns do not imply every corresponding prior firm-year appears in this static frame. Separate the nine distinct 1976–1984 dates from individual firm histories. Preserve exact stored fractions in expandable detail while using readable approximations in ordinary tables.

Respect the publisher’s instructional-use/substantive-analysis warning. Conclusions concern finite panel calculations and equation comparison. Do not label them new causal wage-policy findings, a reproduction of dynamic employment GMM or representative industry estimates. Actual data are not automatically suitable for every substantive question.

Actual instructional firm panel and static equations

Apply three static equations to the same 1031 firm-years. Preserve stored logs Y=n, X=w and controls k/ys. The 140-firm unbalanced table is instructional and subject to the publisher’s warning against substantive use.

Three same-frame contrasts; uncorrected HC0
EquationnEntitiesDatesrankdfβResidual X SSHC0Entity HC0
pooled1031140941027-0.3669498170.9431220.00648128290.045385309
entity10311409143888-0.310642536.79494640.00765345370.01309175
twoway10311409151880-0.296876755.3223060.0104929690.015668542
Stored logs and lineage for all 1031 rows

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

1–20 / 1031
Firms, dates and stored logs
IDSource rowFirmYearnwkys
abdata:11119771.61760452.5765433-0.528650224.5612936
abdata:22119781.72276662.5097456-0.459182414.5783834
abdata:33119791.61243342.5525265-0.38993634.6012454
abdata:44119801.55074892.6249511-0.482724194.6106563
abdata:55119811.40927822.659539-0.678061544.6007414
abdata:66119821.15246892.699218-0.860619544.5912242
abdata:77119831.07704822.6231022-0.936493464.6054711
abdata:88219774.26716282.69401222.82945924.5612936
abdata:99219784.25763892.646432.84735994.5783834
abdata:1010219794.26152422.70493872.8645584.6012454
abdata:1111219804.27709672.74025922.8711554.6106563
abdata:1212219814.29985382.78481982.81620484.6007414
abdata:1313219824.28246882.78076772.78790214.5912242
abdata:1414219834.22709662.79147792.85472154.6054711
abdata:1515319772.9526163.12201241.95974254.5612936
abdata:1616319782.96733283.0298341.93829554.5783834
abdata:1717319792.99071983.05422761.92519714.6012454
abdata:1818319803.00766093.09995721.89532344.6106563
abdata:1919319812.97399783.21371871.82674054.6007414
abdata:2020319822.89729213.21264431.74302434.5912242
1–20 / 1031

pooled: every transformed value, residual and weight

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

1–20 / 1031
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
abdata:1firm:119771.61760452.57654331.61760452.57654330.66693448-0.561350340.460947071.1566574-0.0079126817-0.0036473275
abdata:2firm:119781.72276662.50974561.72276662.50974560.70832003-0.629816130.477209121.2455575-0.0088777617-0.0042365489
abdata:3firm:119791.61243342.55252651.61243342.55252650.53173826-0.589014440.315599521.2968339-0.0083026293-0.0026203059
abdata:4firm:119801.55074892.62495111.55074892.62495110.54043686-0.516112650.351049421.1996995-0.0072750204-0.0025538917
abdata:5firm:119811.40927822.6595391.40927822.6595390.56078678-0.478905820.385052381.0242258-0.0067505603-0.0025993193
abdata:6firm:119821.15246892.6992181.15246892.6992180.45532687-0.43676550.295055850.85741307-0.0061565588-0.0018165287
abdata:7firm:119831.07704822.62310221.07704822.62310220.43445095-0.512847010.246261840.83078634-0.0072289885-0.001780224
abdata:8firm:219774.26716282.69401224.26716282.69401220.61284717-0.479647770.436840513.8303223-0.0067610187-0.0029534868
abdata:9firm:219784.25763892.646434.25763892.646430.58106387-0.528348750.38718643.8704525-0.007447498-0.0028835699
abdata:10firm:219794.26152422.70493874.26152422.70493870.56060494-0.471264960.387674353.8738499-0.0066428563-0.002575265
abdata:11firm:219804.27709672.74025924.27709672.74025920.56654482-0.436525820.406361763.870735-0.0061531803-0.0025004172
abdata:12firm:219814.29985382.78481984.29985382.78481980.63809559-0.39084140.494676413.8051774-0.0055092219-0.0027252821
abdata:13firm:219824.28246882.78076774.28246882.78076770.64786748-0.394075220.503261653.7792071-0.0055548052-0.0027955205
abdata:14firm:219834.22709662.79147794.22709662.79147790.53215631-0.384850430.390935523.836161-0.0054247744-0.002120737
abdata:15firm:319772.9526163.12201242.9526163.1220124-0.0014825705-0.042384458-0.0170355392.9696515-0.000597442811.0177761e-05
abdata:16firm:319782.96733283.0298342.96733283.0298340.022654129-0.13526255-0.0269804382.9943133-0.00190663385.1441815e-05
abdata:17firm:319792.99071983.05422762.99071983.05422760.046088834-0.111971150.00500104032.9857188-0.0015783229-7.8932564e-06
abdata:18firm:319803.00766093.09995723.00766093.09995720.082760203-0.0664344580.0583820912.9492788-0.00093644678-5.4671721e-05
abdata:19firm:319812.97399783.21371872.97399783.21371870.108866660.0485959160.126698932.84729890.000684998278.6788545e-05
abdata:20firm:319822.89729213.21264432.89729213.21264430.103931790.0489301320.121886692.77540540.000689709318.4066384e-05
1–20 / 1031

entity: every transformed value, residual and weight

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

1–20 / 1031
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
abdata:1firm:119771.61760452.57654330.16869753-0.0299746310.13559419-0.0294227450.126454231.4911503-0.0043300922-0.00054755849
abdata:2firm:119781.72276662.50974560.27385967-0.0967723640.19175697-0.0907869820.163554671.559212-0.013360956-0.0021852468
abdata:3firm:119791.61243342.55252650.16352647-0.0539914880.029231378-0.0418804010.0162215441.5962119-0.006163463-9.9980888e-05
abdata:4firm:119801.55074892.62495110.101841980.0184331620.0144636460.0272125460.0229170211.52783190.00400482149.1778574e-05
abdata:5firm:119811.40927822.659539-0.0396288120.053021022-0.0111497860.0511664870.00474470111.40453350.00753007953.5727976e-05
abdata:6firm:119821.15246892.699218-0.296438050.092700073-0.159537010.080876747-0.134413261.28688220.011902485-0.0015998517
abdata:7firm:119831.07704822.6231022-0.371858780.016584226-0.200359380.002834348-0.199478911.27652710.00041712588-8.3207815e-05
abdata:8firm:219774.26716282.6940122-0.00038603374-0.0406600410.022925424-0.0449357270.0089664764.2581963-0.0066131099-5.9296291e-05
abdata:9firm:219784.25763892.64643-0.0099099023-0.08824219-0.0065172295-0.089572888-0.0343423784.2919813-0.013182280.00045271086
abdata:10firm:219794.26152422.7049387-0.0060246331-0.029733556-0.025472553-0.027450263-0.0339997724.295524-0.00403980570.00013735248
abdata:11firm:219804.27709672.74025920.00954791480.0055869647-0.0190300540.0093346368-0.0161303194.29322710.0013737617-2.2159214e-05
abdata:12firm:219814.29985382.78481980.0323049680.0501476360.0404149160.0500361390.0559582694.24389550.00736372830.00041206149
abdata:13firm:219824.28246882.78076770.0149199620.0460954730.0444616830.0434591860.0579619554.22450680.00639580990.00037071365
abdata:14firm:219834.22709662.7914779-0.0404522760.056805713-0.0567821870.059128917-0.0384142314.26551080.008701896-0.00033427664
abdata:15firm:319772.9526163.12201240.0077631133-0.03463081-0.0093080916-0.035450838-0.020320632.9729366-0.00521723590.00010601752
abdata:16firm:319782.96733283.0298340.022479977-0.126809150.0076796353-0.12658302-0.0316424362.9989753-0.0186289950.0005894668
abdata:17firm:319792.99071983.05422760.045866932-0.10241560.025311274-0.10003751-0.00576463242.9964844-0.014722348.4868878e-05
abdata:18firm:319803.00766093.09995720.062808003-0.0566859590.053689499-0.0546034880.0367273342.9709335-0.0080358968-0.00029513706
abdata:19firm:319812.97399783.21371870.0291449680.0570754660.0644023360.0546408890.081376122.89262170.00804140110.00065437802
abdata:20firm:319822.89729213.2126443-0.0475607260.0560011520.040378110.0483676590.0554031622.8418890.00711818120.00039436974
1–20 / 1031

twoway: every transformed value, residual and weight

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

1–20 / 1031
Every row calculation on the declared frame
IDEntityYearYXEntity-transformed YEntity-transformed XỸX̃Structural residualOriginal fitted YContrast weightInfluence
abdata:1firm:119771.61760452.57654330.16869753-0.0299746310.0671947350.00737903410.0693853981.54821910.00138643559.6198382e-05
abdata:2firm:119781.72276662.50974560.27385967-0.0967723640.14924105-0.0387850150.137726681.58504-0.0072872576-0.0010036498
abdata:3firm:119791.61243342.55252650.16352647-0.0539914880.0090261092-0.00694095390.00696550141.6054679-0.0013041253-9.0838866e-06
abdata:4firm:119801.55074892.62495110.101841980.0184331620.0022224620.0492462150.0168425181.53390640.00925279670.0001558404
abdata:5firm:119811.40927822.659539-0.0396288120.0530210220.0151825570.0363201480.0259651641.3833130.00682413750.00017718985
abdata:6firm:119821.15246892.699218-0.296438050.092700073-0.110776970.035188619-0.100330291.25279920.0066115362-0.00066333733
abdata:7firm:119831.07704822.6231022-0.371858780.016584226-0.13208994-0.082408047-0.156554971.2336032-0.0154835230.0024240225
abdata:8firm:219774.26716282.6940122-0.00038603374-0.040660041-0.047083711-0.0034027844-0.0480939194.3152567-0.000639343993.0748558e-05
abdata:9firm:219784.25763892.64643-0.0099099023-0.08824219-0.051472584-0.030400946-0.0604979184.3181368-0.00571198770.00034556336
abdata:10firm:219794.26152422.7049387-0.0060246331-0.029733556-0.0489547530.017120713-0.0438720114.30539620.0032167848-0.00014112682
abdata:11firm:219804.27709672.74025920.00954791480.0055869647-0.0329489870.036299532-0.02217254.29926920.0068202641-0.00015122231
abdata:12firm:219814.29985382.78481980.0323049680.0501476360.0673284490.0334815710.0772683494.22258550.00629080150.00048607985
abdata:13firm:219824.28246882.78076770.0149199620.0460954730.096285007-0.0112325120.0929503354.1895185-0.0021104596-0.00019616792
abdata:14firm:219834.22709662.7914779-0.0404522760.0568057130.01684658-0.0418655740.00441766434.2226789-0.0078660592-3.4749609e-05
abdata:15firm:319772.9526163.12201240.0077631133-0.03463081-0.078164990.0026954578-0.0773647713.02998070.00050644548-3.9181038e-05
abdata:16firm:319782.96733283.0298340.022479977-0.12680915-0.036756618-0.06893682-0.0572223573.0245552-0.0129524340.00074116883
abdata:17firm:319792.99071983.05422760.045866932-0.10241560.0018606805-0.055559434-0.0146336243.0053534-0.0104389780.00015276007
abdata:18firm:319803.00766093.09995720.062808003-0.0566859590.03921533-0.0260066460.0314945612.9761663-0.0048863492-0.00015389342
abdata:19firm:319812.97399783.21371870.0291449680.0570754660.0905412720.0403630090.102524112.87147370.00758374440.00077751666
abdata:20firm:319822.89729213.2126443-0.0475607260.0560011520.090535189-0.0014266290.0901116562.8071805-0.00026804716-2.4154174e-05
1–20 / 1031

All entity means and observed counts

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

1–20 / 420
Entity means within the complete frame
EquationEntitynMean YMean XControl means
pooledfirm:171.4489072.606518[-0.6193811, 4.5927165]
pooledfirm:274.26754882.7346722[2.8387658, 4.5927165]
pooledfirm:372.94485293.1566432[1.8974406, 4.5927165]
pooledfirm:473.25712012.8031071[2.154943, 4.6696186]
pooledfirm:574.4436432.9489197[3.1821021, 4.5889453]
pooledfirm:67-0.27911463.1219882[-1.9095907, 4.6467466]
pooledfirm:770.484521743.4042199[-0.051226803, 4.6480785]
pooledfirm:872.19794243.3608019[1.2882601, 4.6480785]
pooledfirm:970.964786583.1786274[-0.79566254, 4.6467466]
pooledfirm:1071.25484853.1346695[0.089944932, 4.5907026]
pooledfirm:1170.248518643.1302644[-0.68297843, 4.6480785]
pooledfirm:1270.163890423.4475414[-1.7839162, 4.6480785]
pooledfirm:1370.756397313.2091172[-0.7620483, 4.738875]
pooledfirm:1470.869971673.1551562[-1.1664862, 4.6869644]
pooledfirm:1571.87770493.1118367[0.63482802, 4.6182454]
pooledfirm:1670.90966613.2916184[-0.41673687, 4.6464972]
pooledfirm:1770.175617223.2248057[-1.8845121, 4.7213137]
pooledfirm:1871.88215573.2655543[0.21815731, 4.6363767]
pooledfirm:1972.9790723.4322549[1.6093826, 4.6464972]
pooledfirm:2070.0196634163.2648207[-1.6895065, 4.6363767]
1–20 / 420

Every cluster score

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

1–20 / 420
Entity influence sums and squares
EquationEntityScore sumSquare
pooledfirm:1-0.0192541460.00037072213
pooledfirm:2-0.0185542780.00034426125
pooledfirm:3-0.000122008381.4886044e-08
pooledfirm:40.00247913946.1461322e-06
pooledfirm:5-0.00918993818.4454962e-05
pooledfirm:60.000769131985.91564e-07
pooledfirm:7-0.0201827140.00040734194
pooledfirm:8-0.00327121061.0700819e-05
pooledfirm:90.000841498997.0812055e-07
pooledfirm:100.000166034892.7567586e-08
pooledfirm:110.00100472131.0094649e-06
pooledfirm:120.00954169899.1044019e-05
pooledfirm:130.00035183351.2378681e-07
pooledfirm:140.00113071751.278522e-06
pooledfirm:150.000723775075.2385035e-07
pooledfirm:16-0.00204914684.1990027e-06
pooledfirm:170.0038270071.4645983e-05
pooledfirm:180.00453637812.0578727e-05
pooledfirm:190.00975630829.518555e-05
pooledfirm:200.000576459093.3230509e-07
1–20 / 420

Variances are finite HC0 calculations on the declared residuals and grouping. Few clusters, cross-cluster dependence, strict exogeneity, reverse causality and selection remain separate issues. Estimation orthogonality does not prove causal assumptions.

Graphs redrawn from every numeric point, with original enlargement

All stored log-employment observations for 140 firms
All stored log-employment observations for 140 firms · 1031 points · Enlarge original SVG · PNG
Firm pooled residual space
Firm pooled residual space · 1031 points · Enlarge original SVG · PNG
Firm entity residual space
Firm entity residual space · 1031 points · Enlarge original SVG · PNG
Firm twoway residual space
Firm twoway residual space · 1031 points · Enlarge original SVG · PNG

The native-series plot uses observed year on the horizontal axis. Panel residual plots use X and Y residuals after removing the controls and effects declared by each pooled, entity or twoway equation. The effects adjusted differ by mode, so read the axes with the equation. Missing/excluded native rows remain in the ledgers; plotted points are eligible observations.

Full exact values behind summary metrics
[
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "beta",
    "value": "-6711984828900072389199233439643317147521599919591004897451/18291288391475291648082964748318301281431508813955429528576",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "designRank",
    "value": "4",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "absorbedEntityRank",
    "value": "0",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "remainingControlRank",
    "value": "3",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "residualDF",
    "value": "1027",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "Sxx",
    "value": "17862586319800089500081020262029591095147957826128349149/251787430661307623605332725908715535932304184322293760",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "Sxy",
    "value": "-6711984828900072389199233439643317147521599919591004897451/257830328997179006571860711330524708794679484746028810240",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "SSE",
    "value": "50203198619387944698335380089226121061203224206402170722158314660446367497457/164753279167948805259821369920057193271443004944284266218109780519542587392",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "rowHC0Variance",
    "value": "115315319092874848574906205564656988059685911236114537009556323103348558873496237233426589507981194414793557247156468359427799238695250155252592073082835488374597238741903930443908774447458954943839486580779065926054291425939/17792051414858131249493247226644735191121678125929416945433077551472056270003682064214646128516440438815372201361444192230744523809228225115593824807356181618859163016430941199356965198099760359983132022932865893668607474794496",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "groupHC0Variance",
    "value": "2422493249001574887269785120157899424879783384970877207940882763108160101813165255293268067283749799125680546902802865759262628929437939812281930084719228140222259315153772635434562440479143738504137548105569104217602124627303/53376154244574393748479741679934205573365034377788250836299232654416168810011046192643938385549321316446116604084332576692233571427684675346781474422068544856577489049292823598070895594299281079949396068798597681005822424383488",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "pooled",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "beta",
    "value": "-2852668537071829791989906249054707079367357031995970370919/9183122811381079666212932360428344059544181187745657665152",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "designRank",
    "value": "143",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "absorbedEntityRank",
    "value": "140",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "remainingControlRank",
    "value": "2",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "residualDF",
    "value": "888",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "Sxx",
    "value": "71743146963914684892288534065846437965188915529262950509/10558309489609688246291901476467086068932990460428812288",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "Sxy",
    "value": "-950889512357276597329968749684902359789119010665323456973/450487871556680031841787796329262338941140926311629324288",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "SSE",
    "value": "391935038403489896497032262535995273856107953704203307958773326999748997435307/26054978337002999165505753438999164266398062967137084324539449566785657896960",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "rowHC0Variance",
    "value": "2790476533836666968895470820183252542956502210154082853579190466298539188886254353222468930230339034600965087378177879317699396820043379683976344648686045142774465982452740554598215889012525527639146565751643636019340050339693383/364603569824709524823565829413606621647814791946868818328678146823582558312233147809858083709496982186625880408810910374151237269620824981612602659133208066333063185208127407891891651697067967230814443396966411130233348722380636160",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "groupHC0Variance",
    "value": "1420624607346377024885188457056259306214650331993871419800827407241885651266945579590393876283709722805491920426178309602769809483491544237209517258134825932193697364218818358561010484100345421400145807215536195229256627356999/108512967209734977626061258754049589776135354746091910216868496078447189973878913038648239199255054222210083455003247135164058711196674101670417458075359543551506900359561728539253467766984514056790012915763812836378972834041856",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "entity",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "sourceRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "completeRows",
    "value": "1031",
    "unit": "rows"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "beta",
    "value": "-429412606293594481440368954408097920232438313490458612746291382332873/1446433935020377007881803696522464186336159810096434836536329481763328",
    "unit": "storedlogemployment/storedlogwage"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "entities",
    "value": "140",
    "unit": "entities"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "periods",
    "value": "9",
    "unit": "periods"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "designRank",
    "value": "151",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "absorbedEntityRank",
    "value": "140",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "remainingControlRank",
    "value": "10",
    "unit": "directions"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "residualDF",
    "value": "880",
    "unit": "degreesoffreedom"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "Sxx",
    "value": "403580897048096263359878263538633980562544589870657041444288359867/75828202386745438431481904976206242212774005004613308628095467520",
    "unit": "storedlogwage squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "Sxy",
    "value": "-47712511810399386826707661600899768914715368165606512527365709148097/30196475261566183482047905270524796898953559326281566458121572843520",
    "unit": "storedlogwage*storedlogemployment"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "SSE",
    "value": "2355239287214945028863636648247599425918397146294514296234931780950957001595058956871793941/164156815135500014955586455048980784756089602655296115047178965309837938511001857661337600",
    "unit": "storedlogemployment squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "rowHC0Variance",
    "value": "123626466255309727547134520114702968875893862570770712939637310495615995529166027420444649488685984587412699691849264398398627489122287070256652510309129228717269609948729667585822082136762858858133654137982054626469449439442090325284704553140192651800903407591765976057973231/11781838338717828509544073305893872836999386130158488835552340298285007307846667052166696510460306150379146363996027198688505614981295668006073531110782989977389696743323448190250503974602562388841377050266460851077931019062021148153813936347179865066913612794492708710671974400",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "groupHC0Variance",
    "value": "183139113939288669822046997835112837803364050932295863726047033277042477829305390939644064491243676037867876785647071981190391925600566644093101415484194106434405935482084939745373180258553249213753409324193047186546772348794205331564566069894328394293435434294212890973547/11688331685235940981690548914577254798610502113252469082889226486393856456197090329530452887361414831725343615075423808222723824386206019847295169752760902755346921372344690664931055530359684909564858184788155606228106169704386059676402714630138755026700012692949115784396800",
    "unit": "(storedlogemployment/storedlogwage) squared"
  },
  {
    "kind": "company",
    "spec": "twoway",
    "metric": "reportingGroups",
    "value": "140",
    "unit": "groups"
  }
]

Factual inputs, public code and complete exact tables

Python preserves source-token fractions; R explicitly approximates the same equations. Both read only three factual CSVs, not the engine, answer model or precomputed tables.

Python · R · Provenance, precision and reproduction

학부 심화 · 선택Advanced undergraduate · optional

34. 행·잔차·적합값으로 그림 읽기34. Read figures through rows, residuals and fitted values

점 하나가 원행 하나라면 그 점의 정의부터 적습니다. IV 그림에서 “조정 후 X”와 “도구로 예측한 조정 후 X”는 다릅니다. 전자를 가로축으로 놓은 OLS 선과 후자를 놓은 2SLS 계산의 선은 같은 최소제곱 문제가 아닙니다. 후자의 단순 회귀 잔차를 구조 잔차로 잘못 부르지 않습니다.

패널의 조정 후 그림은 선언한 pooled·entity·twoway의 통제 공간을 각각 제거한 X·Y입니다. 절편을 제거한 뒤 원점 기울기를 읽고, 축의 숫자는 원 단위의 잔차라는 것을 기억합니다. 음의 잔여 실업률 변화나 음의 잔여 로그 임금은 원 실업률·임금이 음수라는 뜻이 아닙니다.

행 표에서 원행 ID, 분석 적격 여부, 통제 예측·잔차·관심 투영 비중을 찾아 그림과 교차 확인합니다. 다수 관측이 겹칠 수 있어 점이 적어 보이더라도 원행을 삭제한 것이 아닐 수 있습니다. 작은 화면에서는 축소 그림의 작은 글씨만 읽으려 하지 말고 수치표·원본 확대 그림·정확값 펼치기를 함께 사용합니다.

좋은 그림 설명은 다음을 포함합니다. 어느 프레임·단위·변환인가, 선이 무엇을 적합하는가, 누락은 어떻게 표시하는가, 이 그림이 뒷받침하지 않는 주장은 무엇인가. “패턴이 뚜렷하다” 대신 원행과 계산 정의를 아는 독자가 다시 만들 수 있는 문장을 씁니다.

Define every plotted point. Residual X differs from instrument-predicted residual X. OLS with the former on the horizontal axis differs from the second-stage projection with the latter. Do not call ordinary second-stage residuals structural residuals.

Panel residual plots remove the declared pooled/entity/twoway control spaces separately. Read the through-origin contrast after adjustment and preserve source units. Negative residual unemployment changes or log wages do not mean negative original unemployment rates or wages.

Cross-check source IDs, eligibility, fitted components, residuals and contrast weights in row tables. Overlapping points can look fewer without row deletion. On narrow screens, use the numeric table, original enlarged figure and expandable exact values instead of relying only on tiny reduced text.

A reproducible caption states the frame, units and transformation; the fitted line’s meaning; missingness treatment; and the claim it cannot establish. Replace “a clear pattern” with definitions another reader can use to reconstruct the figure.

학부 심화 · 선택Advanced undergraduate · optional

35. 학자 소개: 계산과 설계의 두 질문35. Researchers: questions of calculation and design

David Card의 연구를 이 장에서는 교육·노동시장에 관한 관측 자료를 어떤 비교 설계로 읽는가라는 질문으로 만납니다. 2021년 경제학상에서 그의 노동경제 실증 기여가 인정되었습니다. 이는 개별 예제 자료나 모든 IV 식에 타당성 인증서를 준다는 뜻이 아닙니다. 연구자의 명성을 대신하여 원표와 가정을 읽습니다.

Joshua Angrist와 Guido Imbens는 같은 상에서 인과 관계 분석의 방법론적 기여를 인정받았습니다. 이 장의 학습 연결은 “도구가 처치를 움직이는 사람과 한계는 누구인가?”입니다. 단일 숫자와 정책 대상 집단 사이를 연결할 조건을 묻는 습관을 배웁니다. 스웨덴 왕립과학원 공식 소개에서 수상 기여의 구분을 읽어 보세요.

Frisch–Waugh–Lovell이라는 이름은 통제를 부분 제거해 같은 관심 계수를 얻는 정리를 가리킵니다. 중요한 것은 인물을 암기하는 것보다 잔차화의 행·비중·공간을 일치시키는 것입니다. IV로 확장할 때에는 제외 도구도 같은 통제로 잔차화해야 합니다. Basu의 방법론 논문을 심화 읽기로 두고, 이 장에서는 직접 유한 투영의 식을 검산합니다.

교수·학생 역할 토론을 해 봅니다. 학생은 “통제부터 빼도 답이 같나요?”라고 묻고, 교수 역할은 “같은 표본·통제 공간·추정식이면 어떤 행렬 항등식으로 같은가?”를 보여 줍니다. 정책 담당 역할은 이어서 “그 같은 답을 인과로 읽으려면 어떤 경로 가정이 필요한가?”를 묻습니다. 첫 질문에 수학으로 답했다고 마지막 질문까지 해결된 것은 아닙니다.

Meet David Card through the question of how an observational comparison can illuminate schooling and labor markets. The 2021 economics prize recognized his empirical labor-economics contribution. That recognition does not certify every example file or IV equation. Read source rows and assumptions rather than substituting a scholar’s reputation.

Joshua Angrist and Guido Imbens were recognized for methodological contributions to causal analysis. Ask which people and treatment margins an instrument moves, and what connects one coefficient to a policy population. The Royal Swedish Academy’s official introduction distinguishes the award contributions.

Frisch–Waugh–Lovell names a partial-regression result. Match frames, weights and spaces rather than merely memorizing names. An IV extension must residualize excluded instruments too. Use Basu’s methodological paper for further reading; here the finite projection identities are worked directly.

Role-play three questions. A student asks whether removing controls first preserves the answer. A professor demonstrates the identity under the same frame, control space and estimator. A policy reader asks which pathway assumptions permit a causal interpretation. Answering the mathematical question does not settle the policy question.

학부Undergraduate

36. 본문 영상과 학습 질문36. An embedded lecture and learning questions

공식 대학 소개에서 연결한 David Card의 노벨 강연을 이 본문 안에서 재생할 수 있습니다. 처음부터 모든 용어를 이해하려고 하기보다 “어떤 비교가 관측되고 어떤 비교가 관측되지 않는가?”라는 질문을 메모하며 보세요. 강연을 이 장의 특정 수치나 코드에 대한 설명이라고 간주하지 않습니다.

시청 전에는 다음 세 칸을 만듭니다. ① 실제 자료에서 서로 비교한 집단, ② 관심 있는 반사실 질문, ③ 둘을 잇는 가정입니다. 시청 뒤에는 본인의 말로 한 칸씩 채우고, 교육·임금 사례와 국가 패널 중 어느 곳에 그대로 적용할 수 없는지 적습니다. 인물의 권위보다 비교 설계를 찾는 활동입니다.

계산 실습도 이어갑니다. IV 실습의 네 점 예를 다시 열어 배제가 맞는 Y=2X+U와 직접 경로가 더해진 Y=2X+U+0.5Z를 비교하세요. 첫 단계가 같아도 IV가 2에서 2.5로 바뀌는 이유를 γ로 설명합니다. 영상 속 발언을 인용하려면 실제로 들은 문장과 확인한 시각을 기록합니다. 확인하지 않은 정확한 재생 시각이나 발언은 만들어 붙이지 않습니다.

출처는 Queen’s University 공식 소개의 NobelPrize 영상 연결입니다. 추가 방법 학습으로 MRU의 Josh Angrist IV 소개는 학교 배정 제안과 실제 진학의 차이를 설명하는 읽기 안내로 활용할 수 있습니다. 영상·원문은 해당 제작자의 자료이며 이 장의 직접 집필한 수치 실습과 구별합니다.

Play David Card’s prize lecture inside this page using the video linked by the official university profile. Begin with the question “Which comparison is observed and which is counterfactual?” The lecture is not presented as a tutorial for this chapter’s particular numbers or code.

Before viewing, create three columns: observed comparison groups; the counterfactual of interest; and assumptions connecting them. Afterwards fill them in your own words and explain why they may not transfer unchanged to the schooling case or country panel. Look for design rather than authority.

Return to the four-point IV exercise. Compare Y=2X+U with Y=2X+U+0.5Z. Explain with γ why the same first stage yields IV two versus 2.5. If quoting the lecture, record words and timestamps actually checked; do not invent precise times or statements.

The source is the NobelPrize video linked by the official Queen’s University profile. The official MRU IV introduction by Josh Angrist offers further guided reading on offers versus attendance. Creator materials are distinguished from this chapter’s original numerical exercises.

학부 심화 · 선택Advanced undergraduate · optional

37. 논문·코드북·매뉴얼을 서로 읽기37. Cross-read the paper, codebook and manual

첫 읽기는 공식 proximity README와 ZIP의 코드북입니다. 열 이름뿐 아니라 단위·시점·결측·outlier-trimmed 로그의 정의를 찾습니다. 다음으로 짧은 원 SAS에서 실제 통제 목록을 읽고, 교육 연수·경험·지역 기준을 적습니다. 변수 라벨이 익숙하다는 이유만으로 자동 추측하지 않습니다.

서지 확인도 재현의 일부입니다. 보존 코드북에는 college-proximity 제목과 NBER 4832라는 표기가 함께 있지만, 공식 NBER에서 그 제목의 작업논문은 4483이고 4832는 다른 제목입니다. 원파일을 고쳐 원래부터 맞았던 것처럼 만들지 않고, 원문과 확인한 서지 차이를 따로 기록합니다. 이 불일치만으로 자료 숫자가 잘못되었다거나 저자의 의도를 단정하지 않습니다.

두 번째 읽기는 저자 제공 교육·접근성 논문입니다. 먼저 질문·표본·설명변수·도구를 찾아 자신의 식과 다른 부분에 표시합니다. 논문 전체 표를 읽지 않았다면 특정 표의 완전 재현이라고 쓰지 않습니다. 현재 장의 수치는 공개 보존 파일과 선언 식에 대한 직접 계산입니다.

세 번째 읽기는 공식 xtreg 매뉴얼의 FE 변환·불변 변수·자유도·집락 부분입니다. 식을 같게 해도 보정 분산이나 추론 기본값이 다를 수 있습니다. 예제 자료 안내의 사용 목적도 함께 읽습니다. 국가 지표는 성장률과 실업률의 공식 정의·출처를 대조합니다.

First read the official proximity README and ZIP codebook for units, periods, missingness and the outlier-trimmed log definition. Then inspect the short native SAS control list, experience construction and regional baseline. Familiar names are not sufficient definitions.

Bibliography is part of reproduction. The retained codebook pairs the college-proximity title with NBER 4832; official NBER identifies that title as 4483, while 4832 has another title. Preserve the original and document the mismatch separately. It alone establishes neither incorrect numbers nor the author’s intent.

Next read the author-provided schooling/proximity paper. Compare questions, frames, controls and instruments against your equation. Do not claim complete reproduction of a table you have not read. This chapter computes the preserved public file under declared equations.

For panels, compare FE transformation, invariants, degrees of freedom and clustering in the official xtreg manual, alongside the example-data purpose warning. For countries, check official growth and unemployment definitions. Matching equations does not automatically match variance corrections or inference defaults.

대학원 연결Graduate bridge

38. 원자료만 읽는 Python·R 실습38. Python and R exercises that read factual sources only

이제 공개 프로그램을 빈 출력 폴더에서 실행해 봅니다. 입력은 보존한 개인·국가·기업의 factual CSV이며, 이미 계산된 계수·잔차·모델 정답 파일을 입력으로 읽지 않습니다. 개인 자료에서 통제를 직접 구성하고, 국가에서는 달력 전년을 키로 결합하며, 기업에서는 보존 n·w·k·ys를 그대로 사용합니다. 그래프보다 먼저 프레임 집계가 맞는지 확인합니다.

프로그램의 순서를 종이에 적으면 다음과 같습니다. 원 토큰 읽기 → 열·ID·시점·결측 점검 → 완전 프레임 → 통제 공간 → 관심 계수 → 구조 잔차·선형 비중·그룹 점수 → 표·그림입니다. 계수만 복사하는 짧은 코드보다 길지만 어느 단계에서 결과가 달라졌는지 찾을 수 있습니다. 임의의 첫 100행만 사용해 전체 원자료 재현이라고 부르지 않습니다.

Python 유리수 경로는 기록된 유한 수의 교차합·rank·분수를 보존하고, R의 기본 부동소수점 경로는 같은 유한 식의 근사 계산을 제공합니다. 두 출력을 비교할 때 긴 분수가 문자 그대로 같기를 요구하지 않고 프레임·식·단위와 적절한 오차 범위를 확인합니다. 반면 정확한 rank 결손·미식별 상태를 편리한 0으로 바꾸지는 않습니다.

실습 노트에는 사용한 파일 해시, 프로그램 버전, 실행 명령, 출력 폴더, 실제 실패와 수정 내역을 남깁니다. 입력·가공·결과·해석을 구분해 보관하면 다른 사람이 계산을 반박하거나 다시 만들 수 있습니다. 다음 장에서는 이 재현 패키지와 사전 분석 계획을 하나의 연구 산출물로 정리합니다.

Run the public programs in a fresh output directory. Inputs are factual person/country/firm CSVs, not precomputed coefficients, residuals or answer-model files. Construct personal controls, match country calendar lags and retain stored firm n/w/k/ys. Check frame counts before studying plots.

Write the pipeline: native tokens; columns/IDs/calendar/missingness checks; complete frame; control space; target coefficient; structural residuals/contrast weights/group scores; tables and figures. It is longer than copying coefficients but reveals where a discrepancy occurs. A first-100-row shortcut is not a full-source reproduction.

The Python rational path preserves finite stored-value crossproducts, ranks and fractions. Base R approximates the same finite equations with floating-point arithmetic. Compare frames, equations, units and suitable numerical tolerance rather than requiring identical long fraction strings. Do not replace true rank deficiency or nonidentification with zero.

Record file hashes, program version, actual command, output directory and failures/corrections. Separate inputs, transformations, results and interpretation so others can challenge or reproduce the calculation. The next chapter organizes this package and a prespecified analysis plan as research outputs.

대학원 연결Graduate bridge

39. 같은 숫자라도 다른 주장39. The same number can support different claims

세 문장을 비교해 봅니다. A: “선언한 식에서 IV 계수는 0.1315이다.” B: “같은 사람에게 교육을 1년 더 주면 평균 임금이 13.15% 늘어난다.” C: “현재 한국의 모든 교육 정책도 같은 수익률이다.” A는 입력·프레임·계산으로 검사할 수 있습니다. B는 처치·효과 이질성·배제·평균과 로그의 관계가 더 필요하고, C는 시대·집단·제도 전이가 더 필요합니다.

수치 해석 자체도 점검합니다. 로그 기울기 0.1315의 지수화 적합값 비율은 exp(0.1315)−1로 약 14.05%입니다. 이것조차 산술평균 임금의 인과 변화로 자동 번역되지 않습니다. 100β 근사와 지수 변환, 변환한 적합값과 결과 평균을 구별합니다. 더 많은 소수 자릿수가 인과 주장에 필요한 가정을 대신하지 않습니다.

반박 가능한 결과문은 어떤 확인이 실패하면 결론을 바꾸는지 적습니다. 예를 들어 3010 공통 프레임이 안 맞거나, 전년 실업률 연결이 틀리거나, 두 방향 잔차가 더미에 직교하지 않으면 계산 재현을 수정해야 합니다. 근접성의 다른 임금 경로가 설득력 있게 제시되면 인과 해석을 약화하거나 직접 효과 범위를 다시 논의합니다.

팀 토론에서는 결론의 부호를 좋아하는 사람과 싫어하는 사람에게 동일한 기준을 적용합니다. 원하는 부호가 나온 식만 남기는 대신 사전 선언한 식·표본·단위·삭제 범위를 공개합니다. 의견의 가치중립성은 아무 결론도 쓰지 않는 태도가 아니라, 선호와 무관하게 같은 증거 규칙으로 결론의 범위를 정하는 태도입니다.

Compare three claims. A: the declared equation has IV coefficient 0.1315. B: giving the same people an extra year raises mean wages by 13.15 percent. C: every present-day Korean education policy has that return. Inputs and calculations can check A. B needs causal, heterogeneity and log-to-mean conditions; C additionally needs transfer across populations, periods and institutions.

Even the numerical interpretation needs care. The exponentiated fitted-value ratio is exp(0.1315)−1, about 14.05 percent. That still does not automatically equal a causal change in arithmetic mean wages. Separate the 100β approximation, exact exponential transformation and mean-outcome interpretation.

State what would change the conclusion. A mismatched 3010-person frame, incorrect calendar lag or nonorthogonal twoway residuals requires fixing reproduction. A credible alternative proximity-to-wage pathway requires weakening causal claims or revisiting direct-effect assumptions.

Apply the same standards to readers who favor or dislike the sign. Publish declared equations, frames, units and deletion scope instead of keeping only preferred signs. Value neutrality means consistent evidential standards, not refusing to state a bounded conclusion.

대학원 연결Graduate bridge

40. 종합 과제: 반박 가능한 재현 보고서40. Capstone: a contestable replication report

세 사례 중 하나를 골라 4쪽 내외 보고서를 작성합니다. 첫 쪽에는 한 문장 질문, 관측 단위, 출처·빈티지, 원행과 분석 행, 단위를 적습니다. 둘째 쪽에는 식과 비교할 대안 식을 적고, 같은 프레임인지 보여 줍니다. 셋째 쪽에는 주요 계수·rank·잔차 진단·원행 연결이 있는 표와 그림을 넣습니다. 마지막 쪽에는 가정·민감도·반박 조건을 적습니다.

개인 사례는 단일·두 도구와 같은 공간의 통제 재코딩을 구분하고 직접 효과 민감도 한 범위를 설명합니다. 국가 사례는 실제 전년 연결과 pooled·entity·twoway 차이, 16개국의 의존과 보존 빈티지의 한계를 설명합니다. 기업 사례는 불균형·기록 로그·통제 변환과 출판사의 교육용 안내를 지킵니다. 세 사례의 자료를 억지로 하나의 인과 모형으로 합치지 않습니다.

평가는 숫자가 그럴듯한가보다 경로가 검증 가능한가를 중심으로 합니다. 출처·단위·프레임 25점, 수학·계산 재현 30점, 읽을 수 있는 표·그림과 원행 연결 20점, 가정·민감도·반박 가능성 25점입니다. 틀린 가설이 나와도 원자료와 계산·한계를 정직하게 보여 주면 높은 평가를 받을 수 있습니다.

마지막 자기 점검은 세 문장입니다. “나는 무엇을 실제로 계산했는가?” “무엇을 추가로 가정했는가?” “어떤 새 증거가 오면 결론을 바꿀 것인가?” 중학생에게는 실제 전년·같은 사람·백분율의 차이를 설명하고, 대학원 독자에게는 rank·투영·식별·추론의 경계를 제시하는 보고서를 목표로 합니다.

Choose one case for a roughly four-page report. Page one states a question, units, source/vintage, native and analysis counts, and measurement units. Page two declares equations and alternative comparisons on a documented frame. Page three presents coefficients, ranks, residual diagnostics and source-linked figures/tables. Page four states assumptions, sensitivity and conditions for revision.

For people, distinguish single/two instruments, same-span recoding and a direct-effect range. For countries, show true calendar lags, three panel comparisons, dependence across 16 countries and vintage limitations. For firms, respect unbalancedness, stored logs, transformed controls and the instructional-use warning. Do not force the three sources into one causal model.

Grade verifiability: sources/units/frames 25; mathematical reproduction 30; readable source-linked tables/figures 20; assumptions/sensitivity/contestability 25. Honest evidence against a preferred hypothesis can score well.

Finish with three sentences: what did I actually calculate; what did I additionally assume; and what new evidence would change my conclusion? Explain calendar years, repeated units and percentages to a young beginner while exposing rank, projection, identification and inference boundaries for graduate readers.

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

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

1. 숫자가 같으면 재현인가Does a matching number establish replication?

두 분석에서 교육 계수 0.08을 얻었다. 하나는 3010명의 기록 로그, 다른 하나는 다른 표본의 원 시급이다. 같은 재현이라고 판단할 수 있는가?

Two analyses report a schooling coefficient 0.08. One uses recorded logs for 3010 people; the other uses raw wages on another frame. Does the match establish replication?

풀이와 확인할 이유Solution and explanation

아닙니다. 첫 계수의 단위는 로그 점/년이고 둘째는 원 시급 단위/년입니다. 숫자의 자릿수가 같아도 다른 수량입니다.

원자료 버전·포함 ID·결과 정의·통제·도구·추정식을 맞추고 적합값·분모까지 대조해야 같은 경로인지 판단할 수 있습니다.

No. The first is log points/year and the second raw-wage units/year. Matching digits represent different quantities.

Align source vintage, IDs, outcome, controls, instruments and estimator, then inspect fitted values and denominators to evaluate the path.

2. 240행과 240개 독립 국가240 rows versus 240 independent countries

16개국을 15년 관측해 240행을 만들었다. 이를 독립 국가 240개라고 해도 되는가?

There are 240 rows from 16 countries over 15 years. Are these 240 independent countries?

풀이와 확인할 이유Solution and explanation

아닙니다. 반복 단위는 국가 16개이고 각 국가가 여러 행을 차지합니다.

같은 국가의 연도 간 의존과 국가 간 공통 충격을 생각해야 합니다. 단순히 국가별로 묶는 계산도 국가 사이 독립성을 입증하지 않습니다.

No. There are 16 repeated country units, each occupying several rows.

Consider dependence across years within a country and common shocks across countries. Grouping by country does not establish cross-country independence.

3. %와 %포인트Percent and percentage points

실업률이 4%에서 5%로 바뀌었다. 이 장의 국가 X와 상대 증가율을 각각 구하라.

Unemployment moves from 4% to 5%. Compute country X here and the relative increase.

풀이와 확인할 이유Solution and explanation

X는 5−4=1%포인트입니다. 두 원 수준의 단위가 %이므로 차이의 단위는 %포인트입니다.

상대 증가율은 (5−4)/4=1/4=25%입니다. 분석 열에 1 대신 25를 넣으면 다른 단위·다른 기울기를 사용하게 됩니다.

X is 5−4=1 percentage point. The levels are percentages and their difference is measured in percentage points.

The relative increase is (5−4)/4=1/4=25%. Substituting 25 for 1 changes the regressor unit and coefficient.

4. 갱신일과 다운로드일Provider update and download time

원 JSON의 lastupdated가 2026-10-08이다. 이를 최초 다운로드 시각이라고 기록해도 되는가?

A retained JSON has lastupdated 2026-10-08. May it be recorded as the initial download time?

풀이와 확인할 이유Solution and explanation

아닙니다. 제공자의 자료 갱신 메타데이터와 사용자의 전송 시각은 다른 사실입니다.

최초 시각과 정확한 옛 요청 URL이 없다면 없다고 적고 보존 파일의 바이트·해시와 제공자 갱신일을 각각 남깁니다. 오늘의 재요청이 같은 과거 수치를 보장하지도 않습니다.

No. Provider update metadata and a user’s acquisition timestamp are different facts.

If the initial time and precise historical query were not archived, say so. Preserve original bytes/hash and provider update date separately; a request today need not reproduce the same historical values.

5. 원 시급과 기록 로그의 분모Raw-wage and recorded-log denominators

3613명 중 원 시급 관측 3017명, 기록 로그 관측 3010명이다. 원 시급 결측 수와 원 시급은 있으나 기록 로그가 없는 수를 구하라.

Of 3613 people, 3017 have raw wages and 3010 recorded logs. Find the raw-wage missing count and the count with raw wages but no recorded log.

풀이와 확인할 이유Solution and explanation

원 시급 결측은 3613−3017=596명입니다. 실제 파일에서 기록 로그 관측자는 원 시급 관측자에 포함되므로 후자는 3017−3010=7명입니다.

7개의 빈 로그에 새 로그를 넣으면 제공된 기록 로그의 프레임을 바꿉니다. 새 분석으로 선언할 수 있지만 같은 변수의 조용한 결측 보충으로 처리하지 않습니다.

There are 3613−3017=596 missing raw wages. In this file, observed recorded logs are a subset of observed raw wages, so the second count is 3017−3010=7.

Filling those seven with newly computed logs changes the recorded-log frame. Declare that as a different analysis instead of silently treating it as the same supplied outcome.

6. 통제변수의 단위 바꾸기Rescale a control column

모형 Y=α+βE+γC에서 C* = C/100으로 바꾸되 같은 행을 사용한다. 새 C* 계수와 교육 계수·적합값의 관계는?

In Y=α+βE+γC, use C*=C/100 on the same rows. What happens to its coefficient, the schooling coefficient and fitted values?

풀이와 확인할 이유Solution and explanation

C=100C*이므로 γC=(100γ)C*입니다. 새 통제 계수는 100γ가 되어야 같은 식입니다.

상수와 다른 열의 공간·표본이 그대로면 교육 계수 β와 적합값은 같습니다. 계수의 숫자를 그대로 두고 열만 100으로 나누면 같은 모형이 아닙니다.

Since C=100C*, γC=(100γ)C*. The new nuisance coefficient is 100γ for the same equation.

With the same frame and remaining column space, β and fitted values are unchanged. Dividing the column by 100 while keeping its coefficient numerically fixed changes the model.

7. 잠재경험과 실제 경력Potential and actual experience

28세, 교육 16년인 사람의 잠재경험과 그 제곱/100을 구하라. 실제 취업 경력이 반드시 같은가?

For age 28 and schooling 16, compute potential experience and its square/100. Must actual years worked match?

풀이와 확인할 이유Solution and explanation

잠재경험은 28−16−6=6, 제곱/100은 36/100=0.36입니다.

이는 나이·교육으로 구성한 열이며 군복무·돌봄·실업·휴학 등의 실제 경력을 직접 관측한 값이 아닙니다. 교육의 영향을 받지 않는 외생 통제라는 가정도 계산식만으로 증명되지 않습니다.

Potential experience is 28−16−6=6 and its square/100 is 36/100=0.36.

It is constructed from age and schooling, not a direct observation of military service, caregiving, unemployment or actual work. The formula does not establish exogeneity.

8. 여섯 잔차의 기울기The six-residual slope

본문 여섯 행에서 남은 X=(−1,0,1,−1,0,1), 남은 Y=(−2,0,2,−2,0,2)이다. 제곱합·교차합·기울기를 구하라.

Residual X is (−1,0,1, −1,0,1) and residual Y is (−2,0,2, −2,0,2). Find their sum of squares, crossproduct and slope.

풀이와 확인할 이유Solution and explanation

X 제곱합은 1+0+1+1+0+1=4입니다. 교차합은 2+0+2+2+0+2=8입니다.

기울기는 8/4=2입니다. 절편·C를 함께 넣은 원 회귀의 X 계수와 같지만, 이 산술만으로 인과 가정이 참이라는 결론은 나오지 않습니다.

The X sum of squares is 1+0+1+1+0+1=4; the crossproduct is 2+0+2+2+0+2=8.

The slope is 8/4=2, equal to the original regression’s X coefficient after including an intercept and C. The identity does not validate causal assumptions.

9. 통제와 같은 도구An instrument equal to a control

절편과 C를 조정하는데 Z=C이다. 남은 Z와 IV의 관련성은? 관련성을 만들려고 C를 빼도 같은 질문인가?

An intercept and C are controls, and Z=C. What remains of Z? Does deleting C to create relevance preserve the question?

풀이와 확인할 이유Solution and explanation

Z가 통제 열공간에 있으므로 남은 Z는 전부 0입니다. 그 공간 밖의 X 변동을 이 도구로 설명할 수 없습니다.

C를 빼면 조정 조건과 필요한 독립·배제 가정이 바뀝니다. 첫 단계를 세게 만들려는 이유만으로 같은 분석이라고 부를 수 없습니다.

Z lies in the control column space, so residual Z is zero. It cannot explain X variation outside that space.

Deleting C changes the adjustment and required independence/exclusion conditions. It is not automatically the same analysis merely because relevance increases.

10. 음수 잔차는 음수 확률인가Is a negative residual a negative probability?

원 Z=0, C에 대한 선형 예측값=0.7이다. 잔차를 구하고 뜻을 설명하라.

Original Z is zero and its linear prediction from C is 0.7. Find and interpret the residual.

풀이와 확인할 이유Solution and explanation

잔차는 0−0.7=−0.7입니다. 원 0/1 값이 선형 예상 수준보다 0.7 낮다는 뜻입니다.

이를 음수인 실제 대학 접근성이나 확률로 해석하지 않습니다. 선형 투영의 적합값이 참 조건부 확률이라는 보장도 없습니다.

The residual is 0−0.7=−0.7: the original binary value is 0.7 below its linear prediction.

It is not negative actual college access or probability. A linear fitted value is not certified as a true conditional probability.

11. 숨은 U와 두 기울기Hidden U and two slopes

가상 모집단에서 Var(X)=2, Cov(X,Y)=5, Cov(Z,X)=1, Cov(Z,Y)=2이다. OLS·IV 기울기를 구하고 왜 다를 수 있는지 설명하라.

In the constructed population Var(X)=2, Cov(X, Y)=5, Cov(Z, X)=1 and Cov(Z, Y)=2. Find OLS and IV and explain the difference.

풀이와 확인할 이유Solution and explanation

OLS=5/2=2.5, IV=2/1=2입니다. X=Z+U에서 U가 X에 관련되어 OLS 비교에 섞입니다.

구조식 Y=2X+U와 Z·U 독립·배제를 선언한 이 가상 모집단에서는 IV가 구조 기울기 2를 회복합니다. 실제 자료에서 두 숫자가 다르다는 것만으로 어느 가정이 맞는지 증명할 수는 없습니다.

OLS is 5/2=2.5 and IV is 2/1=2. U enters X=Z+U and contaminates the OLS comparison.

Under the declared structural equation and independent, excluded Z in this constructed population, IV recovers two. Different actual estimates alone do not establish which assumptions hold.

12. 도구의 10배 표기An instrument written in tenfold units

원 δ=2, π=1이다. Z*=10Z로 표기하면 새 축약형·첫 단계·IV 비율은? 직접 효과 γ=0.5의 새 단위 값은?

Original δ=2 and π=1. With Z*=10Z, find the new reduced form, first stage, IV ratio and representation of direct effect γ=0.5.

풀이와 확인할 이유Solution and explanation

새 δ*=0.2, π*=0.1이므로 비율은 0.2/0.1=2로 같습니다. 부분 R²·F도 같은 적합에서 변하지 않습니다.

원 직접항 0.5Z=(0.05)Z*이므로 새 직접 효과 값은 0.05입니다. 계수나 편의 범위는 숫자만 보지 말고 도구 단위와 함께 바꿉니다.

New δ*=0.2 and π*=0.1 give the same ratio two. Partial R² and F are unchanged for the same fitted projection.

Since 0.5Z=0.05Z*, the direct-effect coefficient becomes 0.05. Rescale coefficients and stipulated bias ranges with instrument units.

13. 두 종류 잔차Two residual vectors

가상 X=(−2,0,0,2), x̂=(−1,−1,1,1), Y=(−5,1,−1,5), β̂=2이다. 구조 잔차와 두 번째 회귀 잔차의 제곱합을 구하라.

Given constructed X=(−2,0,0,2), x̂=(−1, −1,1,1), Y=(−5,1, −1,5) and β̂=2, find structural and second-stage residual sums of squares.

풀이와 확인할 이유Solution and explanation

Y−2X=(−1,1,−1,1)이므로 구조 잔차 제곱합은 4입니다. Y−2x̂=(−3,3,−3,3)이므로 두 번째 회귀 잔차 제곱합은 36입니다.

계수 2가 같아도 잔차가 다릅니다. IV의 적절한 sandwich를 대신하여 두 번째 OLS 표의 일반 표준오차를 복사하면 같은 계산을 재현하지 않습니다.

Structural residuals Y−2X=(−1,1, −1,1) have sum of squares four. Second-stage residuals Y−2x̂=(−3,3, −3,3) have sum of squares 36.

The matching coefficient does not equate residuals. Copying ordinary second-stage OLS standard errors does not reproduce the appropriate IV sandwich.

14. 두 열·한 정보 방향Two columns, one direction

Z₂=2Z₁이고 첫 단계 특정 계수가 (1,0)이다. 같은 예측을 주는 전체 계수 가족과 도구 rank는?

If Z₂=2Z₁ and one first-stage coefficient pair is (1,0), give its full equivalent family and instrument rank.

풀이와 확인할 이유Solution and explanation

전체 가족은 (1−2t,t)입니다. 예를 들어 t=1이면 (−1,1)로, −Z₁+Z₂=Z₁입니다.

Z₁이 조정 후 비영이면 도구 rank는 1입니다. 열 2개를 독립 방향 2개로 세어 첫 단계의 분자 자유도나 과대식별 수를 정하지 않습니다.

The family is (1−2t, t); t=1 gives (−1,1) and −Z₁+Z₂=Z₁.

Provided residual Z₁ is nonzero, instrument rank is one. Two columns are not two independent directions for numerator degrees of freedom or overidentification counts.

15. 작은 신호·같은 잡음Small signal, same noise

네 점 표 X=0.1Z+U에서 제한 제곱합 4.04, 확장 잔차 제곱합 4, q_eff=1, 잔차 자유도 2이다. 부분 R²와 F를 구하라.

For four-point X=0.1Z+U, restricted sum is 4.04, unrestricted residual sum four, q_eff=1 and residual df=2. Find partial R² and F.

풀이와 확인할 이유Solution and explanation

설명 제곱합은 4.04−4=0.04=1/25입니다. 부분 R²=0.04/4.04=1/101입니다.

F=(0.04/1)/(4/2)=0.02=1/50입니다. 이는 같은 표의 유한 산술이며 그 자체로 신뢰수준이나 유효한 배제 가정을 주지 않습니다.

Explained sum is 4.04−4=0.04=1/25. Partial R² is 0.04/4.04=1/101.

F=(0.04/1)/(4/2)=0.02=1/50. This finite arithmetic supplies neither a confidence level nor valid exclusion.

16. 두 종류 자유도Two residual degrees of freedom

n=3010, 통제 rank 15, 제외 도구 rank 2, 내생 X는 한 개이다. 첫 단계와 식별된 구조식의 잔차 자유도는?

Let n=3010, control rank 15, excluded-instrument rank two and one endogenous X. Find first-stage and identified structural residual df.

풀이와 확인할 이유Solution and explanation

첫 단계는 통제 15방향과 추가 도구 2방향을 적합하므로 3010−15−2=2993입니다.

식별된 구조식은 통제 15방향과 X 1방향을 사용하므로 3010−15−1=2994입니다. 이 자유도 계산과 집락 수를 사용한 분산 보정은 또 다른 단계입니다.

First-stage residual df is 3010−15−2=2993 because it fits 15 control and two additional instrument directions.

The identified structural equation uses 15 control directions and one X direction, giving 2994. Cluster-count variance corrections are a separate choice.

17. 음수 투영 비중Signed projection weights

a=(−1/4,−1/4,1/4,1/4), X=(−2,0,0,2), Y=(−5,1,−1,5)이다. Σa, a′X, a′Y를 구하고 확률 비중인지 설명하라.

For a=(−1/4, −1/4,1/4,1/4), X=(−2,0,0,2), Y=(−5,1, −1,5), find Σa, a′X and a′Y. Are these probability weights?

풀이와 확인할 이유Solution and explanation

Σa=0, a′X=1/2+1/2=1, a′Y=5/4−1/4−1/4+5/4=2입니다.

음수 원소가 있고 합이 0이므로 확률 비중이 아닙니다. 절편·통제를 제거하고 관심 X의 단위를 1로 맞춘 선형 대비의 비중입니다.

Σa=0, a′X=1/2+1/2=1 and a′Y=5/4−1/4−1/4+5/4=2.

Negative entries and a zero sum preclude probability weights. They are linear contrast weights that remove the intercept/controls and normalize the X contrast.

18. 그룹 합이 0인 분산Variance when grouped sums vanish

영향 기여가 (1/4,−1/4,−1/4,1/4)이다. 행 HC0와 앞 두 행·뒤 두 행을 각각 묶은 그룹 HC0를 구하라.

Influence contributions are (1/4, −1/4, −1/4,1/4). Find row HC0 and grouped HC0 with the first and last pairs as groups.

풀이와 확인할 이유Solution and explanation

행 HC0는 네 제곱을 더해 4×1/16=1/4입니다. 두 그룹 합은 각각 0이므로 그룹 HC0 산술은 0입니다.

이는 두 그룹의 점수 상쇄를 나타낼 뿐, 미래 표본의 정책·교육 효과 불확실성이 0이라는 보장이 아닙니다. 그룹을 정한 근거와 많은 독립 그룹 등의 추론 조건을 별도로 검토해야 합니다.

Row HC0 is 4×1/16=1/4. Each grouped sum is zero, giving finite grouped HC0 zero.

This records cancellation, not a guarantee of zero uncertainty about future policy or schooling effects. Group definitions and inferential requirements such as many independent groups need separate support.

19. 입력 정확성과 현실 정확성Exact input versus exact reality

소수 시급 토큰을 유리수로 계산하여 잔차 직교가 정확히 0이었다. 임금 측정오차와 도구의 독립성도 0이라고 말할 수 있는가?

Exact rational calculations give zero residual orthogonality. Does this establish zero wage measurement error or instrument independence?

풀이와 확인할 이유Solution and explanation

아닙니다. 저장된 수의 선형 투영이 만드는 직교 관계입니다. 원래 조사 반올림·오차나 관측되지 않은 배경의 독립성은 이 계산으로 인증되지 않습니다.

재현한 수학적 사실과 자료 측정·반사실 가정을 구별해 두 문장으로 기록합니다.

No. This is an orthogonality identity from projecting stored numbers. It certifies neither measurement accuracy nor independence of unobserved background.

Record the mathematical fact separately from measurement and counterfactual assumptions.

20. 직접 효과의 범위A direct-effect range

δ=2.5, π=1, γ∈[0,0.5]일 때 β 집합은? 신뢰구간인가?

Find the β set for δ=2.5, π=1 and γ∈[0,0.5]. Is it a confidence interval?

풀이와 확인할 이유Solution and explanation

β=2.5−γ이므로 [2,2.5]입니다. 상한 γ가 클수록 β가 작아집니다.

지정한 직접 효과 가정에 따른 민감도 집합입니다. 표집 법칙이나 신뢰수준을 입력하지 않았으므로 신뢰구간이라고 부르지 않습니다.

β=2.5−γ gives [2,2.5]; increasing γ decreases β.

This is a stipulated exclusion-sensitivity set without a sampling law or confidence level, so it is not a confidence interval.

21. 음의 분모A negative denominator

δ=−3, π=−2, γ∈[0,1]일 때 올바르게 정렬한 β 집합과 Z*=−Z의 γ* 범위를 구하라.

For δ=−3, π=−2 and γ∈[0,1], find the ordered β set and the γ* range after Z*=−Z.

풀이와 확인할 이유Solution and explanation

γ=0에서 3/2, γ=1에서 2이므로 [3/2,2]입니다.

Z 부호 반전은 π*=2, δ*=3, γ*∈[−1,0]을 줍니다. 두 끝점은 다시 2와 3/2로 같은 집합입니다.

The endpoints are 3/2 at γ=0 and two at γ=1, giving [3/2,2].

Recoding gives π*=2, δ*=3 and γ*∈[−1,0]. Endpoints two and 3/2 define the same set.

22. 전체 실수와 공집합All reals versus empty

π=0, δ=0.2이다. γ∈[0,0.3]과 [0,0.1]의 β 집합을 구하라.

Let π=0 and δ=0.2. Find the β set for γ∈[0,0.3] and for [0,0.1].

풀이와 확인할 이유Solution and explanation

첫 범위에서는 γ=0.2가 허용되어 모든 실수 β가 가능합니다. 두 번째 범위에서는 δ=γ를 만족하지 못해 공집합입니다.

전체 실수는 β=0과 다르고, 공집합은 β를 계산할 수 없으니 0으로 대체한다는 규칙도 아닙니다.

The first range admits γ=0.2, allowing all real β. The second cannot satisfy δ=γ, so the set is empty.

All reals differs from β=0. An empty set is not a rule to replace an unavailable coefficient with zero.

23. 도구 단위와 직접 효과Instrument units and direct effects

Z를 10Z로 바꾼다. 원 δ=2.5, π=1, γ∈[0,0.5]를 같은 가정으로 표현하라.

Recoding Z as 10Z, express δ=2.5, π=1 and γ∈[0,0.5] under the same assumption.

풀이와 확인할 이유Solution and explanation

새 δ*=0.25, π*=0.1, γ*∈[0,0.05]입니다.

β=(0.25−γ*)/0.1은 [2,2.5]로 불변입니다. 직접 범위를 0–0.5로 그대로 두면 같은 가정이 아닙니다.

Use δ*=0.25, π*=0.1 and γ*∈[0,0.05].

The resulting set remains [2,2.5]. Keeping the old 0–0.5 direct range would change the assumption.

24. 효과의 대상Whose effect?

교육 연수의 대학 접근성 IV 계수가 양수이다. 이를 모든 사람의 대학 진학 평균 효과라고 바로 부를 수 없는 이유 두 가지는?

A college-proximity IV coefficient for schooling years is positive. Give two reasons not to call it everyone’s average college-attendance effect.

풀이와 확인할 이유Solution and explanation

처치가 교육 연수이지 이진 진학 여부가 아니며, 이질적 효과와 도구가 움직이는 교육 한계의 가중을 검토해야 합니다.

독립성·배제 등 인과 가정과 현재 표본 밖 집단으로의 전이도 별도 근거가 필요합니다. 양의 표본 계수만으로 어느 조건도 자동 성립하지 않습니다.

Years of schooling differ from binary attendance; heterogeneous effects and instrument-induced margins require a weighting analysis.

Independence/exclusion and transfer beyond the current frame require separate evidence. A positive sample coefficient does not automatically establish them.

25. 행과 개체Rows versus entities

16개국을 15년씩 관측한 240행이다. 240개 독립 국가가 있다고 볼 수 있는가? 개인 wage76 단면을 15년 패널이라고 부를 수 있는가?

A frame has 16 countries over 15 years, or 240 rows. Are there 240 independent countries? Is the wage76 personal cross-section a 15-year panel?

풀이와 확인할 이유Solution and explanation

아닙니다. 행은 국가–연도이고 국가 수는 16입니다. 같은 국가의 시점 간 의존을 고려해야 합니다.

개인 wage76는 이 장에서 1976년 단면으로 사용합니다. 관측하지 않은 반복 임금을 연도 이름만으로 만들어 낼 수 없습니다.

No. Rows are country-years; the number of countries is 16. Within-country time dependence requires attention.

The personal wage76 frame is used as a 1976 cross-section, not invented repeated wages inferred from variable names.

26. within 교차합Within crossproducts

가상 세 개체의 X 편차 제곱합이 2,9/2,1/2이고 Y 편차와의 교차합이 5,9,2이다. 기울기와 Y 개체상수 추가의 효과는?

X within sums of squares are 2,9/2,1/2 and Y crossproducts are 5,9,2. Find the slope and the effect of adding entity-specific Y constants.

풀이와 확인할 이유Solution and explanation

합은 Sxx=7,Sxy=16이므로 β=16/7입니다.

개체마다 다른 상수도 그 개체 평균에서 똑같이 빠지므로 변환 Y와 계수는 불변입니다. 시간에 따라 달라지는 상수에는 같은 논리를 자동 적용하지 않습니다.

Sxx=7 and Sxy=16 give β=16/7.

Entity-specific constants cancel against the corresponding means, preserving transformed Y and the slope. The same argument does not automatically apply to date-varying additions.

27. 두 효과의 합동 rankJoint rank of two effects

일곱 행 패널에 E=3,T=3,K=1이며 X는 효과 공간 밖에 한 방향을 더한다. 효과 rank와 전체 잔차 자유도는?

A seven-row panel has E=3, T=3, K=1 and X adds one direction beyond the effects. Find effect rank and residual df.

풀이와 확인할 이유Solution and explanation

효과 rank는 3+3−1=5입니다. X까지 전체 rank는 6이므로 잔차 자유도는 1입니다.

더미 열의 표시 개수를 단순히 합하면 절편·기준범주의 중복을 잘못 셀 수 있습니다.

Effect rank is 3+3−1=5. X raises total rank to six, leaving residual df one.

Adding displayed dummy counts blindly can double-count intercept/reference-category redundancy.

28. 한 번 평균 제거의 검산Check one-pass demeaning

a·시점0에서 X=0, 개체평균1, 시점평균1/2, 전체평균9/7이다. 변환값을 구하라. 같은 변환의 a행 합이 11/21이면 완전 제거인가?

At a/time zero, X=0, entity mean one, time mean 1/2 and grand mean 9/7. Transform it. If transformed X sums to 11/21 within a, are entity effects fully removed?

풀이와 확인할 이유Solution and explanation

0−1−1/2+9/7=−3/14입니다.

합 11/21은 0이 아니므로 a 더미와 직교하지 않습니다. 한 번씩 평균을 빼는 식은 이 불균형 표의 공동 FE 투영이 아닙니다.

The value is 0−1−1/2+9/7=−3/14.

The nonzero sum fails orthogonality to the a indicator. One-pass means are not the joint FE projection in this unbalanced frame.

29. 불변 변수An invariant variable

각 기업의 X가 모든 관측 시점에서 같은 값이다. entity 회귀에서 X 기울기가 미식별인 이유와 β=0 주장과의 차이는?

X is constant over observed dates within every firm. Why is its entity slope unidentified, and how does that differ from β=0?

풀이와 확인할 이유Solution and explanation

X−기업평균X가 모든 행에서 0이라 관심 분모가 0입니다. 기업 효과와 별도의 X 기울기를 구별할 변동이 없습니다.

이는 데이터가 효과 0을 증명한 것이 아닙니다. 여러 기울기가 기업 절편과 함께 같은 적합값을 만들 수 있는 식별 문제입니다.

Demeaned X is zero everywhere, leaving no contrast separate from firm effects.

This does not prove a zero effect: different slopes can be offset by firm intercepts to give the same fitted values.

30. 기업 표의 자유도Degrees of freedom in the firm frame

1031행, 연결된 140개 기업·9개 시점, 효과 밖 독립 방향 X·k·ys가 3개이다. 전체 rank와 잔차 자유도는?

There are 1031 rows, 140 firms and nine connected dates, plus three independent X/k/ys directions beyond effects. Find total rank and residual df.

풀이와 확인할 이유Solution and explanation

효과 rank=140+9−1=148, 전체 rank=151입니다. 잔차 자유도는 1031−151=880입니다.

행 누락·연결 단절·불변 통제로 rank가 달라질 수 있으므로 삭제 실험 후에는 같은 수를 그대로 복사하지 않습니다.

Effect rank is 148; total rank is 151 and residual df is 880.

Missing cells, disconnected components or invariant controls can alter rank, so recalculate after deletion experiments.

31. 실업률 변화 계산Calculate the unemployment change

한국 2020 U=3.931,2019 U=3.746이다. 분석 X와 단위는? GDP 성장률 −0.700242를 성장률의 전년 대비 변화라고 불러도 되는가?

Korea U is 3.931 in 2020 and 3.746 in 2019. Find X and its units. Is GDP growth −0.700242 necessarily the change in growth from the prior year?

풀이와 확인할 이유Solution and explanation

X=3.931−3.746=0.185%포인트입니다.

GDP 성장률 수준과 성장률의 변화는 다릅니다. 후자를 구하려면 전년 성장률도 필요합니다.

X=0.185 percentage points.

The growth rate differs from its change; the latter also requires the prior growth rate.

32. 원 레코드와 분석 행Native records versus analysis rows

16개국·2009–2024·2지표의 원 레코드는 몇 개인가? 2010–2024 차분 분석 행은 몇 개인가?

Count native indicator records for 16 countries, 2009–2024 and two indicators, and analysis rows for changes in 2010–2024.

풀이와 확인할 이유Solution and explanation

16×16×2=512개 지표 레코드입니다. 분석은 16×15=240개 국가–연도입니다.

2009년 실업률은 2010년 X의 실제 전년 연결에 쓰입니다. 지표 2개를 같은 국가–연도에 결합하므로 분석 행을 480으로 세지 않습니다.

There are 512 indicator records and 240 analysis country-years.

2009 unemployment supplies the prior-year value for 2010. Combining two indicators within a cell does not double the analysis rows to 480.

33. 빠진 연도A missing year

U2019와 U2021만 있고 U2020은 없다. 2021년의 1년 실업률 변화에 U2021−U2019를 넣어도 되는가?

Only U2019 and U2021 are observed, not U2020. May U2021−U2019 be used as the one-year 2021 change?

풀이와 확인할 이유Solution and explanation

아닙니다. 두 해 간격의 차이이며 원 정의 U2021−U2020과 다릅니다.

해당 X를 결측으로 남기거나 명시적으로 다른 기간의 변수를 새로 정의해야 합니다. 조용히 대체하면 같은 식의 재현이 아닙니다.

No. It is a two-year difference, not the defined U2021−U2020.

Leave X missing or explicitly define a different-period variable. Silent substitution changes the equation.

34. 기록 로그 보존Preserve stored logs

원 DTA의 n은 float 저장 로그이다. 새 log(emp)가 마지막 몇 자리에서 다르므로 n을 전부 덮어쓰자는 제안을 평가하라.

Stored float log n differs slightly from newly computed log(emp). Evaluate replacing every n value.

풀이와 확인할 이유Solution and explanation

원식이 기록 n을 쓰면 덮어쓰기는 입력 변경입니다. 원 n을 보존하고 차이를 별도 진단할 수 있습니다.

정확한 이진 저장값의 유리수 표현은 현실 측정의 무오차를 뜻하지 않습니다.

If the declared equation uses stored n, replacement changes inputs. Preserve n and diagnose differences separately.

Exact rational representation of binary storage does not establish error-free real measurement.

35. 로그 적합 대비A fitted-log contrast

기울기 β=−0.3인 로그–로그 식에서 X 수준이 1% 증가할 때 지수화한 적합 Y의 정확한 상대 변화 식은?

For a log-log fitted relation with β=−0.3, give the exact relative change in the exponentiated Y fit for a one-percent increase in X levels.

풀이와 확인할 이유Solution and explanation

exp{−0.3 log(1.01)}−1=1.01^(−0.3)−1입니다. 약 −0.3%는 작은 변화 근사입니다.

이는 다른 적합 성분을 고정한 지수화 적합 로그의 대비이며, 평균 Y의 인과 효과는 추가 조건 없이 따라오지 않습니다.

It is exp{−0.3 log(1.01)}−1=1.01^(−0.3)−1. Approximately −0.3 percent is a small-change approximation.

This transforms the fitted log while holding other fitted components fixed; a causal effect on mean Y does not follow without additional conditions.

36. 삭제 실험의 출발점The starting frame for deletions

일곱 행 가상 표에서 a는 3행,b는 2행,c는 2행이다. “a 제외”와 “b 제외” 두 블록의 남은 행 수를 구하고 누적 삭제와 구별하라.

In the seven-row table a has three rows, b two and c two. Find retained counts for separate omit-a and omit-b blocks and distinguish cumulative deletion.

풀이와 확인할 이유Solution and explanation

각각 원표에서 시작하므로 4행과 5행입니다. 두 그룹을 누적 삭제하면 c의 2행만 남아 다른 비교가 됩니다.

기울기·rank·식별 여부를 각 프레임에서 다시 계산합니다. 불안정성 진단을 자동 신뢰구간이라고 부르지 않습니다.

Starting from the original gives four and five rows. Cumulatively deleting both leaves only c’s two rows, another comparison.

Recalculate slopes, ranks and identification separately. An influence diagnostic is not automatically a confidence interval.

37. 시급·로그 표본의 차이Wage versus recorded-log frames

3613명 중 시급 관측3017,기록 로그3010이다. 시급 결측 수와 시급은 있지만 로그 결측 수를 구하고 원인 추론의 한계를 쓰라.

Among 3613 people, wages are observed for 3017 and recorded logs for 3010. Count missing wages and observed-wage/missing-log rows; limit causal explanations of missingness.

풀이와 확인할 이유Solution and explanation

시급 결측은 596,시급은 있지만 로그 결측은 7입니다. 원 기록 로그는 outlier-trimmed 변수입니다.

596명의 모든 결측 사유가 비응답·실업이라고 단정할 근거는 없습니다. 7행을 새 로그로 채우면 선언한 표본이 바뀝니다.

There are 596 missing wages and seven observed-wage/missing-log rows; the native log is outlier-trimmed.

Do not assign nonresponse or unemployment as every missing-wage reason. Filling the seven logs changes the declared frame.

38. 같은 공간과 같은 계수The same span and coefficient

절편과 지역 더미 9개 중8개를 쓴다. 빠진 기준 지역을 바꾸고 경험 제곱을100으로 나누면 관심 IV 계수도 반드시 달라지는가?

With an intercept and eight of nine region indicators, does changing the omitted region and dividing experience squared by 100 necessarily change the target IV coefficient?

풀이와 확인할 이유Solution and explanation

동일 프레임에서 같은 통제 열공간이면 잔차화·도구 투영이 같아 관심 계수는 불변입니다.

통제 계수 단위와 절편 표현은 달라질 수 있습니다. 다른 변수·다른 행·비가역적 변환까지 같은 것이라고 부르면 안 됩니다.

No. On the same frame, equal control spans preserve residualization, instrument projection and the target coefficient.

Nuisance units and intercept representations can change. Different variables, frames or noninvertible transformations are not automatically equivalent.

39. 세 국가 계수Three country slopes

동일240행에서 pooled−1.298767,entity−1.356718,twoway−0.474150이다. 가장 작은 절댓값이 자동으로 올바른 인과 효과인가?

On the same 240 rows, pooled is −1.298767, entity −1.356718 and twoway −0.474150. Is the smallest magnitude automatically the correct causal effect?

풀이와 확인할 이유Solution and explanation

아닙니다. 조정하는 비교 공간이 다르며, 크기만으로 반사실 가정의 타당성을 판단하지 못합니다.

국가 내·공통 시점 조정 후에도 역인과·시변 혼란·국가 간 의존을 검토해야 합니다.

No. The adjustment spaces differ; coefficient magnitude does not establish counterfactual validity.

Reverse causality, changing confounding and international dependence still need analysis after entity/date adjustment.

40. 교육용 기업 자료의 결론Conclusions from instructional firm data

공급자가 예제 파일은 변경되었을 수 있고 실질 분석용이 아니라고 안내한다. 재현 후 허용되는 결론과 과장된 결론의 예를 하나씩 쓰라.

The publisher warns that demonstration data may be altered and are not for substantive analysis. Give a suitable reproduction conclusion and an overclaim.

풀이와 확인할 이유Solution and explanation

적절한 예: 선언한 정태 식과 보존 파일에서 두 방향 효과의 기울기·rank를 재현했다.

과장: 이 교육용 회귀가 산업 전체 임금정책의 인과 고용 효과를 새로 증명했다. 실제 파일을 계산했다는 사실이 그 정책 근거를 만들지는 않습니다.

Suitable: the preserved file reproduces the declared static twoway slope and rank.

Overclaim: this instructional regression proves a new industry-wide causal wage-policy effect. Actual-file calculation does not establish that evidence.

41. 가로축을 바꾸면Changing the horizontal axis

IV 그림 가로축이 잔차 X̃인 경우와 도구 예측 x̂인 경우를 구별하라. 두번째 회귀 잔차를 구조 잔차라고 불러도 되는가?

Distinguish a plot using residual X̃ from one using instrument-predicted x̂. Are ordinary second-stage residuals structural residuals?

풀이와 확인할 이유Solution and explanation

두 축은 다른 수입니다. 잔차 X̃의 OLS 선과 x̂에 대한 두번째 단계 선은 같은 목적함수를 풀지 않습니다.

구조 잔차는 Ỹ−βX̃이고 두번째 회귀 잔차는 Ỹ−βx̂입니다. 일반적으로 다르므로 분산 계산에 혼용하지 않습니다.

The axes contain different values. OLS on residual X̃ differs from the second-stage regression on x̂.

Structural residuals are Ỹ−βX̃; second-stage residuals are Ỹ−βx̂. They generally differ and must not be interchanged in variance calculations.

42. 두 종류 질문Two kinds of questions

FWL 항등식을 증명하면 대학 접근성 IV의 배제 가정도 증명되는가?

Does proving the FWL identity also prove exclusion for college-proximity IV?

풀이와 확인할 이유Solution and explanation

아닙니다. FWL은 같은 프레임·통제 공간에서 계산하는 계수의 항등식입니다.

배제는 접근성이 교육 외 경로로 결과에 영향을 주지 않는다는 실질적·반사실 주장으로 별도 근거가 필요합니다.

No. FWL is an estimator identity on a common frame and control space.

Exclusion is a substantive counterfactual claim about non-schooling pathways and needs separate support.

43. 영상과 계산의 연결Connect viewing and calculation

영상 학습 노트에 관측 비교·반사실 질문·연결 가정 세 칸을 쓴다. 가상 IV의 γ=0.5 직접 경로는 어느 칸의 문제인가?

A viewing note has observed comparisons, counterfactual questions and connecting assumptions. Which column concerns the constructed direct pathway γ=0.5?

풀이와 확인할 이유Solution and explanation

연결 가정 중 배제의 문제입니다. 같은 첫 단계에서도 Y의 직접 경로가 생기면 IV가 구조 β와 달라집니다.

강연을 실제로 확인하지 않은 문장·시각의 인용 대신 본문의 식으로 이 설명을 검산합니다.

It concerns exclusion among connecting assumptions. The direct Y path can separate IV from structural β despite the same first stage.

Verify with the chapter equation rather than inventing lecture quotations or timestamps.

44. 서지 불일치A bibliographic mismatch

보존 코드북의 NBER 번호와 공식 NBER의 제목 대응이 다르다. 원파일을 바르게 고친 뒤 원본이라고 배포하면 되는가?

A preserved codebook’s NBER number differs from the official title mapping. May you correct the file and distribute it as the original?

풀이와 확인할 이유Solution and explanation

아닙니다. 원파일·해시를 보존하고 확인한 공식 서지와 차이를 별도 주석으로 남깁니다.

서지 불일치와 실제 데이터 오류는 다른 주장입니다. 그 사실만으로 수치 전체를 틀렸다고 결론 내리지 않습니다.

No. Preserve original bytes/hash and document the verified bibliographic difference separately.

A bibliographic mismatch differs from a data error; it alone does not invalidate all numerical records.

45. 순환 재현Circular reproduction

코드가 원 CSV 대신 미리 만든 계수 JSON을 읽고 표를 다시 출력한다. 원자료만의 독립 계산 재현인가?

A script reads a prepared coefficient JSON instead of factual CSVs and prints the same table. Is that an independent source calculation?

풀이와 확인할 이유Solution and explanation

아닙니다. 결과 표시를 재생한 것입니다. 원자료에서 프레임·통제·투영·잔차를 다시 계산해야 해당 경로를 재현합니다.

같은 숫자의 출력과 계산 경로 검증을 구별해야 합니다. 입력 목록·해시와 실제 실행 기록을 남깁니다.

No. It replays presentation of results. Reconstruct frames, controls, projections and residuals from factual sources to reproduce that path.

Matching output differs from verifying computation. Preserve the input inventory, hashes and actual execution record.

46. 로그와 산술평균Logs versus arithmetic means

β=0.1인 로그 적합 식의 지수화 적합값 비율과 산술평균 결과의 인과 변화는 같은가?

For β=0.1 in a fitted-log equation, is the exponentiated fitted-value ratio identical to a causal change in arithmetic mean outcomes?

풀이와 확인할 이유Solution and explanation

지수화 적합값 비율은 exp(0.1)−1≈10.517%입니다. 100β=10%는 근사입니다.

산술평균에는 잔차 분포·재변환 조건이, 인과에는 별도 설계 가정이 필요하므로 자동으로 같지 않습니다.

The exponentiated fitted-value ratio is exp(0.1)−1, about 10.517 percent; 100β=10 percent is an approximation.

Arithmetic means need residual/retransformation conditions and causality needs design assumptions. Equality is not automatic.

47. 반박 조건A condition for revision

나라별로 실제 전년이 아니라 정렬상 이전 행을 빼서 X를 만들었다는 사실이 발견되었다. 계수 부호가 기대와 같으므로 그대로 두어도 되는가?

X was constructed from the preceding sorted row rather than the same country’s true prior year. May the result remain because its sign matches expectations?

풀이와 확인할 이유Solution and explanation

아닙니다. 정의와 원행 연결이 틀렸으므로 X·프레임·계수·그림을 다시 계산해야 합니다.

선호하는 부호는 오류를 유지할 근거가 아닙니다. 원실패·수정·새 결과를 구별해 보존합니다.

No. Reconstruct X, frame, coefficients and plots because definitions and lineage were wrong.

A preferred sign does not justify retaining an error. Preserve the failure, correction and new results separately.

48. 최종 결론의 범위The scope of a final conclusion

“동일3010명에서 선언한14통제로 nearc4 IV≈0.1315를 재현했다” 다음에 어떤 한계 문장을 붙이면 좋은가?

After “on the same 3010-person frame with 14 declared controls, nearc4 IV≈0.1315 was reproduced, ” add a suitable scope sentence.

풀이와 확인할 이유Solution and explanation

예: 이 수치는 보존 기록 로그와 지정 식의 유한 표본 계산이며, 접근성의 배제·독립성, 이질적 연수 효과 및 다른 집단으로의 전이는 별도 근거가 필요하다.

숫자 재현의 성취를 명확히 인정하면서 관측하지 않은 반사실과 일반화까지 증명했다고 확장하지 않습니다.

For example: this finite-sample calculation uses preserved recorded logs and a declared equation; exclusion/independence, heterogeneous schooling margins and transfer to other populations need separate support.

State what reproduction establishes without extending it to unobserved counterfactuals or universal generalization.

자료와 출처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