METR-24 · ECONOMETRICS

사전 분석 계획·재현 패키지·반박 가능한 결론Analysis plans, replication packages and falsifiable conclusions

무엇을 먼저 정했고 무엇을 보고 바꾸었을까? 실제 기록에서 분석 선택·오류율·수치 재현·조건부 결론을 끝까지 연결한다.What was specified before inspection, and what changed afterwards? Connect actual records, analytical choices, error control, numerical reproduction and conditional conclusions.

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

학부Undergraduate

1. 분석 메뉴보다 먼저 질문1. A question before the analytical menu

학교에서 새 공부 방법을 써 본 뒤 시험 점수가 올랐다고 합시다. 평균 점수, 상위 학생 비율, 수학 점수, 영어 점수 중 무엇을 볼까요? 지난 시험과 비교할까요, 다른 반과 비교할까요? 잘 오른 항목을 모두 본 뒤 하나만 골라 “처음부터 이것을 확인하려 했다”고 말하면 독자는 실제 탐색의 크기를 알 수 없습니다. 분석 계획은 답을 맞히는 주문이 아니라, 어떤 질문을 어떤 규칙으로 판단할지 먼저 적는 약속입니다.

계획에는 대상, 결과 변수, 비교 방법, 포함·제외 기준, 결과를 판단하는 규칙이 들어갑니다. “교육이 중요하다”는 생각만으로는 계산을 다시 할 수 없습니다. 예컨대 “이 파일에서 기록 로그 시급과 교육 연수의 단순 기울기를 계산하고, 임금이 없는 행은 별도 장부에 남긴다”처럼 관측 가능한 행동으로 바꿉니다. 이 기울기는 기술적 관계이며 교육을 늘렸을 때의 인과효과라는 약속은 추가하지 않습니다.

이 마지막 장은 앞 장들의 평균·회귀·차이의 차이를 하나의 공개 가능한 연구 경로로 묶습니다. 작은 가상 표에서 규칙을 배우고, 실제 NLS 개인 기록, World Bank 국가·연도 기록, NJPA 음식점 기록에서 선택에 따라 무엇이 달라지는지 확인합니다. 자료가 같은데 결과가 다르다고 곧바로 누군가의 계산이 틀렸다고 단정하지 않고, 먼저 목표·단위·프레임을 비교합니다.

책의 실제 자료는 이미 살펴본 보존 파일입니다. 따라서 이 장의 선언은 회고적 교육용 프로토콜입니다. 지금 규칙을 쓰는 좋은 습관을 배우되 과거에 보지 않았던 자료를 대상으로 진짜 사전 등록을 했다는 이력을 만들지 않습니다. 끝에서는 자신이 선호하는 결론에도 같은 반박 기준을 적용하는 연습을 합니다.

Imagine that scores rise after a school tries a new study method. Should we inspect mean scores, the share of top students, mathematics or English? Compare the previous examination or another class? Looking at everything, choosing the largest improvement and calling it the original question hides the search. An analysis plan records how a question will be answered; it is not a spell that makes an answer correct.

Specify the population or file, outcome, comparison, eligibility rules and decision rule. “Education matters” cannot be rerun. A concrete declaration might calculate the simple recorded-log-wage schooling slope in one file and retain a ledger of missing wages. That is a descriptive association, without an added promise of a causal schooling effect.

This final chapter connects means, regression and difference-in-differences into a traceable research path. Start with constructed tables, then examine actual NLS people, World Bank country-years and NJPA restaurant records. Different results on the same source need not imply arithmetic failure: compare targets, units and frames first.

These retained actual files have already been viewed. Their declarations here are retrospective teaching protocols. We practise writing explicit rules without inventing a history of genuinely unseen-data preregistration. Finally, apply the same standards of challenge to a conclusion you favour.

학부Undergraduate

2. 사전 계획·탐색·변경을 나란히2. Plans, exploration and deviations side by side

사전 계획은 관련 결과를 보기 전에 구체적인 선택을 정리하는 일입니다. 탐색은 자료를 보며 새로운 패턴이나 질문을 찾는 일입니다. 둘 다 연구에 필요하지만, 같은 증거 강도로 읽히게 섞으면 안 됩니다. 탐색에서 찾은 설명은 다음 자료나 별도의 검증 설계에서 다시 시험할 수 있습니다. 흥미로운 발견이라고 해서 숨길 필요도, 처음부터 정해 둔 가설로 바꿔 부를 필요도 없습니다.

계획을 바꿀 수 없는 것은 아닙니다. 예상과 다른 결측 표기, 중복된 식별자, 설문 정의 변경을 발견하면 분석을 고쳐야 할 수 있습니다. 바꾸기 전 규칙, 발견한 사실, 새 규칙, 바꾼 시점과 이미 본 결과를 함께 기록합니다. 원 계획 결과가 계산 가능하면 수정 결과와 같이 보여 주어, 변경이 무엇을 만들었는지 독자가 판단하게 합니다.

시간 순서와 해석을 분리하기
구분독자에게 남길 기록그 기록만으로 보장되지 않는 것
관련 결과를 보기 전 계획원 질문·규칙·버전·시점설계의 타당성
자료를 보며 한 탐색본 자료·찾은 패턴·시도한 선택같은 자료에서 독립 검증
계획 변경전후 규칙·이유·노출된 정보선택 편의가 모두 제거됨

예를 들어 점수 100점을 넘는 값이 실제 가산점인지 입력 오류인지 알게 되었다면 코드북부터 확인합니다. 값이 싫어서 지운 경우와, 사전에 정의한 불가능 범위를 코드북에 따라 처리한 경우는 다릅니다. 그렇다고 “코드북을 봤다”는 말만으로 오류 처리가 정당화되는 것도 아닙니다. 어떤 원행이 왜 달라졌는지 보존해야 합니다. 계획 실습의 timing 선택은 이 설명을 표시할 뿐 실제 등록 시각을 인증하지 않습니다.

A prospective plan specifies choices before inspecting the relevant outcomes. Exploration uses data to discover patterns and questions. Both are useful, but they should not be presented as the same evidential stage. An exploratory explanation can be tested on new data or a separate validation design. There is no need either to hide it or rename it as an original hypothesis.

Plans can change. Unexpected missing codes, duplicate identifiers or revised survey definitions may require corrections. Record the old rule, discovery, new rule, time of change and information already inspected. When feasible, present the original and revised analyses together so readers can see what changed.

Separate chronology from interpretation
StageRecord for readersNot guaranteed by that record
Before relevant outcomesQuestion, rules, version and timeA valid design
Exploration after inspectionData viewed, patterns and choices triedIndependent validation on those same data
DeviationOld/new rules, reason and information seenRemoval of all selection bias

For a score above 100, first check whether the questionnaire allows bonus points. Disliking an observation differs from applying an impossible-value rule justified by the codebook. Merely saying “we checked the codebook” is insufficient: preserve which source rows changed and why. The lab timing field displays a declaration; it does not authenticate a registration timestamp.

학부Undergraduate

3. 이미 본 자료는 새 자료가 아니다3. Viewed data do not become unseen

이미 영화의 결말을 본 사람이 봉투에 예상 결말을 넣었다고 해 봅시다. 봉투를 나중에 열어 맞았음을 보여도 처음 보는 사람의 예측과 같은 시험은 아닙니다. 자료 분석에서도 등록 문서의 존재와, 관련 자료를 보기 전에 선택을 고정했다는 시간 순서는 다른 사실입니다. 날짜를 적는 것만으로 이전에 보았던 결과가 사라지지 않습니다.

기존 공개 자료로도 사전 계획이 의미 있을 수 있습니다. 분석자가 관련 결과에 아직 노출되지 않았거나, 앞으로 공개될 다른 시기·표본을 평가 대상으로 정할 수 있기 때문입니다. 이때 어떤 파일과 결과를 이미 알았는지, 누가 규칙을 정했는지, 어떤 부분이 새 시험인지 적습니다. 단순히 공개 자료라는 이유로 모두 사후 분석이라고 부르지도, 등록했으니 모두 사전 검증이라고 부르지도 않습니다.

이 장의 개인·국가·기업 파일은 앞 장과 현재 작업에서 이미 읽었습니다. 따라서 실제 사례의 4개·6개·6개 프로토콜은 선택을 투명하게 비교하는 교육입니다. GDP가 떨어진 연도를 본 뒤 그 기간을 골랐다면, 2010–2019년과 2020–2024년 비교를 외부에서 정해진 자연실험이라고 포장하지 않습니다. 여기의 기간 분할은 선언한 교육용 보기입니다.

실습에서 prospective-claimed를 선택해도 결과의 chronologyAuthenticated는 false입니다. 프로그램은 주장한 라벨을 보존하고 산술을 실행할 뿐, 저장소 기록·서명·외부 시계나 실제 데이터 접근 이력을 조사하지 않습니다. 자동화가 말할 수 있는 범위를 작은 출력 항목 하나에서도 지키는 것이 재현 가능한 연구의 일부입니다.

Suppose someone who has seen a film’s ending seals a prediction in an envelope. Opening it later does not reproduce an unseen-viewer prediction. A registration document and the chronology of fixing choices before relevant data are different facts. Writing a date cannot erase previous exposure.

Planning with existing public data can still be meaningful if an analyst has not inspected relevant outcomes or declares another future period or sample as the test. State what was already known, who selected the rules and which part is genuinely new. Public data are not automatically post-data for every analyst, and registration is not automatically prospective validation.

Our person, country and restaurant files have already been read. Their four, six and six protocols teach transparent comparisons of choices. If a downturn was seen before selecting a period, do not portray that selection as an externally fixed natural experiment. The country period split here is a declared teaching view.

Selecting prospective-claimed in the lab still leaves chronologyAuthenticated false. The program preserves a declared label and computes arithmetic. It does not inspect repository history, signatures, trusted clocks or actual data-access history. Respecting that boundary even in a small output is part of reproducible research.

학부Undergraduate

4. 대상·단위·추정하려는 수량4. Target, units and estimand

estimand는 “무엇을 수량으로 묻는가”입니다. 평균 임금, 교육 1년당 로그 임금의 기술적 기울기, 정책을 바꾸었을 때의 평균 임금 변화는 서로 다릅니다. estimator는 그 수량을 계산하거나 추정하는 규칙입니다. sample mean이라는 같은 계산식을 써도 어느 사람들의 어떤 단위 평균인지가 다르면 목표가 바뀝니다. 영어 단어보다 질문을 먼저 풀어 쓸 수 있어야 합니다.

평균은 결과의 단위를 유지합니다. 회귀 기울기는 결과 단위/설명변수 단위입니다. 분산이나 잔차제곱합은 결과 단위를 제곱합니다. 임금이 센트/시간이고 교육이 연수라면 기울기는 센트/시간/교육 연수입니다. 결과를 달러로 바꾸면 같은 프레임의 기울기는 100으로 나뉩니다. 그 숫자가 작아졌다고 교육의 관계가 약해진 것은 아닙니다.

β^=∑i(xi−xˉ)(yi−yˉ)∑i(xi−xˉ)2,[β^]=[Y]/[X],[SSE]=[Y]2.\widehat\beta=\frac{\sum_i(x_i-\bar x)(y_i-\bar y)}{\sum_i(x_i-\bar x)^2},\qquad [\widehat\beta]=[Y]/[X],\qquad [\mathrm{SSE}]=[Y]^2.

로그를 취하면 목표 자체의 해석이 바뀝니다. 임금 로그의 산술평균은 원 임금 산술평균의 로그와 일반적으로 다릅니다. 더욱이 실제 NLS 기록 로그는 이상치가 정리된 3010개이고 원 시급은 3017개이므로 변환과 표본 차이가 함께 있습니다. 두 결과는 “같은 답을 다른 방식으로 인쇄”한 것이 아닙니다.

실습에는 unit, outcomeUnit, exposureUnit을 따로 선언하는 곳이 있습니다. 이것은 독자가 단위를 확인하도록 돕는 문자 라벨입니다. 여기에 “원/년”이라고 쓰기만 하면 물리적·경제적 차원이 맞는다는 자동 증명은 생기지 않습니다. 정의와 실제 변수의 관계를 사람이 설명해야 하며, 다른 목표끼리 수치 허용오차를 검사해 같은 재현이라고 판정하지 않습니다.

An estimand is the quantity being asked about. Mean wages, a descriptive log-wage schooling slope and the effect of changing schooling are different targets. An estimator is a rule used to calculate or estimate a target. Even the same sample-mean formula asks a different question on another group or unit. Explain the question before relying on the terminology.

A mean retains the outcome unit. A slope has outcome units per exposure unit; variance and residual sums of squares have squared outcome units. With wages in cents/hour and schooling in years, the slope is cents/hour per schooling year. Converting wages to dollars divides that slope by 100 on the same frame. The smaller number does not represent a weaker relationship.

β^=∑i(xi−xˉ)(yi−yˉ)∑i(xi−xˉ)2,[β^]=[Y]/[X],[SSE]=[Y]2.\widehat\beta=\frac{\sum_i(x_i-\bar x)(y_i-\bar y)}{\sum_i(x_i-\bar x)^2},\qquad [\widehat\beta]=[Y]/[X],\qquad [\mathrm{SSE}]=[Y]^2.

Logging changes the interpretation. The arithmetic mean of log wages generally differs from the log of arithmetic mean wages. Actual NLS recorded logs also use an outlier-trimmed frame of 3010, compared with 3017 raw wages. Transformation and frame differences occur together; these are not merely two print formats of one answer.

The lab separately declares unit, outcomeUnit and exposureUnit. These text labels help readers inspect units; typing a unit does not prove dimensional validity. Explain how the definitions correspond to actual variables. Do not use a numerical tolerance to certify replication between different targets.

학부Undergraduate

5. 주 결과와 보조 결과를 먼저 구별5. Primary and secondary results

식당에서 여러 음식을 맛본 뒤 가장 좋은 하나를 추천할 수 있습니다. 하지만 “원래 정한 대표 메뉴의 품질 시험”과 “모든 메뉴를 먹고 최고를 고른 추천”은 다릅니다. 분석에서도 주 결과는 중심 질문에 대응하는 선언된 결과이고, 보조 결과는 해석을 돕는 다른 보기입니다. 보조 분석이 쓸모없다는 뜻이 아닙니다. 선택의 범위와 역할이 다르다는 뜻입니다.

좋은 장부에는 분석 이름, 결과 변수, 프레임, 방법, 목적, 변경 이유가 한 행에 들어갑니다. 예를 들어 NLS 기록 로그의 교육 기울기를 주 보기로, 원 시급의 평균과 기울기를 보조 보기로 둘 수 있습니다. 이미 자료를 본 지금은 이것을 진짜 사전 선택이라고 부르지 않습니다. 각 보기의 분모와 단위까지 남겨 왜 숫자가 달라지는지 설명합니다.

역할을 정하되 다른 보기를 숨기지 않기
프로토콜결과와 프레임역할함께 보고할 것
NLS 기록 로그–교육로그 관측 3010명회고적 중심 보기기울기·단위·결측 장부
NLS 원 시급–교육시급 관측 3017명다른 목표를 보여 주는 보조 보기변환 차이와 7명 프레임 차이
분석 규칙 변경전후 규칙을 각각 보존변경 사실 공개이유·본 정보·가능한 원 결과

결과가 예상과 반대여도 같은 장부를 씁니다. 원하는 부호가 나올 때만 그 분석을 “더 타당하다”고 부르면 규칙이 결론을 따라 움직입니다. 자료 오류나 타당성 문제에 근거한 수정은 하되, 원래 기준과 새 기준을 독자가 비교하게 합니다. 나중의 다중검정 절에서는 여러 가설에서 좋은 결과를 고르는 일이 판단 규칙을 왜 바꾸는지 작은 확률 계산으로 봅니다.

You may taste several dishes and recommend the best, but that differs from testing a previously designated main dish. A primary analysis addresses the central declared question; secondary analyses provide other views. Secondary work is useful. Its role and selection scope simply differ.

A useful ledger gives each protocol a name, outcome, frame, method, purpose and deviation reason. For example, treat the recorded-log schooling slope as the central NLS view, and raw-wage means and slopes as secondary targets. Because we have seen these files, this is not an authentic prospective choice. Keep denominators and units to explain differing numbers.

Name roles without hiding alternative views
ProtocolOutcome and frameRoleReport alongside
NLS recorded log–schooling3010 observed logsRetrospective central viewSlope, units and missingness ledger
NLS raw wage–schooling3017 observed wagesAlternative targetTransformation and seven-record frame difference
Changed rulePreserve old and new definitionsDisclosed deviationReason, information seen and feasible original result

Use the same ledger when results oppose expectations. Calling a specification more valid only when it gives the preferred sign makes rules follow conclusions. Correct genuine errors or design problems, while allowing readers to compare criteria before and after. The multiplicity sections will show why selecting a favourable result among several hypotheses changes the decision problem.

학부Undergraduate

6. 원 토큰·결측·변환을 먼저 보존6. Preserve native tokens before transforming

컴퓨터 파일에 적힌 점(.)은 어떤 뜻일까요? 소수점도, 끝맺는 문장 부호도 될 수 있지만 이 장의 NLS와 NJPA 원자료에서는 결측 표기로 사용됩니다. 결측을 0으로 바꾸면 “관측하지 못했다”를 “정확히 0을 관측했다”로 바꾸는 셈입니다. 이는 계산 속도의 문제가 아니라 자료의 의미를 바꾸는 선택입니다. 원 토큰과 결측 해석을 나란히 남깁니다.

원 숫자 문자열 0.1은 1/10이라는 유리수로 계산할 수 있습니다. 이 장의 정확 산술은 기록된 토큰을 이렇게 보존합니다. 그러나 조사 대상이 답한 임금이 현실의 임금을 오차 없이 측정했다는 뜻은 아닙니다. 기록 값의 산술 정확성과 측정의 정확성을 구별합니다. 파일 해시가 일치해도 잘못 입력된 원값까지 옳아지지는 않습니다.

변환은 새 정의로 적습니다. NJPA의 시간제 인원 PT에 1/2을 곱하고 전일제 FT와 관리자 M을 더하면 FTE=FT+PT/2+M입니다. 시간제 계수를 0이나 1로 바꾸는 것은 같은 인쇄 방식이 아니라 다른 노동 투입 정의입니다. 이 장은 원 46개 필드를 보존하고 세 정의를 별도 열로 만듭니다. 원 자료의 영구 폐업 기록에는 이미 사후 인원이 0으로 적혀 있으므로, 우리가 새로 0을 추정해 채웠다고 쓰지 않습니다.

분석 프로토콜은 포함되지 않을 행의 숫자도 먼저 검사합니다. 기간 밖 행에 “NaN” 같은 잘못된 값이 있다고 해서 조용히 넘어가지 않습니다. 결측 토큰을 명시적으로 null로 해석하는 일과 숫자 형식이 틀린 일을 구분해야, 선택된 표본 뒤에 숨은 원자료 오류를 발견할 수 있습니다.

What does a dot mean in a file? In the native NLS and NJPA files here, it is a missing-value marker. Replacing it with zero changes “not observed” into “observed as exactly zero.” That is a substantive data decision, not merely a computational shortcut. Retain the original token beside its interpretation.

The recorded string 0.1 can be calculated as the exact rational 1/10. Exact arithmetic here preserves recorded tokens; it does not establish error-free wage measurement. Arithmetic accuracy and measurement accuracy differ. Matching file hashes cannot make an incorrectly entered original value true.

Write each transformation as a definition. NJPA FTE=FT+PT/2+M adds full-time workers, half of part-time workers and managers. Changing the part-time coefficient to zero or one defines another labour-input measure. Keep all 46 native fields and create separate derived columns. Permanent-closure records already contain native post-wave zeros; do not describe them as newly imputed zeros.

A protocol validates nonmissing numbers even in excluded rows. A malformed NaN token outside a chosen period should not silently disappear. Distinguish a declared null missing value from an invalid numeric format so source errors cannot hide behind eligibility selection.

학부Undergraduate

7. 포함·제외 이유가 보이는 장부7. An eligibility ledger with reasons

평균을 구할 때 분자는 합이고 분모는 실제로 평균에 들어간 개수입니다. 원파일의 줄 수를 분모로 넣으면 결측이 있는 평균이 잘못됩니다. 그렇다고 제외한 줄을 파일에서 지워 버리면 어떤 사람이 빠졌는지 알 수 없습니다. 원행은 유지하고, 각 프로토콜에서 포함 여부와 제외 이유를 새 장부에 적습니다.

원행은 3개지만 평균의 분모는 1
가상 원행Y연도2011–2012 평균에 포함?
a12010아니오 · 기간 밖
b32011예
c결측2012아니오 · 결과 결측

표의 원행은 세 개이고 기간 안 행은 두 개지만 결과까지 관측된 행은 b 하나입니다. 평균은 3입니다. a를 포함한 평균 2나 결측을 0으로 바꾼 3/2와는 다른 규칙입니다. 결측 이유와 기간 제외가 함께 있으면 장부에는 둘을 구별해 남깁니다. 실습은 원 인덱스와 ID를 보존하고 기간 밖 이유를 먼저 표시하며, 요구 변수 결측 목록도 따로 돌려줍니다.

같은 프레임을 고정하면 방법이나 정의 차이를 더 명확하게 비교할 수 있습니다. NJPA 세 FTE 정의는 FT·PT·M의 관측 여부를 공통으로 요구합니다. 시간제 계수 0에서도 PT 결측 행을 새로 허용하지 않아 세 정의의 표본이 같게 됩니다. 이것은 의도한 비교 규칙이지 “0배이므로 모든 결측을 0으로 처리해도 된다”는 일반 법칙이 아닙니다.

실제 개인 장부에는 3613개 원행이 남고, 시급 관측 3017개·기록 로그 관측 3010개를 각각 표시합니다. 이 장은 모든 사람에게 같은 분석 비중 1을 사용합니다. 원 조사 비중을 보존하되 계산에 사용하지 않으므로 결과를 자동으로 모집단 가중평균이라고 부르지 않습니다. 프레임을 일관되게 만들었다고 결측 선택 편의까지 해결한 것은 아닙니다.

A mean divides the sum by the number actually contributing observations. The native line count is not the denominator when outcomes are missing. Yet deleting excluded lines destroys the explanation of who was omitted. Retain originals and add protocol-specific eligibility and exclusion reasons.

Three original rows, but a mean denominator of one
Constructed source rowYYearIncluded in a 2011–2012 mean?
a12010No: outside period
b32011Yes
cMissing2012No: outcome missing

There are three original rows, two within the period and only one with an observed outcome in that period. The mean is 3. It differs from the mean 2 including a, and from 3/2 after replacing missingness with zero. The lab preserves indices and IDs, gives period exclusions priority in the main reason and separately lists missing required variables.

Fixing a common frame clarifies comparisons of definitions or methods. All three NJPA FTE definitions require observed FT, PT and M components. Even with a zero part-time coefficient, a missing PT item does not gain eligibility. That is a declared common-frame rule, not a universal permission to replace any missing value multiplied by zero.

The person ledger retains 3613 native records and separately marks 3017 observed wages and 3010 observed recorded logs. These protocols use unit analysis weights. Original survey weights are retained but unused; do not rename these results as population-weighted means. Consistent eligibility does not remove missingness-related selection bias.

학부Undergraduate

8. 작은 표에서 평균·회귀·차이의 차이8. Means, OLS and DID on small tables

평균은 관측값을 공평하게 나누어 합치는 계산입니다. Y가 1과 3이면 평균은 (1+3)/2=2입니다. 회귀는 X가 달라질 때 적합 직선이 얼마나 변하는지 묻습니다. X=(0,1,2), Y=(1,2,5)에서는 평균 X=1, 평균 Y=8/3입니다. 평균에서 뺀 값의 곱 합은 4이고 X 제곱 합은 2이므로 기울기 2, 절편 2/3을 얻습니다. 직선은 모든 점을 통과하지 않아 잔차가 1/3, −2/3, 1/3로 남습니다.

β^=4/2=2,α^=83−2=23,SSE=19+49+19=23.\widehat\beta=4/2=2,\quad \widehat\alpha=\frac83-2=\frac23,\quad \mathrm{SSE}=\frac19+\frac49+\frac19=\frac23.

차이의 차이(DID)는 두 집단의 시간 변화를 다시 뺍니다. 가상 비교집단의 사전 값 1·3, 사후 값 2·4는 평균 변화 1입니다. 가상 처리집단의 사전 값 2·4, 사후 값 6·8은 평균 변화 4입니다. DID는 4−1=3입니다. 이 네 행이 모두 두 시점에 관측되었다는 프레임을 함께 적습니다. 처리집단의 단순 사후 평균 7이나 사전·사후 차이 4와 구별합니다.

아래 실습에서 mean→ols→did를 바꿀 때 요구 변수도 달라집니다. 새 예제를 시작하려면 그 예제의 행·변수 이름·기간·통제·프레임을 모두 맞춰야 합니다. OLS 예제에서는 통제를 빈 목록으로, 기간 제한을 비움으로 설정합니다. DID 예제에서는 집단 키와 pre/post 키, paired 프레임을 지정합니다. 모드 이름만 바꾸고 이전 입력이 남은 결과를 다른 예제의 답이라고 읽지 않습니다.

정확한 수치가 나와도 원래 목표를 확인합니다. 작은 표는 계산을 설명하려고 만든 가상 자료이고, 뒤의 3613명·16개국·410개 음식점 기록은 실제 공개 원자료입니다. 가상 손계산과 실제 관측을 섞어 “실제 조사에서 DID가 3이었다”고 쓰지 않습니다.

