{
  "cases": {
    "ko": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats17-country-ko\"><h3>국가 사례 · 더 자주 뽑는 나라가 있으면 단순 평균의 표적이 달라진다</h3><p>World Bank의 실제 2024년 16개 국가 1인당 실질 GDP를 고정한 작은 프레임으로 사용합니다. 목표는 이 16개 국가를 균등 가중한 평균 31,100.239 2015년 불변USD/인입니다. 전세계 평균이나 인구 가중 평균이 아닙니다. 실제값을 모두 알기 때문에 이 표적은 이미 알려져 있으며, 아래는 별도로 정의한 추첨 설계를 이해하는 실험입니다.</p><p>이 프레임의 GDPpc 상위 네 국가 AUS, GBR, SGP, USA에서 전체 추첨확률 절반을, 나머지 12개에서 절반을 배정합니다. 따라서 개별 상위국 이름표는 1/8, 나머지는 1/24 확률로 복원추출합니다. 상위라는 말은 이 고정 프레임 안 순위일 뿐 공식 국가 분류가 아닙니다. 실제 World Bank 표집 설계나 설문 포함확률을 알아낸 것이 아닙니다. 원자료 전체를 아는 수업 실험을 실무의 미관측 GDP 표집 설계와 혼동하지 않습니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 값과 따로 정한 추첨확률</caption><thead><tr><th scope=\"col\">국가</th><th scope=\"col\">실제 GDPpc</th><th scope=\"col\">가정 추첨확률 p_i</th><th scope=\"col\">한 추첨의 HH 평균 기여 Y/(16p_i)</th></tr></thead><tbody><tr><th scope=\"row\">Australia</th><td>61,486.38</td><td>1/8</td><td>30,743.19</td></tr><tr><th scope=\"row\">Brazil</th><td>9,566.75</td><td>1/24</td><td>14,350.12</td></tr><tr><th scope=\"row\">Canada</th><td>45,061.39</td><td>1/24</td><td>67,592.08</td></tr><tr><th scope=\"row\">China</th><td>13,119.11</td><td>1/24</td><td>19,678.66</td></tr><tr><th scope=\"row\">Germany</th><td>44,027.76</td><td>1/24</td><td>66,041.64</td></tr><tr><th scope=\"row\">France</th><td>39,683.40</td><td>1/24</td><td>59,525.09</td></tr><tr><th scope=\"row\">United Kingdom</th><td>47,900.97</td><td>1/8</td><td>23,950.48</td></tr><tr><th scope=\"row\">Indonesia</th><td>4,367.95</td><td>1/24</td><td>6,551.92</td></tr><tr><th scope=\"row\">India</th><td>2,366.83</td><td>1/24</td><td>3,550.25</td></tr><tr><th scope=\"row\">Japan</th><td>37,976.64</td><td>1/24</td><td>56,964.96</td></tr><tr><th scope=\"row\">Korea, Rep.</th><td>37,048.43</td><td>1/24</td><td>55,572.64</td></tr><tr><th scope=\"row\">Mexico</th><td>10,284.03</td><td>1/24</td><td>15,426.05</td></tr><tr><th scope=\"row\">Singapore</th><td>68,129.70</td><td>1/8</td><td>34,064.85</td></tr><tr><th scope=\"row\">United States</th><td>66,856.51</td><td>1/8</td><td>33,428.26</td></tr><tr><th scope=\"row\">Viet Nam</th><td>4,012.51</td><td>1/24</td><td>6,018.76</td></tr><tr><th scope=\"row\">South Africa</th><td>5,715.48</td><td>1/24</td><td>8,573.21</td></tr></tbody></table></div><div data-tex=\"E_p[Y_I]=\\sum_i p_iY_i\\ne\\frac1{16}\\sum_iY_i,\\qquad E_p\\left[\\frac{Y_I}{16p_I}\\right]=\\frac1{16}\\sum_iY_i.\"></div><p>단순 추첨 평균의 기대값은 41,097.956이고, 알고 있는 추첨확률로 보정한 Hansen–Hurwitz(HH) 평균의 기대값은 목표와 같습니다. HH는 한 추첨 확률 p_i와 뽑힌 순서를 사용합니다. Horvitz–Thompson(HT)은 고유하게 포함된 단위와 그 단위가 적어도 한 번 포함될 확률 π_i를 사용합니다. HT가 비복원 설계에만 한정되는 것은 아닙니다. 이 복원 설계에서도 n번 뽑을 때 π_i=1−(1−p_i)^n로 HT를 만들 수 있지만, 반복 등장한 단위는 한 번만 집계합니다. 표적과 추첨·포함 확률을 먼저 정의해야 합니다. 가중치가 크면 분산도 커질 수 있어 불편함만으로 가장 작은 MSE가 보장되지는 않습니다.</p><div data-case-chart=\"country\"></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 같은 설계로 추첨 수만 늘리면 단순 평균의 편향이 사라지나요?</summary><div><p>아닙니다. 단순 평균의 분산은 n에 따라 줄어도 기대값은 41,097.956에 남습니다. 그 절차가 가까워지는 표적이 원래 균등 평균과 다릅니다. 전체 16값을 알고 있어 이 수업에서는 편향과 MSE를 정확히 계산할 수 있지만, 실제 조사에서는 설계와 비응답 확률을 확인해야 합니다.</p></div></details></article><article class=\"case-study\" id=\"stats17-person-ko\"><h3>개인 자료 사례 · 관측된 3010명과 원래 3613명의 평균은 같은 질문일까?</h3><p>원 lwage76은 1976년 시간당 임금(센트)의 로그를 원 코드북에서 극단값 정리한 변수입니다. Card 원자료 3613명 중 source-trimmed log 임금은 3010명에서만 관측됩니다. 603개가 빠진 이유를 완전 무작위라고 가정하지 않습니다. 원문 절단 처리·원 비응답 등 관측 과정의 구분도 이 추출본만으로 모두 복원할 수는 없습니다. 관측 평균 6.26183192는 관측된 3010개 값의 정확한 요약이며, 원 코호트 전체의 미관측 평균으로 자동 확장되지 않습니다.</p><p>화면에 표시한 평균의 소수는 반올림값입니다. 내려받는 CSV의 정확 분수 필드는 원자료에 대한 전체 산술을 보존합니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>같은 교육 연수 구간에서도 관측 분모를 남기기</caption><thead><tr><th scope=\"col\">교육 연수</th><th scope=\"col\">전체 기록</th><th scope=\"col\">관측 log</th><th scope=\"col\">미관측 log</th><th scope=\"col\">관측 비율</th></tr></thead><tbody><tr><th scope=\"row\">≤11년</th><td>612</td><td>497</td><td>115</td><td>0.81209</td></tr><tr><th scope=\"row\">12년</th><td>1194</td><td>992</td><td>202</td><td>0.83082</td></tr><tr><th scope=\"row\">13–15년</th><td>838</td><td>704</td><td>134</td><td>0.84010</td></tr><tr><th scope=\"row\">≥16년</th><td>969</td><td>817</td><td>152</td><td>0.84314</td></tr></tbody></table></div><div data-tex=\"\\overline L_{\\rm all}(m)=\\frac{\\sum_{i\\in\\rm observed}L_i+603m}{3613},\\qquad m=\\text{assumed mean of the unobserved source logs}.\"></div><p>아래는 603개 미관측값의 평균 m을 가정했을 때 전체 평균이 어떻게 달라지는지 보는 민감도 계산입니다. 가정한 m은 실제 관측이 아니며 결측 CSV를 채우지 않습니다. 4.5–8.0은 설명용 시나리오 범위이고 참 미관측값의 지지집합을 입증한 경계가 아닙니다. m을 관측 평균으로 놓으면 전체 평균도 같아지지만 그것은 대입의 결과이지 실제 결측 과정의 증명이 아닙니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>가정 시나리오 · 결측 원값은 그대로 유지</caption><thead><tr><th scope=\"col\">가정 미관측 평균 m</th><th scope=\"col\">그 가정하의 3613명 평균</th></tr></thead><tbody><tr><th scope=\"row\">4.500000</th><td>5.967787</td></tr><tr><th scope=\"row\">5.000000</th><td>6.051236</td></tr><tr><th scope=\"row\">5.500000</th><td>6.134684</td></tr><tr><th scope=\"row\">6.000000</th><td>6.218133</td></tr><tr><th scope=\"row\">6.261832</th><td>6.261832</td></tr><tr><th scope=\"row\">6.500000</th><td>6.301582</td></tr><tr><th scope=\"row\">7.000000</th><td>6.385030</td></tr><tr><th scope=\"row\">7.500000</th><td>6.468479</td></tr><tr><th scope=\"row\">8.000000</th><td>6.551928</td></tr></tbody></table></div><div data-case-chart=\"person\"></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 3010명 부트스트랩 구간이 매우 좁으면 원래 코호트 편향도 작나요?</summary><div><p>그렇지 않습니다. 관측 집합 내부의 반복 변동과 미관측 집단으로의 확장 오차는 다릅니다. 원 가중치·표집·비응답 모형 없이 “표본이 크다”는 이유만으로 선택 편향을 제거할 수는 없습니다. 여기 가정표는 가능한 결과에 대한 민감도를 보여줄 뿐 특정 m을 참이라고 추정하지 않습니다.</p></div></details></article><article class=\"case-study\" id=\"stats17-company-ko\"><h3>제품·실무 사례 · 와인 성분 11개를 한꺼번에 살펴볼 때의 오류 계획</h3><p>UCI 레드와인 1599개 실제 제품·실험실 기록에서 이화학 변수 11개 각각으로 품질점수를 설명하는 단순 OLS를 한 번씩 적합합니다. 사전에 11개 전체를 검정군으로 정하고, 같은 자료·반응을 반복해서 쓴다는 점을 유지합니다. 브랜드·생산자·가격은 식별되지 않습니다. 점수는 전문가 관능평가의 순서형 중앙값이며 등간격 제곱손실과 고전적 t 참조는 학습용 모형 선택입니다. 같은 생산단위의 반복·공통 오차나 원 p값의 실제 타당성을 검증한 것이 아닙니다.</p><p>각 회귀의 H0는 해당 단순 선형투영의 기울기가 0이라는 작업가설입니다. 11변수를 동시에 통제한 부분효과도, 성분을 조작하는 인과효과도 아닙니다. 유효한 원 p값이 주어졌다는 조건에서 Bonferroni와 Holm은 임의 의존에서도 가족단위 오류 FWER를 통제할 수 있습니다. BH의 FDR 정리에는 독립 또는 적절한 양의 의존 같은 조건이 필요하고, BY는 유효한 원 p값 아래 더 일반적 의존을 허용하는 조정입니다. 조정법이 잘못된 원 p값을 유효하게 바꾸지는 않습니다.</p><div data-tex=\"\\mathrm{FWER}=P(V\\ge1),\\qquad \\mathrm{FDR}=E\\!\\left[\\frac{V}{\\max(R,1)}\\right],\\qquad p^{\\rm Bonf}_i=\\min(1,11p_i).\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 관측 회귀의 작업 p값과 조정 · 같은 11개 검정군</caption><thead><tr><th scope=\"col\">성분 변수</th><th scope=\"col\">원 p</th><th scope=\"col\">Bonferroni</th><th scope=\"col\">Holm</th><th scope=\"col\">BH</th><th scope=\"col\">BY</th></tr></thead><tbody><tr><th scope=\"row\">고정산도</th><td>6.495635e-07</td><td>7.145199e-06</td><td>2.598254e-06</td><td>8.931498e-07</td><td>2.697203e-06</td></tr><tr><th scope=\"row\">휘발산도</th><td>2.051715e-59</td><td>2.256886e-58</td><td>2.051715e-58</td><td>1.128443e-58</td><td>3.40776e-58</td></tr><tr><th scope=\"row\">구연산</th><td>4.991295e-20</td><td>5.490425e-19</td><td>3.993036e-19</td><td>1.372606e-19</td><td>4.145102e-19</td></tr><tr><th scope=\"row\">잔당</th><td>0.583218</td><td>1</td><td>0.583218</td><td>0.583218</td><td>1</td></tr><tr><th scope=\"row\">염화물</th><td>2.313383e-07</td><td>2.544721e-06</td><td>1.156691e-06</td><td>3.635316e-07</td><td>1.097821e-06</td></tr><tr><th scope=\"row\">유리 이산화황</th><td>0.04283398</td><td>0.4711738</td><td>0.08566796</td><td>0.04711738</td><td>0.1422887</td></tr><tr><th scope=\"row\">총 이산화황</th><td>8.621703e-14</td><td>9.483874e-13</td><td>6.035192e-13</td><td>1.896775e-13</td><td>5.728027e-13</td></tr><tr><th scope=\"row\">밀도</th><td>1.874957e-12</td><td>2.062452e-11</td><td>1.124974e-11</td><td>3.437421e-12</td><td>1.038059e-11</td></tr><tr><th scope=\"row\">pH</th><td>0.02096278</td><td>0.2305906</td><td>0.06288834</td><td>0.02562117</td><td>0.0773728</td></tr><tr><th scope=\"row\">황산염</th><td>1.802088e-24</td><td>1.982297e-23</td><td>1.62188e-23</td><td>6.607658e-24</td><td>1.995432e-23</td></tr><tr><th scope=\"row\">알코올</th><td>2.831477e-91</td><td>3.114625e-90</td><td>3.114625e-90</td><td>3.114625e-90</td><td>9.405784e-90</td></tr></tbody></table></div><div data-case-chart=\"company\"></div><p>같은 기준 .05에서 표시한 기각 수는 원값 10, Bonferroni 8, Holm 8, BH 10, BY 8입니다. 이것은 명시한 수치 규칙의 결과입니다. 실제 거짓 발견 수 V는 참 귀무가설을 모르므로 이 자료에서 관측한 수가 아닙니다. 기각 수가 많다는 이유만으로 더 좋은 방법이라 판정하지 말고 사전에 정한 오류 목표·의존 조건·실질 차이와 별도 재현을 함께 보세요.</p><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: FDR 5%는 이번에 고른 각 성분이 5% 확률로 거짓이라는 뜻인가요?</summary><div><p>아닙니다. FDR은 같은 절차를 반복했을 때 거짓 발견 비율의 기대값입니다. 개별 가설의 사후확률도 이번 관측 검정군의 확정된 거짓 비율도 아닙니다. 발견이 없는 경우 분모를 max(R,1)로 써 비율을 0으로 정의합니다. 기대비율 E[V/max(R,1)]와 비율 E[V]/E[R]도 일반적으로 다릅니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 표에서 유의한 변수만 남겨 검정군을 다시 작게 잡아도 되나요?</summary><div><p>그렇게 결과를 보고 검정군을 줄이면 처음의 오류 계획을 바꾸는 것입니다. 먼저 본 변수·변환·부분집단·중간 확인을 포함한 분석 경로를 기록하고, 사전 계획과 탐색을 구별하세요. 다른 분석자가 같은 데이터에서 같은 계산을 했다는 재현과 새 독립 자료에서 관계가 유지되는 반복검증도 구별해야 합니다.</p></div></details></article><p>실제 자료·가정 설계·감사 가능한 조정: <a href=\"stats17-sources/actual16-countries-and-explicit-unequal-draw-design.csv\" download>actual16-countries-and-explicit-unequal-draw-design.csv</a> · <a href=\"stats17-sources/exact-naive-versus-Hansen-Hurwitz-bias-variance-and-MSE.csv\" download>exact-naive-versus-Hansen-Hurwitz-bias-variance-and-MSE.csv</a> · <a href=\"stats17-sources/actual3613-person-records-preserving-source-missingness.csv\" download>actual3613-person-records-preserving-source-missingness.csv</a> · <a href=\"stats17-sources/actual-education-year-band-observed-fractions.csv\" download>actual-education-year-band-observed-fractions.csv</a> · <a href=\"stats17-sources/explicit-assumed-missing-mean-sensitivity-scenarios.csv\" download>explicit-assumed-missing-mean-sensitivity-scenarios.csv</a> · <a href=\"stats17-sources/actual1599-red-wine-full-physicochemical-and-ordinal-quality-records.csv\" download>actual1599-red-wine-full-physicochemical-and-ordinal-quality-records.csv</a> · <a href=\"stats17-sources/eleven-working-slope-tests-and-four-multiplicity-adjustments.csv\" download>eleven-working-slope-tests-and-four-multiplicity-adjustments.csv</a> · <a href=\"stats17-sources/provenance.json\" download>provenance</a></p></div>",
    "en": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats17-country-en\"><h3>Country case · Unequal draw frequencies change the target of a naive mean</h3><p>Fix the actual 2024 GDP-per-person values for 16 World Bank countries as a small frame. The target is their uniform-country mean 31,100.239 constant-2015 USD/person, not a worldwide or population-weighted mean. All values are known, so the target is already known; the following experiment illustrates a separately specified draw design.</p><p>Assign half of draw probability to the four highest observed GDPpc values in this frame, AUS, GBR, SGP, USA, and half to the other twelve. Individual high-rank tickets then have replacement-draw probability 1/8, versus 1/24 for the rest. This is a ranking in the fixed frame, not an official country category. It is not the actual World Bank sampling design or survey inclusion probabilities. A classroom design on a fully known frame is not a real survey of unobserved GDP.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Actual values and separately chosen per-draw probabilities</caption><thead><tr><th scope=\"col\">Country</th><th scope=\"col\">Actual GDPpc</th><th scope=\"col\">Assumed draw p_i</th><th scope=\"col\">One-draw HH mean contribution Y/(16p_i)</th></tr></thead><tbody><tr><th scope=\"row\">Australia</th><td>61,486.38</td><td>1/8</td><td>30,743.19</td></tr><tr><th scope=\"row\">Brazil</th><td>9,566.75</td><td>1/24</td><td>14,350.12</td></tr><tr><th scope=\"row\">Canada</th><td>45,061.39</td><td>1/24</td><td>67,592.08</td></tr><tr><th scope=\"row\">China</th><td>13,119.11</td><td>1/24</td><td>19,678.66</td></tr><tr><th scope=\"row\">Germany</th><td>44,027.76</td><td>1/24</td><td>66,041.64</td></tr><tr><th scope=\"row\">France</th><td>39,683.40</td><td>1/24</td><td>59,525.09</td></tr><tr><th scope=\"row\">United Kingdom</th><td>47,900.97</td><td>1/8</td><td>23,950.48</td></tr><tr><th scope=\"row\">Indonesia</th><td>4,367.95</td><td>1/24</td><td>6,551.92</td></tr><tr><th scope=\"row\">India</th><td>2,366.83</td><td>1/24</td><td>3,550.25</td></tr><tr><th scope=\"row\">Japan</th><td>37,976.64</td><td>1/24</td><td>56,964.96</td></tr><tr><th scope=\"row\">Korea, Rep.</th><td>37,048.43</td><td>1/24</td><td>55,572.64</td></tr><tr><th scope=\"row\">Mexico</th><td>10,284.03</td><td>1/24</td><td>15,426.05</td></tr><tr><th scope=\"row\">Singapore</th><td>68,129.70</td><td>1/8</td><td>34,064.85</td></tr><tr><th scope=\"row\">United States</th><td>66,856.51</td><td>1/8</td><td>33,428.26</td></tr><tr><th scope=\"row\">Viet Nam</th><td>4,012.51</td><td>1/24</td><td>6,018.76</td></tr><tr><th scope=\"row\">South Africa</th><td>5,715.48</td><td>1/24</td><td>8,573.21</td></tr></tbody></table></div><div data-tex=\"E_p[Y_I]=\\sum_i p_iY_i\\ne\\frac1{16}\\sum_iY_i,\\qquad E_p\\left[\\frac{Y_I}{16p_I}\\right]=\\frac1{16}\\sum_iY_i.\"></div><p>The naive draw mean has expectation 41,097.956, while the Hansen–Hurwitz (HH) mean using known draw probabilities targets the uniform mean. HH uses per-draw probability p_i and the sequence of draws. Horvitz–Thompson (HT) uses uniquely included units and their probabilities π_i of being included at least once. HT is not restricted to sampling without replacement: this replacement design gives π_i=1−(1−p_i)^n after n draws, with each included unit counted once. Define the target and draw/inclusion probabilities before choosing weights. Large weights can increase variance; unbiasedness alone does not guarantee minimum MSE.</p><div data-case-chart=\"country\"></div><details class=\"case-answer\"><summary>Think first, then reveal: Does increasing the number of draws remove the naive mean’s bias?</summary><div><p>No. Its variance shrinks with n but its expectation remains 41,097.956, a different target from the uniform-country mean. Knowing all 16 values permits exact classroom bias/MSE calculations; a real survey still needs a justified design and response-probability analysis.</p></div></details></article><article class=\"case-study\" id=\"stats17-person-en\"><h3>Person-record case · Are 3010 observed wages and the original 3613-record cohort the same target?</h3><p>The source variable lwage76 is the source-trimmed log of 1976 hourly wages measured in cents/hour. Source-trimmed log wages are available for 3,010 of Card’s 3,613 records. Do not assume the 603 unobserved values are completely random missingness. Source trimming and original nonresponse mechanisms cannot all be reconstructed from this extract. The observed mean 6.26183192 describes the 3,010 available values, not automatically the unobserved full-cohort mean. Displayed decimal means are rounded; the downloadable exact-fraction fields retain the full arithmetic.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Keep observed denominators within schooling-year bands</caption><thead><tr><th scope=\"col\">Schooling years</th><th scope=\"col\">All records</th><th scope=\"col\">Observed logs</th><th scope=\"col\">Unobserved logs</th><th scope=\"col\">Observed fraction</th></tr></thead><tbody><tr><th scope=\"row\">≤11 years</th><td>612</td><td>497</td><td>115</td><td>0.81209</td></tr><tr><th scope=\"row\">12 years</th><td>1194</td><td>992</td><td>202</td><td>0.83082</td></tr><tr><th scope=\"row\">13–15 years</th><td>838</td><td>704</td><td>134</td><td>0.84010</td></tr><tr><th scope=\"row\">≥16 years</th><td>969</td><td>817</td><td>152</td><td>0.84314</td></tr></tbody></table></div><div data-tex=\"\\overline L_{\\rm all}(m)=\\frac{\\sum_{i\\in\\rm observed}L_i+603m}{3613},\\qquad m=\\text{assumed mean of the unobserved source logs}.\"></div><p>The following sensitivity calculation varies an assumed mean m for the 603 unobserved values. No assumed m is an actual observation and no missing source cell is filled. The 4.5–8.0 scenario range is illustrative, not a proved support bound for missing values. Setting m equal to the observed mean makes the full mean equal by construction, not by validation of a missingness mechanism.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Assumed scenarios; original missing cells remain missing</caption><thead><tr><th scope=\"col\">Assumed unobserved mean m</th><th scope=\"col\">Implied 3613-record cohort mean</th></tr></thead><tbody><tr><th scope=\"row\">4.500000</th><td>5.967787</td></tr><tr><th scope=\"row\">5.000000</th><td>6.051236</td></tr><tr><th scope=\"row\">5.500000</th><td>6.134684</td></tr><tr><th scope=\"row\">6.000000</th><td>6.218133</td></tr><tr><th scope=\"row\">6.261832</th><td>6.261832</td></tr><tr><th scope=\"row\">6.500000</th><td>6.301582</td></tr><tr><th scope=\"row\">7.000000</th><td>6.385030</td></tr><tr><th scope=\"row\">7.500000</th><td>6.468479</td></tr><tr><th scope=\"row\">8.000000</th><td>6.551928</td></tr></tbody></table></div><div data-case-chart=\"person\"></div><details class=\"case-answer\"><summary>Think first, then reveal: Would a narrow bootstrap interval from 3010 records imply little full-cohort selection bias?</summary><div><p>No. Variation within the observed set and error in extending it to unobserved records are different. Large n cannot repair selection without design, weights or a justified response model. The scenario table shows sensitivity, not an estimate certifying one m as true.</p></div></details></article><article class=\"case-study\" id=\"stats17-company-en\"><h3>Product-practice case · Plan errors when screening 11 wine measurements</h3><p>Fit 11 separate simple OLS models of the quality score, one for each physicochemical variable in 1,599 actual UCI red-wine product/laboratory records. Prespecify all 11 as one testing family and retain that the same response and records are reused. Brands, producers and prices are unidentified. The expert-median ordinal score is treated numerically by a chosen squared-loss/classical-t working model; actual repeated production units, shared errors and validity of raw p-values are unverified.</p><p>Each working H0 concerns a zero slope in that simple linear projection, not a partial effect controlling all 11 variables or a causal effect of manipulating a component. Given valid raw p-values, Bonferroni and Holm can control familywise error under arbitrary dependence. BH needs independence or suitable positive-dependence conditions; BY permits more general dependence with valid marginal p-values. Adjustment cannot turn invalid raw p-values into valid ones.</p><div data-tex=\"\\mathrm{FWER}=P(V\\ge1),\\qquad \\mathrm{FDR}=E\\!\\left[\\frac{V}{\\max(R,1)}\\right],\\qquad p^{\\rm Bonf}_i=\\min(1,11p_i).\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Working p-values and adjustments for the same 11-test family</caption><thead><tr><th scope=\"col\">Measurement</th><th scope=\"col\">Raw p</th><th scope=\"col\">Bonferroni</th><th scope=\"col\">Holm</th><th scope=\"col\">BH</th><th scope=\"col\">BY</th></tr></thead><tbody><tr><th scope=\"row\">Fixed acidity</th><td>6.495635e-07</td><td>7.145199e-06</td><td>2.598254e-06</td><td>8.931498e-07</td><td>2.697203e-06</td></tr><tr><th scope=\"row\">Volatile acidity</th><td>2.051715e-59</td><td>2.256886e-58</td><td>2.051715e-58</td><td>1.128443e-58</td><td>3.40776e-58</td></tr><tr><th scope=\"row\">Citric acid</th><td>4.991295e-20</td><td>5.490425e-19</td><td>3.993036e-19</td><td>1.372606e-19</td><td>4.145102e-19</td></tr><tr><th scope=\"row\">Residual sugar</th><td>0.583218</td><td>1</td><td>0.583218</td><td>0.583218</td><td>1</td></tr><tr><th scope=\"row\">Chlorides</th><td>2.313383e-07</td><td>2.544721e-06</td><td>1.156691e-06</td><td>3.635316e-07</td><td>1.097821e-06</td></tr><tr><th scope=\"row\">Free sulfur dioxide</th><td>0.04283398</td><td>0.4711738</td><td>0.08566796</td><td>0.04711738</td><td>0.1422887</td></tr><tr><th scope=\"row\">Total sulfur dioxide</th><td>8.621703e-14</td><td>9.483874e-13</td><td>6.035192e-13</td><td>1.896775e-13</td><td>5.728027e-13</td></tr><tr><th scope=\"row\">Density</th><td>1.874957e-12</td><td>2.062452e-11</td><td>1.124974e-11</td><td>3.437421e-12</td><td>1.038059e-11</td></tr><tr><th scope=\"row\">pH</th><td>0.02096278</td><td>0.2305906</td><td>0.06288834</td><td>0.02562117</td><td>0.0773728</td></tr><tr><th scope=\"row\">Sulphates</th><td>1.802088e-24</td><td>1.982297e-23</td><td>1.62188e-23</td><td>6.607658e-24</td><td>1.995432e-23</td></tr><tr><th scope=\"row\">Alcohol</th><td>2.831477e-91</td><td>3.114625e-90</td><td>3.114625e-90</td><td>3.114625e-90</td><td>9.405784e-90</td></tr></tbody></table></div><div data-case-chart=\"company\"></div><p>At the common .05 threshold the displayed rejection counts are raw 10, Bonferroni 8, Holm 8, BH 10, and BY 8. These are outputs of stated numeric rules. The false-discovery count V is not observed because true nulls are unknown. More rejections alone do not make a method better; consider the prespecified error target, dependence conditions, substantive magnitudes and independent replication.</p><details class=\"case-answer\"><summary>Think first, then reveal: Does 5% FDR mean each selected component has 5% probability of being false?</summary><div><p>No. FDR is an expected false-discovery proportion over repetitions of a procedure, neither an individual posterior probability nor a known fraction of false results in this realized family. Set the fraction to zero when no discoveries occur using max(R,1). E[V/max(R,1)] is generally not E[V]/E[R].</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: May we shrink the family afterward to keep only significant variables?</summary><div><p>Outcome-driven family reduction changes the error plan. Record inspected variables, transforms, subgroups and interim looks; distinguish prespecified analysis from exploration. Reproducing the same computation on the same data is also different from replication with new independent data.</p></div></details></article><p>Actual data, assumed design and auditable adjustments: <a href=\"stats17-sources/actual16-countries-and-explicit-unequal-draw-design.csv\" download>actual16-countries-and-explicit-unequal-draw-design.csv</a> · <a href=\"stats17-sources/exact-naive-versus-Hansen-Hurwitz-bias-variance-and-MSE.csv\" download>exact-naive-versus-Hansen-Hurwitz-bias-variance-and-MSE.csv</a> · <a href=\"stats17-sources/actual3613-person-records-preserving-source-missingness.csv\" download>actual3613-person-records-preserving-source-missingness.csv</a> · <a href=\"stats17-sources/actual-education-year-band-observed-fractions.csv\" download>actual-education-year-band-observed-fractions.csv</a> · <a href=\"stats17-sources/explicit-assumed-missing-mean-sensitivity-scenarios.csv\" download>explicit-assumed-missing-mean-sensitivity-scenarios.csv</a> · <a href=\"stats17-sources/actual1599-red-wine-full-physicochemical-and-ordinal-quality-records.csv\" download>actual1599-red-wine-full-physicochemical-and-ordinal-quality-records.csv</a> · <a href=\"stats17-sources/eleven-working-slope-tests-and-four-multiplicity-adjustments.csv\" download>eleven-working-slope-tests-and-four-multiplicity-adjustments.csv</a> · <a href=\"stats17-sources/provenance.json\" download>provenance</a></p></div>"
  },
  "chartData": {
    "country": [
      {
        "x": 1,
        "y": 675953138.3398904,
        "modelY": 332485172.709302,
        "label": {
          "ko": "가정 추첨 n=1",
          "en": "Assumed draws n=1"
        }
      },
      {
        "x": 4,
        "y": 243954044.00794992,
        "modelY": 83121293.1773255,
        "label": {
          "ko": "가정 추첨 n=4",
          "en": "Assumed draws n=4"
        }
      },
      {
        "x": 16,
        "y": 135954270.42496482,
        "modelY": 20780323.294331376,
        "label": {
          "ko": "가정 추첨 n=16",
          "en": "Assumed draws n=16"
        }
      },
      {
        "x": 64,
        "y": 108954327.02921854,
        "modelY": 5195080.823582844,
        "label": {
          "ko": "가정 추첨 n=64",
          "en": "Assumed draws n=64"
        }
      }
    ],
    "person": [
      {
        "x": 4.5,
        "y": 5.9677869007500695,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=4.5000",
          "en": "Assumed unobserved mean m=4.5000"
        }
      },
      {
        "x": 5.0,
        "y": 6.0512355583753115,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=5.0000",
          "en": "Assumed unobserved mean m=5.0000"
        }
      },
      {
        "x": 5.5,
        "y": 6.1346842160005535,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=5.5000",
          "en": "Assumed unobserved mean m=5.5000"
        }
      },
      {
        "x": 6.0,
        "y": 6.2181328736257955,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=6.0000",
          "en": "Assumed unobserved mean m=6.0000"
        }
      },
      {
        "x": 6.261831917744186,
        "y": 6.261831917744186,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=6.2618",
          "en": "Assumed unobserved mean m=6.2618"
        }
      },
      {
        "x": 6.5,
        "y": 6.3015815312510375,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=6.5000",
          "en": "Assumed unobserved mean m=6.5000"
        }
      },
      {
        "x": 7.0,
        "y": 6.38503018887628,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=7.0000",
          "en": "Assumed unobserved mean m=7.0000"
        }
      },
      {
        "x": 7.5,
        "y": 6.468478846501522,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=7.5000",
          "en": "Assumed unobserved mean m=7.5000"
        }
      },
      {
        "x": 8.0,
        "y": 6.551927504126764,
        "modelY": 6.261831917744186,
        "label": {
          "ko": "가정 미관측 평균 m=8.0000",
          "en": "Assumed unobserved mean m=8.0000"
        }
      }
    ],
    "company": [
      {
        "x": 0,
        "y": 6.495635009279706e-07,
        "modelY": 2.5982540037118824e-06,
        "linearY": 8.931498137759596e-07,
        "quadraticY": 2.69720288820344e-06,
        "referenceY": 0.05,
        "label": {
          "ko": "고정산도",
          "en": "Fixed acidity"
        }
      },
      {
        "x": 1,
        "y": 2.0517148070134906e-59,
        "modelY": 2.0517148070134905e-58,
        "linearY": 1.1284431438574199e-58,
        "quadraticY": 3.407759885117189e-58,
        "referenceY": 0.05,
        "label": {
          "ko": "휘발산도",
          "en": "Volatile acidity"
        }
      },
      {
        "x": 2,
        "y": 4.991295250509432e-20,
        "modelY": 3.9930362004075454e-19,
        "linearY": 1.3726061938900937e-19,
        "quadraticY": 4.1451023483670143e-19,
        "referenceY": 0.05,
        "label": {
          "ko": "구연산",
          "en": "Citric acid"
        }
      },
      {
        "x": 3,
        "y": 0.5832180131580496,
        "modelY": 0.5832180131580496,
        "linearY": 0.5832180131580496,
        "quadraticY": 1.0,
        "referenceY": 0.05,
        "label": {
          "ko": "잔당",
          "en": "Residual sugar"
        }
      },
      {
        "x": 4,
        "y": 2.3133826540584595e-07,
        "modelY": 1.1566913270292297e-06,
        "linearY": 3.6353155992347224e-07,
        "quadraticY": 1.0978207219608147e-06,
        "referenceY": 0.05,
        "label": {
          "ko": "염화물",
          "en": "Chlorides"
        }
      },
      {
        "x": 5,
        "y": 0.042833979508140836,
        "modelY": 0.08566795901628167,
        "linearY": 0.04711737745895492,
        "quadraticY": 0.14228870073833244,
        "referenceY": 0.05,
        "label": {
          "ko": "유리 이산화황",
          "en": "Free sulfur dioxide"
        }
      },
      {
        "x": 6,
        "y": 8.621703423655402e-14,
        "modelY": 6.035192396558781e-13,
        "linearY": 1.8967747532041885e-13,
        "quadraticY": 5.728027105536645e-13,
        "referenceY": 0.05,
        "label": {
          "ko": "총 이산화황",
          "en": "Total sulfur dioxide"
        }
      },
      {
        "x": 7,
        "y": 1.8749566520103587e-12,
        "modelY": 1.1249739912062153e-11,
        "linearY": 3.4374205286856575e-12,
        "quadraticY": 1.0380588379394123e-11,
        "referenceY": 0.05,
        "label": {
          "ko": "밀도",
          "en": "Density"
        }
      },
      {
        "x": 8,
        "y": 0.020962778651473637,
        "modelY": 0.06288833595442091,
        "linearY": 0.02562117390735667,
        "quadraticY": 0.07737280263198897,
        "referenceY": 0.05,
        "label": {
          "ko": "pH",
          "en": "pH"
        }
      },
      {
        "x": 9,
        "y": 1.802088453452302e-24,
        "modelY": 1.6218796081070718e-23,
        "linearY": 6.60765766265844e-24,
        "quadraticY": 1.9954315678167414e-23,
        "referenceY": 0.05,
        "label": {
          "ko": "황산염",
          "en": "Sulphates"
        }
      },
      {
        "x": 10,
        "y": 2.831476974776402e-91,
        "modelY": 3.1146246722540423e-90,
        "linearY": 3.1146246722540423e-90,
        "quadraticY": 9.405784485536008e-90,
        "referenceY": 0.05,
        "label": {
          "ko": "알코올",
          "en": "Alcohol"
        }
      }
    ]
  },
  "chartMeta": {
    "country": {
      "xlabel": {
        "ko": "가정한 복원추첨 수 n",
        "en": "Assumed replacement draws n"
      },
      "ylabel": {
        "ko": "지정 설계의 평균제곱오차 · (2015USD/인)²",
        "en": "Specified-design MSE,(constant 2015USD/person)²"
      },
      "legend": {
        "ko": "알려진 16국가 표적에 대한 정확 위험",
        "en": "Exact risks for a known 16-country target"
      },
      "note": {
        "ko": "공식 국가 조사 설계가 아닙니다. 실제값에 부여한 가정 추첨 법칙이며 n을 늘려도 단순 평균의 표적 편향은 남습니다.",
        "en": "Not an official survey design; these assigned draw laws retain naive-target bias as n increases."
      },
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "단순 추첨 평균 MSE",
          "en": "Naive draw-mean MSE"
        },
        "modelY": {
          "ko": "HH 보정 평균 MSE",
          "en": "HH corrected-mean MSE"
        }
      },
      "connectObservedPoints": false,
      "includeZero": true
    },
    "person": {
      "xlabel": {
        "ko": "미관측 603개의 가정 평균 m · log 단위",
        "en": "Assumed mean m of 603 unobserved logs"
      },
      "ylabel": {
        "ko": "가정하의 전체 코호트 평균 log",
        "en": "Implied full-cohort mean log wage"
      },
      "legend": {
        "ko": "민감도 시나리오와 관측 집합 평균",
        "en": "Sensitivity scenarios and observed-set mean"
      },
      "note": {
        "ko": "m은 실측이 아니며 결측값을 채우지 않았습니다. 4.5–8은 설명용 범위이며 참 지지집합 경계가 아닙니다.",
        "en": "m is not measured; no missing values are filled. The 4.5–8 range is illustrative, not a proved support bound."
      },
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "가정하의 3613명 평균",
          "en": "Implied 3613-record mean"
        },
        "modelY": {
          "ko": "실제 관측 3010명 평균",
          "en": "Actual observed 3010-record mean"
        }
      },
      "connectObservedPoints": false
    },
    "company": {
      "xlabel": {
        "ko": "사전에 정한 이화학 변수 11개",
        "en": "Eleven prespecified physicochemical variables"
      },
      "ylabel": {
        "ko": "작업 원 p값과 조정 p값",
        "en": "Working raw and adjusted p-values"
      },
      "legend": {
        "ko": "같은 11개 검정군의 계산 규칙 비교",
        "en": "Calculation rules for the same 11-test family"
      },
      "note": {
        "ko": "작은 p값은 지수표기로 표에서 확인하세요. 조정이 원 p값의 표집·모형 타당성을 인증하지 않습니다.",
        "en": "Read tiny p-values in scientific notation in the table. Adjustment does not certify the sampling/model validity of raw p-values."
      },
      "seriesKeys": [
        "y",
        "modelY",
        "linearY",
        "quadraticY",
        "referenceY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "원 p",
          "en": "Raw p"
        },
        "modelY": {
          "ko": "Holm",
          "en": "Holm"
        },
        "linearY": {
          "ko": "BH",
          "en": "BH"
        },
        "quadraticY": {
          "ko": "BY",
          "en": "BY"
        },
        "referenceY": {
          "ko": ".05 기준",
          "en": ".05 reference"
        }
      },
      "connectObservedPoints": false,
      "includeZero": true
    }
  },
  "models": {
    "country": {
      "frameSize": 16,
      "target": {
        "exactFraction": "49760381715479259/1600000000000",
        "value": 31100.238572174538
      },
      "assignedTop4": [
        "AUS",
        "GBR",
        "SGP",
        "USA"
      ],
      "naiveExpectation": {
        "exactFraction": "32878364485154453/800000000000",
        "value": 41097.955606443065
      },
      "HHexpectation": {
        "exactFraction": "49760381715479259/1600000000000",
        "value": 31100.238572174538
      },
      "riskSettings": [
        {
          "assumed_iid_replacement_draws": 1,
          "chosen_estimator": "naive_draw_mean",
          "expectation_exact": "32878364485154453/800000000000",
          "bias_for_uniform16_country_mean_exact": "15996347254829647/1600000000000",
          "variance_exact": "368639227163255828723831903185631/640000000000000000000000",
          "MSE_exact": "1730440034150119298432494602887133/2560000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 1,
          "chosen_estimator": "Hansen_Hurwitz_known_draw_probability_mean",
          "expectation_exact": "49760381715479259/1600000000000",
          "bias_for_uniform16_country_mean_exact": "0",
          "variance_exact": "851162042135813077697390906478079/2560000000000000000000000",
          "MSE_exact": "851162042135813077697390906478079/2560000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 4,
          "chosen_estimator": "naive_draw_mean",
          "expectation_exact": "32878364485154453/800000000000",
          "bias_for_uniform16_country_mean_exact": "15996347254829647/1600000000000",
          "variance_exact": "368639227163255828723831903185631/2560000000000000000000000",
          "MSE_exact": "1951632352063599413315621541657/8000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 4,
          "chosen_estimator": "Hansen_Hurwitz_known_draw_probability_mean",
          "expectation_exact": "49760381715479259/1600000000000",
          "bias_for_uniform16_country_mean_exact": "0",
          "variance_exact": "851162042135813077697390906478079/10240000000000000000000000",
          "MSE_exact": "851162042135813077697390906478079/10240000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 16,
          "chosen_estimator": "naive_draw_mean",
          "expectation_exact": "32878364485154453/800000000000",
          "bias_for_uniform16_country_mean_exact": "15996347254829647/1600000000000",
          "variance_exact": "368639227163255828723831903185631/10240000000000000000000000",
          "MSE_exact": "1392171729151639762872499863764067/10240000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 16,
          "chosen_estimator": "Hansen_Hurwitz_known_draw_probability_mean",
          "expectation_exact": "49760381715479259/1600000000000",
          "bias_for_uniform16_country_mean_exact": "0",
          "variance_exact": "851162042135813077697390906478079/40960000000000000000000000",
          "MSE_exact": "851162042135813077697390906478079/40960000000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 64,
          "chosen_estimator": "naive_draw_mean",
          "expectation_exact": "32878364485154453/800000000000",
          "bias_for_uniform16_country_mean_exact": "15996347254829647/1600000000000",
          "variance_exact": "368639227163255828723831903185631/40960000000000000000000000",
          "MSE_exact": "7140430776186866504509605992799/65536000000000000000000",
          "is_original_WorldBank_sample_design": false
        },
        {
          "assumed_iid_replacement_draws": 64,
          "chosen_estimator": "Hansen_Hurwitz_known_draw_probability_mean",
          "expectation_exact": "49760381715479259/1600000000000",
          "bias_for_uniform16_country_mean_exact": "0",
          "variance_exact": "851162042135813077697390906478079/163840000000000000000000000",
          "MSE_exact": "851162042135813077697390906478079/163840000000000000000000000",
          "is_original_WorldBank_sample_design": false
        }
      ],
      "actualSurveyProbabilitiesVerified": false
    },
    "person": {
      "sourceRows": 3613,
      "observedSourceLogs": 3010,
      "unavailableSourceLogs": 603,
      "observedMean": {
        "exactFraction": "269258772463/43000000000",
        "value": 6.261831917744186
      },
      "actualObservationFractions": [
        {
          "derived_education_year_band": "years_le11",
          "all_actual_records": 612,
          "observed_source_logs": 497,
          "unobserved_source_logs": 115,
          "observed_fraction_exact": "497/612"
        },
        {
          "derived_education_year_band": "years_eq12",
          "all_actual_records": 1194,
          "observed_source_logs": 992,
          "unobserved_source_logs": 202,
          "observed_fraction_exact": "496/597"
        },
        {
          "derived_education_year_band": "years13to15",
          "all_actual_records": 838,
          "observed_source_logs": 704,
          "unobserved_source_logs": 134,
          "observed_fraction_exact": "352/419"
        },
        {
          "derived_education_year_band": "years_ge16",
          "all_actual_records": 969,
          "observed_source_logs": 817,
          "unobserved_source_logs": 152,
          "observed_fraction_exact": "43/51"
        }
      ],
      "assumedSensitivity": [
        {
          "assumed_missing603_mean_log_wage_exact": "9/2",
          "implied_all3613_cohort_mean_log_wage_exact": "2156161407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "5",
          "implied_all3613_cohort_mean_log_wage_exact": "2186311407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "11/2",
          "implied_all3613_cohort_mean_log_wage_exact": "2216461407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "6",
          "implied_all3613_cohort_mean_log_wage_exact": "2246611407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "269258772463/43000000000",
          "implied_all3613_cohort_mean_log_wage_exact": "269258772463/43000000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "13/2",
          "implied_all3613_cohort_mean_log_wage_exact": "2276761407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "7",
          "implied_all3613_cohort_mean_log_wage_exact": "2306911407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "15/2",
          "implied_all3613_cohort_mean_log_wage_exact": "2337061407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        },
        {
          "assumed_missing603_mean_log_wage_exact": "8",
          "implied_all3613_cohort_mean_log_wage_exact": "2367211407241/361300000000",
          "observed3010_mean_exact": "269258772463/43000000000",
          "assumed_mean_is_observed_missing_wage": false,
          "observed_missingness_or_values_overwritten": false
        }
      ],
      "missingValuesImputed": false
    },
    "company": {
      "sourceRows": 1599,
      "prespecifiedFamilySize": 11,
      "featureOrder": [
        "fixed_acidity",
        "volatile_acidity",
        "citric_acid",
        "residual_sugar",
        "chlorides",
        "free_sulfur_dioxide",
        "total_sulfur_dioxide",
        "density",
        "pH",
        "sulphates",
        "alcohol"
      ],
      "workingTests": [
        {
          "source_feature": "fixed_acidity",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "22284375/387294061",
          "working_classical_SE_approx": 0.011516937338372757,
          "working_t_approx": 4.996002153469294,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 6.495635009279706e-07,
          "observed_simple_regression_R_squared_exact": "2207081640625/143421187493276",
          "Bonferroni_adjusted_p_approx": 7.145198510207677e-06,
          "Holm_adjusted_p_approx": 2.5982540037118824e-06,
          "BH_adjusted_p_approx": 8.931498137759596e-07,
          "BY_adjusted_p_approx": 2.69720288820344e-06,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "volatile_acidity",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-7039380/3996383",
          "working_classical_SE_approx": 0.1038939703769306,
          "working_t_approx": -16.954186789879287,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 2.0517148070134906e-59,
          "observed_simple_regression_R_squared_exact": "564352139489/3699811417570",
          "Bonferroni_adjusted_p_approx": 2.2568862877148397e-58,
          "Holm_adjusted_p_approx": 2.0517148070134905e-58,
          "BH_adjusted_p_approx": 1.1284431438574199e-58,
          "BY_adjusted_p_approx": 3.407759885117189e-58,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "citric_acid",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "2916525/3107804",
          "working_classical_SE_approx": 0.10104459308564111,
          "working_t_approx": 9.287503765862757,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 4.991295250509432e-20,
          "observed_simple_regression_R_squared_exact": "58975751991/1150869546064",
          "Bonferroni_adjusted_p_approx": 5.490424775560375e-19,
          "Holm_adjusted_p_approx": 3.9930362004075454e-19,
          "BH_adjusted_p_approx": 1.3726061938900937e-19,
          "BY_adjusted_p_approx": 4.1451023483670143e-19,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "residual_sugar",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "3995070/507947873",
          "working_classical_SE_approx": 0.01433142962705657,
          "working_t_approx": 0.5488020585106197,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 0.5832180131580496,
          "observed_simple_regression_R_squared_exact": "17733982561/94050612268934",
          "Bonferroni_adjusted_p_approx": 1.0,
          "Holm_adjusted_p_approx": 0.5832180131580496,
          "BH_adjusted_p_approx": 0.5832180131580496,
          "BY_adjusted_p_approx": 1.0,
          "raw_p_le_point05": false,
          "Bonferroni_reject_at_point05": false,
          "Holm_reject_at_point05": false,
          "BH_reject_at_point05": false,
          "BY_reject_at_point05": false,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "chlorides",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-6259663500/2830068469",
          "working_classical_SE_approx": 0.4257826277668538,
          "working_t_approx": -5.1947674051423816,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 2.3133826540584595e-07,
          "observed_simple_regression_R_squared_exact": "17414838725881/1048019635166204",
          "Bonferroni_adjusted_p_approx": 2.5447209194643055e-06,
          "Holm_adjusted_p_approx": 1.1566913270292297e-06,
          "BH_adjusted_p_approx": 3.6353155992347224e-07,
          "BY_adjusted_p_approx": 1.0978207219608147e-06,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "free_sulfur_dioxide",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-1093389/279577130",
          "working_classical_SE_approx": 0.0019294400640105362,
          "working_t_approx": -2.026944072673788,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 0.042833979508140836,
          "observed_simple_regression_R_squared_exact": "132833278369/51765942236540",
          "Bonferroni_adjusted_p_approx": 0.4711737745895492,
          "Holm_adjusted_p_approx": 0.08566795901628167,
          "BH_adjusted_p_approx": 0.04711737745895492,
          "BY_adjusted_p_approx": 0.14228870073833244,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": false,
          "Holm_reject_at_point05": false,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": false,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "total_sulfur_dioxide",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-25129068/5529980293",
          "working_classical_SE_approx": 0.0006037023648793106,
          "working_t_approx": -7.527138736474335,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 8.621703423655402e-14,
          "observed_simple_regression_R_squared_exact": "17540834959684/511960045545647",
          "Bonferroni_adjusted_p_approx": 9.483873766020942e-13,
          "Holm_adjusted_p_approx": 6.035192396558781e-13,
          "BH_adjusted_p_approx": 1.8967747532041885e-13,
          "BY_adjusted_p_approx": 5.728027105536645e-13,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "density",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-283844300000/3792376993",
          "working_classical_SE_approx": 10.542191561904877,
          "working_t_approx": -7.099663591006813,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 1.8749566520103587e-12,
          "observed_simple_regression_R_squared_exact": "32227034656996/1053283408904841",
          "Bonferroni_adjusted_p_approx": 2.0624523172113944e-11,
          "Holm_adjusted_p_approx": 1.1249739912062153e-11,
          "BH_adjusted_p_approx": 3.4374205286856575e-12,
          "BY_adjusted_p_approx": 1.0380588379394123e-11,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "pH",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "-18391890/60903701",
          "working_classical_SE_approx": 0.13067522396656941,
          "working_t_approx": -2.3109440077534247,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 0.020962778651473637,
          "observed_simple_regression_R_squared_exact": "375846241969/112768074697580",
          "Bonferroni_adjusted_p_approx": 0.23059056516621002,
          "Holm_adjusted_p_approx": 0.06288833595442091,
          "BH_adjusted_p_approx": 0.02562117390735667,
          "BY_adjusted_p_approx": 0.07737280263198897,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": false,
          "Holm_reject_at_point05": false,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": false,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "sulphates",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "439666050/367088191",
          "working_classical_SE_approx": 0.11538866788152763,
          "working_t_approx": 10.37980891036119,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 1.802088453452302e-24,
          "observed_simple_regression_R_squared_exact": "8591388245449/135938630538356",
          "Bonferroni_adjusted_p_approx": 1.982297298797532e-23,
          "Holm_adjusted_p_approx": 1.6218796081070718e-23,
          "BH_adjusted_p_approx": 6.60765766265844e-24,
          "BY_adjusted_p_approx": 1.9954315678167414e-23,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        },
        {
          "source_feature": "alcohol",
          "actual_records": 1599,
          "observed_univariate_slope_exact": "1745156166666666755500000000000000/4836347491666667483933333333345237",
          "working_classical_SE_approx": 0.016675160295475198,
          "working_t_approx": 21.639478058447747,
          "df": 1597,
          "unadjusted_working_two_sided_p_approx": 2.831476974776402e-91,
          "observed_simple_regression_R_squared_exact": "304557004605469475450052338888889678025/1343232643293025226985192200003306088669",
          "Bonferroni_adjusted_p_approx": 3.1146246722540423e-90,
          "Holm_adjusted_p_approx": 3.1146246722540423e-90,
          "BH_adjusted_p_approx": 3.1146246722540423e-90,
          "BY_adjusted_p_approx": 9.405784485536008e-90,
          "raw_p_le_point05": true,
          "Bonferroni_reject_at_point05": true,
          "Holm_reject_at_point05": true,
          "BH_reject_at_point05": true,
          "BY_reject_at_point05": true,
          "real_classical_p_value_validity_certified": false
        }
      ],
      "rejectionCountsAt05": {
        "raw": 10,
        "Bonferroni": 8,
        "Holm": 8,
        "BH": 10,
        "BY": 8
      },
      "BYharmonicFactor": {
        "exactFraction": "83711/27720",
        "value": 3.019877344877345
      },
      "classicalPValueFieldValidityVerified": false,
      "ordinalScoreNumericLossChosen": true
    }
  },
  "enrichment": [
    {
      "kind": "video",
      "title": {
        "ko": "StatQuest · 거짓 발견 비율을 생각하기",
        "en": "StatQuest · False discovery rates"
      },
      "provider": "Josh Starmer / StatQuest",
      "url": "https://www.youtube.com/watch?v=K8LQSvtjcEo",
      "creatorPage": "https://statquest.org/video_index.html",
      "videoId": "K8LQSvtjcEo",
      "focus": {
        "ko": "여러 검정을 하나의 절차로 볼 때의 오류 목표를 따라갑니다. FDR은 개별 가설의 사후확률이 아니라 반복 절차의 기대비율이라는 본문 정의를 함께 적용하세요.",
        "en": "Follow the error target for a whole testing procedure; apply the chapter’s definition of FDR as an expected repeated-procedure proportion, not an individual posterior probability."
      },
      "question": {
        "ko": "FWER과 FDR은 같은 사건의 확률인가요?",
        "en": "Are FWER and FDR probabilities of the same event?"
      },
      "answer": {
        "ko": "아닙니다. FWER은 적어도 하나의 거짓 기각 확률이고 FDR은 발견 중 거짓 몫의 기대값입니다.",
        "en": "No. FWER is the probability of any false rejection; FDR is an expected fraction of false discoveries."
      }
    },
    {
      "kind": "thinker",
      "title": {
        "ko": "요아브 벤야미니 · 선택·동시추론과 반복검증",
        "en": "Yoav Benjamini · Selective inference and replicability"
      },
      "provider": "Tel Aviv University · author profile",
      "url": "https://www.math.tau.ac.il/~ybenja/",
      "focus": {
        "ko": "공식 개인 소개의 선택적·동시 추론과 반복검증 연구를 읽습니다. 데이터를 본 뒤 무엇을 보고할지 고르는 과정도 통계 절차의 일부임을 생각해 보세요.",
        "en": "Read the official profile’s work on selective/simultaneous inference and replicability. Choosing what to report after inspecting data is part of the statistical procedure."
      },
      "question": {
        "ko": "같은 원자료에서 유의한 부분만 보고하면 왜 문제가 되나요?",
        "en": "Why does reporting only favorable analyses on the same data matter?"
      },
      "answer": {
        "ko": "선택 과정을 생략한 개별 계산의 오류 수준이 전체 보고 절차의 오류 수준과 다를 수 있기 때문입니다.",
        "en": "An individual calculation ignoring selection can have a different error rate from the overall reporting procedure."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "R 공식 문서 · p.adjust의 서로 다른 오류 목표",
        "en": "R documentation · Error targets in p.adjust"
      },
      "provider": "R stats official manual",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/p.adjust.html",
      "focus": {
        "ko": "Details의 Bonferroni·Holm·BH·BY 범위와 의존 조건을 읽습니다. 본문 표는 동일 검정군의 원 p값에서 계산하며 software default가 연구 설계를 정해 주는 것은 아닙니다.",
        "en": "Read Details for Bonferroni, Holm, BH and BY and their dependence conditions. The table adjusts the same family of raw p-values; software defaults do not define a study design."
      },
      "question": {
        "ko": "Holm 조정 p값이 작으면 원래 p값의 유효성도 증명되나요?",
        "en": "Does a small Holm-adjusted p establish validity of the raw p?"
      },
      "answer": {
        "ko": "아닙니다. 조정의 오류 정리는 원 p값의 조건을 전제로 합니다.",
        "en": "No. Adjustment error guarantees presume conditions on the original p-values."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "Penn State · 복원 불균등 추출과 Hansen–Hurwitz",
        "en": "Penn State · Unequal replacement sampling and Hansen–Hurwitz"
      },
      "provider": "Penn State Statistics · STAT506 STAT506 §3.1–3.3 specified definitions",
      "url": "https://online.stat.psu.edu/stat506/Lesson03",
      "focus": {
        "ko": "3.1의 추첨확률과 3.2의 HH 총계·평균 기대값·분산 식만 읽습니다. 고유 포함 단위와 적어도 한 번 포함확률을 쓰는 HT와 이름·분모를 구별하고 원문 예시·큰 표본 구간 권고는 옮겨 쓰지 않습니다.",
        "en": "Read per-draw probabilities, §3.2 HH total/mean expectations and variance, and §3.3 at-least-once inclusion probabilities for replacement-design HT. Distinguish HT inclusion probabilities and do not import the original examples or approximate interval recommendation."
      },
      "question": {
        "ko": "알고 있는 한 추첨 확률 p_i를 원 조사 비응답 확률이라고 불러도 되나요?",
        "en": "May a known classroom draw probability p_i be called the original survey response probability?"
      },
      "answer": {
        "ko": "아닙니다. 표집 설계와 응답 과정의 확률은 따로 정의·검증해야 합니다.",
        "en": "No. Sampling-design probabilities and response-process probabilities require separate definitions and justification."
      }
    }
  ],
  "sources": [
    {
      "file": "실제데이터/worldbank.csv",
      "sha256": "b2f0f3815ea20e087909038e352a72af9dd844d50448008d75e3440a642ddd02",
      "url": "https://data.worldbank.org/indicator/NY.GDP.PCAP.KD",
      "scope": "Actual fixed2024 frame16 countries; known GDPpc target. Top4 oversampling is an explicitly assigned with-replacement classroom design, not original survey inclusion/response probabilities.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/worldbank-panel.json",
      "originalSha256": "4e9aab35e4ba7a64324358bd4bd54bfbc89255c859958ec1e5f471128e2087b7",
      "license": "World Bank attribution terms."
    },
    {
      "file": "실제데이터/college-proximity.csv",
      "sha256": "fd3ef1ef0eba13c487ece6aae7617a2da0a2b4239eae40c6c2bf58d771c7b8e0",
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "scope": "Actual3613 source rows,3010 observed trimmed log wages/603 unavailable; preserve missingness and source IDs. Missing mean scenarios are assumptions, not imputed measurements.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/proximity.zip",
      "originalSha256": "0e9b2ad4182ea631ca3dd8a5fff6c1b0ab86b56c6a3fa868870f716e8d82691f",
      "license": "Author public replication; no CC claim."
    },
    {
      "file": "실제데이터/wine.csv",
      "sha256": "f1520828528ec75ecda7f1f3183a6826f4317bb94b08816f7985890e11ece10e",
      "url": "https://archive.ics.uci.edu/dataset/186/wine+quality",
      "scope": "1599 actual red-wine12 numeric fields;11 prespecified simple projections share the same ordinal response, original duplicates retained; no producer, price or causal manipulation identification.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/wine-quality.zip",
      "originalSha256": "3ed56667f4b828242bd732d7d1dd7f2861e54432239d7fa63877014cbb0304d4",
      "license": "CC BY4.0, Cortez et al.2009,DOI10.24432/C56S3T."
    },
    {
      "url": "https://statquest.org/video_index.html",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official creator index link108 directly resolves K8LQSvtjcEo. No actual playback certification."
    },
    {
      "url": "https://www.math.tau.ac.il/~ybenja/",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official author profile selective/simultaneous-inference and replicability research paragraphs only; no original1995 paper full-read claim."
    },
    {
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/p.adjust.html",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official Details for Bonferroni/Holm/BH/BY and error/dependence conditions; no unqualified real-data control claim."
    },
    {
      "url": "https://online.stat.psu.edu/stat506/Lesson03",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "§3.1 per-draw probabilities, §3.2 Hansen-Hurwitz expectation/variance formulas and §3.3 replacement-design HT inclusion probabilities only; no confusion with Horvitz-Thompson inclusion probabilities or original examples/interval recommendation."
    }
  ],
  "review": {
    "status": "Author source/HH expectation/risk/multiplicity assertions passed; independent AI bilingual/source/numerical review passed; standalone Python/R cross-checks passed.",
    "scope": "Actual finite targets and missingness differ from assigned sampling designs, missing-mean scenarios and working raw/adjusted tests. No adjustment repairs invalid original p-values or establishes causality/representativeness.",
    "checks": {
      "frameProbabilitiesSumTo1": true,
      "HHunbiasedForFixedTarget": true,
      "allSourceMissingRowsPreserved": true,
      "elevenOriginalFeatureFamily": true,
      "rejections": {
        "raw": 10,
        "Bonferroni": 8,
        "Holm": 8,
        "BH": 10,
        "BY": 8
      }
    },
    "independentReviewFile": "work/textbook-rewrite-2026/stats17-pedagogy-review.json",
    "videoVerification": "Official creator index/target link verified; playback remains parent browser QA."
  }
}
