{
  "cases": {
    "ko": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats04-country-ko\"><h3>국가 사례 · 조건이 바뀌면 분모도 달라진다</h3><p>앞 장에서 사용한 2024년 실제 16개 국가 지표를 그대로 가져옵니다. 이번에는 “이 16개 국가 이름표 중 하나를 같은 확률로 뽑는다”는 학습 실험을 정의합니다. 세계의 사람 한 명을 뽑는 실험이 아니며, 선택 국가들이 세계를 대표한다는 가정도 넣지 않습니다. 원자료는 고정되어 있고 무작위성은 우리가 정의한 이름표 선택에 있습니다.</p><p>사건 A는 GDP/명이 30,000 이상, 사건 B는 출생 시 기대수명이 80년 이상인 국가가 뽑히는 것입니다. GDP 단위는 2015년 가격의 USD/명입니다. 두 기준은 이 장에서 고른 연습용 임계값이며 공식 소득 분류나 정책의 성공·실패 기준이 아닙니다. 기대수명은 시점별 사망률 패턴으로 계산한 집단 지표로 개인의 미래 수명이 아닙니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 국가 지표에서 사건 이름표 붙이기</caption><thead><tr><th scope=\"col\">국가</th><th scope=\"col\">GDP/명 (2015 USD/명)</th><th scope=\"col\">기대수명 (년)</th><th scope=\"col\">A: GDP≥30,000</th><th scope=\"col\">B: 기대수명≥80</th></tr></thead><tbody><tr><th scope=\"row\">AUS</th><td>61,486.38</td><td>83.051</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">BRA</th><td>9,566.75</td><td>76.023</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">CAN</th><td>45,061.39</td><td>82.108</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">CHN</th><td>13,119.11</td><td>78.017</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">DEU</th><td>44,027.76</td><td>80.793</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">FRA</th><td>39,683.40</td><td>82.980</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">GBR</th><td>47,900.97</td><td>81.387</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">IDN</th><td>4,367.95</td><td>71.288</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">IND</th><td>2,366.83</td><td>72.235</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">JPN</th><td>37,976.64</td><td>84.036</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">KOR</th><td>37,048.43</td><td>83.629</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">MEX</th><td>10,284.03</td><td>75.264</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">SGP</th><td>68,129.70</td><td>83.346</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">USA</th><td>66,856.51</td><td>78.890</td><td>예</td><td>아니요</td></tr><tr><th scope=\"row\">VNM</th><td>4,012.51</td><td>74.736</td><td>아니요</td><td>아니요</td></tr><tr><th scope=\"row\">ZAF</th><td>5,715.48</td><td>66.312</td><td>아니요</td><td>아니요</td></tr></tbody></table></div><h4>1. 네 칸으로 나누면 겹침을 두 번 세지 않는다</h4><div class=\"table-scroll\" tabindex=\"0\"><table><caption>같은 16개 국가를 서로 겹치지 않는 네 칸으로 분할</caption><thead><tr><th scope=\"col\">사건</th><th scope=\"col\">이름표 수</th><th scope=\"col\">선택 확률</th></tr></thead><tbody><tr><th scope=\"row\">A∩B</th><td>8</td><td>8/16</td></tr><tr><th scope=\"row\">A∩Bᶜ</th><td>1</td><td>1/16</td></tr><tr><th scope=\"row\">Aᶜ∩B</th><td>0</td><td>0/16</td></tr><tr><th scope=\"row\">Aᶜ∩Bᶜ</th><td>7</td><td>7/16</td></tr><tr><th scope=\"row\">전체</th><td>16</td><td>1</td></tr></tbody></table></div><div data-tex=\"P(A)=\\frac9{16},\\quad P(B)=\\frac8{16},\\quad P(A\\cap B)=\\frac8{16},\\qquad P(A\\cup B)=\\frac9{16}+\\frac8{16}-\\frac8{16}=\\frac9{16}\"></div><p>“또는”은 둘 다 해당하는 경우까지 포함합니다. 9개와 8개를 그냥 더하면 둘 다 해당하는 8개를 두 번 세므로 겹침을 한 번 빼야 합니다. 이 고정 자료에서는 B에 속한 국가가 모두 A에도 속하므로 B⊂A입니다. 다른 국가·연도까지 이 포함 관계가 성립한다고 결론 내리지는 않습니다.</p><h4>2. 조건은 남겨 둘 이름표를 정한다</h4><p>“A에 해당하는 국가가 뽑혔다”는 정보를 받으면 16개 전체가 아니라 A 안의 9개 이름표만 남겨 봅니다. 그중 B에도 해당하는 것은 8개입니다. 남은 9개 안에서 선택 확률의 합이 다시 1이 되도록 나누는 것이 조건부확률입니다.</p><div data-tex=\"P(B\\mid A)=\\frac{P(A\\cap B)}{P(A)}=\\frac{8/16}{9/16}=\\frac89,\\qquad P(A\\mid B)=\\frac{8/16}{8/16}=1\"></div><div data-case-chart=\"country\"></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: A도 B도 아닌 확률과, A가 아닐 때 B일 확률은 같은가요?</summary><div><p>서로 다릅니다. 둘 다 아닌 확률 P(Aᶜ∩Bᶜ)=7/16입니다. A가 아닌 국가 7개 안에서 B인 국가 수는 0이므로 P(B|Aᶜ)=0/7=0입니다. 첫 식의 분모는 전체 16, 두 번째는 조건에 남은 7입니다. 사건을 문장으로 먼저 읽으면 분모를 찾기 쉽습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: P(B|A)가 크면 GDP를 올리는 정책의 수명 효과인가요?</summary><div><p>이 실험은 같은 자료를 고른 조건별로 나눈 계산입니다. GDP를 바꾸는 개입이나 시간에 따른 정책 효과를 측정하지 않았습니다. 조건부확률을 인과효과로 읽으려면 추가 설계와 가정이 필요합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: “GDP<0인 국가”를 조건으로 정하면 어떤가요?</summary><div><p>선택한 16개 지표에는 해당 국가가 없으므로 이 실험에서 그 조건의 확률은 0입니다. 정의식은 0으로 나누게 되어 사용할 수 없습니다. “해당 없음”과 조건부확률 0은 다릅니다. 이 장에서는 분모가 양수인 조건만 계산합니다.</p></div></details><p>자료: <a href=\"https://data.worldbank.org/indicator/NY.GDP.PCAP.KD\" target=\"_blank\" rel=\"noopener\">World Bank · 실제 2024년 국가 지표</a> · <a href=\"stats04-sources/actual-country-indicators-events-and-uniform-weights.csv\" download>실제 값·사건·선택 가중치 CSV</a></p><p><a href=\"https://databank.worldbank.org/metadataglossary/world-development-indicators/series/SP.DYN.LE00.IN\" target=\"_blank\" rel=\"noopener\">출생 시 기대수명 공식 정의 · SP.DYN.LE00.IN</a></p></article><article class=\"case-study\" id=\"stats04-person-ko\"><h3>개체 사례 · “날개가 길 때 Gentoo”와 “Gentoo의 날개가 길다”</h3><p>Palmer 자료의 실제 펭귄 관측을 사용합니다. 원본은 344행이지만 날개 길이가 빈 행 4·272를 0으로 바꾸지 않고 CSV에 보존합니다. 이번 선택 실험은 날개 길이가 기록된 342행 중 하나를 균등하게 고르는 것입니다. 모든 펭귄이 아니라 이 유효 기록 집합 안의 확률을 계산합니다. row_id는 행을 찾는 번호이며 독립 표집을 증명하는 개체 추적 번호가 아닙니다.</p><p>G는 실제 종이 Gentoo인 사건, T는 기록된 날개 길이가 210 mm 이상인 사건입니다. 210이라는 기준은 설명을 위해 선택했으며 생물학적 종 판별의 공식 기준이나 검증된 예측 규칙이 아닙니다. 종은 실제 기록을 사용하고 날개 길이만으로 새 종 이름을 만들어 넣지 않습니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 342개 유효 기록의 2×2 표</caption><thead><tr><th scope=\"col\">기록된 종</th><th scope=\"col\">T: 날개≥210 mm</th><th scope=\"col\">Tᶜ: 날개<210 mm</th><th scope=\"col\">합계</th></tr></thead><tbody><tr><th scope=\"row\">G: Gentoo</th><td>109</td><td>14</td><td>123</td></tr><tr><th scope=\"row\">Gᶜ: 다른 두 종</th><td>5</td><td>214</td><td>219</td></tr><tr><th scope=\"row\">합계</th><td>114</td><td>228</td><td>342</td></tr></tbody></table></div><div data-tex=\"P(G\\cap T)=\\frac{109}{342},\\quad P(T)=\\frac{114}{342},\\quad P(G)=\\frac{123}{342}\"></div><h4>1. 분자 109가 같아도 질문은 다르다</h4><div data-tex=\"P(G\\mid T)=\\frac{109}{114}\\approx0.956140,\\qquad P(T\\mid G)=\\frac{109}{123}\\approx0.886179\"></div><p>첫 질문은 긴 날개를 가진 114개 기록 안에서 Gentoo가 몇 개인지 묻습니다. 두 번째는 Gentoo 123개 안에서 긴 날개가 몇 개인지 묻습니다. 둘 다 겹치는 109개를 세지만 남겨 놓은 집합이 다릅니다. 먼저 표에서 분모의 행 또는 열을 손가락으로 짚어 본 뒤 나눠 보세요.</p><div data-case-chart=\"person\"></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 긴 날개인 기록에 조건을 걸었을 때 다른 두 종일 확률은?</summary><div><div data-tex=\"P(G^c\\mid T)=\\frac5{114},\\qquad \\frac{109}{114}+\\frac5{114}=1\"></div><p>조건 T를 만족하는 열 안에서 두 종 집단이 겹치지 않고 전체를 채웁니다. 기존 전체 분모 342를 유지하면 두 조건부확률의 합이 1이 되지 않습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: Gentoo 또는 긴 날개일 확률을 123/342+114/342로 계산해도 되나요?</summary><div><div data-tex=\"P(G\\cup T)=\\frac{123+114-109}{342}=\\frac{128}{342}=\\frac{64}{171}\"></div><p>Gentoo이면서 긴 날개인 109개를 두 번 더했으므로 한 번 빼야 합니다. “둘 중 정확히 하나”라면 겹침을 포함하지 않아 (14+5)/342=19/342입니다. 일상어 “또는”의 뜻부터 구별합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 342를 344로 바꾸면 조금 더 보수적인 계산인가요?</summary><div><p>아닙니다. 분석 대상과 사건 정의가 바뀝니다. 두 빈 날개 값을 210 미만이라고 알 수 없으므로 T 여부를 임의로 붙이지 않습니다. 알려진 자료에서 조건을 건 실험은 342가 분모입니다. 결측이 있는 전체 기록이나 더 넓은 생물 집단으로 일반화하려면 관측 가능성과 선택 과정을 추가로 살펴야 합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 두 기록을 연속해서 고르면 두 번의 선택은 자동으로 독립인가요?</summary><div><p>선택 절차를 먼저 정해야 합니다. 매번 342개 중 균등하게 독립 재추첨하는 가정과, 한 번 뽑은 행을 빼고 341개 중 다시 뽑는 가정은 다릅니다. 두 위치의 주변확률이 같아도 독립인 것은 아닙니다. 이 장의 표는 한 번 선택에 대한 것이며 여러 번 선택의 독립성을 자료 파일 자체에서 읽어 낸 것은 아닙니다. 다음 장에서 이 차이를 이어 봅니다.</p></div></details><p>자료: <a href=\"https://allisonhorst.github.io/palmerpenguins/\" target=\"_blank\" rel=\"noopener\">Horst·Hill·Gorman / Palmer LTER · 실제 종·날개 길이 (CC0)</a> · <a href=\"stats04-sources/actual-penguin-flippers-events-with-missing-rows.csv\" download>실제 값·사건·선택 가중치 CSV</a></p></article><article class=\"case-study\" id=\"stats04-company-ko\"><h3>기업 사례 · 품목 하나를 뽑는 것과 매출 비중으로 뽑는 것</h3><p>Apple 공시의 같은 다섯 품목을 사용합니다. FY2023은 53주, FY2024는 52주이며 단위는 백만 명목 USD의 순매출입니다. 이 표는 한 기업의 품목 집계로 거래별 구매 금액·고객 수·판매 개수 자료가 아닙니다. 따라서 “고객이 서비스를 살 확률”을 직접 계산할 수는 없습니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 공시 값에 두 사건을 표시</caption><thead><tr><th scope=\"col\">품목</th><th scope=\"col\">FY2023 순매출</th><th scope=\"col\">FY2024 순매출</th><th scope=\"col\">H: 하드웨어</th><th scope=\"col\">I: 명목 연간 매출 증가</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>200,583</td><td>201,183</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">Mac</th><td>29,357</td><td>29,984</td><td>예</td><td>예</td></tr><tr><th scope=\"row\">iPad</th><td>28,300</td><td>26,694</td><td>예</td><td>아니요</td></tr><tr><th scope=\"row\">웨어러블·홈·액세서리</th><td>39,845</td><td>37,005</td><td>예</td><td>아니요</td></tr><tr><th scope=\"row\">서비스</th><td>85,200</td><td>96,169</td><td>아니요</td><td>예</td></tr></tbody></table></div><p>H는 네 하드웨어 품목 중 하나, I는 FY2024 순매출이 FY2023보다 큰 품목입니다. 서비스·iPhone·Mac은 I에 들어가고 iPad·웨어러블 등은 들어가지 않습니다. 주수가 다른 명목 연간 집계의 단순 비교이며, 주당 성장·이익 증가·물량 증가를 뜻하지 않습니다.</p><h4>1. 실험 U: 다섯 품목 이름표를 같은 확률로 선택</h4><div data-tex=\"P_U(H)=\\frac45,\\quad P_U(I)=\\frac35,\\quad P_U(H\\cap I)=\\frac25,\\quad P_U(H\\mid I)=\\frac23\"></div><p>증가한 세 품목 중 하드웨어는 iPhone·Mac 두 개입니다. 이 실험에서는 서비스도 iPhone도 각각 1/5의 선택 확률입니다. 실제 매출 크기가 같다는 뜻은 아니며 이름표를 균등하게 고른다는 뜻입니다.</p><h4>2. 실험 W: FY2024 공시 매출 비중을 선택 가중치로 지정</h4><div data-tex=\"P_W(\\{j\\})=\\frac{S_{j,2024}}{\\sum_k S_{k,2024}},\\qquad \\sum_k S_{k,2024}=391035\\ {\\rm million\\ USD}\"></div><p>가중치의 분자와 분모에는 같은 통화 단위가 있으므로 나눈 확률은 무차원입니다. 이 선택 법칙은 실제 공시 집계를 재료로 정의한 수학적 실험이며, 실제 고객·영수증을 관찰해 얻은 구매 확률이 아닙니다. 품목 수가 아니라 선택 가중치의 합으로 조건부확률을 계산합니다.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>동일한 실제 다섯 품목, 서로 다른 선택 확률</caption><thead><tr><th scope=\"col\">품목</th><th scope=\"col\">균등 품목 선택 U</th><th scope=\"col\">매출 가중 선택 W</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>1/5</td><td>67061/130345 ≈ 0.514488</td></tr><tr><th scope=\"row\">Mac</th><td>1/5</td><td>29984/391035 ≈ 0.076679</td></tr><tr><th scope=\"row\">iPad</th><td>1/5</td><td>8898/130345 ≈ 0.068265</td></tr><tr><th scope=\"row\">웨어러블·홈·액세서리</th><td>1/5</td><td>2467/26069 ≈ 0.094633</td></tr><tr><th scope=\"row\">서비스</th><td>1/5</td><td>96169/391035 ≈ 0.245935</td></tr></tbody></table></div><div data-case-chart=\"company\"></div><div data-tex=\"P_W(H\\mid I)=\\frac{201183+29984}{201183+29984+96169}=\\frac{231167}{327336}\\approx0.706207078\"></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 같은 표인데 2/3과 231167/327336 중 어느 쪽이 맞나요?</summary><div><p>각자 정의한 실험에서는 둘 다 맞습니다. U는 품목 이름표를 같은 확률로, W는 FY2024 매출 비중으로 고릅니다. 같은 사건 이름을 쓰더라도 확률 법칙이 다르면 답이 달라집니다. “무엇을 어떤 확률로 뽑는가?”를 표와 계산 앞에 적어야 비교가 가능합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 관측 빈도로 세어 계산하는 n(A)/n(Ω)가 항상 맞는 공식인가요?</summary><div><p>유한 표본공간에서 모든 이름표가 같은 확률일 때 맞습니다. 가중 선택 W에서는 사건 안 가중치들의 합을 써야 합니다. 서비스 한 품목의 가중치는 1/5가 아니라 96,169/391,035입니다. “행 수를 나눈다”와 “확률 질량을 더한다”를 구별합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 서비스와 하드웨어는 겹치지 않으니 확률도 독립인가요?</summary><div><p>서비스와 하드웨어는 이 분류에서 동시에 일어날 수 없는 서로 배반인 사건입니다. 독립은 다른 조건이 붙어도 확률이 어떻게 달라지는지에 대한 별도 개념이며 다음 장에서 정의합니다. “서로 다른 이름”이나 “겹치지 않음”을 독립이라는 말로 바꾸지 않습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 비율 0.706207078을 70.6207078%로 바꾸면 자료의 단위가 바뀌나요?</summary><div><p>표현만 바뀝니다. 1을 100%로 쓰는 방식이며 통화 단위가 생기지 않습니다. 공시 값이 반올림된 백만 USD라는 한계는 남지만, 보관한 공시 숫자에 대한 분수 계산은 정확히 재현할 수 있습니다.</p></div></details><p>자료: <a href=\"https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm\" target=\"_blank\" rel=\"noopener\">SEC EDGAR · 실제 Apple 순매출 품목 표</a> · <a href=\"stats04-sources/actual-apple-category-sales-and-two-selection-weights.csv\" download>실제 값·사건·선택 가중치 CSV</a></p></article><p><a href=\"stats04-sources/actual-record-contingency-counts-and-assigned-probabilities.csv\" download>네 칸 교차표·선택 가중치 CSV</a> · <a href=\"stats04-sources/exact-event-and-conditional-probability-calculations.csv\" download>사건·조건부확률의 정확한 분수 계산 CSV</a> · <a href=\"stats04-sources/provenance.json\" download>출처·가공·해시 기록</a></p></div>",
    "en": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats04-country-en\"><h3>Country case · Changing the condition changes the denominator</h3><p>Keep the same actual 2024 indicators for sixteen countries. Define a classroom experiment: select one of these sixteen country-name tickets uniformly. This is not a random resident of the world, and the selected countries are not assumed to represent all countries. The records are fixed; randomness comes from the specified ticket selection.</p><p>Event A means selecting a country with GDP/person at least 30000; B means life expectancy at birth at least 80 years. GDP uses constant 2015 USD/person. These thresholds are chosen teaching rules, not official income classifications or policy success criteria. Life expectancy is a population indicator calculated from period mortality patterns, not a forecast of one person’s future lifespan.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Attach event labels to actual national indicators</caption><thead><tr><th scope=\"col\">Country</th><th scope=\"col\">GDP/person (2015 USD/person)</th><th scope=\"col\">Life expectancy (years)</th><th scope=\"col\">A: GDP≥30000</th><th scope=\"col\">B: life expectancy≥80</th></tr></thead><tbody><tr><th scope=\"row\">AUS</th><td>61,486.38</td><td>83.051</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">BRA</th><td>9,566.75</td><td>76.023</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">CAN</th><td>45,061.39</td><td>82.108</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">CHN</th><td>13,119.11</td><td>78.017</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">DEU</th><td>44,027.76</td><td>80.793</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">FRA</th><td>39,683.40</td><td>82.980</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">GBR</th><td>47,900.97</td><td>81.387</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">IDN</th><td>4,367.95</td><td>71.288</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">IND</th><td>2,366.83</td><td>72.235</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">JPN</th><td>37,976.64</td><td>84.036</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">KOR</th><td>37,048.43</td><td>83.629</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">MEX</th><td>10,284.03</td><td>75.264</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">SGP</th><td>68,129.70</td><td>83.346</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">USA</th><td>66,856.51</td><td>78.890</td><td>Yes</td><td>No</td></tr><tr><th scope=\"row\">VNM</th><td>4,012.51</td><td>74.736</td><td>No</td><td>No</td></tr><tr><th scope=\"row\">ZAF</th><td>5,715.48</td><td>66.312</td><td>No</td><td>No</td></tr></tbody></table></div><h4>1. Four disjoint cells prevent double counting</h4><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Partition the same sixteen tickets into disjoint cells</caption><thead><tr><th scope=\"col\">Event</th><th scope=\"col\">Tickets</th><th scope=\"col\">Selection probability</th></tr></thead><tbody><tr><th scope=\"row\">A∩B</th><td>8</td><td>8/16</td></tr><tr><th scope=\"row\">A∩Bᶜ</th><td>1</td><td>1/16</td></tr><tr><th scope=\"row\">Aᶜ∩B</th><td>0</td><td>0/16</td></tr><tr><th scope=\"row\">Aᶜ∩Bᶜ</th><td>7</td><td>7/16</td></tr><tr><th scope=\"row\">Total</th><td>16</td><td>1</td></tr></tbody></table></div><div data-tex=\"P(A)=\\frac9{16},\\quad P(B)=\\frac8{16},\\quad P(A\\cap B)=\\frac8{16},\\qquad P(A\\cup B)=\\frac9{16}+\\frac8{16}-\\frac8{16}=\\frac9{16}\"></div><p>“Or” includes outcomes in both events. Adding 9 and 8 counts the shared 8 twice, so subtract the overlap once. All B countries happen to belong to A in this fixed snapshot: B⊂A. This does not establish the same inclusion for other countries or years.</p><h4>2. A condition specifies which tickets remain</h4><p>If told that A occurred, retain its nine tickets rather than all sixteen. Eight of those nine also satisfy B. Conditional probability divides by the retained probability mass so that probabilities in the conditioned experiment again sum to one.</p><div data-tex=\"P(B\\mid A)=\\frac{P(A\\cap B)}{P(A)}=\\frac{8/16}{9/16}=\\frac89,\\qquad P(A\\mid B)=\\frac{8/16}{8/16}=1\"></div><div data-case-chart=\"country\"></div><details class=\"case-answer\"><summary>Think first, then reveal: Is the probability of neither A nor B the same as B given not A?</summary><div><p>No. P(Aᶜ∩Bᶜ)=7/16 uses all sixteen tickets. Among seven not-A countries, none satisfies B, so P(B|Aᶜ)=0/7=0. Read the event in words before deciding which denominator applies.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Does large P(B|A) measure a policy effect from raising GDP?</summary><div><p>This calculation partitions fixed records by observed conditions. It does not measure an intervention on GDP or a policy effect over time. Reading a conditional association as causation requires further design and assumptions.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: What if the condition is selecting a country with GDP below zero?</summary><div><p>No retained country satisfies it, so that conditioning event has probability zero in this experiment. The elementary conditional formula would divide by zero and cannot be used. An undefined conditional probability differs from probability zero. We calculate only positive-probability conditions here.</p></div></details><p>Source: <a href=\"https://data.worldbank.org/indicator/NY.GDP.PCAP.KD\" target=\"_blank\" rel=\"noopener\">World Bank · actual 2024 national indicators</a> · <a href=\"stats04-sources/actual-country-indicators-events-and-uniform-weights.csv\" download>Actual values, events and selection weights CSV</a></p><p><a href=\"https://databank.worldbank.org/metadataglossary/world-development-indicators/series/SP.DYN.LE00.IN\" target=\"_blank\" rel=\"noopener\">Official life-expectancy definition · SP.DYN.LE00.IN</a></p></article><article class=\"case-study\" id=\"stats04-person-en\"><h3>Individual-organism case · Gentoo given a long flipper versus a long flipper given Gentoo</h3><p>Use actual Palmer penguin records. Retain all 344 source rows in the CSV, including missing flipper measurements in rows 4 and 272. Do not replace them with zero. The experiment uniformly selects one of 342 records with an available flipper measurement. Its probabilities concern that fixed valid-record set, not all penguins. Added row IDs locate records; they do not certify independent sampling or supply original tracking identities.</p><p>G means the recorded species is Gentoo; T means recorded flipper length is at least 210 mm. The threshold is selected for instruction, not an official biological species definition or a validated prediction rule. Species labels come from actual records rather than being invented from flipper lengths.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Actual 2×2 table of 342 valid records</caption><thead><tr><th scope=\"col\">Recorded species</th><th scope=\"col\">T: flipper≥210 mm</th><th scope=\"col\">Tᶜ: flipper<210 mm</th><th scope=\"col\">Total</th></tr></thead><tbody><tr><th scope=\"row\">G: Gentoo</th><td>109</td><td>14</td><td>123</td></tr><tr><th scope=\"row\">Gᶜ: other two species</th><td>5</td><td>214</td><td>219</td></tr><tr><th scope=\"row\">Total</th><td>114</td><td>228</td><td>342</td></tr></tbody></table></div><div data-tex=\"P(G\\cap T)=\\frac{109}{342},\\quad P(T)=\\frac{114}{342},\\quad P(G)=\\frac{123}{342}\"></div><h4>1. The same numerator can answer different questions</h4><div data-tex=\"P(G\\mid T)=\\frac{109}{114}\\approx0.956140,\\qquad P(T\\mid G)=\\frac{109}{123}\\approx0.886179\"></div><p>The first question counts Gentoo among 114 long-flipper records. The second counts long flippers among 123 Gentoo records. Both count the same overlap of 109, but retain different sets. Point to the conditioning row or column in the table before dividing.</p><div data-case-chart=\"person\"></div><details class=\"case-answer\"><summary>Think first, then reveal: Given a long flipper, what is the probability of another species?</summary><div><div data-tex=\"P(G^c\\mid T)=\\frac5{114},\\qquad \\frac{109}{114}+\\frac5{114}=1\"></div><p>The two species groups are disjoint and exhaust the conditioned T column. Keeping the old denominator of 342 would prevent these conditional probabilities from summing to one.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: May Gentoo or a long flipper be calculated as 123/342+114/342?</summary><div><div data-tex=\"P(G\\cup T)=\\frac{123+114-109}{342}=\\frac{128}{342}=\\frac{64}{171}\"></div><p>Subtract the 109 overlapping records counted twice. “Exactly one” instead excludes the overlap and has probability (14+5)/342=19/342. Clarify the meaning of “or” first.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Would changing 342 to 344 simply make the calculation more conservative?</summary><div><p>No. It changes the target experiment. Neither missing flipper measurement is known to be below 210, so do not assign its T status. Uniform selection conditional on an available flipper measurement uses 342 records. Generalization to all retained records or a wider biological population requires an account of missingness and selection.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: If two records are selected in sequence, are both selections automatically independent?</summary><div><p>Specify the selection procedure. Independent uniform redrawing from all 342 records differs from removing the first ticket and drawing from 341. Equal marginal probabilities at the two positions do not establish independence. Our table describes one selection; it does not infer independence of repeated sampling from the data file. The next chapter develops this distinction.</p></div></details><p>Source: <a href=\"https://allisonhorst.github.io/palmerpenguins/\" target=\"_blank\" rel=\"noopener\">Horst, Hill, Gorman / Palmer LTER · actual species and flippers (CC0)</a> · <a href=\"stats04-sources/actual-penguin-flippers-events-with-missing-rows.csv\" download>Actual values, events and selection weights CSV</a></p></article><article class=\"case-study\" id=\"stats04-company-en\"><h3>Company case · Uniform category selection differs from sales-weighted selection</h3><p>Retain Apple’s same five disclosed categories. FY2023 spans 53 weeks and FY2024 52 weeks; net sales use million nominal USD. These are category aggregates for one company, not transaction amounts, customer counts or unit sales. They do not directly identify a customer’s probability of purchasing a service.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Attach two events to actual disclosed values</caption><thead><tr><th scope=\"col\">Category</th><th scope=\"col\">FY2023 net sales</th><th scope=\"col\">FY2024 net sales</th><th scope=\"col\">H: hardware</th><th scope=\"col\">I: annual nominal sales increased</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>200,583</td><td>201,183</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">Mac</th><td>29,357</td><td>29,984</td><td>Yes</td><td>Yes</td></tr><tr><th scope=\"row\">iPad</th><td>28,300</td><td>26,694</td><td>Yes</td><td>No</td></tr><tr><th scope=\"row\">Wearables, Home and Accessories</th><td>39,845</td><td>37,005</td><td>Yes</td><td>No</td></tr><tr><th scope=\"row\">Services</th><td>85,200</td><td>96,169</td><td>No</td><td>Yes</td></tr></tbody></table></div><p>H means one of the four hardware categories; I means FY2024 net sales exceed FY2023. Services, iPhone and Mac satisfy I; iPad and Wearables do not. This compares nominal annual totals across unequal fiscal weeks, not weekly growth, profit growth or growth in physical units.</p><h4>1. Experiment U: select one of five category tickets uniformly</h4><div data-tex=\"P_U(H)=\\frac45,\\quad P_U(I)=\\frac35,\\quad P_U(H\\cap I)=\\frac25,\\quad P_U(H\\mid I)=\\frac23\"></div><p>Two of the three increased categories are hardware: iPhone and Mac. Services and iPhone each receive selection probability 1/5 in this experiment. Their actual sales are not claimed equal; their category tickets are selected equally.</p><h4>2. Experiment W: assign FY2024 sales shares as selection weights</h4><div data-tex=\"P_W(\\{j\\})=\\frac{S_{j,2024}}{\\sum_k S_{k,2024}},\\qquad \\sum_k S_{k,2024}=391035\\ {\\rm million\\ USD}\"></div><p>Matching currency units cancel in the ratio, leaving a dimensionless probability. This is an explicitly defined mathematical selection law using actual disclosed aggregates, not a purchase probability observed from customer receipts. Conditional probabilities sum weights rather than merely count categories.</p><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Same actual categories, different selection probabilities</caption><thead><tr><th scope=\"col\">Category</th><th scope=\"col\">Uniform U</th><th scope=\"col\">Sales-weighted W</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>1/5</td><td>67061/130345 ≈ 0.514488</td></tr><tr><th scope=\"row\">Mac</th><td>1/5</td><td>29984/391035 ≈ 0.076679</td></tr><tr><th scope=\"row\">iPad</th><td>1/5</td><td>8898/130345 ≈ 0.068265</td></tr><tr><th scope=\"row\">Wearables, Home and Accessories</th><td>1/5</td><td>2467/26069 ≈ 0.094633</td></tr><tr><th scope=\"row\">Services</th><td>1/5</td><td>96169/391035 ≈ 0.245935</td></tr></tbody></table></div><div data-case-chart=\"company\"></div><div data-tex=\"P_W(H\\mid I)=\\frac{201183+29984}{201183+29984+96169}=\\frac{231167}{327336}\\approx0.706207078\"></div><details class=\"case-answer\"><summary>Think first, then reveal: Which answer is correct: 2/3 or 231167/327336?</summary><div><p>Both are correct for their specified experiments. U selects category tickets uniformly; W uses FY2024 sales shares. The same event labels can have different probabilities under different selection laws. State what is selected and how before comparing answers.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Is the counting formula n(A)/n(Ω) always correct?</summary><div><p>It applies to a finite outcome space with equally likely tickets. Under W, sum the assigned weights inside the event. Services has mass 96169/391035 rather than 1/5. Counting rows and adding probability mass are different operations.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Since Services and hardware do not overlap, are they independent?</summary><div><p>They are mutually exclusive under this classification: both cannot occur on one selection. Independence is a separate condition on how probabilities behave under information, defined in the next chapter. Different labels or disjoint sets do not automatically imply independence.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Does expressing 0.706207078 as 70.6207078% change the data’s units?</summary><div><p>It changes only the probability notation: one is written as 100%. No currency unit reappears. Disclosed million-USD values retain their reporting precision, while exact fractions reproduce calculations on the retained reported numbers.</p></div></details><p>Source: <a href=\"https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm\" target=\"_blank\" rel=\"noopener\">SEC EDGAR · actual Apple net-sales category table</a> · <a href=\"stats04-sources/actual-apple-category-sales-and-two-selection-weights.csv\" download>Actual values, events and selection weights CSV</a></p></article><p><a href=\"stats04-sources/actual-record-contingency-counts-and-assigned-probabilities.csv\" download>Four-cell tables and assigned masses CSV</a> · <a href=\"stats04-sources/exact-event-and-conditional-probability-calculations.csv\" download>Exact event and conditional calculations CSV</a> · <a href=\"stats04-sources/provenance.json\" download>Sources, processing and hashes</a></p></div>"
  },
  "chartData": {
    "country": [
      {
        "x": 0,
        "y": 0.5,
        "modelY": 0.8888888888888888,
        "label": {
          "ko": "A∩B",
          "en": "A∩B"
        },
        "actualRecordCount": 8,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 1,
        "y": 0.0625,
        "modelY": 0.1111111111111111,
        "label": {
          "ko": "A∩Bᶜ",
          "en": "A∩Bᶜ"
        },
        "actualRecordCount": 1,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 2,
        "y": 0.0,
        "modelY": 0.0,
        "label": {
          "ko": "Aᶜ∩B",
          "en": "Aᶜ∩B"
        },
        "actualRecordCount": 0,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 3,
        "y": 0.4375,
        "modelY": 0.0,
        "label": {
          "ko": "Aᶜ∩Bᶜ",
          "en": "Aᶜ∩Bᶜ"
        },
        "actualRecordCount": 7,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      }
    ],
    "person": [
      {
        "x": 0,
        "y": 0.31871345029239767,
        "modelY": 0.956140350877193,
        "label": {
          "ko": "G∩T",
          "en": "G∩T"
        },
        "actualRecordCount": 109,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 1,
        "y": 0.04093567251461988,
        "modelY": 0.0,
        "label": {
          "ko": "G∩Tᶜ",
          "en": "G∩Tᶜ"
        },
        "actualRecordCount": 14,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 2,
        "y": 0.014619883040935672,
        "modelY": 0.043859649122807015,
        "label": {
          "ko": "Gᶜ∩T",
          "en": "Gᶜ∩T"
        },
        "actualRecordCount": 5,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      },
      {
        "x": 3,
        "y": 0.6257309941520468,
        "modelY": 0.0,
        "label": {
          "ko": "Gᶜ∩Tᶜ",
          "en": "Gᶜ∩Tᶜ"
        },
        "actualRecordCount": 214,
        "isObservedValue": false,
        "isDerivedFromActualRecords": true
      }
    ],
    "company": [
      {
        "x": 0,
        "y": 0.2,
        "modelY": 0.5144884728988454,
        "label": {
          "ko": "iPhone",
          "en": "iPhone"
        },
        "actualFY2024Sales": 201183,
        "isObservedValue": false,
        "isAssignedSelectionWeightFromActualSales": true
      },
      {
        "x": 1,
        "y": 0.2,
        "modelY": 0.07667855818532868,
        "label": {
          "ko": "Mac",
          "en": "Mac"
        },
        "actualFY2024Sales": 29984,
        "isObservedValue": false,
        "isAssignedSelectionWeightFromActualSales": true
      },
      {
        "x": 2,
        "y": 0.2,
        "modelY": 0.06826498906747477,
        "label": {
          "ko": "iPad",
          "en": "iPad"
        },
        "actualFY2024Sales": 26694,
        "isObservedValue": false,
        "isAssignedSelectionWeightFromActualSales": true
      },
      {
        "x": 3,
        "y": 0.2,
        "modelY": 0.09463347270704668,
        "label": {
          "ko": "웨어러블·홈·액세서리",
          "en": "Wearables, Home and Accessories"
        },
        "actualFY2024Sales": 37005,
        "isObservedValue": false,
        "isAssignedSelectionWeightFromActualSales": true
      },
      {
        "x": 4,
        "y": 0.2,
        "modelY": 0.2459345071413045,
        "label": {
          "ko": "서비스",
          "en": "Services"
        },
        "actualFY2024Sales": 96169,
        "isObservedValue": false,
        "isAssignedSelectionWeightFromActualSales": true
      }
    ]
  },
  "chartMeta": {
    "country": {
      "plotType": "categorical-grouped-probability-masses",
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "원래 균등 선택의 질량",
          "en": "Original uniform-selection mass"
        },
        "modelY": {
          "ko": "A에 조건을 건 질량",
          "en": "Mass conditional on A"
        }
      },
      "xlabel": {
        "ko": "서로 겹치지 않는 네 사건 칸",
        "en": "Four disjoint event cells"
      },
      "ylabel": {
        "ko": "선택 확률 (무차원)",
        "en": "Selection probability (dimensionless)"
      },
      "legend": {
        "ko": "실제 16국 집합에 정의한 이름표 선택",
        "en": "Ticket selection defined on sixteen actual countries"
      },
      "note": {
        "ko": "막대는 GDP 실측 값이 아니라 선택 실험의 확률 질량입니다. A 밖은 조건 후 0, A 안은 합이 1입니다.",
        "en": "Bars are selection-probability masses, not measured GDP. Conditioning sets outside-A mass to zero and rescales inside-A mass to sum to one."
      },
      "connectObservedPoints": false,
      "yMin": 0,
      "yMax": 1
    },
    "person": {
      "plotType": "categorical-grouped-probability-masses",
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "342개 유효 기록 균등 선택",
          "en": "Uniform selection among 342 valid records"
        },
        "modelY": {
          "ko": "T: 날개≥210 mm 조건 후",
          "en": "Conditional on T: flipper≥210 mm"
        }
      },
      "xlabel": {
        "ko": "실제 종·날개 임계값의 네 칸",
        "en": "Four cells of actual species and flipper threshold"
      },
      "ylabel": {
        "ko": "선택 확률 (무차원)",
        "en": "Selection probability (dimensionless)"
      },
      "legend": {
        "ko": "G=Gentoo, T=날개≥210 mm · 두 결측행 제외 조건 명시",
        "en": "G=Gentoo, T=flipper≥210 mm; explicitly condition on measurement availability"
      },
      "note": {
        "ko": "원관측의 빈도로 정한 선택 실험입니다. 조건 T 안의 114개를 다시 정규화하며 생물 집단 전체의 검증된 예측 확률이 아닙니다.",
        "en": "The selection experiment uses actual record frequencies. Conditioning renormalizes 114 T records; these are not validated predictive probabilities for all penguins."
      },
      "connectObservedPoints": false,
      "yMin": 0,
      "yMax": 1
    },
    "company": {
      "plotType": "categorical-grouped-probability-masses",
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "U: 균등 품목 선택",
          "en": "U: uniform category selection"
        },
        "modelY": {
          "ko": "W: 실제 FY2024 매출 비중 선택",
          "en": "W: actual FY2024 sales-share selection"
        }
      },
      "xlabel": {
        "ko": "같은 기업의 다섯 공시 품목",
        "en": "Five disclosed categories of one company"
      },
      "ylabel": {
        "ko": "지정한 선택 확률 (무차원)",
        "en": "Assigned selection probability (dimensionless)"
      },
      "legend": {
        "ko": "실제 공시 집계로 서로 다른 두 실험 정의",
        "en": "Two different experiments defined using actual disclosed aggregates"
      },
      "note": {
        "ko": "두 계열은 고객 구매 빈도가 아닙니다. 매출 가중치의 분자·분모에서 통화 단위가 상쇄되며 합은 각 1입니다.",
        "en": "Neither series is an observed customer-purchase frequency. Currency cancels in sales weights; each series sums to one."
      },
      "connectObservedPoints": false,
      "yMin": 0,
      "yMax": 1
    }
  },
  "models": {
    "country": {
      "key": "country_uniform",
      "firstEvent": "A",
      "secondEvent": "B",
      "cellOrder": [
        "both",
        "first_only",
        "second_only",
        "neither"
      ],
      "recordCounts": [
        8,
        1,
        0,
        7
      ],
      "cellProbabilities": [
        {
          "exactFraction": "1/2",
          "numerator": 1,
          "denominator": 2,
          "value": 0.5
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "0",
          "numerator": 0,
          "denominator": 1,
          "value": 0.0
        },
        {
          "exactFraction": "7/16",
          "numerator": 7,
          "denominator": 16,
          "value": 0.4375
        }
      ],
      "calculations": {
        "P_first": {
          "exactFraction": "9/16",
          "numerator": 9,
          "denominator": 16,
          "value": 0.5625
        },
        "P_second": {
          "exactFraction": "1/2",
          "numerator": 1,
          "denominator": 2,
          "value": 0.5
        },
        "P_intersection": {
          "exactFraction": "1/2",
          "numerator": 1,
          "denominator": 2,
          "value": 0.5
        },
        "P_union": {
          "exactFraction": "9/16",
          "numerator": 9,
          "denominator": 16,
          "value": 0.5625
        },
        "P_not_first": {
          "exactFraction": "7/16",
          "numerator": 7,
          "denominator": 16,
          "value": 0.4375
        },
        "P_not_second": {
          "exactFraction": "1/2",
          "numerator": 1,
          "denominator": 2,
          "value": 0.5
        },
        "P_second_given_first": {
          "exactFraction": "8/9",
          "numerator": 8,
          "denominator": 9,
          "value": 0.8888888888888888
        },
        "P_first_given_second": {
          "exactFraction": "1",
          "numerator": 1,
          "denominator": 1,
          "value": 1.0
        },
        "P_first_given_not_second": {
          "exactFraction": "1/8",
          "numerator": 1,
          "denominator": 8,
          "value": 0.125
        },
        "P_second_given_not_first": {
          "exactFraction": "0",
          "numerator": 0,
          "denominator": 1,
          "value": 0.0
        }
      },
      "selectionWeights": [
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        },
        {
          "exactFraction": "1/16",
          "numerator": 1,
          "denominator": 16,
          "value": 0.0625
        }
      ]
    },
    "person": {
      "key": "penguin_uniform_valid_flipper",
      "firstEvent": "G",
      "secondEvent": "T",
      "cellOrder": [
        "both",
        "first_only",
        "second_only",
        "neither"
      ],
      "recordCounts": [
        109,
        14,
        5,
        214
      ],
      "cellProbabilities": [
        {
          "exactFraction": "109/342",
          "numerator": 109,
          "denominator": 342,
          "value": 0.31871345029239767
        },
        {
          "exactFraction": "7/171",
          "numerator": 7,
          "denominator": 171,
          "value": 0.04093567251461988
        },
        {
          "exactFraction": "5/342",
          "numerator": 5,
          "denominator": 342,
          "value": 0.014619883040935672
        },
        {
          "exactFraction": "107/171",
          "numerator": 107,
          "denominator": 171,
          "value": 0.6257309941520468
        }
      ],
      "calculations": {
        "P_first": {
          "exactFraction": "41/114",
          "numerator": 41,
          "denominator": 114,
          "value": 0.35964912280701755
        },
        "P_second": {
          "exactFraction": "1/3",
          "numerator": 1,
          "denominator": 3,
          "value": 0.3333333333333333
        },
        "P_intersection": {
          "exactFraction": "109/342",
          "numerator": 109,
          "denominator": 342,
          "value": 0.31871345029239767
        },
        "P_union": {
          "exactFraction": "64/171",
          "numerator": 64,
          "denominator": 171,
          "value": 0.3742690058479532
        },
        "P_not_first": {
          "exactFraction": "73/114",
          "numerator": 73,
          "denominator": 114,
          "value": 0.6403508771929824
        },
        "P_not_second": {
          "exactFraction": "2/3",
          "numerator": 2,
          "denominator": 3,
          "value": 0.6666666666666666
        },
        "P_second_given_first": {
          "exactFraction": "109/123",
          "numerator": 109,
          "denominator": 123,
          "value": 0.8861788617886179
        },
        "P_first_given_second": {
          "exactFraction": "109/114",
          "numerator": 109,
          "denominator": 114,
          "value": 0.956140350877193
        },
        "P_first_given_not_second": {
          "exactFraction": "7/114",
          "numerator": 7,
          "denominator": 114,
          "value": 0.06140350877192982
        },
        "P_second_given_not_first": {
          "exactFraction": "5/219",
          "numerator": 5,
          "denominator": 219,
          "value": 0.0228310502283105
        }
      },
      "selectionWeights": [
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        },
        {
          "exactFraction": "1/342",
          "numerator": 1,
          "denominator": 342,
          "value": 0.0029239766081871343
        }
      ],
      "originalRows": 344,
      "availableFlipperRows": 342,
      "missingFlipperRowIDs": [
        4,
        272
      ],
      "assumedThresholdMM": 210,
      "inferredPopulationPredictiveProbability": false
    },
    "company": {
      "uniform": {
        "key": "company_uniform_category",
        "firstEvent": "H",
        "secondEvent": "I",
        "cellOrder": [
          "both",
          "first_only",
          "second_only",
          "neither"
        ],
        "recordCounts": [
          2,
          2,
          1,
          0
        ],
        "cellProbabilities": [
          {
            "exactFraction": "2/5",
            "numerator": 2,
            "denominator": 5,
            "value": 0.4
          },
          {
            "exactFraction": "2/5",
            "numerator": 2,
            "denominator": 5,
            "value": 0.4
          },
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          {
            "exactFraction": "0",
            "numerator": 0,
            "denominator": 1,
            "value": 0.0
          }
        ],
        "calculations": {
          "P_first": {
            "exactFraction": "4/5",
            "numerator": 4,
            "denominator": 5,
            "value": 0.8
          },
          "P_second": {
            "exactFraction": "3/5",
            "numerator": 3,
            "denominator": 5,
            "value": 0.6
          },
          "P_intersection": {
            "exactFraction": "2/5",
            "numerator": 2,
            "denominator": 5,
            "value": 0.4
          },
          "P_union": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          },
          "P_not_first": {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          "P_not_second": {
            "exactFraction": "2/5",
            "numerator": 2,
            "denominator": 5,
            "value": 0.4
          },
          "P_second_given_first": {
            "exactFraction": "1/2",
            "numerator": 1,
            "denominator": 2,
            "value": 0.5
          },
          "P_first_given_second": {
            "exactFraction": "2/3",
            "numerator": 2,
            "denominator": 3,
            "value": 0.6666666666666666
          },
          "P_first_given_not_second": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          },
          "P_second_given_not_first": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          }
        },
        "selectionWeights": [
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          },
          {
            "exactFraction": "1/5",
            "numerator": 1,
            "denominator": 5,
            "value": 0.2
          }
        ]
      },
      "salesWeighted": {
        "key": "company_FY2024_sales_weighted",
        "firstEvent": "H",
        "secondEvent": "I",
        "cellOrder": [
          "both",
          "first_only",
          "second_only",
          "neither"
        ],
        "recordCounts": [
          2,
          2,
          1,
          0
        ],
        "cellProbabilities": [
          {
            "exactFraction": "231167/391035",
            "numerator": 231167,
            "denominator": 391035,
            "value": 0.591167031084174
          },
          {
            "exactFraction": "21233/130345",
            "numerator": 21233,
            "denominator": 130345,
            "value": 0.16289846177452147
          },
          {
            "exactFraction": "96169/391035",
            "numerator": 96169,
            "denominator": 391035,
            "value": 0.2459345071413045
          },
          {
            "exactFraction": "0",
            "numerator": 0,
            "denominator": 1,
            "value": 0.0
          }
        ],
        "calculations": {
          "P_first": {
            "exactFraction": "294866/391035",
            "numerator": 294866,
            "denominator": 391035,
            "value": 0.7540654928586955
          },
          "P_second": {
            "exactFraction": "109112/130345",
            "numerator": 109112,
            "denominator": 130345,
            "value": 0.8371015382254785
          },
          "P_intersection": {
            "exactFraction": "231167/391035",
            "numerator": 231167,
            "denominator": 391035,
            "value": 0.591167031084174
          },
          "P_union": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          },
          "P_not_first": {
            "exactFraction": "96169/391035",
            "numerator": 96169,
            "denominator": 391035,
            "value": 0.2459345071413045
          },
          "P_not_second": {
            "exactFraction": "21233/130345",
            "numerator": 21233,
            "denominator": 130345,
            "value": 0.16289846177452147
          },
          "P_second_given_first": {
            "exactFraction": "231167/294866",
            "numerator": 231167,
            "denominator": 294866,
            "value": 0.7839730589488106
          },
          "P_first_given_second": {
            "exactFraction": "231167/327336",
            "numerator": 231167,
            "denominator": 327336,
            "value": 0.7062070777427475
          },
          "P_first_given_not_second": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          },
          "P_second_given_not_first": {
            "exactFraction": "1",
            "numerator": 1,
            "denominator": 1,
            "value": 1.0
          }
        },
        "selectionWeights": [
          {
            "exactFraction": "67061/130345",
            "numerator": 67061,
            "denominator": 130345,
            "value": 0.5144884728988454
          },
          {
            "exactFraction": "29984/391035",
            "numerator": 29984,
            "denominator": 391035,
            "value": 0.07667855818532868
          },
          {
            "exactFraction": "8898/130345",
            "numerator": 8898,
            "denominator": 130345,
            "value": 0.06826498906747477
          },
          {
            "exactFraction": "2467/26069",
            "numerator": 2467,
            "denominator": 26069,
            "value": 0.09463347270704668
          },
          {
            "exactFraction": "96169/391035",
            "numerator": 96169,
            "denominator": 391035,
            "value": 0.2459345071413045
          }
        ]
      },
      "categoryOrder": [
        "iPhone",
        "Mac",
        "iPad",
        "Wearables, Home and Accessories",
        "Services"
      ],
      "actualFY2023": [
        200583,
        29357,
        28300,
        39845,
        85200
      ],
      "actualFY2024": [
        201183,
        29984,
        26694,
        37005,
        96169
      ],
      "fiscalWeeks": [
        53,
        52
      ],
      "netSalesUnit": "million nominal USD",
      "customerProbabilityObserved": false
    },
    "scope": "Finite selection experiments on retained actual records; thresholds and selection laws specified, not inferred sampling representativeness or causal intervention."
  },
  "enrichment": [
    {
      "kind": "video",
      "title": {
        "ko": "확률 규칙과 조건을 그림으로 읽기",
        "en": "Probability rules and conditions"
      },
      "provider": "CrashCourse · Statistics 13",
      "url": "https://www.youtube.com/watch?v=OyddY7DlV58",
      "creatorPage": "https://thecrashcourse.com/courses/probability-part-1-rules-and-patterns-crash-course-statistics-13/",
      "videoId": "OyddY7DlV58",
      "verifiedOn": "2026-10-22",
      "focus": {
        "ko": "본문에서 공식 영상을 보며 합집합·교집합·조건을 구별합니다. 국가 표에서 같은 8개를 왜 한 번 빼는지 먼저 설명해 보세요.",
        "en": "Watch the official video in this chapter and distinguish union, intersection and conditioning. Explain why the country table subtracts its shared eight once."
      },
      "question": {
        "ko": "또는과 정확히 하나는 같은가요?",
        "en": "Does “or” mean exactly one?"
      },
      "answer": {
        "ko": "확률의 합집합은 둘 다 해당하는 경우도 포함합니다. 정확히 하나는 교집합을 제외하므로 펭귄 표에서 128/342와 19/342로 다릅니다.",
        "en": "Union includes outcomes in both events. Exactly one excludes the intersection, giving 128/342 versus 19/342 in the penguin table."
      },
      "verificationNote": "Official creator lesson and matching verified CrashCourse channel video metadata checked; no guessed timestamps, video download or playback certification."
    },
    {
      "kind": "thinker",
      "title": {
        "ko": "콜모고로프 · 공통 규칙으로 확률 계산하기",
        "en": "Andrey Kolmogorov: shared rules for probability"
      },
      "provider": "University of St Andrews · MacTutor",
      "url": "https://mathshistory.st-andrews.ac.uk/Biographies/Kolmogorov/",
      "focus": {
        "ko": "대학 소개에서 콜모고로프(1903–1987)와 1933년 확률 공리 체계의 역사적 맥락을 읽습니다. 서로 다른 선택 실험도 비음성·전체 1·가산 가법성의 공통 규칙을 만족해야 합니다.",
        "en": "Read the university account of Kolmogorov (1903–1987) and his 1933 axiomatic probability work. Different experiments still obey nonnegativity, total mass one and countable additivity."
      },
      "question": {
        "ko": "공리만 알면 실제 고객의 구매 확률도 자동으로 알게 되나요?",
        "en": "Do the axioms alone determine real customer purchase probabilities?"
      },
      "answer": {
        "ko": "공리는 허용되는 확률 계산의 규칙을 줍니다. 어떤 실험·선택 법칙이 현실 질문에 맞는지는 자료와 별도 가정으로 정해야 합니다.",
        "en": "Axioms constrain valid probability calculations. Choosing a law that matches a real question requires data and separately stated assumptions."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "표본공간·사건·유한 선택 가중치",
        "en": "Outcome spaces, events and finite selection weights"
      },
      "provider": "MIT OCW 18.05 · Reading 2",
      "url": "https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class02-prep.pdf",
      "focus": {
        "ko": "§2.1·2.3·2.4·3의 이산 표본공간·가중치·여사건·합집합을 읽습니다. 이름표가 같은 확률일 때와 아닐 때를 Apple의 두 실험에 연결합니다.",
        "en": "Read §§2.1, 2.3, 2.4 and 3 on discrete outcomes, weights, complements and unions. Connect equally and unequally weighted tickets to Apple’s two experiments."
      },
      "question": {
        "ko": "매출 크기가 달라도 균등 품목 추첨을 정의할 수 있나요?",
        "en": "Can categories be sampled uniformly despite unequal sales?"
      },
      "answer": {
        "ko": "가능합니다. 이름표 선택 법칙을 균등하게 정한 실험이며, 실제 매출이 같다고 주장하는 것이 아닙니다.",
        "en": "Yes. Uniformity specifies the category-ticket experiment; it does not claim that actual sales are equal."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "조건으로 남은 질량을 다시 1로 만들기",
        "en": "Renormalize retained mass after conditioning"
      },
      "provider": "MIT OCW 18.05 · Reading 3, §§2–3",
      "url": "https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class03-prep.pdf",
      "focus": {
        "ko": "이번에는 §2·3의 조건부확률 정의와 곱셈 규칙만 읽습니다. 조건의 확률이 양수인지 확인하고 실제 네 칸 표로 식을 검산합니다.",
        "en": "Read only §§2–3 on conditional probability and multiplication for this chapter. Check positive conditioning probability, then verify formulas with actual four-cell tables."
      },
      "question": {
        "ko": "P(A∩B)=P(B|A)P(A)는 독립일 때만 맞나요?",
        "en": "Does P(A∩B)=P(B|A)P(A) require independence?"
      },
      "answer": {
        "ko": "P(A)>0이면 조건부확률 정의를 정리한 식이라 일반적으로 맞습니다. P(B|A)를 P(B)로 바꾸려면 독립 조건이 따로 필요합니다.",
        "en": "For P(A)>0 it follows directly from the conditional definition. Replacing P(B|A) with P(B) requires a separate independence condition."
      }
    }
  ],
  "sources": [
    {
      "provider": "World Bank",
      "url": "https://data.worldbank.org/indicator/NY.GDP.PCAP.KD",
      "lifeDefinitionURL": "https://databank.worldbank.org/metadataglossary/world-development-indicators/series/SP.DYN.LE00.IN",
      "indicatorCodes": [
        "NY.GDP.PCAP.KD",
        "SP.DYN.LE00.IN"
      ],
      "rawFile": "실제데이터/worldbank.csv",
      "sha256": "b2f0f3815ea20e087909038e352a72af9dd844d50448008d75e3440a642ddd02",
      "rawDownloaded": true,
      "retrievedOn": "2026-10-20",
      "period": "2024",
      "units": "GDP/person constant2015 USD/person; life expectancy at birth years",
      "processing": "Select sixteen retained actual country rows. Teaching thresholds GDP>=30000 and life>=80 are not official classifications. Define uniform-country tickets; exact four-cell counts8/1/0/7 and probabilities, no resident-level or causal claim."
    },
    {
      "provider": "Horst, Hill, Gorman / Palmer LTER",
      "url": "https://allisonhorst.github.io/palmerpenguins/",
      "dictionaryURL": "https://allisonhorst.github.io/palmerpenguins/reference/penguins.html",
      "rawFile": "work/textbooks-2026/raw/penguins.csv",
      "sha256": "f204db2c753b0937caac3cb35258562c14f073e4bbc76be24b4c51ce22767a93",
      "selectedFile": "실제데이터/penguins.csv",
      "selectedSHA256": "8e45d9c48a941cd2270abe99d7df7a92e7502bebca5efcfb82dde25dc0c15a08",
      "rawDownloaded": true,
      "retrievedOn": "2026-10-20",
      "license": "CC0",
      "processing": "Verify all344×8 source cells; retain two missing flipper rows4/272 without zero filling. Define uniform selection conditional on342 available flippers. Actual Gentoo labels and chosen210mm threshold give109/14/5/214 counts. No validated classifier, population transport or independent-sampling claim."
    },
    {
      "provider": "SEC EDGAR / Apple2024 Form10-K",
      "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
      "rawFile": "work/textbook-rewrite-2026/source-audit-math08/apple-2024.html",
      "sha256": "e75e4f3b5806d3008974a1e4d8459cbd9f2bbaac657b49aa3a7f846ff10d7760",
      "rawDownloaded": true,
      "retrievedOn": "2026-10-22",
      "units": "million nominal USD net sales",
      "period": "FY2023/FY2024",
      "processing": "Directly verify five category net-sales values per fiscal year and53/52-week statement. Define hardware and nominal annual-increase events. Separate uniform-category choice from assigned FY2024 sales-share choice; neither observes customers/transactions/physical units."
    },
    {
      "provider": "CrashCourse",
      "url": "https://thecrashcourse.com/courses/probability-part-1-rules-and-patterns-crash-course-statistics-13/",
      "videoUrl": "https://www.youtube.com/watch?v=OyddY7DlV58",
      "videoId": "OyddY7DlV58",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "rawMediaDownloaded": false,
      "scope": "Official lesson and matching verified creator-channel metadata for Statistics13. Actual playback remains parent browser QA."
    },
    {
      "provider": "University of St Andrews / MacTutor",
      "url": "https://mathshistory.st-andrews.ac.uk/Biographies/Kolmogorov/",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "scope": "Dates1903–1987 and1933 monograph paragraph only; brief paraphrase. Not an original monograph audit or invention claim beyond the historical account."
    },
    {
      "provider": "MIT OCW / Jeremy Orloff and Jonathan Bloom",
      "url": "https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class02-prep.pdf",
      "webVerifiedOn": "2026-10-22",
      "rawDownloaded": false,
      "originalPDFArchived": false,
      "scope": "Direct seven-page official PDF read. Recommend §§2.1,2.3,2.4,3 finite/discrete setup and probability rules. Example3 general claim that continuous models need densities excluded: some distributions have no PDF. Source terminology probability function is used in its discrete context."
    },
    {
      "provider": "MIT OCW / Jeremy Orloff and Jonathan Bloom",
      "url": "https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class03-prep.pdf",
      "webVerifiedOn": "2026-10-22",
      "rawDownloaded": false,
      "originalPDFArchived": false,
      "scope": "Direct official PDF §§2–3 read for conditional definition with positive denominator and multiplication. Later independence/Bayes deferred toSTAT05. No medical numerical examples imported."
    }
  ],
  "review": {
    "chapter": "STAT-04",
    "scope": "AI case authoring and exact numerical checks, not human expert certification or browser QA.",
    "checks": [
      "Preserved protected source hashes and compared all344×8 Palmer source cells.",
      "Verified SEC category net-sales table and fiscal-week statement directly.",
      "Exact positive finite weights sum to1 in four separately specified experiments.",
      "Exact four-cell counts,40 event/conditional values, inclusion-exclusion and multiplication identities checked.",
      "Country16, penguin342 valid/344 retained, company5 categories/one firm and sales weights explicitly separated.",
      "No zero-probability conditional assigned a number, missing values zero-filled, or actual customer probability inferred."
    ],
    "studentReviewerResponse": {
      "status": "Passed with no unresolved recommendations.",
      "reviewFile": "work/textbook-rewrite-2026/stats04-pedagogy-review.json",
      "reviewedOn": "2026-10-22",
      "scope": "Independent AI student review of KO/EN content, solutions, sources, chart meaning and exact Fraction/Decimal110 numerical reconstruction.",
      "storedValuesAndFlagsCompared": 5313,
      "hashesChecked": 12,
      "chartPointsChecked": 13,
      "resolvedRecommendation": "Changed the KO repeated-selection question from equal probability to independence and added both-language clarification that equal marginal probabilities do not imply independence.",
      "confirmed": [
        "Country8/1/0/7 and penguin109/14/5/214 counts,40 probability calculations and company231167/327336 match.",
        "MIT Reading2 recommended sections, Reading3 §§2–3 and university Kolmogorov introduction read.",
        "Creator video introduction confirmed; video fetch did not certify playback."
      ]
    },
    "remaining": [
      "Parent integration and mobile bilingual charts; actual embedded-video playback."
    ]
  }
}