A mean combines observations with equal shares: values 1 and 3 have mean 2. A regression asks how a fitted line changes with X. For X=(0,1,2), Y=(1,2,5), the means are 1 and 8/3. The centred cross-product sum is 4 and the centred X square sum is 2. Thus the slope is 2 and the intercept 2/3. Residuals 1/3, −2/3 and 1/3 remain.

β^=4/2=2,α^=83−2=23,SSE=19+49+19=23.\widehat\beta=4/2=2,\quad \widehat\alpha=\frac83-2=\frac23,\quad \mathrm{SSE}=\frac19+\frac49+\frac19=\frac23.

Difference-in-differences subtracts two group changes. A constructed comparison group moves from values 1,3 to 2,4: mean change 1. A constructed treated group moves from 2,4 to 6,8: mean change 4. DID is 4−1=3. Declare that these four records are observed at both waves. This is distinct from the treated post mean 7 or its simple change 4.

Changing mean, ols and did in the lab changes required variables. Reset rows, variable names, periods, controls and frame for each example. The OLS example uses no controls and no period restriction. The DID example declares its group key, pre/post keys and paired frame. Switching only a mode name while retaining old settings does not reproduce another example.

Keep source status visible. These hand calculations use constructed data; the later NLS people, 16 countries and 410 restaurant records are actual public data. Do not present the constructed DID of 3 as an observed result from those files.

학부 심화 · 선택Advanced undergraduate · optional

9. 0·미식별·미정의를 구별9. Zero, unidentified and undefined

기울기가 0이라는 답과 기울기를 계산할 수 없다는 답은 다릅니다. X가 모든 행에서 1이면 평균에서 뺀 X는 모두 0이고 Sxx=0입니다. 분모가 0인 비율을 0으로 고치지 않습니다. X의 변화가 없어서 이 표만으로 그 기울기를 식별할 수 없습니다. 그러나 Y의 평균과 그 평균에 대한 잔차제곱합은 여전히 계산할 수 있습니다.

통제 열이 중복되어도 어떤 수량은 계산할 수 있습니다. z와 2z를 함께 넣으면 그 두 계수의 개별 배분은 유일하지 않을 수 있지만, 통제들이 만드는 적합값 공간은 정의됩니다. 그 공간에서 뺀 X가 남아 있으면 목표 기울기는 식별될 수 있습니다. 실습은 rank, 자유 열, 한 가지 nuisance 계수 해와 영공간을 따로 보여 주어 한 해를 유일한 진실로 오해하지 않게 합니다.

빈 프레임의 합은 덧셈의 출발점으로 0일 수 있지만 평균은 0/0이므로 미정의입니다. 한 관측의 평균은 정의되지만 n−1로 나누는 표본분산은 미정의입니다. 결과를 가로막는 이유를 표시하지 않고 빈칸을 0으로 그리면 “아무 효과도 없다”는 잘못된 메시지를 줍니다. 아주 작은 비영 수가 화면에서 0으로 반올림되는 경우도 정확한 0과 구별합니다.

실습의 row HC0는 각 행의 영향 기여를 제곱해 더한 산술량입니다. 같은 보고 집단을 선언하면 집단 안 기여를 먼저 합친 뒤 제곱합니다. 평균 1·3의 평균 영향은 −1/2,+1/2이고 row HC0는 1/2입니다. 표본분산 2와, iid 등 추가 조건에서 사용하는 표본분산/n=1은 다른 계산입니다. HC0를 자동으로 불편분산·정확 신뢰구간·유효 p값이라고 부르지 않습니다.

ψimean=Yi−Yˉn,Vrow,HC0=∑iψi2,Vgroup,HC0=∑g(∑i∈gψi)2.\psi_i^{\rm mean}=\frac{Y_i-\bar Y}{n},\quad V_{\rm row,HC0}=\sum_i\psi_i^2,\quad V_{\rm group,HC0}=\sum_g\left(\sum_{i\in g}\psi_i\right)^2.

A zero slope differs from an unidentified slope. If X=1 for every record, centred X and Sxx are zero. Do not replace a zero-denominator ratio with zero. There is no exposure variation to identify that slope, although the outcome mean and its residual sum of squares remain defined.

Redundant controls can leave some targets identified. Including z and 2z may make their individual coefficients nonunique, while their fitted-value space remains defined. A nonzero residual exposure can still identify the target slope. Rank, free columns, a nuisance particular solution and its nullspace are reported separately; one solution is not claimed unique.

An empty sum can be zero as an additive convention, but an empty mean is undefined. One observation has a mean but no n−1 sample variance. Drawing undefined outputs at zero falsely suggests no effect. Also distinguish exact zero from a nonzero number rounded to zero for display.

Row HC0 sums squared influence contributions. Declared-group HC0 first sums contributions within a reporting group and then squares them. For values 1,3 the mean influences are −1/2,+1/2 and row HC0 is 1/2. This differs from sample variance 2 and sample variance/n=1 used under additional conditions such as iid sampling. HC0 arithmetic is not automatically an unbiased variance, exact confidence interval or valid p-value.

ψimean=Yi−Yˉn,Vrow,HC0=∑iψi2,Vgroup,HC0=∑g(∑i∈gψi)2.\psi_i^{\rm mean}=\frac{Y_i-\bar Y}{n},\quad V_{\rm row,HC0}=\sum_i\psi_i^2,\quad V_{\rm group,HC0}=\sum_g\left(\sum_{i\in g}\psi_i\right)^2.
학부Undergraduate

10. 계획서가 인과성을 인증하지 않는다10. A protocol does not certify causality

정해 둔 규칙을 정확히 실행하는 것과 그 규칙이 원하는 인과 질문에 답하는 것은 다른 문제입니다. 매일 아이스크림 판매량과 물놀이 사고가 같이 늘어도 아이스크림이 사고를 일으킨다고 단정하지 않습니다. 더운 날씨가 두 변수를 함께 움직일 수 있습니다. 계획을 미리 썼다고 이런 공통 원인이 사라지지는 않습니다.

개인 자료의 교육–임금 기울기는 능력·가정환경·노동시장 선택 같은 요인의 영향을 받을 수 있습니다. 국가 자료의 성장률–실업 관계는 동시 결정·공통 경기 충격·측정 개정이 연결될 수 있습니다. NJPA DID는 비교집단의 변화가 반사실을 대신할 수 있는지, 구성 변화와 다른 충격이 어떤지를 논의해야 정책 효과가 됩니다. 이 장의 작은 산술 엔진은 그 전제를 관측에서 증명하지 않습니다.

계획에 타당성 점검을 적는 것은 도움이 됩니다. 예컨대 결과를 보기 전에 어떤 비교집단을 쓰고 어떤 진단을 공개할지 정할 수 있습니다. 하지만 진단을 통과했다는 사실도 모든 비관측 교란이나 반사실 조건을 보장하지 않습니다. “계획한 기술적 대비”, “추가 가정 아래 인과 추정”, “탐색적 설명”처럼 결과 문장의 강도를 구분합니다.

다음 절의 다중검정도 같은 원칙입니다. p값이 정당한 조건에서 가족 단위 오류를 다루는 도구는 잘못된 표본·잘못된 모형의 p값을 자동으로 유효하게 바꾸지 않습니다. 연구 경로를 투명하게 만드는 방법과 연구 설계 자체의 타당성을 차근차근 함께 검토해야 합니다.

Executing a declared rule correctly differs from answering a causal question. Ice-cream sales and swimming accidents may rise together because hot weather affects both. Writing the analysis in advance does not remove that common cause.

Education–wage slopes may reflect ability, family circumstances and labour-market selection. Growth–unemployment relations may involve joint determination, common shocks and revisions. A NJPA DID needs arguments about its comparison trend, composition and other shocks before becoming a policy-effect interpretation. The arithmetic engine does not prove those counterfactual assumptions.

Planning validity checks helps: specify comparison groups and diagnostics before relevant outcomes. Passing diagnostics still does not guarantee absence of unobserved confounding or establish every counterfactual condition. Distinguish a planned descriptive contrast, a causal interpretation under additional assumptions and an exploratory explanation.

Multiplicity follows the same principle. Procedures that control family-level errors given valid p-values do not automatically repair invalid samples or models. Examine transparent research practice alongside the validity of the design.

학부Undergraduate

11. 질문이 많아지면 가족을 먼저 정한다11. Declare the family when questions multiply

동전을 한 번 던져 앞면이 나오는 일과 스무 번 중 한 번이라도 앞면이 나오는 일은 다릅니다. 가설검정에서도 한 번의 거짓 양성 확률과 여러 검정 중 적어도 한 번 거짓 양성이 나올 확률은 다릅니다. 귀무가설이 참인데 이를 기각하면 제1종 오류라고 합니다. 가족 단위 오류율 FWER는 선언한 검정 가족에서 참인 귀무가설을 하나라도 기각할 확률입니다.

가상 모형에서 참인 귀무가설 20개를 각각 독립적인 유효 검정으로 유의수준 0.05에서 검사한다고 합시다. 각 검정이 정확히 5% 확률로 거짓 기각한다면, 한 번도 틀리지 않을 확률은 0.95의 20제곱입니다. 적어도 한 번 틀릴 확률은 약 64.15%가 됩니다. 이것은 독립성과 각각 정확한 오류 확률을 둔 가상 계산이지, 실제 NLS·국가·음식점 결과의 오류율을 계산한 것이 아닙니다.

Pr⁡(at least one false rejection)=1−(1−0.05)20≈0.6415under the stated independent model.\Pr(\text{at least one false rejection})=1-(1-0.05)^{20}\approx0.6415\quad\text{under the stated independent model}.

어떤 검정을 한 가족으로 묶는지는 과학적 판단입니다. 같은 중심 주장에 유리한 결과를 고르기 위해 시행한 여러 결과·시점·모형은 서로 관련될 수 있습니다. 반대로 서로 다른 연구 질문을 무조건 한 숫자 M으로 합치는 것이 항상 정답인 것도 아닙니다. 자료를 본 뒤 성공한 세 검정만 가족으로 줄여 선택 과정을 숨기지 않도록, 판단에 사용한 가족과 규칙을 설명합니다.

이 장의 실제 프로토콜 4개·6개·6개는 정의 차이를 공개하는 기술적 분석이며 자동 p값을 생성하지 않습니다. 여러 결과를 보여 준다는 이유만으로 유효 p값이 생기는 것은 아닙니다. 다음 계산기의 p값은 직접 입력하는 가상 예제이고, 그 값이 유효한지에 대한 전제도 따로 설명합니다.

One coin toss differs from asking whether at least one head appears in twenty tosses. Likewise, a single false-positive probability differs from the probability of any false rejection across several tests. A type-I error rejects a true null. Family-wise error rate, FWER, is the probability of rejecting at least one true null in a declared family.

In a constructed model, suppose twenty true nulls receive independent valid tests, each with exactly 0.05 false-rejection probability. The chance of no error is 0.95 to the twentieth power, so the chance of an error is about 64.15%. These independence and exact-error assumptions describe a teaching model, not a measured error rate for our actual NLS, country or restaurant results.

Pr⁡(at least one false rejection)=1−(1−0.05)20≈0.6415under the stated independent model.\Pr(\text{at least one false rejection})=1-(1-0.05)^{20}\approx0.6415\quad\text{under the stated independent model}.

Defining a family is a scientific judgement. Outcomes, periods or models searched for support of one central claim may belong together. Conversely, combining every unrelated question into one M is not always appropriate. Explain the family and rule, rather than shrinking it after inspection to the three successful tests.

The four, six and six actual protocols here disclose descriptive definitions without automatically generating p-values. Showing several estimates does not create valid p-values. The following calculator uses explicitly supplied teaching p-values and states the conditions they need.

학부Undergraduate

12. 보정 전에 p값이 유효해야 한다12. Validity comes before adjustment

p값은 “귀무가설이 참일 확률”이 아닙니다. 검정 모형과 귀무가설 아래에서 관측 통계량만큼 또는 더 극단적인 결과를 얼마나 자주 보게 되는지를 정한 규칙입니다. 연속 균등분포가 되는 경우도 있지만, 일반적으로 유효 p값은 참인 귀무가설 아래 P(p≤t)≤t를 모든 0≤t≤1에서 만족하는 성질로 설명할 수 있습니다. 이 조건은 반복 시행에 대한 오류 확률 조건입니다.

Hj true⟹Pr⁡(pj≤t)≤t,0≤t≤1.H_j\text{ true}\quad\Longrightarrow\quad \Pr(p_j\le t)\le t,\qquad 0\le t\le1.

이 성질이 깨진 p값에 보정 이름을 붙인다고 자동으로 복구되지 않습니다. 같은 나라의 반복 연도를 독립 관측으로 잘못 처리하거나, 원하는 부호가 나올 때까지 표본을 바꾸거나, 잘못된 표준오차 공식을 쓰면 입력 p값부터 문제가 있을 수 있습니다. Bonferroni와 Holm은 유효한 입력과 적절한 가족·선택 규칙 아래의 오류를 다룹니다.

검정들 사이 독립성을 요구하지 않는다는 말은 어떤 무효한 p값도 허용한다는 말이 아닙니다. 다음 합집합 부등식은 의존 여부와 상관없이 성립하지만, 각 사건의 확률을 α/M 이하라고 제한하는 단계에는 유효성 전제가 필요합니다. 수학의 어느 줄에서 어떤 가정을 쓰는지 분리해 읽습니다.

계산기는 숫자가 [0,1] 범위인지와 산술만 검사합니다. 0.001이라는 입력이 실제로 올바른 연구 설계에서 나왔는지는 확인하지 않습니다. 그래서 출력에는 valid marginal p-values라는 조건을 남기며, 실제 사례의 표에 계산기가 만들어 주지 않은 p값을 임의로 덧붙이지 않습니다.

A p-value is not the probability that the null is true. It is defined by a testing model and a rule for outcomes at least as extreme as observed under a null. Some continuous cases are uniform. More generally, validity can be expressed as P(p≤t)≤t under a true null, for every 0≤t≤1. This concerns repeated-sampling error probabilities.

Hj true⟹Pr⁡(pj≤t)≤t,0≤t≤1.H_j\text{ true}\quad\Longrightarrow\quad \Pr(p_j\le t)\le t,\qquad 0\le t\le1.

Naming an adjustment does not automatically repair invalid inputs. Treating repeated country-years as independent, changing frames until a preferred sign appears or using an inappropriate standard error can invalidate the original p-values. Bonferroni and Holm address error rates given valid inputs and appropriate family and selection rules.

Not requiring independence across tests does not mean accepting arbitrarily invalid p-values. The union bound below holds regardless of dependence; bounding each event probability by α/M requires the validity condition. Identify where each assumption enters the argument.

The calculator checks the [0,1] range and arithmetic, not whether 0.001 came from a valid research design. Its output therefore retains the valid-marginal-p-value qualification. Do not add invented p-values to actual-case tables.

학부 심화 · 선택Advanced undergraduate · optional

13. Bonferroni를 합집합 부등식으로 이해13. Bonferroni through the union bound

M개 검정의 가족에서 참인 귀무가설을 잘못 기각하는 사건을 E₁,E₂,…라고 부릅니다. 두 사건이 겹치면 확률을 단순히 더할 때 겹친 부분을 두 번 세므로, “하나라도 일어남”의 확률은 각 확률의 합보다 클 수 없습니다. 이것이 합집합 부등식입니다. 검정 간 독립성은 필요하지 않습니다.

일반적인 0<α<1에서 각 검정을 p≤α/M일 때 기각하도록 정합니다. 참인 귀무가설이 m₀개이고 각각 유효 p값이면 거짓 기각의 확률은 각각 α/M 이하입니다. 합집합 부등식으로 FWER≤m₀α/M≤α를 얻습니다. 거짓인 귀무가설의 p값 분포는 이 증명에서 제한하지 않지만, 참인 귀무가설의 유효성과 사용한 가족·규칙은 필요합니다.

Pr⁡(⋃j∈H0{pj≤α/M})≤∑j∈H0Pr⁡(pj≤α/M)≤m0α/M≤α.\Pr\left(\bigcup_{j\in\mathcal H_0}\{p_j\le\alpha/M\}\right)\le\sum_{j\in\mathcal H_0}\Pr(p_j\le\alpha/M)\le m_0\alpha/M\le\alpha.

가상 p값이 0.01,0.02,0.04이고 M=3, α=0.05라면 공통 문턱은 1/60≈0.01667입니다. 첫 p값만 문턱 아래입니다. 조정 p값 min(1,Mp)는 0.03,0.06,0.12여서 같은 판단을 줍니다. 조정은 효과 크기를 바꾸거나 새 추정치를 만드는 계산이 아닙니다. 같은 p값 가족의 판단 기준을 바꿉니다.

M을 실제로 본 성공한 개수로 줄이면 증명의 가족과 시행 과정이 어긋날 수 있습니다. 예컨대 원래 다섯 결과를 탐색했는데 세 개만 공개하고 M=3을 쓰는 선택이 타당한지 설명해야 합니다. α를 낮춘다고 어떤 효과가 경제적으로 중요해지는 것도 아닙니다. 효과 크기·불확실성·비용·의사결정은 별도로 논의합니다.

Let E₁,E₂,… denote false rejections of true nulls. Adding event probabilities may count overlapping outcomes more than once. Therefore the probability of at least one event is no greater than their sum: the union bound. It needs no independence assumption.

For the usual 0<α<1, reject each test when p≤α/M. With m₀ true nulls and valid marginal p-values, each false-rejection event has probability at most α/M. The union bound yields FWER≤m₀α/M≤α. This argument does not constrain p-values of false nulls, but does require true-null validity and an appropriate family and rule.

Pr⁡(⋃j∈H0{pj≤α/M})≤∑j∈H0Pr⁡(pj≤α/M)≤m0α/M≤α.\Pr\left(\bigcup_{j\in\mathcal H_0}\{p_j\le\alpha/M\}\right)\le\sum_{j\in\mathcal H_0}\Pr(p_j\le\alpha/M)\le m_0\alpha/M\le\alpha.

For constructed p-values 0.01,0.02,0.04, M=3 and α=0.05, the common threshold is 1/60≈0.01667. Only the first is below it. Adjusted p-values min(1,Mp) are 0.03,0.06,0.12 and give the same decision. Adjustment changes a testing rule, not effect sizes or estimates.

Reducing M to the number of reported successes can disconnect the theorem from the search. If five outcomes were explored but only three published, justify the family rather than silently setting M=3. A smaller α also does not make an effect economically important. Discuss magnitude, uncertainty, costs and decisions separately.

대학원 연결Graduate bridge

14. Holm의 순서와 첫 참 귀무가설14. Holm and the first true null

Holm 방법은 작은 p값부터 정렬합니다. 첫 값은 α/M과 비교하고, 통과하면 다음은 α/(M−1), 다시 통과하면 α/(M−2)와 비교합니다. 처음 통과하지 못하는 곳에서 그 뒤의 기각도 멈춥니다. 뒤의 p값 하나가 자기 문턱 아래라고 해서 앞의 실패를 뛰어넘지 않습니다. 정렬에서 같은 값은 원 입력 순서로 보존하여 결과를 원 ID로 되돌립니다.

가상 p값 0.01,0.02,0.04, M=3, α=0.05를 보겠습니다. 문턱은 0.01667,0.025,0.05입니다. 세 값 모두 순서대로 통과하므로 셋을 기각합니다. 조정 p값은 앞까지의 (M−j+1)p_(j) 중 최대를 취하고 1을 넘지 않게 잘라 0.03,0.04,0.04가 됩니다. 최대를 누적하는 이유는 앞에서 멈춘 결정을 뒤에서 되살리지 않기 위해서입니다.

p~(k)=min⁡ ⁣(1,max⁡1≤j≤k(M−j+1)p(j)).\widetilde p_{(k)}=\min\!\left(1,\max_{1\le j\le k}(M-j+1)p_{(j)}\right).

왜 의존성 아래서도 가족 오류를 제어할까요? 참인 귀무가설이 m₀>0개이고 정렬에서 그중 첫 위치가 j라고 합시다. 앞의 j−1개는 모두 거짓 귀무가설이므로 남은 M−j+1개에는 참 귀무가설 m₀개가 모두 포함됩니다. 따라서 그 수는 m₀ 이상입니다. 참 귀무가설을 하나라도 기각하려면 첫 참 p값이 α/(M−j+1)≤α/m₀를 통과해야 합니다.

그 사건은 참인 귀무가설 중 최소 p값이 α/m₀ 이하인 사건에 포함됩니다. 유효한 각 참 p값과 합집합 부등식으로 그 확률은 m₀·α/m₀=α 이하입니다. 참 귀무가설이 하나도 없다면 거짓 기각도 없습니다. 이 증명은 각 참 p값의 유효성이 어디에 쓰이는지 보여 주며, 계산기가 실제 입력의 유효성을 인증한다는 뜻은 아닙니다.

Holm sorts p-values from smallest to largest. Compare the first with α/M, then the next with α/(M−1), continuing only while earlier steps pass. At the first failure, stop rejecting later hypotheses too. A later value cannot jump over an earlier failure. Stable ties retain original order, and results map back to IDs.

For 0.01,0.02,0.04 with M=3 and α=0.05, thresholds are approximately 0.01667,0.025,0.05. All three pass in sequence. Adjusted p-values take the cumulative maximum of (M−j+1)p_(j), capped at one: 0.03,0.04,0.04. The cumulative maximum prevents a later step from reviving a stopped rejection.

p~(k)=min⁡ ⁣(1,max⁡1≤j≤k(M−j+1)p(j)).\widetilde p_{(k)}=\min\!\left(1,\max_{1\le j\le k}(M-j+1)p_{(j)}\right).

For error control under dependence, suppose m₀>0 nulls are true and the first true null appears at sorted position j. All j−1 earlier nulls are false, so the remaining M−j+1 hypotheses include all m₀ true nulls. Any false rejection requires that first true p-value to pass α/(M−j+1)≤α/m₀.

That event implies that the smallest true-null p-value is at most α/m₀. Marginal validity and the union bound limit its probability to m₀·α/m₀=α. With no true nulls, there are no false rejections. The proof identifies the validity assumption; it does not imply that the calculator verifies it for supplied inputs.

학부 심화 · 선택Advanced undergraduate · optional

15. 결측 검정도 가족에서 지우지 않기15. Keep missing tests in the family

다섯 검정을 계획했지만 p값 세 개만 현재 계산할 수 있다고 합시다. 나머지를 지워 M=3으로 바꾸면 원래 가족과 달라집니다. 이 실습은 선언한 가족 크기 M을 보존하고, 알려진 p값을 먼저 정렬한 뒤 아직 모르는 검정은 뒤에 놓는 보수적 산술을 사용합니다. 모르는 p값을 실제로 1이라고 관측했다고 쓰지는 않습니다. 해당 조정값과 기각 여부는 미정의로 남깁니다.

0.01,0.02,0.04를 입력하고 M=5를 선언하면 Holm의 누적 값은 5·0.01=0.05, 4·0.02=0.08, 3·0.04=0.12입니다. 알려진 세 검정에서 첫 것만 α=0.05에 통과합니다. M=3일 때 모두 통과했던 예제와 비교하면 같은 세 숫자라도 가족 선언이 판단의 일부임을 알 수 있습니다. 가족 크기를 결과에 맞추어 조용히 바꾸지 않습니다.

빈 입력과 가족 크기 0은 검정을 하나도 수행하지 않은 상태입니다. M>0인데 입력이 비어 있으면 선언된 검정은 있지만 현재 p값이 없는 상태입니다. 둘 다 “모든 귀무가설이 참이라고 확인했다”는 뜻이 아닙니다. 기각하지 못함과 귀무가설이 참이라는 증명도 구별해야 합니다.

주 예제는 0<α<1을 사용합니다. 계산기는 경계 α=0과 α=1도 허용하되 조정 p≤α의 규약을 사용합니다. α=1에서는 1로 잘린 알려진 조정 p값이 모두 통과할 수 있으며, 표시한 개별 명목 문턱과 통과 여부를 단순히 동일시하면 안 됩니다. 이것은 실용적 5% 검정의 권고가 아닙니다. 알 수 없는 검정은 이 경계에서도 실제 p값과 기각 여부를 만들어 넣지 않습니다.

Suppose five tests were declared but only three p-values are currently available. Deleting the others and changing M to three changes the family. This lab retains declared M, orders known p-values first and uses conservative arithmetic with unknown tests placed after them. It does not claim to have observed their p-values as one: their adjusted values and decisions remain undefined.

For 0.01,0.02,0.04 with M=5, Holm cumulative values are 0.05,0.08,0.12. Only the first passes at α=0.05, whereas all three passed with M=3. The family declaration is part of the decision; do not silently change it to suit results.

An empty input with M=0 means no tests. An empty input with M>0 means a declared family without supplied p-values. Neither confirms that every null is true. Also distinguish failing to reject from proving a null.

Main examples use 0<α<1. The calculator also accepts α=0 and α=1 with the adjusted-p≤α convention. At α=1, every known adjusted p-value capped at one can pass; do not equate this mechanically with its displayed individual nominal threshold. This is not a recommendation for practical 5% testing. Unknown tests still receive no invented p-value or decision at the boundary.

학부Undergraduate

16. 선택도 분석 절차의 일부16. Selection is part of the procedure

같은 운동선수가 백 번 달린 뒤 가장 빠른 한 번만 내놓으면, 독자는 평균적인 기록보다 좋은 숫자를 보게 됩니다. 연구에서도 여러 표본·변수·모형을 시도하고 가장 유리한 하나를 보고하면 선택이 결과 분포의 일부가 됩니다. 최종 회귀식 한 줄만 적어서는 그 절차를 설명하지 못합니다.

가상으로 다섯 p값 중 최솟값 0.04만 보고 “한 번 검정했으니 5%를 통과했다”고 합시다. 원래 가족을 다섯으로 보는 Bonferroni 조정은 min(1,5·0.04)=0.20입니다. 실제 어떤 가족과 오류 목표가 적절한지는 맥락을 따지지만, 네 번의 시도를 문서에서 지운다고 없던 시행이 되지는 않습니다.

표본을 본 뒤 모형을 고르는 문제에는 단순히 최종 모형의 p값 개수만 세는 것으로 충분하지 않을 수 있습니다. 선택 과정이 p값의 주변 유효성까지 바꾸기 때문입니다. 독립 검증 자료, 정해 둔 탐색·검증 분리, 선택을 반영한 추론 등은 각각 전제를 갖는 별도 설계입니다. 이 장은 그런 해결책을 이름만 붙여 자동 적용했다고 주장하지 않습니다.

실제 국가 사례의 두 기간·두 실업 정의와 전체 기간 보기를 한 표에 공개하는 이유는 선택에 따른 변화를 독자가 보도록 하기 위해서입니다. 가장 큰 음수 기울기 하나만 제목으로 고르지 않고, 원래 관측을 보존하고 기간·단위·분모를 같이 읽습니다. 이것은 투명한 기술적 비교이며 그 자체가 검증 자료의 독립성을 만들어 내지는 않습니다.

If an athlete runs a hundred times and reports only the fastest run, readers see a selected best performance. Trying many frames, variables or models and reporting one favourable result likewise makes selection part of the result’s distribution. One final equation cannot describe the whole procedure.

Suppose the smallest of five teaching p-values is 0.04 and only that value is reported as a single 5% success. A Bonferroni adjustment for the original five gives 0.20. Context determines the appropriate family and error target, but deleting four attempts from the document does not erase them.

Counting p-values in a selected final model may not suffice: selection can affect marginal validity itself. Independent validation data, declared exploration/validation splits and selection-aware inference each require their own design assumptions. This chapter does not claim to implement them merely by naming them.

The actual country table discloses both periods, both unemployment definitions and the full-period views so readers can see specification changes. Retain observations, units and denominators instead of choosing one large negative slope as the headline. Transparency is useful but does not itself create independent validation data.

학부Undergraduate

17. 허용오차 전에 같은 수량인지17. Check the target before the tolerance

“키가 170”과 “몸무게가 170”은 숫자가 같아도 같은 측정이 아닙니다. 분석을 대조할 때도 단위, estimand, 프레임, 변환, 모형을 먼저 맞춥니다. 로그 임금의 교육 기울기와 원 시급의 교육 기울기는 같은 이름의 X를 썼더라도 다른 목표입니다. 수치 오차를 0으로 허용해 정확히 같아도 같은 재현이라고 인증할 수 없습니다.

프레임은 단순히 행 수가 같다는 뜻이 아닙니다. 서로 다른 두 집합이 각각 100명일 수 있습니다. 원 ID·원행·포함 이유와 자료 버전까지 추적해야 같은 분석 대상을 사용했는지 알 수 있습니다. 회귀식에 통제가 있으면 그 정의와 적용 범위도 비교합니다. 상수를 포함했는지, 결측을 어떻게 처리했는지도 모형의 일부입니다.

수치 대조 실습은 unit, estimand, frame, transformation, model 다섯 선언 라벨을 대조합니다. 하나라도 다르면 not-comparable로 표시하고 숫자 차이를 합격·불합격으로 판정하지 않습니다. 다섯 문자열이 같아도 실제 파일과 ID가 일치한다는 암호학적 인증은 아닙니다. 선언이 정확한지 원자료와 장부를 읽는 책임은 남습니다.

목표가 달라 비교 불가라고 해도 두 분석이 무가치한 것은 아닙니다. 각 목표를 나란히 설명하는 과학적 비교는 가능합니다. 다만 “같은 수치를 재현했는가”라는 수치 검증과 “다른 질문에서 어떤 결과를 얻었는가”라는 해석을 구분합니다.

Height 170 and weight 170 are not the same measurement. Before comparing numerical analyses, align unit, estimand, frame, transformation and model. Log-wage and raw-wage schooling slopes have different targets even with the same exposure name. Exact equality would not certify replication of one target.

Matching frames means more than matching counts: two different sets may each contain one hundred people. Trace source IDs, rows, eligibility and vintage. Compare control definitions, scope, intercept handling and missing-value rules too.

The comparison lab checks five declared labels: unit, estimand, frame, transformation and model. Any difference produces not-comparable rather than a numerical pass/fail. Matching strings are not cryptographic authentication of files or IDs. Reading source evidence remains necessary.

Different targets can still support a useful scientific comparison. Keep that interpretive comparison separate from checking whether one numerical target was reproduced.

학부 심화 · 선택Advanced undergraduate · optional

18. 절대·상대 허용오차를 함께 쓰기18. Absolute and relative tolerances

목표가 같은데 두 계산의 마지막 자릿수가 다를 수 있습니다. 유리수 산술은 기록한 값에 대해 정확하게 계산할 수 있지만, 부동소수 QR·큰 행렬·표시 반올림은 작은 차이를 만들 수 있습니다. 어느 차이를 허용할지 결과를 본 뒤 유리하게 늘리기보다 사전에 규칙과 이유를 적습니다. 원래 두 수를 보존하고 차이도 보여 줍니다.

절대 허용오차 a는 결과 단위의 작은 폭입니다. 상대 허용오차 r은 값의 크기에 비례하는 무차원 비율입니다. 이 실습은 |candidate−reference|≤a+r·max(|reference|,|candidate|)를 사용합니다. 다른 도구는 한쪽만 기준 크기로 쓸 수도 있으므로 “상대 오차를 썼다”는 말만으로 같은 규칙이라고 가정하지 않습니다.

∣c−b∣≤a+rmax⁡(∣b∣,∣c∣),a≥0,r≥0.|c-b|\le a+r\max(|b|,|c|),\qquad a\ge0,\quad r\ge0.

b=100, c=100.01, a=0.001, r=0.0001이면 차이는 0.01, 문턱은 0.001+0.010001=0.011001이어서 통과합니다. c=100.1로 바꾸면 차이 0.1이 문턱 0.01101보다 커서 통과하지 못합니다. b=0 근처에서는 상대 항만으로 충분하지 않을 수 있어 단위에 맞는 절대 항을 생각합니다.

숫자 안에 있는 유효 정보를 없애기 위해 먼저 반올림한 값을 대조하지 않습니다. 여기서는 정확 분수로 차이와 문턱을 비교하고 화면 숫자만 짧게 표시합니다. 허용오차를 통과했다고 과학적 영향이 작다는 결론도 자동으로 생기지 않습니다. 의사결정 경계 근처에서는 작은 수치 차이도 판단을 바꿀 수 있습니다.

Two calculations of one target may differ in final digits. Exact rational arithmetic preserves recorded values; floating QR, large matrix computations and display rounding can introduce small discrepancies. Declare the tolerance and reason rather than enlarging it after seeing an inconvenient difference. Retain both raw values and their gap.

Absolute tolerance a is a width in outcome units; relative tolerance r is a dimensionless proportion of magnitude. This lab uses |candidate−reference|≤a+r·max(|reference|,|candidate|). Some tools use only one reference magnitude, so the phrase relative tolerance does not identify a unique rule.

∣c−b∣≤a+rmax⁡(∣b∣,∣c∣),a≥0,r≥0.|c-b|\le a+r\max(|b|,|c|),\qquad a\ge0,\quad r\ge0.

For b=100, c=100.01, a=0.001 and r=0.0001, the gap is 0.01 and bound 0.011001, so the pair passes. With c=100.1, gap 0.1 exceeds bound 0.01101. Near zero, a relative term alone may be inadequate; consider an absolute term with meaningful units.

Do not round values before comparing away their information. Exact fractions drive this lab’s gap and bound, while displays stay short. Passing a numerical tolerance does not certify scientific irrelevance: near a decision boundary, even a small discrepancy can matter.

학부Undergraduate

19. 미정의·너무 작은 비영 값·반올림19. Undefined, tiny nonzero values and rounding

빈 프레임 때문에 평균이 없다는 상태와 평균이 정확히 0인 상태는 다릅니다. 두 프로그램이 모두 미정의를 반환하면 matching-undefined라고 기록할 수 있지만, 이를 “같은 유한한 수를 재현했다”는 합격과 섞지 않습니다. 한쪽만 정의되면 definedness-mismatch로 나누고 표본·분모·특이행렬 처리부터 확인합니다.

다른 경우도 있습니다. 정확한 양수 10의 −400제곱은 보통의 화면 숫자 형식에서 0으로 작아질 수 있습니다. 이때 값은 미정의도 정확한 0도 아닙니다. 분자·분모와 displayUnderflow 표지를 남깁니다. 반대로 10의 400제곱은 화면 숫자의 범위를 넘지만 정확한 유리수로는 유한합니다. displayOverflow와 원 분수를 남기며 0점으로 그리지 않습니다.

1보다 조금 작은 수가 화면에 1로 표시될 수도 있습니다. displayRoundedToOne 표지가 있으면 “정확히 1이었다”는 해석을 멈춥니다. 기각·부호·경계 판단을 표시 숫자에 맡기면 이런 차이가 실제 결정을 바꿀 수 있습니다. 비교와 결론 실습은 원 분수의 순서를 사용합니다.

표는 짧은 근삿값을 기본으로 보여 주고 긴 정확값은 펼쳐 확인하도록 구성합니다. 같은 긴 분수를 모든 셀에 반복하면 모바일에서 읽기 어렵습니다. 읽기 쉬운 표시를 만드는 일과 원 수치를 버리지 않는 일을 동시에 지켜야 합니다. Python의 정확 계산과 base R의 명시한 근사 재현도 이 구별 위에서 대조합니다.

An undefined mean from an empty frame differs from an exact zero. If two programs both return undefined, record matching-undefined, separately from reproducing a finite number. If only one is defined, inspect frames, denominators and singularity handling before calling it a small rounding error.

An exact positive 10 to the minus 400 may display as zero in ordinary floating representation. It is neither undefined nor mathematically zero: preserve its numerator, denominator and displayUnderflow flag. Conversely, 10 to the 400 is a finite exact rational beyond the display-number range; retain displayOverflow and the raw fraction instead of plotting zero.

A value just below one can display as one. A displayRoundedToOne flag prevents an exact-one interpretation. Using displayed numbers for signs, rejections or boundary decisions can change the answer. Comparison and conclusion labs use exact rational ordering.

Default tables should show short approximations, with long exact values available on expansion. Repeating huge fractions in every cell makes mobile reading difficult. Preserve raw values while improving display, and distinguish exact Python arithmetic from explicitly approximate base R reproduction.

학부Undergraduate

20. 숫자 일치가 진위·독립 검증은 아니다20. Agreement is not authenticity or independence

두 친구가 같은 잘못된 답안지를 베껴 계산하면 답이 일치할 수 있습니다. 두 프로그램도 같은 입력 오류·가공 코드·잘못된 단위 해석을 공유하면 같은 숫자를 냅니다. 일치는 유용한 증거이지만 무엇을 공유했는지 밝히지 않은 채 독립 검증이라고 부르면 안 됩니다.

한 프로그램을 다시 실행하는 것은 재실행 검증입니다. 같은 명세를 다른 방식으로 구현해 비교하면 구현 오류를 찾는 데 더 도움이 될 수 있습니다. 원파일과 코드북을 새로 읽는 검토는 자료 추출의 다른 층을 확인합니다. 그러나 다른 언어로 옮겼어도 같은 잘못된 변환을 그대로 복사했다면 그 부분은 독립적이지 않습니다. 검증의 범위를 구체적으로 적습니다.

SHA-256 일치는 해당 파일 바이트가 같은지를 확인합니다. 그것만으로 자료 제공자가 진짜인지, 조사 응답이 정확한지, 작성자의 결론이 타당한지 인증하지 않습니다. 반대로 줄바꿈만 바뀌어 해시가 달라도 분석 숫자는 같을 수 있습니다. 바이트 동일성, 수치 동일성, 과학적 타당성은 서로 다른 질문입니다.

이 장의 실제 원본은 보존 ZIP·JSON을 새로 읽은 것입니다. 새로 다운로드하지 않은 파일을 새 다운로드라고 부르지 않고, 제공자 갱신일을 내려받은 시각으로 바꾸어 적지 않습니다. 재현 패키지에는 파일·실행·검산 기록과 함께 이런 한계도 남겨야 다른 사람이 무엇을 확인했는지 정확히 알 수 있습니다.

Two students copying the same incorrect answer sheet may agree. Programs can likewise share an input error, transformation mistake or unit misunderstanding. Agreement is useful evidence, but disclose shared components before calling it independent validation.

Rerunning one program checks reproducibility of execution. Reimplementing a specification differently can expose implementation errors. Freshly reading source files and codebooks checks another layer. Translating the same mistaken transformation into another language does not make that transformation independently validated. State the scope.

SHA-256 agreement checks file bytes. It does not authenticate the publisher, survey answers or scientific conclusion. Conversely, changed line endings can change a hash without changing numerical results. Byte identity, numerical agreement and scientific validity are distinct questions.

These actual sources were freshly read from retained ZIP/JSON bytes. Do not call a retained copy a new download or relabel a provider update date as acquisition time. A replication package should preserve such limits alongside files, commands and verification evidence.

학부 심화 · 선택Advanced undergraduate · optional

21. 패키지를 의존 관계로 읽기21. Read a package as a dependency graph

요리책의 재료 목록만으로는 요리 순서를 알 수 없습니다. 재현 폴더도 파일 이름만 모아 두면 어느 파일이 어느 결과를 만드는지 알기 어렵습니다. 원자료, 준비 코드, 분석용 자료, 추정 코드, 표·그림을 화살표로 이어 봅니다. 화살표 A→B는 B를 만드는 과정이 A를 입력으로 사용한다는 선언입니다. README는 그 관계와 실행 순서를 사람이 읽을 수 있게 설명합니다.

예를 들어 raw.csv와 prepare.py가 analysis.csv를 만들고, analysis.csv와 fit.py가 result.csv를 만든다고 합시다. 원자료에서 분석 자료로 가는 경로와, 분석 자료에서 결과로 가는 경로가 구분됩니다. 원자료가 스크립트를 자동으로 만든다는 뜻의 raw.csv→fit.py 화살표를 무심코 그리지 않습니다. 그림의 노드가 파일인지 실행 단계인지도 먼저 정합니다.

원자료와 코드를 모두 결과의 입력으로 표시하기
결과 파일선언한 직접 입력독자가 확인할 일
analysis.csvraw.csv + prepare.py변환·결측·프레임
result.csvanalysis.csv + fit.py식·단위·결과
README사람이 쓴 문서각 파일 역할·실행 경로

이런 방향 그래프에 순환이 없으면 위상 순서를 정할 수 있습니다. 모든 입력이 나온 뒤 그 결과를 만드는 순서입니다. 순서가 유일할 필요는 없습니다. 서로 독립인 준비 작업 두 개는 어느 쪽을 먼저 실행해도 됩니다. 반대로 A가 B를 필요로 하고 B도 A를 필요로 한다면 시작 조건이나 정의가 빠졌는지 확인해야 합니다.

아래 감사 실습은 선언된 노드·화살표와 위상 순서를 계산합니다. 실제 파일을 읽거나 스크립트를 실행하지 않습니다. 순환 때문에 순서에 넣을 수 없는 노드에는 순환 자체의 노드뿐 아니라 그 뒤에 막힌 결과도 포함될 수 있습니다. 표시 목록을 곧바로 “모두 순환의 구성원”이라고 부르지 않습니다.

An ingredient list alone does not explain a recipe’s order. A directory listing likewise leaves unclear which inputs produce which results. Connect raw data, preparation code, analytical data, estimation code and outputs. An arrow A→B declares that producing B uses A. A README explains roles and execution order.

For example, raw.csv and prepare.py produce analysis.csv; analysis.csv and fit.py produce result.csv. Distinguish preparation from estimation. Do not casually draw raw.csv→fit.py as though data generated the script. Also state whether graph nodes represent files or execution steps.

Represent both data and code as inputs to results
OutputDeclared direct inputsInspect
analysis.csvraw.csv + prepare.pyTransformations, missingness and frame
result.csvanalysis.csv + fit.pyEquation, units and output
READMEAuthored documentationFile roles and execution path

An acyclic directed graph admits a topological order: inputs precede dependent outputs. This order need not be unique; independent tasks can run in either order. If A needs B and B needs A, check for an omitted starting condition or circular definition.

The audit lab analyses declared nodes and edges without reading files or running scripts. Nodes blocked from the topological order can include downstream dependants as well as nodes on a cycle. Do not describe every blocked node as a cycle member.

학부Undergraduate

22. 해시·버전·출처의 다른 역할22. Hashes, versions and source authority

파일 이름 result.csv는 같아도 내용이 달라질 수 있습니다. SHA-256은 파일 바이트에서 계산하는 긴 지문입니다. 원파일과 사본의 지문을 비교하면 같은 바이트인지 점검하는 데 도움이 됩니다. 다만 파일명·용량·해시를 사용자가 직접 입력한 선언만 비교하는 계산기와, 실제 파일 바이트를 읽어 해시를 계산한 기록을 구별해야 합니다.

수치 1,2를 담은 파일도 줄바꿈이 LF인지 CRLF인지, 끝에 줄바꿈이 있는지, 인코딩이 무엇인지에 따라 해시가 달라질 수 있습니다. 이 경우 숫자 내용이 같을 수 있으므로 바이트 변경과 수치 변경을 따로 검사합니다. 반대로 해시가 같다고 경제적 정의가 맞거나 조사 응답이 정확하다고 결론 내리지 않습니다.

버전은 시간에 따라 바뀐 정의나 파일을 구별하는 이름입니다. 자료 제공자의 갱신일, 전송 시각, 분석을 실행한 시각은 각기 다른 날짜입니다. 여기의 보존 World Bank 파일에는 제공자 갱신일이 있지만 옛 요청의 정확한 URL·최초 전송 시각은 남아 있지 않습니다. 모르는 시간을 새로 만들어 넣는 대신 기록의 한계를 적습니다.

출처 권위는 또 다른 층입니다. 실제 제공자의 공식 목록·코드북·라이선스와 연결하고, 원파일을 어디서 얻었는지 설명해야 합니다. 해시는 그 경로의 바이트를 묶는 도구이지 공식 제공자 서명을 대체하지 않습니다. 공개 가능한 자료와 공개할 수 없는 자료를 구별하는 일도 해시 하나로 끝나지 않습니다.

The same filename can contain different bytes. SHA-256 fingerprints file bytes and helps compare originals with copies. Distinguish an actual file-reading hash calculation from a calculator that merely compares supplied names, sizes and hash declarations.

Even a file containing numbers 1,2 can hash differently with LF versus CRLF, a final newline or another encoding. Its numerical contents may remain unchanged. Inspect byte changes separately from numerical changes; a matching hash does not validate economic definitions or survey answers.

Versions distinguish changing definitions and files. A provider update date, acquisition timestamp and execution time describe different events. Our retained World Bank source has a provider update date but no archived precise historical query or initial acquisition timestamp. State that limit instead of inventing one.

Source authority is another layer. Link the provider’s official listing, codebook and terms, and explain acquisition. A hash binds bytes along that path rather than replacing publisher authentication. It also does not settle whether material may be publicly redistributed.

학부Undergraduate

23. 예상 목록과 관측 목록을 대조23. Compare expected and observed manifests

manifest는 파일 장부입니다. 각 행에 상대 경로, SHA-256, 바이트 수, 역할을 둡니다. 예상 목록은 재현하려는 버전의 선언이고, 관측 목록은 현재 확인한 파일의 기록입니다. 같은 경로가 사라졌으면 missing, 새 경로가 생겼으면 added입니다. 같은 경로라도 해시·용량·역할이 바뀌었는지 각각 비교합니다.

역할은 원자료(raw), 분석용 자료(analysis), 코드(code), 결과(result), 설명(documentation)처럼 구별합니다. raw.csv를 수정해 놓고 원자료라고 계속 부르는지, 결과를 입력으로 읽어 답을 재생하는지 같은 문제를 찾는 출발점입니다. 역할 문자열을 고쳤다고 실제 파일 성격이 검증되지는 않으므로 내용을 읽는 검토가 필요합니다.

장부는 범위가 중요합니다. 이 장의 첫 원자료 단계 장부는 사례마다 원 필드 CSV와 프레임 장부 CSV 두 개를 대상으로 실제 해시·용량을 계산합니다. 나중의 코드·실행·그림까지 들어간 전체 재현 패키지가 그 두 파일만으로 감사되었다고 쓰지 않습니다. 새 단계가 생기면 현재 목록과 근거를 별도로 이어야 합니다.

실습의 경로는 상대 POSIX 논리 경로이며 대소문자를 구별합니다. 실제 운영체제가 대소문자를 어떻게 취급하는지와 동일한 인증은 아닙니다. 부모 폴더로 나가는 경로나 중복 경로는 목록의 뜻을 모호하게 하므로 거부합니다. 이 도구는 경로를 비교할 뿐 파일을 수정·삭제·실행하지 않습니다.

A manifest records relative path, SHA-256, byte count and role. Expected entries describe the version to reproduce; observed entries record current findings. Missing paths disappear, added paths are new, and shared paths can differ in hash, size or role.

Distinguish raw, analytical, code, result and documentation roles. This helps ask whether an original was overwritten or an output was read back as an input. Changing a role label alone does not verify a file’s contents; inspect the files.

Scope matters. Each initial actual-source manifest here covers exactly a native-field CSV and its frame-ledger CSV, with actual offline hash and size calculations. It does not audit the later full code/runtime/figure package. Extend the current manifest and evidence explicitly as new stages are produced.

The lab uses case-sensitive relative POSIX logical paths, not operating-system identity certification. Parent traversal and duplicate paths are rejected because they make declarations ambiguous. This tool compares metadata without modifying, deleting or executing files.

학부Undergraduate

24. 환경과 실행 명령도 자료다24. Environment and commands are evidence

친구에게 “코드를 실행해 봐”라고만 하면 시작 파일·폴더·필요한 프로그램을 알기 어렵습니다. README에는 원자료를 어디에 놓고 어떤 명령을 어느 폴더에서 실행하는지 적습니다. 준비 단계가 분석용 CSV를 만들고 그다음 추정 단계가 표·그림을 만든다는 순서를 명시합니다. 수작업을 빼먹으면 재현 경로에 보이지 않는 연결이 남습니다.

프로그램 언어와 라이브러리 버전, 운영체제, 필요한 패키지, 난수 사용 여부를 기록합니다. 실제 실행 시간과 메모리 범위는 실행한 환경의 관측값으로 적고 모든 컴퓨터에서 같다고 약속하지 않습니다. 이 장의 정확 유리수 계산과 base R 근사 계산은 산술 방식 자체가 달라, 원 결과·허용오차·미정의 처리를 함께 설명해야 합니다.

실행 성공(exit code 0)과 기대한 결과 재현은 다릅니다. 코드가 오류 없이 빈 파일을 만들 수도 있습니다. 파일 존재·행 수·단위·핵심 수치·그림의 원 수치까지 확인하고, 정상적으로 거부해야 하는 입력도 구별합니다. 실제 실행하지 않고 예상 결과만 써 놓은 문서와 실행 시각·명령·원 출력이 남은 기록을 섞지 않습니다.

비공개 경로나 개인 정보가 들어간 로그를 그대로 공개할 필요는 없습니다. 공개 로그에서 무엇을 제외했는지와 원 기록을 어떻게 보존했는지를 구별합니다. 민감한 자료를 보호한다는 이유로 실패를 성공으로 바꾸거나 실행하지 않은 프로그램을 실행했다고 쓰지는 않습니다. 독자가 확인할 수 있는 범위를 정확히 전달하는 것이 목적입니다.

“Run the code” omits the starting script, working directory and required software. A README should state where inputs go, which command runs from which folder and how preparation precedes estimation. Unrecorded manual steps leave hidden links in the path.

Record language and library versions, operating system, dependencies and randomness. Report time and memory as observations in the environment actually used, not promises for every computer. Exact rational and approximate base R calculations differ in arithmetic, so explain raw results, tolerances and undefined states.

Exit code zero is not equivalent to reproducing expected results: a program may successfully write an empty file. Check existence, dimensions, units, numerical targets and underlying chart values, while distinguishing intended input rejections. Separate expected results written in advance from actual commands, times and captured outputs.

Public logs need not expose private paths or personal information. Describe the public projection and preservation of originals. Protecting sensitive material does not justify relabelling failures or claiming unperformed execution. State what readers can verify.

학부Undergraduate

25. 재실행·다른 구현·원자료 재독25. Reruns, reimplementations and source rereading

첫째 층은 같은 코드·같은 입력으로 같은 결과를 다시 만드는 일입니다. 파일 누락, 숨은 수작업, 난수 설정, 환경 차이를 찾는 데 유용합니다. 둘째 층은 명세를 다른 방식으로 구현해 수치를 대조하는 일입니다. 예를 들어 회귀를 정확 직교투영과 부동소수 QR로 따로 계산하면 구현의 다른 오류를 볼 수 있습니다.

셋째 층은 원 코드북과 원 토큰에서 표본과 변수를 새로 읽는 일입니다. 두 구현이 같은 잘못 만든 CSV를 입력으로 쓰면 첫 두 층이 통과해도 원자료 해석 오류는 남습니다. 원본 파싱·분모·ID·결측·단위를 확인하는 층을 따로 둡니다. 마지막으로 이 전체 경로가 과학적 질문에 답하는지 이론·연구 설계·외적 타당성을 검토합니다.

이 층들은 점수 게임이 아닙니다. 똑같은 검사를 백 번 반복했다고 새로운 종류의 증거가 백 개 생기지 않습니다. 어느 원본을 직접 읽었고 어떤 계산은 공유했는지, 어떤 그림은 원 수치와 대조했고 어떤 영상은 링크만 확인했는지 범위를 적습니다. 독립 검토라는 이름보다 실제 분리된 판단과 계산이 중요합니다.

학습 실습에서는 짝을 지어 한 사람은 원행과 분모를, 다른 사람은 공식과 단위를 설명해 보세요. 서로의 최종 답을 먼저 보지 않고 작은 표를 각각 계산한 뒤 비교하면 어디서 불일치가 생겼는지 찾기 쉽습니다. 둘 다 같은 예제 답을 복사했다면 결과 일치는 독립 손계산이 아닙니다. 이 구분을 마지막 프로젝트의 검토 기록에 남깁니다.

The first layer reruns the same code on the same inputs. It can reveal missing files, hidden manual steps, random settings and environment differences. A second layer implements the specification differently, for example exact orthogonal projection versus floating QR for regression.

A third layer rereads source codebooks and tokens to reconstruct variables and frames. Two implementations sharing an incorrectly prepared CSV may pass the first layers while preserving a source-interpretation error. Check parsing, counts, IDs, missingness and units separately. Scientific design and external validity form another layer beyond numerical reproduction.

These layers are not a counting game. Repeating one check a hundred times does not create a hundred new types of evidence. State which originals were read, which calculations were shared, which figures were checked against source values and which videos were only linked. Actual separation of reasoning matters more than the independent-review label.

For practice, let one learner explain source rows and denominators while another explains equations and units. Compute a small table separately before comparing answers. Agreement after copying the same worked solution is not independent calculation. Record this distinction in the final project.

학부Undergraduate

26. 무엇이 결론을 바꿀지 적기26. State what could change the conclusion

“어떤 결과가 나와도 내 설명은 맞다”고 하면 자료로 그 설명을 시험하기 어렵습니다. 반박 가능한 결론은 목표 수량, 가정, 판단 규칙, 결론을 바꿀 관측이나 시나리오를 함께 적습니다. “효과가 좋다” 대신 “선언한 단위의 τ가 0보다 크다” 또는 “최소 δ만큼 이득이 있다”처럼 수량으로 풀어 봅니다. δ가 무엇을 뜻하는지 비용·임상·정책 맥락에서 설명해야 합니다.

숫자를 한 개만 제시하기보다 허용한 가정이나 자료에 맞는 수량들의 집합 Θ를 생각할 수 있습니다. 예를 들어 τ가 1에서 3 사이일 수 있다고 선언하면 Θ=[1,3]입니다. “τ>0”이라는 명제는 집합 전체에서 맞습니다. Θ=[−1,3]이면 양수와 양수가 아닌 가능성이 함께 있어 그 명제가 결정되지 않습니다. 이 집합이 어디서 왔는지가 여전히 핵심입니다.

집합은 민감도 분석에서 지정한 시나리오일 수도, 타당한 절차로 만든 신뢰집합일 수도, 단순한 교육용 가정일 수도 있습니다. 같은 대괄호 모양이라고 의미가 같아지지 않습니다. 이 장의 결론 계산기는 입력 집합에 대한 논리만 다루고, 통계적 포함 확률이나 인과적 식별 가정을 만들어 주지 않습니다.

실제 세 사례의 기술적 추정치도 이런 문장 연습에 쓸 수 있습니다. “이 프레임의 추정 기울기는 음수였다”는 관측 기술과 “모든 나라에서 실업이 늘면 성장률이 반드시 떨어진다”는 보편 인과 주장은 다릅니다. 반박 기준을 세울 때 말의 강도를 계산과 근거에 맞춥니다.

If every possible result is said to confirm an explanation, data cannot readily challenge it. A contestable conclusion specifies the target, assumptions, decision rule and observations or scenarios that would change it. Replace “the effect is good” with a quantity such as τ>0 or τ≥δ in declared units. Explain why δ matters for costs, health or policy.

Consider a set Θ of values compatible with declared assumptions or information. If Θ=[1,3], every value supports τ>0. If Θ=[−1,3], positive and nonpositive possibilities coexist. Where the set comes from remains essential.

A set may describe sensitivity scenarios, a confidence set from a valid procedure or a teaching assumption. Identical bracket notation does not make their meanings identical. The conclusion calculator performs conditional set logic; it does not create coverage probabilities or causal identification.

Practise precise sentences with the actual descriptive cases. “The estimated slope on this frame was negative” differs from a universal causal claim that rising unemployment must lower growth in every country. Match the strength of the conclusion to the calculation and evidence.

대학원 연결Graduate bridge

27. 지지·반박·미결정·모순을 나누기27. Support, refutation, uncertainty and inconsistency

집합 Θ=[L,U]와 “τ>0”을 비교합니다. L>0이면 집합 전체가 양수라 supported입니다. U≤0이면 어느 허용값도 양수가 아니므로 refuted입니다. 나머지는 양수와 양수가 아닌 값이 섞여 unresolved입니다. 프로그램의 supported는 “입력 전제 아래 이 명제가 집합 전체에서 성립한다”는 말이지 현실의 진실을 확정했다는 말은 아닙니다.

Θ=[L,U]:{L>0⇒strict positivity supported,U≤0⇒strict positivity refuted,L≤0<U⇒unresolved.\Theta=[L,U]:\quad \begin{cases}L>0&\Rightarrow\text{strict positivity supported},\\U\le0&\Rightarrow\text{strict positivity refuted},\\L\le0<U&\Rightarrow\text{unresolved}.\end{cases}

“τ≥δ”는 경계가 다릅니다. L≥δ이면 지지, U<δ이면 반박, 그 외는 미결정입니다. Θ=[0,2]는 “0보다 크다”를 지지하지 않지만 “0 이상이다”는 지지합니다. 0을 포함한다는 사실 하나를 모든 명제에 같은 의미로 사용하지 않습니다.

Θ가 모든 실수라면 유한한 문턱의 양쪽 가능성이 모두 있어 이 장의 방향·유한폭 동등성 명제는 미결정입니다. Θ가 빈 집합이면 서로 맞지 않는 조건을 동시에 요구했을 수 있습니다. 논리학의 공허한 참을 이용해 어떤 효과 주장도 지지했다고 인쇄하지 않고 inconsistent로 구분합니다. 먼저 왜 허용값이 하나도 없는지 원 가정과 자료를 점검합니다.

단위가 다르면 집합과 문턱을 곧바로 비교하지 않습니다. 시급의 센트 범위와 시간의 문턱은 not-comparable입니다. 계산기는 활성 경계·매개변수를 먼저 검증하고 단위를 비교한 뒤 상태를 정합니다. 빈 집합 여부는 별도 표지에 남아, 단위 불일치가 있어도 모순 가능성 자체를 숨기지 않습니다.

For Θ=[L,U] and claim τ>0, L>0 supports the claim throughout the set; U≤0 refutes it throughout; otherwise it is unresolved. Supported means logically supported under the supplied premises, not certified truth about the world.

Θ=[L,U]:{L>0⇒strict positivity supported,U≤0⇒strict positivity refuted,L≤0<U⇒unresolved.\Theta=[L,U]:\quad \begin{cases}L>0&\Rightarrow\text{strict positivity supported},\\U\le0&\Rightarrow\text{strict positivity refuted},\\L\le0<U&\Rightarrow\text{unresolved}.\end{cases}

For τ≥δ, support requires L≥δ, refutation U<δ, and remaining cases are unresolved. Thus [0,2] supports nonnegativity but not strict positivity. Including zero does not have one universal interpretation for every claim.

All real numbers leave possibilities on both sides of finite thresholds; these directional and finite-equivalence claims are unresolved. An empty set can indicate incompatible conditions. Rather than use vacuous truth to endorse every effect claim, report inconsistent and inspect premises and data.

Compare units before conclusions: a cents/hour set and an hours threshold are not comparable. Active finite parameters are validated first, then units. A separate setEmpty flag retains empty-set information even when units mismatch.

학부 심화 · 선택Advanced undergraduate · optional

28. 동등성에는 의미 있는 폭이 필요28. Equivalence needs a meaningful margin

어떤 차이가 정확히 0인지보다 실무에서 무시할 만큼 작은지가 중요할 수 있습니다. 예를 들어 두 방법의 점수 차이가 절댓값 0.3점 이내면 충분히 비슷하다고 정할 수 있습니다. 그러려면 0.3점을 왜 정했는지 평가 맥락에서 설명해야 합니다. 결과를 본 뒤 편리한 폭으로 넓히면 판단 기준이 결과를 따라 움직입니다.

이 실습의 동등성 명제는 |τ|≤m이라는 닫힌 구간 [−m,m]입니다. 허용집합 Θ 전체가 그 안에 있으면 supported, 두 집합이 아예 만나지 않으면 refuted, 일부만 겹치면 unresolved입니다. Θ=[−0.2,0.2], m=0.3은 지지합니다. Θ=[0.2,0.5]는 일부만 겹쳐 미결정이며, Θ=[0.4,0.5]는 반박합니다.

Θ⊆[−m,m]⇒supported,Θ∩[−m,m]=∅⇒refuted,m≥0.\Theta\subseteq[-m,m]\Rightarrow\text{supported},\quad \Theta\cap[-m,m]=\varnothing\Rightarrow\text{refuted},\quad m\ge0.

경계에 닿는 경우도 살핍니다. Θ=[0.3,0.5], m=0.3은 한 점에서 만나지만 그 밖의 값은 동등성 범위를 벗어나므로 미결정입니다. Θ={0.3} 하나라면 범위 안에 있으므로 지지합니다. 판정에 화면 반올림을 쓰지 않아 이런 접촉점을 정확히 구별합니다.

유의하지 않은 검정 결과를 곧바로 동등성으로 부르지 않습니다. 큰 불확실성 때문에 0도 큰 차이도 모두 남아 있을 수 있기 때문입니다. 정식 동등성 검정이나 신뢰구간 기반 추론은 해당 표본·절차의 전제를 별도로 필요로 합니다. 이 집합 실습은 그런 통계 검정을 자동 수행하지 않습니다.

Practical similarity may matter more than exact equality. One might declare a score difference within 0.3 points sufficiently small, but should explain why that margin is meaningful. Widening it after seeing results lets the criterion follow the answer.

The lab’s equivalence claim is the closed interval |τ|≤m. If all of Θ lies in [−m,m], support it; if the sets are disjoint, refute it; partial overlap is unresolved. With m=0.3, [−0.2,0.2] supports, [0.2,0.5] is unresolved and [0.4,0.5] refutes.

Θ⊆[−m,m]⇒supported,Θ∩[−m,m]=∅⇒refuted,m≥0.\Theta\subseteq[-m,m]\Rightarrow\text{supported},\quad \Theta\cap[-m,m]=\varnothing\Rightarrow\text{refuted},\quad m\ge0.

At a boundary, [0.3,0.5] with m=0.3 touches the equivalence range but also contains values outside it, so remains unresolved. The singleton {0.3} supports it. Exact comparisons, rather than rounded displays, distinguish these cases.

Failure to reject zero does not establish equivalence: uncertainty may permit both zero and large differences. Formal equivalence tests or confidence-based inference require additional sampling and procedure assumptions. This set-logic lab does not automatically perform such tests.

학부Undergraduate

29. 민감도 범위와 신뢰구간29. Sensitivity ranges and confidence intervals

우산을 쓸지 결정하며 비가 오는 시나리오와 오지 않는 시나리오를 적었다고 합시다. 두 시나리오를 나열한 것만으로 비 확률을 50%라고 할 수는 없습니다. 민감도 분석에서 여러 가정 아래 수치를 모은 범위도 마찬가지입니다. 어떤 가정을 포함했는지에 대한 범위이지, 자동으로 95% 확률이나 신뢰수준을 가진 구간이 아닙니다.

신뢰구간은 반복 표본 추출과 구간 구성 절차의 포함 확률이라는 별도 이론을 갖습니다. 반면 NJPA의 시간제 계수 γ=0,1/2,1과 두 프레임을 바꾸어 얻은 여섯 대비의 최소·최대는 선언된 정의 선택 범위입니다. 더 많은 가능한 가정이나 측정오류를 모두 포함한 식별집합이라고도 자동으로 부르지 않습니다.

정의 선택 범위가 모두 양수여도 “모집단의 정책 인과효과가 95% 확률로 양수”라고 쓰지 않습니다. 이 보존 자료와 선언한 정의·프레임에서 기술적 대비의 부호가 유지되었다고 씁니다. 표본 변동·비교추세·구성 변화·측정 문제에 대한 별도 근거를 원하면 그 설계와 계산을 추가해야 합니다.

결론 계산기에 넣을 때는 범위의 출처를 문장으로 함께 적습니다. 가상 가정 범위인지, 실제 프로토콜 선택 범위인지, 특정 통계 절차의 신뢰집합인지 구분합니다. 같은 숫자 [1,3]을 넣어도 supported의 논리 계산은 같지만 바깥 세상에 대한 해석은 같지 않습니다.

Listing rain and no-rain scenarios does not assign each probability one half. Similarly, a range of results under selected assumptions is not automatically a 95% confidence interval. It describes the scenarios included.

Confidence intervals have separate repeated-sampling and construction theory. The minimum and maximum of six NJPA contrasts from γ=0,1/2,1 and two frames describe declared definition choices. They do not automatically cover every plausible assumption, measurement error or identified value.

Even if all six contrasts are positive, do not conclude that a population causal policy effect is positive with 95% probability. State that the descriptive sign persists across those declared definitions on retained data. Sampling variability, comparison trends, composition and measurement need additional evidence.

Accompany a supplied range with its origin: constructed assumption set, actual protocol range or confidence set from a named procedure. Input [1,3] gives the same conditional logic but not the same real-world interpretation in all three cases.

학부Undergraduate

30. 선호하는 결과에도 같은 기준30. The same standards for preferred results

좋아하는 정책에서 양수 추정치가 나오면 “효과 입증”, 음수가 나오면 “표본이 작아 결론 불가”라고만 말한다면 판단 규칙이 대칭적이지 않습니다. 결과를 보기 전에 어떤 크기·범위·자료 문제에서 결론을 바꿀지 적고, 실제 결과가 어느 방향이든 그 규칙을 적용합니다. 다른 방향을 같은 강도로 단정하라는 뜻이 아니라 같은 근거에 같은 한계를 인정하라는 뜻입니다.

예를 들어 목표가 τ>0이고 허용집합이 [−1,2]이면 미결정입니다. 추정 중심이 양수여도 집합은 양수가 아닌 가능성을 남깁니다. [−3,−1]이면 그 양수 주장은 반박됩니다. 그렇다고 이 집합을 만든 가정이 틀릴 가능성이나 표본 한계가 사라지지는 않습니다. 결론과 전제를 나란히 둡니다.

실무 보고서는 계산과 가치판단을 연결하되 구분해야 합니다. 고용 대비가 양수인지, 그 크기가 비용을 정당화하는지, 어떤 집단에 어떤 부담을 주는지는 서로 다른 질문입니다. 계량 결과 하나가 모든 정책 목표를 대신하지 않습니다. 국가·개인·기업 수준의 관측 단위가 다른 것도 결과를 그대로 옮겨 쓰지 못하게 합니다.

최종 프로젝트에서는 반대 입장의 독자가 가장 먼저 물을 질문 세 개를 적어 보세요. “빠진 사람이 누구인가?”, “다른 타당한 정의에서 부호가 바뀌는가?”, “어떤 원파일과 명령으로 이 표를 만드는가?”처럼 구체적인 질문이 좋습니다. 답하지 못한 부분을 숨기기보다 다음 검증 과제로 남기는 것이 반박 가능한 결론을 만드는 방법입니다.

Calling a positive result proof for a favoured policy while calling a negative result inconclusive solely because of sample size applies asymmetric standards. Declare what magnitudes, ranges or data problems would change the conclusion, then use the rule in either direction. This means recognising the same limits under the same evidence, not forcing equal certainty in every circumstance.

For claim τ>0 and set [−1,2], the result is unresolved even if a central estimate is positive. Set [−3,−1] refutes that positive claim under its premises. The assumptions producing the set and sample limits still belong beside the conclusion.

Reports should connect, but distinguish, arithmetic and value judgements. Whether an employment contrast is positive, whether its magnitude justifies costs and which groups bear burdens are different questions. One estimate cannot replace every policy objective. Nor can results transfer automatically across country, person and firm units.

For the capstone, write three concrete questions an opposing reader would ask: who was excluded, whether another defensible definition changes the sign, and which files and commands generate the table. Preserve unanswered questions as further verification tasks instead of hiding them.

학부 심화 · 선택Advanced undergraduate · optional

31. 개인 사례: 같은 NLS에서 다른 목표31. Person case: different targets in NLS

이 사례는 공개 NLS 원본의 1976년 남성 3613개 기록을 사용합니다. 원 시급 wage76 관측은 3017개, 이상치 정리가 반영된 기록 로그 lwage76 관측은 3010개입니다. 로그를 새로 계산해 일곱 개 빈칸에 채우지 않습니다. 원 시급 결측 596개는 결측 사유를 자동으로 “미응답”이나 “실업”이라고 해석하지 않고 장부에 남깁니다.

네 프로토콜은 결과 두 개(기록 로그·원 시급)와 방법 두 개(평균·상수 포함 교육 단순회귀)를 조합합니다. 여기의 회귀는 통제나 도구를 추가하지 않는 기술적 단순회귀입니다. 앞 장의 14개 통제 OLS나 대학 접근성 IV와 목표·모형이 다릅니다. 같은 원파일이라고 계수가 같아야 한다고 요구하지 않습니다.

원 토큰의 정확 산술에서 얻은 네 기술적 수량
보기적격 n짧은 수치단위
기록 로그 평균30106.261831918기록 로그 임금
기록 로그–교육 단순 기울기30100.052094237로그 점/교육 연수
원 시급 평균3017576.0888299641976년 명목 센트/시간
원 시급–교육 단순 기울기301729.566438810센트/시간/교육 연수

숫자는 같은 단위로 바꾼 네 추정치가 아닙니다. 평균과 기울기는 다르고 로그와 수준도 다릅니다. 로그를 썼다고 현재 임금으로 물가 조정한 것도 아닙니다. 모든 기록에 분석 비중 1을 사용하며 원 조사 비중은 보존하되 사용하지 않으므로, 평균을 모집단 가중평균으로 부르지 않습니다.

케이스 스터디 과제는 다음과 같습니다. 먼저 네 보기의 공통점과 차이를 표본·결과·단위·모형으로 설명하세요. 그다음 로그 없는 일곱 기록을 새 로그로 채우고 싶다면 그것을 어떤 새 프로토콜로 선언해야 하는지 적습니다. 마지막으로 왜 단순 교육 기울기만으로 “교육 1년의 인과 수익률”을 확정할 수 없는지 설명합니다. 전체 원행과 계산 표는 이 소개에 이어 별도 사례 자료로 연결합니다.

원행부터 전체 프로토콜까지

아래 표는 선언한 전체 프레임을 보존합니다. 짧게 표시한 긴 분수 버튼을 눌러 같은 페이지에서 정확값을 확인합니다. 원 CSV와 원 그림 확대도 함께 남깁니다. 반복된 ID·결측·단위는 읽기 편의를 위해 조용히 바꾸지 않습니다.

모든 기술적 프로토콜의 결과
프로토콜원행적격제외추정치추정치 단위행 HC0 분산보고집단 HC0 분산
logWage-mean36133010603recorded natural log nominal wage
logWage-schooling-OLS36133010603recorded natural log nominal wage per schooling year
wage-mean361330175961976 nominal cents/hour
wage-schooling-OLS361330175961976 nominal cents/hour per schooling year

분산 열은 해당 추정치 단위의 제곱입니다. HC0는 유한 표본 보정·신뢰구간·p값을 자동으로 포함하지 않습니다. 평균과 기울기, 서로 다른 결과 정의의 분산을 같은 단위라고 비교하지 않습니다.

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

1–20 / 3613
3613개 원행: 교육·결과·원 조사 비중
원행IDed76wage76lwage76시급 관측로그 관측원 비중 · 미사용
1275486.30627529예예158413
23124816.17586727예예380166
34127216.58063914예예367470
45112505.52146092예예380166
56127296.59167373예예367470
67125006.2146081예예380166
78185656.33682573예예367470
89146086.41017488예예496635
910124256.05208917예예367772
1011125156.2441669예예480445
111292255.4161004예예380166
1213124005.99146455예예380166
1314114176.03308622예예369567
1415112175.37989735예예496635
1516168946.79570578예예648053
1617143005.70378247예예357519
171811——아니오아니오367470
1819123465.84643878예예367470
1920146586.48920493예예496635
2022105756.35437004예예367772
1–20 / 3613

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

1–20 / 3010
기록 로그의 전체 3010행
원행ID교육 연수Y평균 잔차OLS 적합OLS 잔차평균 영향OLS 영향
1nls:27
2nls:312
3nls:412
4nls:511
5nls:612
6nls:712
7nls:818
8nls:914
9nls:1012
10nls:1112
11nls:129
12nls:1312
13nls:1411
14nls:1511
15nls:1616
16nls:1714
18nls:1912
19nls:2014
20nls:2210
22nls:2512
1–20 / 3010

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

1–20 / 3017
원 시급의 전체 3017행
원행ID교육 연수Y평균 잔차OLS 적합OLS 잔차평균 영향OLS 영향
1nls:27548
2nls:312481
3nls:412721
4nls:511250
5nls:612729
6nls:712500
7nls:818565
8nls:914608
9nls:1012425
10nls:1112515
11nls:129225
12nls:1312400
13nls:1411417
14nls:1511217
15nls:1616894
16nls:1714300
18nls:1912346
19nls:2014658
20nls:2210575
22nls:2512649
1–20 / 3017

평균 잔차는 Y−평균이며 평균 영향은 그 값을 해당 n으로 나눈 것입니다. OLS는 상수와 교육만 사용합니다. 로그와 원 시급 프레임의 7행 차이, 조사 비중 미사용, 1976년 명목 단위를 함께 읽습니다.

원 그림과 원 수치

원본 이미지와 확대
개인 · logWage-mean
개인 · logWage-mean · 원본 확대 · 모든 표시점 3010
원본 이미지와 확대
개인 · logWage-schooling-OLS
개인 · logWage-schooling-OLS · 원본 확대 · 모든 표시점 3010
원본 이미지와 확대
개인 · wage-mean
개인 · wage-mean · 원본 확대 · 모든 표시점 3017
원본 이미지와 확대
개인 · wage-schooling-OLS
개인 · wage-schooling-OLS · 원본 확대 · 모든 표시점 3017

전체 그래프 정확 수치 CSV · 전체 적합·영향 CSV

Use the actual public 1976 NLS file with 3613 male records. Native raw wage wage76 is observed for 3017; the supplied outlier-trimmed log lwage76 for 3010. Do not fill seven missing recorded logs by creating new ones. Preserve 596 missing raw wages without inferring nonresponse or unemployment as their cause.

Four protocols combine two outcomes with two methods: means and simple schooling regressions with an intercept. These are unadjusted descriptive regressions, unlike the previous chapter’s 14-control OLS or proximity IV. A shared original file does not require different models to have identical coefficients.

Four descriptive quantities from exact native-token arithmetic
ViewEligible nShort valueUnit
Recorded-log mean30106.261831918Recorded log wage
Recorded-log schooling slope30100.052094237Log points/schooling year
Raw-wage mean3017576.088829964Nominal 1976 cents/hour
Raw-wage schooling slope301729.566438810Cents/hour/schooling year

These are not four estimates expressed in one unit. Means differ from slopes, and logs from levels. Logging is not an inflation adjustment. Unit analysis weights are used; native survey weights remain preserved but unused. Do not call these population-weighted means.

Case study: explain similarities and differences in frame, outcome, units and model. If newly logging the seven additional wages is desired, write it as another protocol. Explain why the simple schooling slope does not establish a causal return to schooling. Full source ledgers and calculations are connected after this introduction.

From source rows to all protocols

These tables retain complete declared frames. Expand a shortened fraction using its value button on this page; source CSVs and original enlarged figures remain available. IDs, missingness and units are not silently changed for display.

All descriptive protocol results
ProtocolSource rowsEligibleExcludedEstimateEstimate unitRow HC0 varianceReporting-group HC0 variance
logWage-mean36133010603recorded natural log nominal wage
logWage-schooling-OLS36133010603recorded natural log nominal wage per schooling year
wage-mean361330175961976 nominal cents/hour
wage-schooling-OLS361330175961976 nominal cents/hour per schooling year

Variance columns use squared estimate units. HC0 does not include automatic finite-sample corrections, confidence intervals or p-values. Means, slopes and alternative outcome definitions have distinct units.

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

1–20 / 3613
All 3613 source rows: schooling, outcomes and unused native weights
Source rowIDed76wage76lwage76Wage observedLog observedNative weight, unused
1275486.30627529truetrue158413
23124816.17586727truetrue380166
34127216.58063914truetrue367470
45112505.52146092truetrue380166
56127296.59167373truetrue367470
67125006.2146081truetrue380166
78185656.33682573truetrue367470
89146086.41017488truetrue496635
910124256.05208917truetrue367772
1011125156.2441669truetrue480445
111292255.4161004truetrue380166
1213124005.99146455truetrue380166
1314114176.03308622truetrue369567
1415112175.37989735truetrue496635
1516168946.79570578truetrue648053
1617143005.70378247truetrue357519
171811——falsefalse367470
1819123465.84643878truetrue367470
1920146586.48920493truetrue496635
2022105756.35437004truetrue367772
1–20 / 3613

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

1–20 / 3010
All 3010 recorded-log rows
Source rowIDSchooling yearsYMean residualOLS fittedOLS residualMean influenceOLS influence
1nls:27
2nls:312
3nls:412
4nls:511
5nls:612
6nls:712
7nls:818
8nls:914
9nls:1012
10nls:1112
11nls:129
12nls:1312
13nls:1411
14nls:1511
15nls:1616
16nls:1714
18nls:1912
19nls:2014
20nls:2210
22nls:2512
1–20 / 3010

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

1–20 / 3017
All 3017 raw-wage rows
Source rowIDSchooling yearsYMean residualOLS fittedOLS residualMean influenceOLS influence
1nls:27548
2nls:312481
3nls:412721
4nls:511250
5nls:612729
6nls:712500
7nls:818565
8nls:914608
9nls:1012425
10nls:1112515
11nls:129225
12nls:1312400
13nls:1411417
14nls:1511217
15nls:1616894
16nls:1714300
18nls:1912346
19nls:2014658
20nls:2210575
22nls:2512649
1–20 / 3017

Mean residuals are Y−mean and influences divide by the corresponding n. OLS includes only an intercept and schooling. Retain the seven-record frame difference, unused survey weights and nominal 1976 units.

Original figures and underlying numbers

Original image and enlargement
Person · logWage-mean
Person · logWage-mean · Original enlargement; all plot points 3010
Original image and enlargement
Person · logWage-schooling-OLS
Person · logWage-schooling-OLS · Original enlargement; all plot points 3010
Original image and enlargement
Person · wage-mean
Person · wage-mean · Original enlargement; all plot points 3017
Original image and enlargement
Person · wage-schooling-OLS
Person · wage-schooling-OLS · Original enlargement; all plot points 3017

Full exact chart-values CSV · All fit and influence rows CSV

학부 심화 · 선택Advanced undergraduate · optional

32. 국가 사례: 기간과 실업 정의32. Country case: periods and unemployment definitions

보존한 World Bank JSON에서 16개국의 두 지표, 2009–2024년 원기록 512개를 읽습니다. 분석은 2010–2024년 240개 국가·연도이고 2009년 실업률은 실제 전년도 차이를 만들기 위해 남깁니다. 행을 단순히 한 칸 미는 대신 같은 국가의 year−1 키로 연결합니다. 국가는 반복 단위이며 240개 서로 다른 국가라고 세지 않습니다.

Y는 연간 GDP 성장률 %, X는 실업률 수준 % 또는 전년 대비 실업률 변화 %포인트입니다. 기간은 2010–2019년, 2020–2024년, 전체 2010–2024년을 각각 선언합니다. 상수 포함 단순회귀 여섯 개이고 특정 외부 충격의 인과효과를 식별하는 설계라고 주장하지 않습니다. 기간은 교육용으로 고른 분할이며 이미 자료를 본 뒤의 회고적 보기입니다.

열마다 X 정의가 다르므로 기울기 단위도 함께 읽기
기간n실업 수준 기울기실업 변화 기울기
2010–2019160−0.130014162−1.099303983
2020–202480−0.090461948−1.347950284
2010–2024240−0.110076588−1.298767337

두 기울기의 숫자 크기를 곧바로 “영향이 몇 배”라고 비교하지 않습니다. 실업 수준과 변화는 다른 변수이며 같은 수준이라도 이전 해 수준이 다르면 변화가 다릅니다. 기간별 비교도 관측 시기와 목표가 바뀝니다. 전체 기간의 한 기울기를 모든 나라·시기에 불변인 구조계수로 부르지 않습니다.

자료 제공자 갱신일은 보존 JSON에 적힌 날짜이며 최초 다운로드일이 아닙니다. 정확한 옛 요청 URL과 전송 시각은 남아 있지 않아 없다고 밝힙니다. 이 사례의 재현은 보존 빈티지의 회고적 계산이지 과거 해마다 공개 지연·개정 이력을 복구한 실시간 예측 평가가 아닙니다. 독자가 가장 큰 기울기 하나만 보지 않도록 여섯 보기와 전체 장부를 함께 읽습니다.

원행부터 전체 프로토콜까지

아래 표는 선언한 전체 프레임을 보존합니다. 짧게 표시한 긴 분수 버튼을 눌러 같은 페이지에서 정확값을 확인합니다. 원 CSV와 원 그림 확대도 함께 남깁니다. 반복된 ID·결측·단위는 읽기 편의를 위해 조용히 바꾸지 않습니다.

모든 기술적 프로토콜의 결과
프로토콜원행적격제외추정치추정치 단위행 HC0 분산보고집단 HC0 분산
2010-2019-unemployment24016080GDP growth percentage points per declared unemployment unit
2010-2019-unemploymentChange24016080GDP growth percentage points per declared unemployment unit
2020-2024-unemployment24080160GDP growth percentage points per declared unemployment unit
2020-2024-unemploymentChange24080160GDP growth percentage points per declared unemployment unit
2010-2024-unemployment2402400GDP growth percentage points per declared unemployment unit
2010-2024-unemploymentChange2402400GDP growth percentage points per declared unemployment unit

분산 열은 해당 추정치 단위의 제곱입니다. HC0는 유한 표본 보정·신뢰구간·p값을 자동으로 포함하지 않습니다. 평균과 기울기, 서로 다른 결과 정의의 분산을 같은 단위라고 비교하지 않습니다.

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

1–20 / 240
240개 국가·연도의 실제 달력 연결
분석 ID국가연도성장률 %실업 수준 %실제 전년 수준차이 %포인트성장 원행현재 원행전년 원행
wb:AUS:2010AUS20101514551456
wb:AUS:2011AUS20111414541455
wb:AUS:2012AUS20121314531454
wb:AUS:2013AUS20131214521453
wb:AUS:2014AUS20141114511452
wb:AUS:2015AUS20151014501451
wb:AUS:2016AUS2016914491450
wb:AUS:2017AUS2017814481449
wb:AUS:2018AUS2018714471448
wb:AUS:2019AUS2019614461447
wb:AUS:2020AUS2020514451446
wb:AUS:2021AUS2021414441445
wb:AUS:2022AUS2022314431444
wb:AUS:2023AUS2023214421443
wb:AUS:2024AUS2024114411442
wb:BRA:2010BRA20106015001501
wb:BRA:2011BRA20115914991500
wb:BRA:2012BRA20125814981499
wb:BRA:2013BRA20135714971498
wb:BRA:2014BRA20145614961497
1–20 / 240

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

1–20 / 240
같은 240원행의 여섯 프로토콜 포함 여부
ID2010-2019-unemployment2010-2019-unemploymentChange2020-2024-unemployment2020-2024-unemploymentChange2010-2024-unemployment2010-2024-unemploymentChange
wb:AUS:2010예예아니오아니오예예
wb:AUS:2011예예아니오아니오예예
wb:AUS:2012예예아니오아니오예예
wb:AUS:2013예예아니오아니오예예
wb:AUS:2014예예아니오아니오예예
wb:AUS:2015예예아니오아니오예예
wb:AUS:2016예예아니오아니오예예
wb:AUS:2017예예아니오아니오예예
wb:AUS:2018예예아니오아니오예예
wb:AUS:2019예예아니오아니오예예
wb:AUS:2020아니오아니오예예예예
wb:AUS:2021아니오아니오예예예예
wb:AUS:2022아니오아니오예예예예
wb:AUS:2023아니오아니오예예예예
wb:AUS:2024아니오아니오예예예예
wb:BRA:2010예예아니오아니오예예
wb:BRA:2011예예아니오아니오예예
wb:BRA:2012예예아니오아니오예예
wb:BRA:2013예예아니오아니오예예
wb:BRA:2014예예아니오아니오예예
1–20 / 240

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

1–20 / 960
여섯 회귀의 모든 적격 계산 행
프로토콜IDXY적합잔차잔여 X선형 비중영향
2010-2019-unemploymentwb:AUS:2010
2010-2019-unemploymentwb:AUS:2011
2010-2019-unemploymentwb:AUS:2012
2010-2019-unemploymentwb:AUS:2013
2010-2019-unemploymentwb:AUS:2014
2010-2019-unemploymentwb:AUS:2015
2010-2019-unemploymentwb:AUS:2016
2010-2019-unemploymentwb:AUS:2017
2010-2019-unemploymentwb:AUS:2018
2010-2019-unemploymentwb:AUS:2019
2010-2019-unemploymentwb:BRA:2010
2010-2019-unemploymentwb:BRA:2011
2010-2019-unemploymentwb:BRA:2012
2010-2019-unemploymentwb:BRA:2013
2010-2019-unemploymentwb:BRA:2014
2010-2019-unemploymentwb:BRA:2015
2010-2019-unemploymentwb:BRA:2016
2010-2019-unemploymentwb:BRA:2017
2010-2019-unemploymentwb:BRA:2018
2010-2019-unemploymentwb:BRA:2019
1–20 / 960

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

1–20 / 96
16개 반복 국가의 모든 보고 점수
프로토콜보고 국가점수 합제곱
2010-2019-unemploymentcountry:AUS
2010-2019-unemploymentcountry:BRA
2010-2019-unemploymentcountry:CAN
2010-2019-unemploymentcountry:CHN
2010-2019-unemploymentcountry:DEU
2010-2019-unemploymentcountry:FRA
2010-2019-unemploymentcountry:GBR
2010-2019-unemploymentcountry:IDN
2010-2019-unemploymentcountry:IND
2010-2019-unemploymentcountry:JPN
2010-2019-unemploymentcountry:KOR
2010-2019-unemploymentcountry:MEX
2010-2019-unemploymentcountry:SGP
2010-2019-unemploymentcountry:USA
2010-2019-unemploymentcountry:VNM
2010-2019-unemploymentcountry:ZAF
2010-2019-unemploymentChangecountry:AUS
2010-2019-unemploymentChangecountry:BRA
2010-2019-unemploymentChangecountry:CAN
2010-2019-unemploymentChangecountry:CHN
1–20 / 96

2010년 차이는 같은 국가 2009년 값을 사용합니다. 기간 밖 원행은 장부에 남고 해당 프로토콜 적합 행에서만 제외됩니다. 국가별 점수 합은 의존성을 집계하는 산술이지 국가 간 독립성이나 유효 신뢰구간을 인증하지 않습니다.

원 그림과 원 수치

원본 이미지와 확대
국가 · 2010-2019-unemployment
국가 · 2010-2019-unemployment · 원본 확대 · 모든 표시점 160
원본 이미지와 확대
국가 · 2010-2019-unemploymentChange
국가 · 2010-2019-unemploymentChange · 원본 확대 · 모든 표시점 160
원본 이미지와 확대
국가 · 2020-2024-unemployment
국가 · 2020-2024-unemployment · 원본 확대 · 모든 표시점 80
원본 이미지와 확대
국가 · 2020-2024-unemploymentChange
국가 · 2020-2024-unemploymentChange · 원본 확대 · 모든 표시점 80
원본 이미지와 확대
국가 · 2010-2024-unemployment
국가 · 2010-2024-unemployment · 원본 확대 · 모든 표시점 240
원본 이미지와 확대
국가 · 2010-2024-unemploymentChange
국가 · 2010-2024-unemploymentChange · 원본 확대 · 모든 표시점 240

전체 그래프 정확 수치 CSV · 전체 적합·영향 CSV

Read 512 retained World Bank indicator records for sixteen countries, two indicators and 2009–2024. Analysis uses 240 country-years in 2010–2024; 2009 unemployment supports actual prior-year changes. Join on the same country and year−1 rather than shifting arbitrary rows. Countries repeat; there are not 240 distinct countries.

Y is annual GDP growth percent. X is unemployment percent or its annual change in percentage points. Declare windows 2010–2019, 2020–2024 and 2010–2024. Six simple regressions with an intercept are retrospective teaching views, not a causal design for an external shock or a claim that periods were selected before viewing data.

Read each slope with its distinct exposure definition and unit
WindownUnemployment-level slopeUnemployment-change slope
2010–2019160−0.130014162−1.099303983
2020–202480−0.090461948−1.347950284
2010–2024240−0.110076588−1.298767337

Do not interpret magnitude ratios across these columns as impact ratios. Levels and changes are different exposures. Window comparisons also change the observed period and target; a pooled slope is not automatically a structural parameter constant across countries and years.

The retained provider update date is not an acquisition date. The precise historical request and transfer time were not archived. Reproduction concerns this retained vintage, not a real-time evaluation reconstructing past release lags and revisions. Read all six protocols and ledgers rather than one selected large slope.

From source rows to all protocols

These tables retain complete declared frames. Expand a shortened fraction using its value button on this page; source CSVs and original enlarged figures remain available. IDs, missingness and units are not silently changed for display.

All descriptive protocol results
ProtocolSource rowsEligibleExcludedEstimateEstimate unitRow HC0 varianceReporting-group HC0 variance
2010-2019-unemployment24016080GDP growth percentage points per declared unemployment unit
2010-2019-unemploymentChange24016080GDP growth percentage points per declared unemployment unit
2020-2024-unemployment24080160GDP growth percentage points per declared unemployment unit
2020-2024-unemploymentChange24080160GDP growth percentage points per declared unemployment unit
2010-2024-unemployment2402400GDP growth percentage points per declared unemployment unit
2010-2024-unemploymentChange2402400GDP growth percentage points per declared unemployment unit

Variance columns use squared estimate units. HC0 does not include automatic finite-sample corrections, confidence intervals or p-values. Means, slopes and alternative outcome definitions have distinct units.

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

1–20 / 240
Actual calendar links for all 240 country-years
Analysis IDCountryYearGrowth percentUnemployment percentActual prior levelChange ppGrowth source rowCurrent source rowPrior source row
wb:AUS:2010AUS20101514551456
wb:AUS:2011AUS20111414541455
wb:AUS:2012AUS20121314531454
wb:AUS:2013AUS20131214521453
wb:AUS:2014AUS20141114511452
wb:AUS:2015AUS20151014501451
wb:AUS:2016AUS2016914491450
wb:AUS:2017AUS2017814481449
wb:AUS:2018AUS2018714471448
wb:AUS:2019AUS2019614461447
wb:AUS:2020AUS2020514451446
wb:AUS:2021AUS2021414441445
wb:AUS:2022AUS2022314431444
wb:AUS:2023AUS2023214421443
wb:AUS:2024AUS2024114411442
wb:BRA:2010BRA20106015001501
wb:BRA:2011BRA20115914991500
wb:BRA:2012BRA20125814981499
wb:BRA:2013BRA20135714971498
wb:BRA:2014BRA20145614961497
1–20 / 240

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

1–20 / 240
Six protocol eligibility flags on the same 240 rows
ID2010-2019-unemployment2010-2019-unemploymentChange2020-2024-unemployment2020-2024-unemploymentChange2010-2024-unemployment2010-2024-unemploymentChange
wb:AUS:2010truetruefalsefalsetruetrue
wb:AUS:2011truetruefalsefalsetruetrue
wb:AUS:2012truetruefalsefalsetruetrue
wb:AUS:2013truetruefalsefalsetruetrue
wb:AUS:2014truetruefalsefalsetruetrue
wb:AUS:2015truetruefalsefalsetruetrue
wb:AUS:2016truetruefalsefalsetruetrue
wb:AUS:2017truetruefalsefalsetruetrue
wb:AUS:2018truetruefalsefalsetruetrue
wb:AUS:2019truetruefalsefalsetruetrue
wb:AUS:2020falsefalsetruetruetruetrue
wb:AUS:2021falsefalsetruetruetruetrue
wb:AUS:2022falsefalsetruetruetruetrue
wb:AUS:2023falsefalsetruetruetruetrue
wb:AUS:2024falsefalsetruetruetruetrue
wb:BRA:2010truetruefalsefalsetruetrue
wb:BRA:2011truetruefalsefalsetruetrue
wb:BRA:2012truetruefalsefalsetruetrue
wb:BRA:2013truetruefalsefalsetruetrue
wb:BRA:2014truetruefalsefalsetruetrue
1–20 / 240

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

1–20 / 960
Every eligible row in all six regressions
ProtocolIDXYFittedResidualResidual XLinear weightInfluence
2010-2019-unemploymentwb:AUS:2010
2010-2019-unemploymentwb:AUS:2011
2010-2019-unemploymentwb:AUS:2012
2010-2019-unemploymentwb:AUS:2013
2010-2019-unemploymentwb:AUS:2014
2010-2019-unemploymentwb:AUS:2015
2010-2019-unemploymentwb:AUS:2016
2010-2019-unemploymentwb:AUS:2017
2010-2019-unemploymentwb:AUS:2018
2010-2019-unemploymentwb:AUS:2019
2010-2019-unemploymentwb:BRA:2010
2010-2019-unemploymentwb:BRA:2011
2010-2019-unemploymentwb:BRA:2012
2010-2019-unemploymentwb:BRA:2013
2010-2019-unemploymentwb:BRA:2014
2010-2019-unemploymentwb:BRA:2015
2010-2019-unemploymentwb:BRA:2016
2010-2019-unemploymentwb:BRA:2017
2010-2019-unemploymentwb:BRA:2018
2010-2019-unemploymentwb:BRA:2019
1–20 / 960

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

1–20 / 96
All reporting scores for the 16 repeated countries
ProtocolReporting countryScore sumSquared
2010-2019-unemploymentcountry:AUS
2010-2019-unemploymentcountry:BRA
2010-2019-unemploymentcountry:CAN
2010-2019-unemploymentcountry:CHN
2010-2019-unemploymentcountry:DEU
2010-2019-unemploymentcountry:FRA
2010-2019-unemploymentcountry:GBR
2010-2019-unemploymentcountry:IDN
2010-2019-unemploymentcountry:IND
2010-2019-unemploymentcountry:JPN
2010-2019-unemploymentcountry:KOR
2010-2019-unemploymentcountry:MEX
2010-2019-unemploymentcountry:SGP
2010-2019-unemploymentcountry:USA
2010-2019-unemploymentcountry:VNM
2010-2019-unemploymentcountry:ZAF
2010-2019-unemploymentChangecountry:AUS
2010-2019-unemploymentChangecountry:BRA
2010-2019-unemploymentChangecountry:CAN
2010-2019-unemploymentChangecountry:CHN
1–20 / 96

The 2010 change uses the same country’s 2009 value. Out-of-window rows remain in the ledger but not that protocol’s fit rows. Country score aggregation is arithmetic, not proof of independence across countries or valid intervals.

Original figures and underlying numbers

Original image and enlargement
Country · 2010-2019-unemployment
Country · 2010-2019-unemployment · Original enlargement; all plot points 160
Original image and enlargement
Country · 2010-2019-unemploymentChange
Country · 2010-2019-unemploymentChange · Original enlargement; all plot points 160
Original image and enlargement
Country · 2020-2024-unemployment
Country · 2020-2024-unemployment · Original enlargement; all plot points 80
Original image and enlargement
Country · 2020-2024-unemploymentChange
Country · 2020-2024-unemploymentChange · Original enlargement; all plot points 80
Original image and enlargement
Country · 2010-2024-unemployment
Country · 2010-2024-unemployment · Original enlargement; all plot points 240
Original image and enlargement
Country · 2010-2024-unemploymentChange
Country · 2010-2024-unemploymentChange · Original enlargement; all plot points 240

Full exact chart-values CSV · All fit and influence rows CSV

대학원 연결Graduate bridge

33. 기업 사례: FTE 정의와 두 프레임33. Firm case: FTE definitions and two frames

Card–Krueger NJPA 공개 ZIP의 410개 음식점 조사 기록을 사용합니다. 원 46개 필드, 상태 코드, 날짜 토큰과 SHEET를 보존합니다. SHEET 407은 두 원행에 있어 서로 다른 분석 ID로 남깁니다. 그 둘의 실제 사업체 동일성을 새로 인증하지 않으며, 같은 보고 키로 묶는 계산은 명시적 그룹 선언입니다. 410개 기록을 확인 없이 410개 고유 물리 점포라고 바꾸어 부르지 않습니다.

FTEγ=FT+γPT+M에서 γ를 0,1/2,1로 바꿉니다. 셋 모두 FT·PT·M 공통 관측 조건을 쓰므로 γ=0에서도 PT 결측을 새로 허용하지 않습니다. 사전 가용은 398개, 사후 가용은 396개, 쌍으로 모두 있는 기록은 384개입니다. paired는 PA 75·NJ 309개를 두 시점에 동일하게 쓰고, available은 PA 77/77·NJ 321/319개로 각 시점 가용 평균을 사용합니다.

NJ−PA의 사후−사전 기술적 DID, 각 γ의 FTE 단위
프레임γ=0γ=1/2γ=1
paired 3843.0882200652.7500000002.411779935
available · 시점별 398/3963.1832022632.7536057832.324009303

같은 프레임을 유지하면 대비는 γ의 일차식입니다. 따라서 paired의 가운데 값은 두 끝값의 평균이며 정확히 11/4입니다. available에서도 같은 선형 관계가 성립합니다. 그러나 paired와 available 사이의 차이는 프레임·구성도 바꾸므로, 가운데 값의 근접만으로 결측 편의가 없다고 단정하지 않습니다. PA의 사전·사후 n이 둘 다 77이어도 같은 77개라는 뜻은 아니며 공통 쌍은 75개입니다.

Δ^γ=Δ^0+γ(Δ^1−Δ^0),Δ^1/2=Δ^0+Δ^12on a fixed frame.\widehat\Delta_{\gamma}=\widehat\Delta_0+\gamma(\widehat\Delta_1-\widehat\Delta_0),\qquad \widehat\Delta_{1/2}=\frac{\widehat\Delta_0+\widehat\Delta_1}{2}\quad\text{on a fixed frame}.

원 상태 3의 영구 폐업 6개는 사후 인원 성분이 원래 0으로 기록되어 있습니다. 이 0은 결측을 새로 메운 값이 아닙니다. 반대로 모든 결측을 폐업이라고 간주하지 않습니다. 여섯 대비가 양수라는 사실은 이 여섯 정의의 기술적 부호를 설명하지만, 비교추세·측정·구성 변화와 표본 추론 없이 보편적인 최저임금 인과효과를 확정하지 않습니다.

원행부터 전체 프로토콜까지

아래 표는 선언한 전체 프레임을 보존합니다. 짧게 표시한 긴 분수 버튼을 눌러 같은 페이지에서 정확값을 확인합니다. 원 CSV와 원 그림 확대도 함께 남깁니다. 반복된 ID·결측·단위는 읽기 편의를 위해 조용히 바꾸지 않습니다.

모든 기술적 프로토콜의 결과
프로토콜원행적격제외추정치추정치 단위행 HC0 분산보고집단 HC0 분산
paired-gamma041038426FTE at gamma 0
paired-gamma0541038426FTE at gamma 1/2
paired-gamma141038426FTE at gamma 1
available-gamma04104100FTE at gamma 0
available-gamma054104100FTE at gamma 1/2
available-gamma14104100FTE at gamma 1

분산 열은 해당 추정치 단위의 제곱입니다. HC0는 유한 표본 보정·신뢰구간·p값을 자동으로 포함하지 않습니다. 평균과 기울기, 서로 다른 결과 정의의 분산을 같은 단위라고 비교하지 않습니다.

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

1–20 / 410
410개 원행과 두 시점 인원 성분
원행SHEETSTATESTATUS2DATE2EMPFTEMPPTNMGRSEMPFT2EMPPT2NMGRS2
14601111792301533.5353
249011112926.56.540154
350601111292372374
45601111492202040362
5610111149262652836
662011114920315———
7445011107925035315185
845101111792101752696
9455011112922853122
10458011117922102292
11462011222922.52031254
1246801110792403039324
134690111169282757394
144700111179210.530318103
15474011222926935203
1648101111792517.531543
174830111129211514133
184870111119210626203
1948801111192201335153
204890111189252322193
1–20 / 410

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

1–20 / 410
공통 성분 프레임의 세 FTE 정의 전체
analysisIDsourceRownativeSHEETreportingGroupstatestatus2beforeFTE0afterFTE0deltaFTE0beforeFTE05afterFTE05deltaFTE05beforeFTE1afterFTE1deltaFTE1
njpa-row:1146sheet:4601332448
njpa-row:2249sheet:4901417192
njpa-row:33506sheet:50601572212142
njpa-row:4456sheet:5601242-223420-144438-6
njpa-row:5561sheet:61011134232437370
njpa-row:6662sheet:62015————36——
njpa-row:77445sheet:445015320-33298838-50
njpa-row:88451sheet:451011532171332419
njpa-row:99455sheet:4550175-21111015172
njpa-row:1010458sheet:4580144091413-1
njpa-row:1111462sheet:462015230
njpa-row:1212468sheet:468014313-305829-297345-28
njpa-row:1313469sheet:469011311-24405010
njpa-row:1414470sheet:47001212631
njpa-row:1515474sheet:4740198-118182810
njpa-row:1616481sheet:48101818102022
njpa-row:1717483sheet:48301275417203
njpa-row:1818487sheet:48701129-315194182911
njpa-row:1919488sheet:48801238-15-143623-13
njpa-row:2020489sheet:4890175-2-43024-6
1–20 / 410

여섯 프로토콜의 네 평균·분모
프로토콜집단 0=PA 1=NJ시점n합평균부호
paired-gamma00pre7510241
paired-gamma00post75-1
paired-gamma01pre309-1
paired-gamma01post3091
paired-gamma050pre751
paired-gamma050post75-1
paired-gamma051pre309-1
paired-gamma051post3091
paired-gamma10pre7524831
paired-gamma10post752316-1
paired-gamma11pre309-1
paired-gamma11post3099270301
available-gamma00pre7710441
available-gamma00post77-1
available-gamma01pre321-1
available-gamma01post3191
available-gamma050pre771
available-gamma050post77-1
available-gamma051pre321-1
available-gamma051post3191
available-gamma10pre7725491
available-gamma10post772398-1
available-gamma11pre321-1
available-gamma11post31996201

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

1–20 / 4686
모든 사전·사후 영향 기여
프로토콜ID보고 키시점셀 nY셀 평균기여
paired-gamma0njpa-row:1sheet:46pre7533
paired-gamma0njpa-row:1sheet:46post75
paired-gamma0njpa-row:2sheet:49pre75
paired-gamma0njpa-row:2sheet:49post754
paired-gamma0njpa-row:3sheet:506pre755
paired-gamma0njpa-row:3sheet:506post757
paired-gamma0njpa-row:4sheet:56pre7524
paired-gamma0njpa-row:4sheet:56post752
paired-gamma0njpa-row:5sheet:61pre7511
paired-gamma0njpa-row:5sheet:61post7534
paired-gamma0njpa-row:7sheet:445pre7553
paired-gamma0njpa-row:7sheet:445post7520
paired-gamma0njpa-row:8sheet:451pre7515
paired-gamma0njpa-row:8sheet:451post7532
paired-gamma0njpa-row:9sheet:455pre757
paired-gamma0njpa-row:9sheet:455post755
paired-gamma0njpa-row:10sheet:458pre754
paired-gamma0njpa-row:10sheet:458post754
paired-gamma0njpa-row:11sheet:462pre75
paired-gamma0njpa-row:11sheet:462post755
1–20 / 4686

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

1–20 / 2376
중복 SHEET를 보존한 보고집단 점수
프로토콜보고 키기여 합제곱
paired-gamma0sheet:46
paired-gamma0sheet:49
paired-gamma0sheet:506
paired-gamma0sheet:56
paired-gamma0sheet:61
paired-gamma0sheet:445
paired-gamma0sheet:451
paired-gamma0sheet:455
paired-gamma0sheet:458
paired-gamma0sheet:462
paired-gamma0sheet:468
paired-gamma0sheet:469
paired-gamma0sheet:470
paired-gamma0sheet:474
paired-gamma0sheet:481
paired-gamma0sheet:483
paired-gamma0sheet:487
paired-gamma0sheet:488
paired-gamma0sheet:489
paired-gamma0sheet:490
1–20 / 2376

같은 보고 키로 묶는 것과 물리적 점포 동일성 인증은 다릅니다. 사전·사후 기여를 같은 원행 안에서 합친 뒤 보고집단별로 다시 합칩니다. 두 시점 공분산을 지우고 각각 독립이라고 가정한 분산을 대신 넣지 않습니다.

원 그림과 원 수치

원본 이미지와 확대
기업 · paired
기업 · paired · 원본 확대 · 모든 표시점 3
원본 이미지와 확대
기업 · available
기업 · available · 원본 확대 · 모든 표시점 3

전체 그래프 정확 수치 CSV · 전체 적합·영향 CSV

Use 410 actual restaurant-survey records from the public Card–Krueger NJPA ZIP. Preserve all 46 native fields, status/date tokens and SHEET. Code 407 occurs in two source rows, retained under separate analysis IDs. Their physical-business identity is not newly authenticated; a shared reporting group is an explicit computational declaration. Do not silently rename 410 records as verified unique physical stores.

Define FTEγ=FT+γPT+M for γ=0,1/2,1. All definitions require the same observed FT/PT/M components, even at γ=0. There are 398 pre-wave observations, 396 post-wave and 384 pairs. Paired uses the same PA 75 and NJ 309 records; available uses wave-specific PA 77/77 and NJ 321/319.

Descriptive NJ-minus-PA post-minus-pre DID, in each γ-specific FTE unit
Frameγ=0γ=1/2γ=1
Paired 3843.0882200652.7500000002.411779935
Available, wave counts 398/3963.1832022632.7536057832.324009303

On a fixed frame the contrast is affine in γ, so its midpoint equals the average of the endpoints; paired γ=1/2 is exactly 11/4. The same identity holds within available. Moving between frames also changes composition, so similar middle estimates do not establish absence of missingness bias. PA counts of 77 at each wave do not imply the same 77 records: only 75 are paired.

Δ^γ=Δ^0+γ(Δ^1−Δ^0),Δ^1/2=Δ^0+Δ^12on a fixed frame.\widehat\Delta_{\gamma}=\widehat\Delta_0+\gamma(\widehat\Delta_1-\widehat\Delta_0),\qquad \widehat\Delta_{1/2}=\frac{\widehat\Delta_0+\widehat\Delta_1}{2}\quad\text{on a fixed frame}.

Six permanent-closure records with native status 3 already have zero post-wave components. Those zeros are not new missing-value imputations. Do not classify every missing item as a closure. Six positive descriptive contrasts do not establish a universal minimum-wage causal effect without discussion of comparison trends, measurement, composition and inference.

From source rows to all protocols

These tables retain complete declared frames. Expand a shortened fraction using its value button on this page; source CSVs and original enlarged figures remain available. IDs, missingness and units are not silently changed for display.

All descriptive protocol results
ProtocolSource rowsEligibleExcludedEstimateEstimate unitRow HC0 varianceReporting-group HC0 variance
paired-gamma041038426FTE at gamma 0
paired-gamma0541038426FTE at gamma 1/2
paired-gamma141038426FTE at gamma 1
available-gamma04104100FTE at gamma 0
available-gamma054104100FTE at gamma 1/2
available-gamma14104100FTE at gamma 1

Variance columns use squared estimate units. HC0 does not include automatic finite-sample corrections, confidence intervals or p-values. Means, slopes and alternative outcome definitions have distinct units.

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

1–20 / 410
All 410 native records and two-wave employment components
Source rowSHEETSTATESTATUS2DATE2EMPFTEMPPTNMGRSEMPFT2EMPPT2NMGRS2
14601111792301533.5353
249011112926.56.540154
350601111292372374
45601111492202040362
5610111149262652836
662011114920315———
7445011107925035315185
845101111792101752696
9455011112922853122
10458011117922102292
11462011222922.52031254
1246801110792403039324
134690111169282757394
144700111179210.530318103
15474011222926935203
1648101111792517.531543
174830111129211514133
184870111119210626203
1948801111192201335153
204890111189252322193
1–20 / 410

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

1–20 / 410
All three FTE definitions on common component frames
analysisIDsourceRownativeSHEETreportingGroupstatestatus2beforeFTE0afterFTE0deltaFTE0beforeFTE05afterFTE05deltaFTE05beforeFTE1afterFTE1deltaFTE1
njpa-row:1146sheet:4601332448
njpa-row:2249sheet:4901417192
njpa-row:33506sheet:50601572212142
njpa-row:4456sheet:5601242-223420-144438-6
njpa-row:5561sheet:61011134232437370
njpa-row:6662sheet:62015————36——
njpa-row:77445sheet:445015320-33298838-50
njpa-row:88451sheet:451011532171332419
njpa-row:99455sheet:4550175-21111015172
njpa-row:1010458sheet:4580144091413-1
njpa-row:1111462sheet:462015230
njpa-row:1212468sheet:468014313-305829-297345-28
njpa-row:1313469sheet:469011311-24405010
njpa-row:1414470sheet:47001212631
njpa-row:1515474sheet:4740198-118182810
njpa-row:1616481sheet:48101818102022
njpa-row:1717483sheet:48301275417203
njpa-row:1818487sheet:48701129-315194182911
njpa-row:1919488sheet:48801238-15-143623-13
njpa-row:2020489sheet:4890175-2-43024-6
1–20 / 410

Four means and denominators for all six protocols
ProtocolGroup 0=PA 1=NJWavenSumMeanContrast sign
paired-gamma00pre7510241
paired-gamma00post75-1
paired-gamma01pre309-1
paired-gamma01post3091
paired-gamma050pre751
paired-gamma050post75-1
paired-gamma051pre309-1
paired-gamma051post3091
paired-gamma10pre7524831
paired-gamma10post752316-1
paired-gamma11pre309-1
paired-gamma11post3099270301
available-gamma00pre7710441
available-gamma00post77-1
available-gamma01pre321-1
available-gamma01post3191
available-gamma050pre771
available-gamma050post77-1
available-gamma051pre321-1
available-gamma051post3191
available-gamma10pre7725491
available-gamma10post772398-1
available-gamma11pre321-1
available-gamma11post31996201

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

1–20 / 4686
Every pre/post influence component
ProtocolIDReport keyWaveCell nYCell meanContribution
paired-gamma0njpa-row:1sheet:46pre7533
paired-gamma0njpa-row:1sheet:46post75
paired-gamma0njpa-row:2sheet:49pre75
paired-gamma0njpa-row:2sheet:49post754
paired-gamma0njpa-row:3sheet:506pre755
paired-gamma0njpa-row:3sheet:506post757
paired-gamma0njpa-row:4sheet:56pre7524
paired-gamma0njpa-row:4sheet:56post752
paired-gamma0njpa-row:5sheet:61pre7511
paired-gamma0njpa-row:5sheet:61post7534
paired-gamma0njpa-row:7sheet:445pre7553
paired-gamma0njpa-row:7sheet:445post7520
paired-gamma0njpa-row:8sheet:451pre7515
paired-gamma0njpa-row:8sheet:451post7532
paired-gamma0njpa-row:9sheet:455pre757
paired-gamma0njpa-row:9sheet:455post755
paired-gamma0njpa-row:10sheet:458pre754
paired-gamma0njpa-row:10sheet:458post754
paired-gamma0njpa-row:11sheet:462pre75
paired-gamma0njpa-row:11sheet:462post755
1–20 / 4686

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

1–20 / 2376
Reporting scores retaining duplicate SHEET
ProtocolReport keyScore sumSquared
paired-gamma0sheet:46
paired-gamma0sheet:49
paired-gamma0sheet:506
paired-gamma0sheet:56
paired-gamma0sheet:61
paired-gamma0sheet:445
paired-gamma0sheet:451
paired-gamma0sheet:455
paired-gamma0sheet:458
paired-gamma0sheet:462
paired-gamma0sheet:468
paired-gamma0sheet:469
paired-gamma0sheet:470
paired-gamma0sheet:474
paired-gamma0sheet:481
paired-gamma0sheet:483
paired-gamma0sheet:487
paired-gamma0sheet:488
paired-gamma0sheet:489
paired-gamma0sheet:490
1–20 / 2376

A shared reporting key is not certified physical-store identity. Combine pre/post contributions within source rows and then declared reporting groups; do not replace this with an assumption that waves are independent.

Original figures and underlying numbers

Original image and enlargement
Company · paired
Company · paired · Original enlargement; all plot points 3
Original image and enlargement
Company · available
Company · available · Original enlargement; all plot points 3

Full exact chart-values CSV · All fit and influence rows CSV

학부Undergraduate

34. 전체 장부·수치표·그래프를 함께34. Full ledgers, numeric tables and graphs

실제 자료 실습에서는 개인·국가·기업을 고르고 전체 프로토콜을 확인합니다. 표본을 보기 좋게 줄인 예제가 아니라 선언한 3613개·240개·410개 분석 원행을 보존합니다. 각 프로토콜의 포함 여부, 추정치, 적합값·잔차 또는 DID 기여를 원 ID로 잇습니다. 제외된 행도 원자료 장부에서 사라지지 않습니다.

그래프는 수치의 구조를 빠르게 볼 수 있지만 표를 대신하지 않습니다. 개인은 교육 연수와 기록 결과의 관계, 국가는 기간별 실업 수준·변화와 GDP 성장률의 관계, 기업은 γ와 프레임에 따른 대비를 읽습니다. 국가 그림의 가로축은 실업 수준 또는 실업 변화이며, 관측 연도는 기간 선택과 원행 장부에서 확인합니다. 원행 번호가 표시된 곳에서는 그 번호를 시간으로 해석하지 않습니다. 빠진 값을 선으로 이어 관측한 것처럼 만들거나 0으로 채워 그리지 않습니다.

좁은 화면에서는 축 글자를 줄여 원 분수를 억지로 다 넣기보다 짧은 수치와 읽을 수 있는 글자를 사용합니다. 여러 열의 표는 내부 가로 스크롤과 머리글을 유지하며 정확한 값은 펼쳐 확인합니다. 원 SVG·PNG 확대와 수치 CSV는 함께 보존하므로 웹 그래프와 원 그림을 대조할 수 있습니다.

수업 활동은 세 단계입니다. ① 한 프로토콜의 분모를 장부에서 직접 세어 봅니다. ② 표의 한 추정치를 원 수치로 다시 계산합니다. ③ 그래프에서 보이는 패턴을 한 문장으로 기술하고, 그 문장만으로 말할 수 없는 인과 주장도 한 문장으로 적습니다. 재미있는 모양을 찾는 활동과 증거의 범위를 확인하는 활동을 같이 합니다.

Choose person, country or firm and inspect every declared actual protocol. Retain all 3613,240 and 410 analytical source records rather than shrinking them to a convenient display sample. Link eligibility, estimates, fitted/residual values or DID contributions to native identities. Excluded records remain in the ledger.

Charts reveal structure but do not replace numbers. Read schooling and outcomes for people, window-specific unemployment levels or changes against GDP growth for countries, and γ/frame contrasts for restaurants. Country plots use unemployment levels or changes on the horizontal axis; inspect observation years in window declarations and source ledgers. Where a source-row index is shown, it is not time. Do not connect missing values as observations or fill them with zero.

On narrow screens, use readable labels and short values instead of squeezing full fractions into every axis or cell. Multi-column tables scroll internally; exact values remain expandable. Original SVG/PNG enlargement and numerical CSVs permit comparison with web charts.

Activity: count one protocol’s denominator from its ledger; recompute one estimate from source values; then write one descriptive pattern and one causal claim the pattern alone cannot establish. Pair exploration with checking evidential scope.

학부Undergraduate

35. 학자에게서 배울 세 가지 질문35. Three questions from methodological work

학자의 이름은 계산의 전제를 대신하지 않습니다. 누구의 방법인지 배우는 목적은 “그 사람이 유명하니 맞다”가 아니라 어떤 문제를 해결하려 했고 무엇을 보장하지 않는지 이해하는 데 있습니다. 이 장은 오류율, 연구자의 선택, 경제학 재현 환경이라는 세 층을 연결합니다.

Sture Holm의 1979년 순차 다중검정 방법은 R 공식 문서의 참고문헌에도 연결되어 있습니다. 이 장에서 배울 질문은 “어떤 참 귀무가설의 오류를 어떤 가족에서 제어하는가?”입니다. 정렬 공식만 외우기보다 첫 참 귀무가설과 합집합 부등식 증명을 다시 설명해 보세요. 논문 제목과 서지를 확인한 것과 원 논문 전체를 읽은 것은 구별합니다. R 공식 p.adjust 문서.

Brian Nosek은 COS 공동 설립자이며 공식 소개는 심리학·연구 방법과 문화 개선을 연결합니다. 여기서 배울 질문은 “결과를 보기 전에 정한 것과 본 뒤 정한 것을 어떻게 구분해 남기는가?”입니다. 사전 등록을 탐색 금지나 타당성 인증으로 바꾸어 해석하지 않습니다. COS 인물 소개.

Lars Vilhuber의 Cornell 공식 소개는 노동경제 자료·기밀성·재현 가능성을 연결하고 AEA의 첫 Data Editor 역할을 설명합니다. 배울 질문은 “다른 사람이 접근 가능한 경로와 설명으로 같은 결과를 만들 수 있는가?”입니다. 공개하기 어려운 자료가 있으면 가능한 접근 절차와 재현 범위를 설명해야 하며, 저널 정책을 읽었다고 우리 패키지가 인증된 것은 아닙니다. Cornell 공식 소개.

Names do not replace assumptions. Learn what a method addresses and what it leaves unresolved, rather than relying on authority. This chapter connects error rates, analytical choices and reproducible economic research.

Sture Holm’s 1979 sequential method is referenced in the official R documentation. Ask which true-null errors are controlled in which family, and explain the first-true-null proof rather than memorising an ordering formula. A verified reference is not a claim to have read the full paper. Official R p.adjust documentation.

Brian Nosek is a COS co-founder whose official profile connects psychology, research methods and research culture. Ask how before-outcome choices are distinguished from choices after inspection. Preregistration is neither a ban on exploration nor a certificate of validity. COS profile.

Lars Vilhuber’s Cornell profile connects labour data, confidentiality and reproducibility and describes his inaugural AEA Data Editor role. Ask whether others have an explained access and execution path. For restricted data, document feasible access and verification scope. Reading a journal policy does not certify our package. Cornell profile.

학부Undergraduate

36. 본문 영상: 계획과 탐색을 구별하기36. In-page video: plans and exploration

COS 공식 사전 등록 안내가 연결한 Preregistration: Improve Research Rigor, Reduce Bias 영상을 본문에서 재생하며 학습합니다. 시청 전에는 “관련 자료를 보기 전 선택”, “자료를 본 뒤 선택”, “변경 이유 공개” 세 칸을 만들어 보세요. 영상을 우리 실제 자료의 특정 계수나 실행 결과에 대한 설명으로 간주하지 않습니다.

시청 중에는 자신이 실제로 확인한 설명을 자기 말로 세 칸에 적습니다. 영상 발언을 인용하려면 실제로 들은 문장과 재생 시각을 확인합니다. 여기서는 확인하지 않은 정밀 시각이나 발언을 만들어 넣지 않습니다. 영어 자료를 읽는 것이 어렵다면 먼저 이 장의 1–5절에서 핵심 개념을 한국어로 정리한 뒤 질문을 들고 시청합니다.

시청 뒤에는 두 학생의 상황을 비교합니다. A는 결과를 이미 본 NLS에서 새 프로토콜을 기록했고, B는 아직 공개되지 않은 다음 조사 자료에 대해 규칙을 고정했습니다. A의 투명한 회고적 분석과 B의 실제 사전성은 어떤 추가 이력으로 구별할 수 있을까요? 이 장의 timing 라벨 하나만으로 둘을 인증할 수 없다는 점을 설명합니다.

마지막으로 자신의 계획에서 예상과 다른 결과가 나왔을 때 바꾸고 싶은 항목 하나를 찾아 보세요. 그것이 진짜 자료 오류를 고치는 변경인지, 더 유리한 결론을 고르는 선택인지 판단할 근거를 적습니다. 영상을 감상하는 데서 멈추지 않고 실제 프로토콜 문장 하나를 더 명료하게 고칩니다.

Play Preregistration: Improve Research Rigor, Reduce Bias, linked by the official COS preregistration page, inside this chapter. Before viewing, make three columns: choices before relevant data, choices after inspection and reasons for deviations. The webinar is not presented as an explanation of our particular coefficients or executions.

Record explanations you actually hear in your own words. If quoting, check the wording and playback time; no unverified precise timestamps or statements are supplied here. If the English material is difficult, review sections 1–5 first and watch with specific questions.

Then compare A, who writes a new NLS protocol after seeing its outcomes, with B, who fixes rules for a not-yet-released survey. What additional history distinguishes transparent retrospective work from genuine prospective work? Explain why a timing label alone does not authenticate either.

Identify one rule you would be tempted to change after an unexpected result. What evidence distinguishes correcting a real data error from selecting a more favourable conclusion? Use the video activity to clarify one actual protocol sentence.

학부Undergraduate

37. 자료 읽기: 각 문서에 질문 하나37. Read each source with a concrete question

참고자료는 링크 수를 늘리기보다 지금의 문제를 해결하는 데 씁니다. 아래 네 읽기에는 다른 역할이 있습니다. 먼저 짧은 공식 안내와 함수 문서를 읽고, 자신의 프로토콜에서 바꾸거나 확인할 한 줄을 찾습니다. 문서가 한 연구의 인과 가정을 대신 증명해 주지는 않습니다.

서로 다른 목적의 네 읽기
읽기확인할 내용읽은 뒤 할 일
COS 사전 등록 안내계획·탐색·투명한 변경이미 본 정보를 적기
R p.adjust 공식 문서방법·가족 크기 n·결측M=3과 M=5 손계산 대조
AEA 데이터·코드 정책출처·코드·접근과 계산 설명패키지에서 빠진 연결 찾기
README 안내 예시자료 접근·환경·실행 경로자신의 명령과 파일 역할 쓰기

COS 안내에서는 선택의 시간 순서를 봅니다. R 공식 p.adjust 문서에서는 n이 입력 길이보다 클 수 있는 경우와 방법별 의미를 읽습니다. 문서의 “의존성 허용”을 입력 p값의 유효성 면제로 읽지 않습니다.

AEA 정책은 경제학 저널이 재현 자료를 어떻게 요구하는지 보는 구체적 사례입니다. 모든 연구·교육 사이트에 대한 보편 인증 기준이라고 바꾸어 말하지 않습니다. README 안내 예시에서는 데이터·소프트웨어·실행 설명의 구조를 참고하되 서식을 그대로 복사하기보다 자신의 실제 파일과 명령을 씁니다.

자료를 읽었다고 할 때도 범위를 적습니다. 함수 문서 전체를 읽은 것, 정책의 관련 절을 읽은 것, 논문의 서지만 확인한 것, 영상 링크를 확인한 것은 다른 활동입니다. 도달하지 못한 원 논문이나 시청하지 않은 영상을 모두 검토했다고 적지 않습니다. 이 습관을 자신의 연구 참고자료 장부에도 적용합니다.

Use readings to solve a current problem rather than accumulate links. The four sources serve different roles. Begin with short official guidance and function documentation, then identify one protocol line to check or improve. None proves a particular causal design for you.

Four readings with distinct purposes
ReadingInspectActivity
COS preregistration guidancePlans, exploration and deviationsList information already seen
Official R p.adjust documentationMethods, family size n and missingnessCompare M=3 and M=5 by hand
AEA data/code policyProvenance, code, access and computationFind a missing package connection
README example guidanceAccess, environment and executionWrite actual commands and file roles

Use COS guidance to examine chronology. In the official R documentation, examine declared n and method-specific handling. Dependence allowances do not waive marginal validity.

The AEA policy is a concrete journal practice, not a universal certificate for every teaching site. The README guidance example suggests a structure; write your actual sources, software and commands instead of copying a template wholesale.

Record reading scope: complete short documentation, selected policy sections, a verified paper reference or an observed video link are different activities. Do not claim full-paper reading or video viewing that did not occur. Apply the same precision to your own references.

대학원 연결Graduate bridge

38. 원 CSV만으로 Python·R 재현38. Reproduce from source CSVs in Python and R

재현 실습의 출발점은 실제 원 필드 CSV 세 개입니다. 개인은 52개 원 필드와 원행, 기업은 46개 원 필드와 원행, 국가는 두 지표의 실제 원 레코드를 읽습니다. 이미 계산된 추정치 JSON이나 브라우저 엔진을 답안지로 불러오지 않습니다. 파생 장부를 재현할 때도 원값에서 포함 조건과 변환을 다시 만듭니다.

Python 프로그램은 표준 라이브러리의 Fraction으로 기록 토큰을 유리수로 계산합니다. R 프로그램은 base R의 수치 산술과 QR로 같은 선언 수량을 근사합니다. 언어가 다르다는 사실만으로 이 둘을 외부 독립 검증이라고 부르지 않습니다. 입력 준비와 명세를 공유하는 범위가 있고, 그 부분은 원자료 재독으로 따로 확인해야 합니다.

공개 코드의 입력 폴더와 출력 폴더를 명시해 새 폴더에서 실행하세요. 원 CSV는 덮어쓰지 않습니다. 결과 요약만 보지 말고 프레임 장부·적합값·잔차·DID 셀·기여와 그래프용 숫자까지 확인합니다. 수치가 달라지면 먼저 같은 목표와 행을 썼는지 확인하고, 그다음 선언한 절대·상대 허용오차를 적용합니다.

다운로드한 코드를 읽는 과제도 있습니다. 평균의 빈 프레임, 회귀의 Sxx=0, DID의 빈 셀에서 어떤 값이 나오는지 찾으세요. 미정의와 0이 어디에서 구별되는지, source row와 원 ID를 어떻게 보존하는지 설명합니다. 코드가 실행된다는 경험을 공식과 원행을 이해하는 활동으로 연결합니다.

Python 원문 · R 원문 · 실제 자료·프로토콜 명세

입력 CSV 3개·실행 코드·원 코드북 묶음 · 실행 안내. 압축을 푼 폴더에서 다음 명령을 실행합니다. 기본 출력은 Python의 reproduced와 R의 reproduced-r이며 기존 출력 폴더를 덮어쓰지 않습니다.

python metr24-reproduce.py
Rscript --vanilla --encoding=UTF-8 metr24-reproduce.R

Begin with three actual native-field CSVs: NLS fields plus source row, NJPA fields plus source row and original country indicator records. Do not load precomputed estimate JSON or the browser engine as an answer sheet. Reconstruct eligibility and transformations from original values.

Python uses standard-library Fraction arithmetic on recorded tokens. Base R uses numeric arithmetic and QR to approximate the same declared quantities. Different languages alone are not an external independent review: some preparation and specification remain shared and require separate source rereading.

Declare input and fresh output folders without overwriting sources. Inspect ledgers, fitted values, residuals, DID cells and contributions, and graph numbers rather than summaries alone. If values disagree, align targets and rows before applying the declared absolute and relative tolerance.

Read the programs for an empty mean frame, Sxx=0 regression and an empty DID cell. Explain where undefined differs from zero and how source rows and native IDs survive. Connect execution to understanding equations and original observations.

Python source · R source · Actual-source protocol specification

Three input CSVs, executable code and original codebooks · Run instructions. Run these commands from the extracted folder. Default outputs are reproduced for Python and reproduced-r for R; existing output directories are not overwritten.

python metr24-reproduce.py
Rscript --vanilla --encoding=UTF-8 metr24-reproduce.R
학부Undergraduate

39. 프로젝트: 다른 사람이 따라갈 패키지39. Project: a package another reader can follow

세 실제 사례 중 하나를 골라 자신의 질문을 한 문장으로 씁니다. 이미 공개 값을 보았다면 그 사실을 밝히고 회고적 분석으로 시작합니다. 주 보기와 보조 보기를 정하고, 원자료·변환·프레임·방법·단위·결론 규칙을 기록합니다. 새 정의를 추가할 때는 기존 결과를 지우지 않고 이름을 붙여 나란히 둡니다.

다음으로 원파일과 분석용 파일, 코드, 결과, README를 연결합니다. manifest에는 실제 확인한 파일의 바이트 수와 해시를 넣고, 경로가 빠지거나 결과가 바뀌었을 때 무엇이 달랐는지 표시합니다. 외부 접근이 필요한 자료는 그 절차를 적습니다. 해시 장부와 과학적 결론 문서는 서로 다른 역할을 맡습니다.

짝 검토는 역할을 나눕니다. 한 사람은 코드북·프레임·분모를 읽고 다른 사람은 작은 부분을 직접 손계산합니다. 그 뒤 전체 프로그램을 새 출력 폴더에서 실행하고 원 결과와 대조합니다. 공유한 코드와 각자 새로 계산한 범위를 적어 독립성을 과장하지 않습니다. 한영 설명의 ID·단위·미정의 뜻이 같은지도 점검합니다.

제출물은 질문·프로토콜 문서, 원자료와 장부, 실행 가능한 코드와 명령, 원 수치가 있는 표·그림, 조건과 반박 기준을 적은 결론입니다. 최소 한 가지 불일치나 판단이 어려운 점을 기록해 해결 경로나 미해결 한계를 설명합니다. 결과가 단정적이어야 좋은 프로젝트인 것이 아니라, 다른 사람이 어디서 동의하거나 반박하는지 알 수 있어야 합니다.

Choose one actual case and write a question. If you have viewed public values, disclose that retrospective starting point. Name central and alternative views, with source, transformations, frame, method, units and conclusion rule. Add a new definition beside old results rather than silently replacing them.

Connect originals, analytical files, code, outputs and README. Put actual measured byte counts and hashes in the manifest; identify missing paths and changed results. Explain any external-access procedure. A hash ledger and a scientific conclusion serve different roles.

Divide peer work: one reader checks codebook and denominators, another hand-calculates a small part. Then run the full code into a fresh output folder and compare results. Disclose shared code and newly separate reasoning. Also check that Korean and English agree on IDs, units and undefined states.

Submit the protocol, originals/ledgers, executable code/commands, numeric tables/figures and a conditional conclusion with challenge criteria. Record at least one disagreement or difficult judgement and its resolution or remaining limit. A strong project need not force certainty; it should let others locate agreement and disagreement.

학부Undergraduate

40. 총서 마무리: 이해에서 반박 가능한 연구로40. Capstone: from understanding to contestable research

수리기초에서는 기호·함수·미분·행렬의 언어를 익혔습니다. 통계학은 자료의 변동과 확률·추정을, 데이터 사이언스는 원자료를 다루는 경로를 더했습니다. 경제학은 선택·제약·균형·정책 질문을 분명히 했고, 계량경제학은 관측된 관계와 인과 질문 사이의 가정을 드러냈습니다. 머신러닝과 인공지능의 예측·검증·적응 문제도 훈련 정보와 새로운 평가를 구별한다는 점에서 이어집니다.

이제 작은 완결 연구를 설계합니다. 질문을 평이한 말로 쓰고, 같은 뜻의 식을 적습니다. 실제 자료의 원행과 변수를 읽고, 결과 단위를 선언합니다. 계산 규칙을 설명한 뒤 손으로 확인할 작은 예를 만듭니다. 전체 자료를 실행해 원 수치가 있는 표·그림으로 보여 주고, 바뀐 정의와 제외된 행을 숨기지 않습니다.

학부 단계의 목표는 분모·단위·추정치와 미정의 원인을 스스로 설명하는 것입니다. 대학원 연결에서는 유효 p값과 선택의 조건, 집합 논리와 확률적 포함의 차이, 식별·모형·외적 타당성의 범위를 검토합니다. 긴 식을 쓰는 능력만으로 단계가 올라가는 것이 아닙니다. 어떤 줄이 어떤 전제를 쓰는지 설명할 수 있어야 합니다.

마지막 결론은 네 문장으로 써 보세요. ① 이 자료와 프레임에서 계산한 것은 무엇인가. ② 결과의 단위·크기·불확실성 또는 정의 변화는 무엇인가. ③ 어떤 추가 가정 아래 더 강한 해석이 가능한가. ④ 어떤 자료·반례·가정 변경이 그 결론을 바꿀 수 있는가. 이 네 문장이 코드·장부·표와 연결되면 학습은 답을 보는 단계에서 다른 사람이 검토할 수 있는 연구로 이어집니다.

Mathematical foundations introduced symbols, functions, derivatives and matrices. Statistics added variation, probability and estimation; data science added paths from raw records. Economics clarified choices, constraints, equilibria and policy questions. Econometrics exposed assumptions connecting observed relations to causal questions. Prediction, validation and adaptation in machine learning and AI continue the distinction between information used for fitting and genuinely new evaluation.

Design a small complete study: state a plain-language question and matching equation, read actual source rows, declare variables and units, explain the calculation and construct a hand-checkable example. Run the full declared data and present tables and charts with underlying values. Disclose changed definitions and exclusions.

An undergraduate goal is to explain denominators, units, estimates and undefined states. The graduate bridge examines valid p-values after selection, set logic versus probabilistic coverage, and identification, modelling and external validity. Longer equations alone do not establish depth; explain which premise supports each step.

Write the final conclusion in four sentences: what was calculated on which frame; its units, magnitude and uncertainty or definition variation; assumptions needed for a stronger interpretation; and evidence, counterexamples or premise changes that could change the conclusion. Connect those sentences to code, ledgers and tables so another reader can examine the study.

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

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

1. 먼저 본 결과와 사전 등록Previous exposure and registration

이미 세 가지 결과를 모두 확인한 뒤 가장 크게 오른 점수를 주 결과로 등록했다. 어떤 사실을 공개해야 하는가?

After viewing three outcomes, an analyst registers the largest increase as primary. What should be disclosed?

풀이와 확인할 이유Solution and explanation

자료와 세 결과를 이미 보았고 그 뒤 주 결과를 골랐다는 순서를 밝힙니다. 등록 문서가 생겨도 그 선택이 결과를 보기 전 선택으로 바뀌지는 않습니다.

탐색적 발견으로 보고하고, 다른 표본이나 향후 자료에서 고정된 규칙으로 검증할 수 있습니다. 발견을 숨기거나 과거 시점을 꾸밀 필요는 없습니다.

Disclose that the three outcomes were already inspected and the primary choice followed that inspection. A registration does not turn it into a before-outcome choice.

Report an exploratory discovery and consider a fixed-rule test on another sample or future data. Neither conceal the finding nor invent chronology.

2. 변경 장부의 최소 항목A minimal deviation ledger

코드북에서 999가 점수가 아니라 결측 코드임을 뒤늦게 발견했다. 평균을 다시 계산할 때 남길 기록을 제안하라.

The codebook later reveals that 999 means missing rather than a score. What should accompany the recalculated mean?

풀이와 확인할 이유Solution and explanation

원 999 토큰과 해당 원행을 보존합니다. 원 규칙은 숫자 999로 사용했고 새 규칙은 결측으로 제외한다는 전후 정의를 적습니다.

코드북 근거, 발견 시점, 이미 본 결과, 바뀐 분모와 평균을 함께 남깁니다. 이것은 오류를 고치는 근거이며 모든 결측 선택 문제가 없어졌다는 증명은 아닙니다.

Preserve the native 999 token and its source row. Describe the old numeric treatment and the revised missing-value rule.

Record the codebook evidence, discovery time, results already viewed, new denominator and mean. This justifies a correction without proving away all missingness-related selection.

3. 기울기의 단위The unit of a slope

시급 Y는 센트/시간, 교육 X는 연수이다. β=30이면 단위는 무엇이며 Y를 달러/시간으로 바꾸면 β는?

Y is cents/hour and X schooling years. What is the unit of β=30, and its value after converting Y to dollars/hour?

풀이와 확인할 이유Solution and explanation

단위는 센트/시간/교육 연수입니다. 같은 사람과 같은 회귀식에서 Y*=Y/100이므로 β*=30/100=0.3 달러/시간/교육 연수입니다.

숫자가 100분의 1이 되어도 기술적 관계는 같은 단위 변환입니다. 이것만으로 교육의 인과효과를 말하지 않습니다.

The unit is cents/hour per schooling year. With the same rows and equation, Y*=Y/100 gives β*=30/100=0.3 dollars/hour per schooling year.

The smaller number is the same descriptive relationship in a different unit, not evidence of a causal schooling effect.

4. 로그 평균과 평균의 로그Mean logs and the log of a mean

두 가상 임금이 1과 9이다. 평균 로그와 평균 임금의 로그를 비교하라.

Two constructed wages are 1 and 9. Compare mean log wage with the log of mean wage.

풀이와 확인할 이유Solution and explanation

평균 로그는 (log1+log9)/2=log3입니다. 평균 임금은 (1+9)/2=5이므로 그 로그는 log5입니다.

3과 5가 다르므로 두 로그도 다릅니다. 변환 순서를 바꾸면 목표가 달라집니다. 실제 기록 로그에서 별도 결측 처리까지 있었다면 표본 차이도 따로 확인해야 합니다.

Mean log wage is (log1+log9)/2=log3. Mean wage is (1+9)/2=5, whose log is log5.

Because 3 and 5 differ, the logarithms differ. Transformation order changes the target. Separately inspect frame changes if actual recorded logs have their own missingness rules.

5. 주 결과와 보조 결과Primary and secondary targets

이미 본 NLS 자료에서 로그 기울기와 원 시급 기울기를 모두 공개한다. 하나를 중심 보기로 지정하면 다른 보기를 지워도 되는가?

For already viewed NLS data, both log and raw-wage slopes are available. May the alternative be deleted after naming one central view?

풀이와 확인할 이유Solution and explanation

중심 보기 지정은 역할을 설명하지만 시도한 다른 분석을 없던 것으로 만들지 않습니다. 선택 범위를 이해하는 데 필요한 보조 보기와 단위·프레임을 공개합니다.

이 장에서는 회고적 교육용 선택임을 밝힙니다. 모든 가능한 분석을 무한히 나열하는 것이 아니라, 실제로 시행한 관련 선택과 변경을 추적 가능하게 남깁니다.

Naming a central view explains its role but does not erase another analysis that was tried. Disclose relevant alternatives, units and frames needed to understand the search.

Here the choice is explicitly retrospective teaching. The aim is not an infinite list of every imaginable model, but a traceable account of relevant attempted choices and deviations.

6. 라벨이 인증하는 범위What a label authenticates

실습에서 timing을 prospective-claimed로 선택했다. chronologyAuthenticated가 false인 것은 계산 실패인가?

The lab timing is prospective-claimed but chronologyAuthenticated is false. Has computation failed?

풀이와 확인할 이유Solution and explanation

아닙니다. timing은 사용자가 선언한 내용이고 chronologyAuthenticated는 외부 이력을 실제 확인했는지의 여부입니다. 프로그램은 등록 시각이나 이전 자료 접근을 조사하지 않습니다.

계산 가능한 평균·회귀는 그대로 계산하되, 진짜 사전성에 대한 인증을 부여하지 않는 것이 정확합니다.

No. Timing records a supplied declaration; chronologyAuthenticated states whether external chronology was verified. The program does not inspect registration times or previous access.

It computes the requested arithmetic while correctly withholding an authenticity certificate about prospective timing.

7. 원행과 분석 분모Original rows and analytical denominators

가상 Y=(1,3,결측)이고 셋 모두 같은 기간 안이다. 평균·분모·원행 수를 각각 구하라.

Constructed Y=(1,3,missing), all within the period. Find the mean, denominator and native row count.

풀이와 확인할 이유Solution and explanation

관측 합은 1+3=4이고 관측 분모는 2이므로 평균은 2입니다. 원행 수는 여전히 3입니다.

결측을 0으로 채우면 4/3이 되어 다른 규칙입니다. 원 장부에는 세 행을 모두 남기고 결측 행의 제외 이유를 표시합니다.

The observed sum is 4 and its denominator 2, giving mean 2. The native row count remains 3.

Filling missingness with zero gives 4/3, a different rule. Keep all three ledger rows and mark the excluded outcome.

8. 빈 합과 빈 평균An empty sum and an empty mean

어떤 기간에 적격 행이 하나도 없다. 합을 0으로 둘 수 있는데 평균을 0으로 두면 안 되는 이유는?

No rows are eligible in a period. Why may the sum be zero while the mean is not zero?

풀이와 확인할 이유Solution and explanation

빈 합 0은 덧셈의 항등원 규칙입니다. 평균은 합/개수이므로 0/0이 되어 정의되지 않습니다.

0이라는 평균을 인쇄하면 관측된 값의 중심이 0이었다고 오해하게 합니다. empty-frame과 미정의를 표시하고 임의의 점을 그리지 않습니다.

An empty sum uses the additive-identity convention zero. A mean divides by the count and becomes 0/0, which is undefined.

Printing a mean of zero falsely suggests observed values centred on zero. Report an empty frame and undefined output without a fabricated point.

9. 세 점의 회귀를 끝까지Complete a three-point regression

X=(0,1,2), Y=(1,2,5), 상수 포함·통제 없음의 기울기·절편·잔차제곱합을 구하라.

With X=(0,1,2), Y=(1,2,5), an intercept and no controls, find slope, intercept and SSE.

풀이와 확인할 이유Solution and explanation

평균은 X=1, Y=8/3입니다. Sxx=1+0+1=2, Sxy=(−1)(−5/3)+0+(1)(7/3)=4이므로 기울기는 2입니다.

절편은 8/3−2=2/3입니다. 적합값은 2/3,8/3,14/3이고 잔차는 1/3,−2/3,1/3입니다. SSE=1/9+4/9+1/9=2/3입니다.

Means are X=1 and Y=8/3. Sxx=2 and Sxy=(−1)(−5/3)+0+(1)(7/3)=4, so the slope is 2.

The intercept is 8/3−2=2/3. Fitted values are 2/3,8/3,14/3; residuals are 1/3,−2/3,1/3, giving SSE=2/3.

10. 네 평균으로 DIDDID from four means

비교집단 pre=(1,3), post=(2,4), 처리집단 pre=(2,4), post=(6,8)이다. paired DID를 구하라.

Comparison pre=(1,3), post=(2,4); treated pre=(2,4), post=(6,8). Find paired DID.

풀이와 확인할 이유Solution and explanation

비교집단 평균은 2→3이므로 변화 1입니다. 처리집단 평균은 3→7이므로 변화 4입니다.

DID=(7−3)−(3−2)=3입니다. 이것은 가상 네 기록의 기술적 대비이고 인과효과 해석에는 별도 가정이 필요합니다.

Comparison means move 2→3, a change of 1. Treated means move 3→7, a change of 4.

DID=(7−3)−(3−2)=3. This constructed four-record contrast needs additional assumptions for a causal interpretation.

11. 상수 X의 기울기A slope with constant X

X=(1,1,1), Y=(1,2,3)이다. 기울기가 0인가? 평균과 최소 적합값은 구할 수 있는가?

X=(1,1,1), Y=(1,2,3). Is the slope zero? Can the mean and least-squares fitted values be found?

풀이와 확인할 이유Solution and explanation

상수 열과 X가 같은 방향이므로 기울기 자체는 식별되지 않습니다. 어떤 β를 골라도 절편을 2−β로 정하면 적합값이 모두 2입니다.

평균과 최소 적합값 2는 정의되며 SSE=(−1)²+0²+1²=2입니다. 미식별 기울기를 임의의 0으로 대체하여 식별되었다고 보고하지 않습니다.

The intercept and X span the same direction, so the slope is not identified. Any β with intercept 2−β gives fitted values 2.

The mean and least-squares fitted values are defined at 2; SSE=2. Do not replace an unidentified target with zero and call it identified.

12. 같은 규칙과 같은 인과효과A fixed rule and a causal effect

교육–임금 회귀식을 자료 보기 전에 고정하고 정확히 실행했다. 이 사실만으로 교육의 인과효과인가?

A schooling–wage equation is fixed before viewing data and executed exactly. Is that alone a causal schooling effect?

풀이와 확인할 이유Solution and explanation

아닙니다. 시간 순서와 실행 정확성은 선택의 투명성을 돕지만 관측된 교육이 외생적으로 배정되었다는 조건을 만들지 않습니다.

교란·선택·측정과 목표 모집단을 검토하고 추가 설계 가정을 밝힙니다. 기술적 기울기로 보고하는 것과 인과효과라고 해석하는 것을 구별합니다.

No. Chronology and correct execution improve transparency but do not make observed schooling exogenously assigned.

Discuss confounding, selection, measurement, the target population and additional design assumptions. Separate a descriptive slope from its possible causal interpretation.

13. 스무 번의 거짓 양성Twenty chances for a false positive

모든 귀무가설이 참이고 20개 검정이 독립이며 각 거짓 기각 확률이 정확히 0.05인 가상 모형이다. 하나 이상 거짓 기각할 확률은?

In a constructed model all twenty nulls are true, tests are independent and each rejects falsely with probability exactly 0.05. What is the chance of any false rejection?

풀이와 확인할 이유Solution and explanation

아무 오류도 없을 확률은 (1−0.05)^20=(19/20)^20입니다. 따라서 하나 이상은 1−(19/20)^20≈0.641514입니다.

독립성과 각 오류 확률을 명시했기 때문에 이 곱셈을 쓸 수 있습니다. 의존하는 실제 검정의 오류율이라고 이 값을 붙이지 않습니다.

The probability of no error is (19/20)^20, so any error has probability 1−(19/20)^20≈0.641514.

Multiplication uses the stated independence and exact marginal-error assumptions. Do not attach the value to arbitrary dependent actual tests.

14. Bonferroni 세 값Three Bonferroni adjustments

p=(0.01,0.02,0.04), M=3, α=0.05에서 조정 p와 기각을 구하라.

For p=(0.01,0.02,0.04), M=3 and α=0.05, find adjusted p-values and decisions.

풀이와 확인할 이유Solution and explanation

각 p에 3을 곱하고 1로 자르면 0.03,0.06,0.12입니다. 조정값이 0.05 이하인 첫 검정만 기각합니다.

같은 예제의 원 p 문턱은 α/M=1/60입니다. 이 통상적인 α 범위에서는 같은 판단입니다.

Multiply each p by three and cap at one: 0.03,0.06,0.12. Only the first is at most 0.05.

The raw-p threshold is α/M=1/60, giving the same decisions in this ordinary α range.

15. Holm 세 값Three Holm adjustments

같은 p=(0.01,0.02,0.04), M=3에서 Holm 조정값을 구하라.

Find Holm adjustments for p=(0.01,0.02,0.04), M=3.

풀이와 확인할 이유Solution and explanation

정렬 순서의 곱은 3·0.01=0.03,2·0.02=0.04,1·0.04=0.04입니다. 누적 최대도 0.03,0.04,0.04입니다.

α=0.05에서는 순서대로 모두 기각합니다. 이것은 입력 p값의 유효성·가족 정의 전제 아래의 판단이며 효과 크기가 바뀐 것이 아닙니다.

Sorted products are 0.03,0.04,0.04; their cumulative maxima are the same.

All pass sequentially at α=0.05. This conclusion is conditional on input validity and the family definition, and does not change effect sizes.

16. 첫 실패를 건너뛰지 않기Do not skip the first failure

p=(0.04,0.041), M=2, α=0.05이다. 두번째 p가 0.05보다 작으니 Holm에서 두번째만 기각하는가?

For p=(0.04,0.041), M=2 and α=0.05, may Holm reject the second alone because 0.041<0.05?

풀이와 확인할 이유Solution and explanation

첫 문턱은 0.025이고 0.04가 통과하지 못해 절차가 멈춥니다. 둘 다 기각하지 않습니다.

조정값은 첫 0.08, 둘째 max(0.08,0.041)=0.08입니다. 누적 최대가 앞 실패를 보존합니다.

The first threshold is 0.025; 0.04 fails and the procedure stops. Neither is rejected.

Adjusted values are 0.08 and max(0.08,0.041)=0.08. The cumulative maximum preserves the earlier failure.

17. 다섯 가족에서 세 값Three known values in a family of five

알려진 p가 0.01,0.02,0.04이고 선언 가족은 5개다. Holm 조정값과 모르는 두 검정의 처리 방식은?

Known p-values are 0.01,0.02,0.04 in a declared family of five. Find Holm adjustments and describe the two unknown tests.

풀이와 확인할 이유Solution and explanation

알려진 값의 곱은 5·0.01=0.05,4·0.02=0.08,3·0.04=0.12이고 누적 최대도 같습니다.

모르는 두 검정은 가족 크기에 남되 뒤에 놓는 보수적 산술을 사용합니다. 실제 p값을 1로 관측했다고 쓰지 않고 조정값·기각은 미정의로 표시합니다.

Known products and cumulative maxima are 0.05,0.08,0.12.

Keep unknown tests in M and place them after known values for conservative arithmetic. Do not claim their observed p-values equal one; their adjustments and decisions remain undefined.

18. 독립성이 없어도 필요한 것What remains necessary without independence

“Holm은 의존성 아래서도 되므로 잘못된 표준오차에서 나온 p값을 넣어도 된다”는 주장을 검토하라.

Assess: “Holm allows dependence, so p-values from an invalid standard error are acceptable.”

풀이와 확인할 이유Solution and explanation

틀렸습니다. 검정 간 임의 의존성을 허용하는 증명은 각 참 귀무가설 p값의 주변 유효성 P(p≤t)≤t를 사용합니다.

잘못된 표준오차는 그 전제를 깨뜨릴 수 있습니다. 보정은 연구 설계·표본·모형의 유효성을 자동 인증하지 않습니다.

Incorrect. Dependence-robust error control still uses marginal validity P(p≤t)≤t for each true null.

An invalid standard error can violate that condition. Adjustment does not automatically validate design, sampling or modelling.

19. 최솟값 하나를 보고한 선택Reporting one selected minimum

다섯 검정을 탐색한 뒤 최소 p=0.04 하나만 보고했다. M=5 Bonferroni 조정값은? “실제로 한 번만 했다”는 설명은 왜 부정확한가?

After exploring five tests, only the minimum p=0.04 is reported. Find its M=5 Bonferroni adjustment and assess a claim that only one test was tried.

풀이와 확인할 이유Solution and explanation

조정값은 min(1,5·0.04)=0.20입니다. 다섯 번의 탐색은 한 숫자를 보고한다고 한 번으로 바뀌지 않습니다.

적절한 가족과 선택을 반영하는 추론을 논의해야 합니다. 최종 식의 p값만 세는 것으로 모든 자료 의존 선택 문제가 해결된다고 주장하지 않습니다.

The adjustment is min(1,5·0.04)=0.20. Reporting one number does not erase five attempted tests.

Discuss the appropriate family and selection-aware inference. Counting only final-model p-values does not solve every data-dependent selection issue.

20. 같은 숫자·다른 단위Equal numbers, different units

참조는 로그 점/년 기울기 0.08, 후보는 센트/시간/년 기울기 0.08이다. 허용오차 0에서 합격인가?

Reference slope is 0.08 log points/year; candidate slope is 0.08 cents/hour/year. Do they pass at zero tolerance?

풀이와 확인할 이유Solution and explanation

같은 목표의 수치 검증으로는 비교 불가입니다. 단위와 결과 변환이 다르기 때문입니다.

숫자 차이가 0이라는 사실보다 대상 수량의 정의가 먼저입니다. 각 분석을 별도 목표로 설명하는 비교는 할 수 있습니다.

They are not comparable as reproduction of one target: units and outcome transformations differ.

The quantity’s definition comes before a zero numeric gap. They can still be discussed as separate scientific targets.

21. 허용오차 직접 계산Compute a mixed tolerance

b=100, c=100.01, a=0.001, r=0.0001이다. 차이·문턱·판정을 구하라.

For b=100, c=100.01, a=0.001, r=0.0001, find the gap, bound and decision.

풀이와 확인할 이유Solution and explanation

차이는 0.01입니다. 기준 크기는 max(100,100.01)=100.01이고 문턱은 0.001+0.0001·100.01=0.011001입니다.

0.01≤0.011001이므로 같은 목표라는 전제 아래 수치 허용오차를 통과합니다. 자료 진위나 인과 타당성을 인증한 것은 아닙니다.

The gap is 0.01. Scale=max(100,100.01)=100.01, so the bound is 0.011001.

Because 0.01≤0.011001, the pair passes numerically if targets match. This does not certify authenticity or causality.

22. 둘 다 미정의인 재현Matching undefined outputs

두 프로그램 모두 빈 프레임에서 평균을 null로 반환했다. 평균 0을 재현한 것인가?

Both programs return null for an empty-frame mean. Have they reproduced a mean of zero?

풀이와 확인할 이유Solution and explanation

아닙니다. 둘 다 미정의라는 상태가 일치한 것입니다. matching-undefined로 기록하되 유한 수치의 재현과 분리합니다.

원 프레임과 제외 이유가 타당한지도 확인해야 합니다. 빈 자료에서 일치했다고 분석 대상이 올바르다는 증명도 생기지 않습니다.

No. Their undefined states match. Record matching-undefined separately from finite numerical reproduction.

Check the frame and exclusion reasons too; agreement on an empty frame does not certify a correct target.

23. 화면 0과 정확한 0Displayed zero and exact zero

정확한 평균이 10^−400인데 화면 value=0, displayUnderflow=true이다. 참조 정확값 0과 허용오차 0으로 일치하는가?

An exact mean is 10^−400 but displays value=0 with displayUnderflow=true. Does it match exact reference zero at zero tolerance?

풀이와 확인할 이유Solution and explanation

일치하지 않습니다. 정확 차이는 양수 10^−400이고 문턱은 0입니다. 화면에서 둘 다 0처럼 보여도 다른 수입니다.

정확 분수와 비영 표지를 보존하며 이를 미정의나 진짜 0으로 바꾸지 않습니다.

No. The exact gap is positive 10^−400 while the bound is zero, even if both displays look like zero.

Retain the fraction and nonzero flag rather than replacing it with undefined or mathematical zero.

24. 같은 오류를 공유한 두 코드Two programs sharing one error

Python과 R이 같은 원 임금 결측을 모두 0으로 바꾼 뒤 평균이 일치했다. 무엇이 검증되었고 무엇이 남는가?

Python and R both replace missing raw wages with zero and produce matching means. What is checked, and what remains?

풀이와 확인할 이유Solution and explanation

그 변환을 포함한 두 실행의 수치 일치가 확인된 것입니다. 결측을 0으로 바꾸는 해석이 정당한지는 별도 문제입니다.

코드북·원 토큰·프레임을 읽어 공동 오류를 확인해야 합니다. 다른 언어라는 이유만으로 원자료 해석의 독립 검증이라고 부르지 않습니다.

The executions agree numerically under that shared transformation. Whether replacing missing wages with zero is justified remains a separate question.

Read the codebook, tokens and frame for a common mistake. Different languages alone do not independently validate source interpretation.

25. 의존 순서를 찾기Find a dependency order

raw.csv와 prepare.py가 analysis.csv를, analysis.csv와 fit.py가 result.csv를 만든다. 가능한 위상 순서 하나는?

raw.csv and prepare.py produce analysis.csv; analysis.csv and fit.py produce result.csv. Give a valid topological order.

풀이와 확인할 이유Solution and explanation

예: raw.csv, prepare.py, analysis.csv, fit.py, result.csv입니다. fit.py를 analysis.csv보다 먼저 두어도 둘 사이 의존 화살표가 없다면 가능합니다.

핵심은 raw.csv와 prepare.py가 analysis.csv보다 앞서고, analysis.csv와 fit.py가 result.csv보다 앞서는 것입니다. 순서는 유일하지 않을 수 있습니다.

One order is raw.csv, prepare.py, analysis.csv, fit.py, result.csv. fit.py may also precede analysis.csv if no edge links them.

Both preparation inputs must precede analysis.csv; both estimation inputs must precede result.csv. The order need not be unique.

26. 순환 뒤의 막힌 결과A result blocked downstream of a cycle

A→B, B→A, B→C이다. 위상 정렬에서 A·B·C가 모두 막혔다. C도 반드시 순환의 구성원인가?

Edges are A→B, B→A and B→C. All three are blocked from topological sorting. Must C itself belong to a cycle?

풀이와 확인할 이유Solution and explanation

아닙니다. A와 B가 순환하고 C는 B에 의존해 뒤에서 막혔습니다. C에서 A나 B로 돌아가는 경로는 주어지지 않았습니다.

topologicallyBlockedNodes는 순환 구성원과 그 뒤의 막힌 노드를 모두 포함할 수 있습니다. 별도 순환 분석 없이 모두를 순환 구성원으로 부르지 않습니다.

No. A and B form a cycle; C is blocked downstream because it needs B. No return path from C is specified.

A blocked-node list can contain both cycle members and downstream dependants. Do not label them all cycle members without further analysis.

27. 줄바꿈과 해시Line endings and hashes

숫자 행은 같지만 LF를 CRLF로 바꾸어 SHA가 달라졌다. 수치 결과도 반드시 달라졌는가?

Numeric rows are unchanged but LF becomes CRLF and the SHA differs. Must numerical results differ too?

풀이와 확인할 이유Solution and explanation

아닙니다. 바이트가 달라졌다는 사실과 해석한 숫자가 달라졌다는 사실은 다릅니다. 파서가 둘을 같은 줄바꿈으로 처리하면 숫자는 같을 수 있습니다.

원 바이트·새 바이트와 수치 대조를 각각 남깁니다. 반대로 파일 해시가 같다는 사실만으로 변수 정의나 인과 해석을 인증하지 않습니다.

No. Changed bytes and changed parsed numbers are distinct. A parser may treat both line endings identically.

Preserve old/new bytes and compare numeric content separately. Matching hashes also do not certify variable definitions or causal interpretation.

28. 감사 도구가 실제로 읽은 것What the audit tool actually reads

두 manifest에 같은 64자리 해시와 용량을 직접 입력하여 identical이 나왔다. 실제 파일 바이트가 검사되었는가?

Identical supplied 64-character hashes and sizes yield identical metadata. Were actual file bytes inspected?

풀이와 확인할 이유Solution and explanation

이 API는 입력 메타데이터를 비교했을 뿐 실제 파일을 읽거나 SHA를 계산하지 않았습니다. 사용자가 잘못된 선언을 두 곳에 넣어도 같다고 나올 수 있습니다.

실제 오프라인 해시 계산·바이트 수 기록과 파일 출처를 별도 근거로 연결해야 합니다.

No. This API compares supplied metadata without reading files or computing SHA. Two identical incorrect declarations can agree.

Link separate actual offline hashing, byte-count and acquisition evidence.

29. 성공 종료와 재현 성공Successful exit and reproduction

프로그램이 exit code 0으로 끝났지만 result.csv가 헤더만 있다. 재현 성공으로 볼 수 있는가?

A program exits with code zero but result.csv contains only a header. Is reproduction established?

풀이와 확인할 이유Solution and explanation

아닙니다. 정상 종료는 프로그램 실행 상태이고 기대한 분석 행·수치가 생성되었는지는 별도 검증입니다.

입력 프레임·출력 행 수·미정의 원인·핵심 수치를 검사합니다. 빈 결과가 의도된 것인지 오류인지 명세와 비교해야 합니다.

No. Successful execution does not establish expected rows and values.

Inspect input eligibility, output dimensions, undefined reasons and targets. Compare the empty output with the specification.

30. 공통 CSV의 한계The limit of a shared CSV

정확 분수 회귀와 QR 회귀가 일치했지만 둘 다 같은 잘못된 분석 CSV를 사용했다. 다음 검토는 어디에 집중할까?

Exact-fraction and QR regressions agree but share an incorrectly prepared CSV. What layer should be checked next?

풀이와 확인할 이유Solution and explanation

원 코드북·원 토큰에서 분석 CSV를 만드는 경로를 새로 확인합니다. 변수 위치·결측 코드·ID·포함 프레임·단위를 검산합니다.

회귀 산술의 일치는 여전히 유용하지만 자료 추출 정확성의 독립 검증과 구별합니다. 같은 회귀를 반복하는 것만으로 공동 입력 오류를 찾기는 어렵습니다.

Reconstruct preparation from native codebook and tokens: fields, missing codes, IDs, frame and units.

Regression agreement remains useful but differs from independent source-extraction validation. Repeating regressions alone is unlikely to reveal a shared input error.

31. 양수와 0 이상Positive versus nonnegative

Θ=[0,2]이다. “τ>0”과 “τ≥0”은 각각 어떤 상태인가?

For Θ=[0,2], classify claims τ>0 and τ≥0.

풀이와 확인할 이유Solution and explanation

엄격 양수는 0이라는 허용값 때문에 지지되지 않고, 양수 값도 있어 반박되지 않아 미결정입니다.

0 이상은 모든 허용값에서 맞으므로 지지됩니다. 집합의 출처에 대한 통계·인과 인증이 생긴 것은 아닙니다.

Strict positivity is unresolved: zero prevents support, while positive possibilities prevent refutation.

Nonnegativity is supported throughout the set. This does not authenticate statistical or causal premises.

32. 동등성 경계 접촉Touching an equivalence boundary

동등성 폭 m=0.3이고 Θ=[0.3,0.5]이다. 왜 단순히 동등하다고 할 수 없는가?

With m=0.3 and Θ=[0.3,0.5], why is equivalence not supported?

풀이와 확인할 이유Solution and explanation

동등성 집합 [−0.3,0.3]과 한 점 0.3에서 만나지만 Θ에는 0.5 같은 바깥 값도 있습니다. 전체 포함이 아니므로 지지되지 않습니다.

교집합이 비어 있지도 않으므로 반박도 아니며 미결정입니다. Θ={0.3}만 있다면 전체 포함으로 지지됩니다.

The sets touch at 0.3, but Θ also contains outside values such as 0.5. It is not fully contained, so equivalence is not supported.

They are not disjoint either, so the claim is unresolved rather than refuted. The singleton {0.3} would be supported.

33. 빈 집합의 잘못된 확신False certainty from an empty set

서로 모순된 조건 때문에 Θ가 비었다. “허용된 반례가 없으니 모든 정책은 이롭다”고 출력해도 되는가?

Conflicting assumptions leave Θ empty. May the output say every policy is beneficial because no admissible counterexample exists?

풀이와 확인할 이유Solution and explanation

아닙니다. 이 도구는 빈 집합을 inconsistent로 보고합니다. 공허한 참을 실증적 지지로 포장하지 않습니다.

조건·자료·단위가 왜 함께 성립하지 못했는지 먼저 확인합니다. 같은 단위의 비어 있지 않은 집합을 만든 뒤 주장과 비교합니다.

No. This tool reports inconsistent, rather than packaging vacuous truth as empirical support.

Investigate conflicting assumptions, data and units before comparing a claim with a nonempty compatible set.

34. 모든 실수의 불확실성An all-real admissible set

Θ가 모든 실수이고 문턱 δ=100이다. τ≥100은 지지·반박·미결정 중 무엇인가?

Θ is all real numbers and δ=100. Is τ≥100 supported, refuted or unresolved?

풀이와 확인할 이유Solution and explanation

100 이상과 100 미만의 실수가 모두 허용되므로 미결정입니다. 문턱이 매우 커 보여도 집합은 양쪽으로 무한합니다.

이는 유한한 수치가 없는 상태를 0으로 대체하는 경우와 다릅니다. all-real이라는 집합 형태를 그대로 보존합니다.

Unresolved: values above and below 100 are both admissible, however large the finite threshold appears.

Preserve the all-real set type rather than replacing it with a point zero.

35. 여섯 대비 범위의 의미Meaning of a six-contrast range

실제 NJPA 여섯 정의 대비가 모두 양수다. 그 최소·최대 범위를 95% 신뢰구간이라고 써도 되는가?

All six actual NJPA definition contrasts are positive. May their min–max range be labelled a 95% confidence interval?

풀이와 확인할 이유Solution and explanation

아닙니다. 그 범위는 선언한 FTE 계수와 프레임 선택에 따른 기술적 변화입니다. 포함 확률을 갖는 구간 구성 절차가 아닙니다.

이 정의들에서 부호가 유지되었다고 보고하되, 모집단 인과효과·표본 불확실성·다른 가정의 범위를 별도로 검토합니다.

No. It describes variation across declared FTE and frame choices, not a confidence procedure with demonstrated coverage.

Report sign stability over those definitions, separately discussing population causality, sampling uncertainty and other assumptions.

36. 결론의 대칭적 기준Symmetric evidential standards

원하는 결론은 τ>0이다. Θ=[−1,2]에서 중앙 추정치가 양수라는 이유로 supported라고 고쳐도 되는가?

The preferred claim is τ>0. With Θ=[−1,2], may a positive central estimate justify changing the status to supported?

풀이와 확인할 이유Solution and explanation

안 됩니다. 집합에 0 이하의 값이 남아 있어 원 규칙의 상태는 미결정입니다. 양수 중심값은 집합 전체의 명제를 바꾸지 않습니다.

집합을 바꾸려면 추가 자료·명시적 가정 변경·새 근거가 필요하고 전후를 공개해야 합니다. 선호하는 결론에만 판단 규칙을 바꾸지 않습니다.

No. Nonpositive values remain admissible, so the declared rule yields unresolved. A positive centre does not change a claim about the entire set.

Changing the set requires additional evidence or explicit revised assumptions, with old/new rules disclosed. Do not change the criterion only for a preferred conclusion.

37. 두 개인 프레임의 차이Two person frames

원 NLS 3613개에서 시급 3017개·기록 로그 3010개를 관측했다. 결측 수와 두 기울기 해석의 차이를 설명하라.

NLS has 3613 native records, 3017 observed wages and 3010 recorded logs. Explain missing counts and the slope-target difference.

풀이와 확인할 이유Solution and explanation

시급 결측은 596개이고 기록 로그 결측은 603개입니다. 이 파일에서 로그 관측은 시급 관측의 부분집합이므로 추가 차이는 7개입니다.

원 시급 기울기는 명목 센트/시간/교육 연수, 로그 기울기는 로그 점/교육 연수입니다. 서로 다른 변환·프레임이며 단순회귀의 기술적 관계입니다.

There are 596 missing wages and 603 missing recorded logs. Observed logs are a subset here, leaving seven additional differences.

Raw-wage slopes use nominal cents/hour per schooling year; log slopes use log points/year. They differ in transformation and frame and remain descriptive simple regressions.

38. 512와 240의 관계Why 512 source records yield 240 rows

16개국·두 지표·2009–2024년 원자료 512개가 2010–2024년 분석 240행이 되는 이유는?

Why do 512 records for sixteen countries, two indicators and 2009–2024 produce 240 analytical rows in 2010–2024?

풀이와 확인할 이유Solution and explanation

원 지표는 16·2·16=512개입니다. 분석은 국가·연도별로 지표를 결합하므로 16·15=240행입니다.

2009년 실업률은 2010년의 실제 전년 차이를 만드는 입력으로 남습니다. 원 지표 개수·분석 행·서로 다른 국가 수 16을 구별합니다.

There are 16·2·16=512 indicator records. Joining indicators by country-year yields 16·15=240 target rows.

Retained 2009 unemployment supplies the actual prior value for 2010 changes. Distinguish source indicator counts, analytical rows and sixteen country units.

39. 정의 계수의 가운데 값The midpoint of an FTE definition

paired 고정 프레임에서 Δ₀=47713/15450, Δ₁=18631/7725이다. Δ₁/₂를 구하고 필요한 전제를 적어라.

On the paired fixed frame, Δ₀=47713/15450 and Δ₁=18631/7725. Compute Δ₁/₂ and state the key condition.

풀이와 확인할 이유Solution and explanation

공통 분모로 Δ₁=37262/15450이므로 두 끝값 합은 84975/15450=11/2입니다. 그 절반은 11/4=2.75입니다.

FTE가 γ에 대해 일차이고 동일 행·분모·집계 비중을 유지한다는 조건을 사용했습니다. γ에 따라 결측 프레임까지 바꾸면 이 관계를 그대로 보장하지 않습니다.

Express Δ₁ as 37262/15450. The endpoint sum is 84975/15450=11/2; half is 11/4=2.75.

This uses affine FTE construction with identical records, denominators and aggregation weights. Changing eligibility with γ need not preserve the identity.

40. 같은 개수와 같은 점포Equal counts and equal records

PA 사전 가용 77개·사후 가용 77개, paired 75개다. 같은 개수이므로 시점별 평균이 같은 77개 점포를 쓴다는 결론은?

PA has 77 pre and 77 post observations but 75 pairs. Do equal wave counts imply the same 77 records?

풀이와 확인할 이유Solution and explanation

아닙니다. 각 시점의 집합 크기는 같지만 공통 부분은 75개입니다. 시점마다 가용인 서로 다른 기록이 포함될 수 있습니다.

available 평균의 변화에는 구성 변화가 함께 들어갑니다. paired 대비와 구분해 분모와 원 ID를 보고합니다.

No. Equal set sizes do not imply equal sets; their common paired subset has 75 records.

Wave-available mean changes can include composition changes. Report denominators and identities separately from the paired contrast.

41. 16개 기술적 보기와 p값Sixteen descriptive views and p-values

개인 4·국가 6·기업 6개 기술적 프로토콜을 계산했다. 자동으로 16개 유효 p값이 생기는가?

Four person, six country and six firm protocols are computed. Does this automatically create sixteen valid p-values?

풀이와 확인할 이유Solution and explanation

아닙니다. 이 엔진은 기술적 추정치·프레임·영향 산술을 계산하고 자동 p값을 만들지 않습니다. 표본·모형·추론 규칙이 별도로 필요합니다.

가족 정의 역시 과학적 질문과 실제 선택 과정을 고려해야 합니다. 서로 다른 목표의 수량을 한 이름의 가설로 단순 합치지 않습니다.

No. The engine computes descriptive estimates, frames and influence arithmetic, not automatic p-values. Sampling, model and inference rules are additional requirements.

A family also depends on the scientific question and selection process. Do not mechanically treat different targets as one interchangeable hypothesis.

42. 이름 대신 증명 설명Explain a proof instead of citing authority

Holm의 이름을 아는 것 외에, 왜 참 귀무가설 오류가 α 이하인지 설명하는 핵심 두 단계를 적어라.

Beyond naming Holm, give the two key steps explaining error control at α.

풀이와 확인할 이유Solution and explanation

첫 참 귀무가설 위치 j에서 남은 수 M−j+1≥m₀이므로 그 기각은 최소 참 p값≤α/m₀ 사건에 포함됩니다.

각 참 p값의 유효성과 합집합 부등식으로 그 사건 확률≤m₀·α/m₀=α입니다. 검정 간 독립성보다 이 유효성 전제가 핵심입니다.

At the first true-null position j, M−j+1≥m₀, so any false rejection implies the smallest true-null p-value is at most α/m₀.

Marginal validity and the union bound give probability at most m₀·α/m₀=α. These conditions, rather than an authority’s name, carry the argument.

43. 영상 시청 기록의 범위The scope of a video record

공식 안내의 영상 링크만 확인했고 재생하지 않았다. 검토 기록에 “영상 전체 시청”이라고 써도 되는가?

An official page’s video link was verified but not played. May the record claim the full video was watched?

풀이와 확인할 이유Solution and explanation

안 됩니다. 공식 링크와 ID를 확인한 범위만 적습니다. 실제로 시청한 뒤에만 들은 내용·시각을 기록합니다.

링크의 공식성, 재생 가능 여부, 발언 내용 확인은 서로 다른 사실입니다. 확인하지 않은 정밀 시각이나 인용을 만들지 않습니다.

No. Record only the verified official link and ID. Describe statements and times only after actually viewing them.

Official attribution, playback availability and verified spoken content are separate facts. Do not invent timestamps or quotations.

44. 문서가 적용되는 범위The scope of guidance

AEA 데이터 정책과 README 예시를 읽었다. 그 사실만으로 자신의 분석이 AEA 인증을 받았다고 쓸 수 있는가?

An analyst reads AEA policy and a README example. Does that certify the analysis through AEA?

풀이와 확인할 이유Solution and explanation

아닙니다. 관련 실무를 이해하고 자신의 파일 설명을 개선한 것이며 공식 심사·인증을 받은 사실은 별개입니다.

실제 패키지의 파일·출처·실행·검증 범위를 구체적으로 기록합니다. 서식을 닮게 만든 것과 타당한 연구 설계도 구분합니다.

No. The reading informs practice and documentation; official review or certification is a different event.

Record actual files, sources, execution and validation scope. A template-like structure also does not establish a valid design.

45. 정확 코드와 근사 코드Exact and approximate programs

같은 목표에서 Python 분수 결과와 R QR 결과가 마지막 자릿수만 다르다. 어떤 순서로 확인할까?

Python fractions and R QR differ only in final digits for an intended common target. What should be checked first?

풀이와 확인할 이유Solution and explanation

같은 원파일·ID·프레임·변수·모형·단위를 썼는지 확인하고, 미정의와 0 처리도 맞춥니다. 목표가 다르면 허용오차 검사부터 하지 않습니다.

그다음 원 값을 보존하고 명시한 절대·상대 문턱으로 차이를 계산합니다. 허용오차를 사후에 결과에 맞춰 넓히지 않고, 수치 일치를 과학적 인증으로 부르지 않습니다.

First align originals, IDs, frame, variables, model, units and undefined-versus-zero handling. Do not begin with tolerance when targets differ.

Then retain raw values and calculate the declared absolute/relative criterion. Do not widen it after seeing the result or call numerical agreement scientific certification.

46. 바뀐 코드와 옛 결과Changed code and stale results

코드를 바꿨는데 결과 파일은 옛 버전 그대로다. 코드·결과 각각 해시는 유효한 64자리다. 무엇을 더 확인할까?

Code changes but the result file remains old. Both files have valid 64-character hashes. What is still needed?

풀이와 확인할 이유Solution and explanation

유효한 모양의 해시는 실행 연결을 증명하지 않습니다. 어떤 코드·입력·환경·명령이 어떤 결과를 만들었는지 버전과 실행 기록을 확인합니다.

새 출력 폴더에서 현재 코드로 재실행하고 현재 결과를 대조합니다. 기대 manifest를 현재 파일에 맞춰 조용히 바꾸어 옛 결과 문제를 숨기지 않습니다.

A syntactically valid hash does not prove an execution link. Check which code, inputs, environment and command produced each output.

Rerun current code into a fresh folder and compare current outputs. Do not silently rewrite the expected manifest to conceal stale results.

47. 네 문장의 조건부 결론A four-sentence conditional conclusion

paired NJPA γ=1/2 DID=11/4를 사용해 관측·단위·한계·반박 기준의 네 문장을 구성하라.

Using paired NJPA γ=1/2 DID=11/4, write four sentences covering observation, units, limits and challenge criteria.

풀이와 확인할 이유Solution and explanation

이 공개 파일의 공통 384개 paired 기록에서 NJ−PA 사후−사전 대비를 계산하면 11/4입니다. 단위는 FTE=FT+PT/2+M의 해당 노동 인원 단위입니다.

이는 기술적 대비이고 정책 인과효과 해석에는 비교추세·측정·구성 등에 관한 추가 가정이 필요합니다. 원행 오류나 타당한 정의·프레임 변경, 비교추세를 반박하는 근거가 나오면 그 해석과 계산을 다시 검토합니다.

On the 384 common paired records, the NJ-minus-PA post-minus-pre contrast is 11/4. Its unit is FTE defined as FT+PT/2+M.

This is descriptive; a causal policy interpretation needs comparison-trend, measurement and composition assumptions. Reassess calculations and interpretation after source errors, defensible definition/frame changes or evidence against the comparison assumptions.

48. 최종 검토에서 남길 미해결점An unresolved point in a final review

모든 표 수치는 재현되지만 원 국가 자료의 최초 다운로드 시각은 없다. 이를 완료를 위해 새로 추정해 기록해야 하는가?

All table values reproduce, but the original country-data acquisition time is missing. Should a timestamp be invented to complete the record?

풀이와 확인할 이유Solution and explanation

아닙니다. 최초 전송 시각과 정확한 옛 요청이 보존되지 않았다는 한계를 밝히고, 현재 보존 바이트·해시·제공자 갱신일을 각각 남깁니다.

보존 빈티지의 수치 재현이 가능하다는 사실과 과거 실시간 이용 가능성을 복구했다는 주장을 구분합니다. 남은 한계를 정확히 적는 것이 재현 기록의 일부입니다.

No. State that the initial transfer time and precise historical query were not archived. Retain current bytes/hash and the provider update date separately.

Distinguish reproducing the retained vintage from reconstructing historical real-time availability. Accurate limits belong in the final record.

자료와 출처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