{
  "cases": {
    "ko": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats02-country-ko\"><h3>국가 사례 · 평균 국가와 가운데 국가가 같을까?</h3><p>2024년의 실제 GDP/명 16개를 고정합니다. 1장처럼 국가-연도를 섞지 않고 같은 연도의 국가 지표를 비교합니다. 각 국가에 같은 무게를 주는 산술평균은 모든 값을 더해16으로 나눕니다. 중앙값은 작은 값부터 정렬한 뒤 가운데 위치를 찾습니다. 질문은 이16개 국가 지표의 분포이며 세계 주민의 개인소득 분포가 아닙니다.</p><div data-tex=\"\\overline y=\\frac{\\sum_{i=1}^{16}y_i}{16}\\approx31100.238572,\\qquad\\widetilde y=\\frac{y_{(8)}+y_{(9)}}2=37512.5317894897\"></div><p>괄호가 붙은 y(8)은 “8번째 해”가 아니라 정렬 뒤8번째 값입니다. 그 위치는 한국37,048.4264001496, 다음은 일본37,976.6371788298입니다. 두 값의 평균이 중앙값입니다. 중앙값은 어느 한 나라의 원수치일 필요가 없습니다.</p><div data-case-chart=\"country\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 값을 정렬하고 가운데 두 위치를 확인하기</caption><thead><tr><th scope=\"col\">순위</th><th scope=\"col\">국가 코드</th><th scope=\"col\">실제 GDP/명 (2015 USD/명)</th><th scope=\"col\">중앙 위치</th></tr></thead><tbody><tr><th scope=\"row\">1</th><td>IND</td><td>2,366.832891</td><td></td></tr><tr><th scope=\"row\">2</th><td>VNM</td><td>4,012.507799</td><td></td></tr><tr><th scope=\"row\">3</th><td>IDN</td><td>4,367.947418</td><td></td></tr><tr><th scope=\"row\">4</th><td>ZAF</td><td>5,715.475315</td><td></td></tr><tr><th scope=\"row\">5</th><td>BRA</td><td>9,566.745187</td><td></td></tr><tr><th scope=\"row\">6</th><td>MEX</td><td>10,284.033693</td><td></td></tr><tr><th scope=\"row\">7</th><td>CHN</td><td>13,119.107610</td><td></td></tr><tr><th scope=\"row\">8</th><td>KOR</td><td>37,048.426400</td><td>8·9번째</td></tr><tr><th scope=\"row\">9</th><td>JPN</td><td>37,976.637179</td><td>8·9번째</td></tr><tr><th scope=\"row\">10</th><td>FRA</td><td>39,683.395349</td><td></td></tr><tr><th scope=\"row\">11</th><td>DEU</td><td>44,027.763155</td><td></td></tr><tr><th scope=\"row\">12</th><td>CAN</td><td>45,061.386459</td><td></td></tr><tr><th scope=\"row\">13</th><td>GBR</td><td>47,900.968014</td><td></td></tr><tr><th scope=\"row\">14</th><td>AUS</td><td>61,486.381475</td><td></td></tr><tr><th scope=\"row\">15</th><td>USA</td><td>66,856.513170</td><td></td></tr><tr><th scope=\"row\">16</th><td>SGP</td><td>68,129.696040</td><td></td></tr></tbody></table></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 중앙값37,512.53은 실제 존재하는 “가운데 국가”의 값인가요?</summary><div><p>관측수가 짝수16개라 가운데 두 값의 평균을 정의로 사용했습니다. 그 수치를 가진 나라가 표에 없어도 괜찮습니다. 중앙 위치8.5와 중앙값37,512.53도 서로 다른 양입니다. 홀수개라면 가운데 한 순위의 원값을 사용합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 평균이 중앙값보다 작다고 평균이 계산 오류인가요?</summary><div><p>아닙니다. 평균은 모든 값의 크기에 반응하고 중앙값은 주로 정렬의 가운데에 반응합니다. 낮은 GDP/명 국가들과 높은 국가들이 얼마나 떨어져 있는지가 평균에 함께 들어갑니다. 두 숫자만으로 분포 전체의 모양을 확정하지 말고 정렬 그림·최솟값·최댓값도 봅니다. GDP/명 값이 크다는 이유만으로 잘못된 이상치라고 지우지 않습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 국가 이름 순서로 이어 그리면 시간 추세를 볼 수 있나요?</summary><div><p>나라 이름이나 GDP 순위는 시간 축이 아닙니다. 그림의 순서는 값의 크기를 읽기 위한 것입니다. 연간 추세를 보려면 국가를 고정하고 연도를 축으로 써야 합니다. 그래프를 만들 때 가로축이 국가·시간·순위 중 무엇인지 먼저 적습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 이 평균이 인구 비중 평균과 같을까요?</summary><div><p>각 국가의 무게가1/16인 요약입니다. 인구 비중을 쓰면 다른 가중평균이고 다른 질문에 답합니다. 이 국가 지표에 대한 중앙값 역시 주민 개인의 소득 중앙값이 아닙니다. 가중치와 관측 단위를 함께 써야 “평균”의 의미가 분명합니다.</p></div></details><p>자료: <a href=\"https://data.worldbank.org/indicator/NY.GDP.PCAP.KD\" target=\"_blank\" rel=\"noopener\">World Bank · NY.GDP.PCAP.KD, 실제2024년 국가 지표</a> · <a href=\"stats02-sources/sixteen-actual-country-GDP-values-sorted-with-centers.csv\" download>원자료·요약 CSV</a></p></article><article class=\"case-study\" id=\"stats02-person-ko\"><h3>개체 사례 ·342개 실제 몸무게를 분포로 읽기</h3><p>Palmer 펭귄344개 관측행에서 몸무게가 있는342개만 이 변수의 요약에 사용합니다. 빈값 두 행은 다운로드 파일에 그대로 남겨 둡니다. 종은 Adélie151개, Chinstrap68개, Gentoo123개의 유효 몸무게입니다. 이 장에서는 성별 값이 필요하지 않으므로 성별 결측을 이유로9개를 추가 제외하지 않습니다.</p><div data-tex=\"\\overline m=\\frac{1437000}{342}\\approx4201.754386\\,{\\rm g},\\qquad\\widetilde m=4050\\,{\\rm g},\\qquad\\operatorname{mode}(m)=3800\\,{\\rm g}\\ (12\\text{ records})\"></div><p>평균은 몸무게의 합을 나눈 값, 중앙값은 정렬한171·172번째의 평균, 최빈값은 가장 자주 기록된 값입니다. 세 수는 같은 자료를 서로 다른 방식으로 요약합니다.3800 g는12번 보고됐지만 나머지330개가 모두 그 몸무게인 것은 아닙니다. 측정이 어느 단위로 보고되는지도 최빈값에 영향을 줄 수 있습니다.</p><h4>1. 히스토그램의 구간을 직접 정의하기</h4><p>500 g 폭의 구간을2500 g부터6500 g까지 정합니다. [2500,3000)은2500을 포함하고3000은 다음 구간에 넣습니다. 마지막 [6000,6500]만 오른쪽을 포함합니다. 원관측 최솟값2700 g와 최댓값6300 g를 모두 포함하고 어떤 값도 두 번 세지 않습니다.</p><div data-case-chart=\"person\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>실제 빈도와 종별 구성 · 유효 분모342</caption><thead><tr><th scope=\"col\">구간 (g)</th><th scope=\"col\">전체</th><th scope=\"col\">Adélie</th><th scope=\"col\">Chinstrap</th><th scope=\"col\">Gentoo</th></tr></thead><tbody><tr><th scope=\"row\">2500~3000 (상한 제외)</th><td>9</td><td>7</td><td>2</td><td>0</td></tr><tr><th scope=\"row\">3000~3500 (상한 제외)</th><td>62</td><td>47</td><td>15</td><td>0</td></tr><tr><th scope=\"row\">3500~4000 (상한 제외)</th><td>94</td><td>58</td><td>35</td><td>1</td></tr><tr><th scope=\"row\">4000~4500 (상한 제외)</th><td>59</td><td>31</td><td>13</td><td>15</td></tr><tr><th scope=\"row\">4500~5000 (상한 제외)</th><td>51</td><td>8</td><td>3</td><td>40</td></tr><tr><th scope=\"row\">5000~5500 (상한 제외)</th><td>34</td><td>0</td><td>0</td><td>34</td></tr><tr><th scope=\"row\">5500~6000 (상한 제외)</th><td>29</td><td>0</td><td>0</td><td>29</td></tr><tr><th scope=\"row\">6000~6500 (상한 포함)</th><td>4</td><td>0</td><td>0</td><td>4</td></tr></tbody></table></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 3000 g 관측은 어느 막대에 들어가나요?</summary><div><p>[3000,3500) 구간입니다. 구간 경계와 포함 규칙을 함께 기록했으므로 중복·누락 없이 셀 수 있습니다. 같은 원자료라도 구간 폭·시작점을 바꾸면 보이는 모양은 달라질 수 있습니다. 막대 모양만 보고 종이 하나인지 세 개인지 확정하지 않습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 정확한 값의 빈도표와 구간 빈도표에서 평균을 구하면 같나요?</summary><div><div data-tex=\"\\overline m=\\frac{\\sum_v v\\,n_v}{342},\\qquad\\overline m_{\\rm midpoint}=\\frac{\\sum_b c_b\\,n_b}{342}=\\frac{721000}{171}\\approx4216.374269\\,{\\rm g}\"></div><p>정확한 몸무게v와 그 빈도nv를 쓰면 원자료 평균과 정확히 같습니다. 하지만 구간 중심cb로 모든 구간 안의 값을 대체하면 근사입니다. 이 구간화의 평균은 원평균보다 약14.619883 g 큽니다. 구간 안의 원값이 사라진 뒤에는 원평균을 정확히 복원할 수 없습니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 히스토그램의 세로축이 빈도인지 밀도인지 어떻게 확인하나요?</summary><div><div data-tex=\"\\text{relative frequency}_b=\\frac{n_b}{342},\\qquad\\text{density}_b=\\frac{n_b}{342\\,w_b},\\qquad\\sum_b\\text{density}_b\\,w_b=1\"></div><p>여기서는 빈도 막대를 그립니다. 상대빈도는 무차원, 밀도는1/g 단위입니다. 밀도 그림에서는 높이 자체가 아니라 높이×구간 폭인 면적이 해당 비중입니다. 폭이 다른 구간들을 비교할 때 빈도 높이만 나란히 놓으면 면적과 비중을 혼동하기 쉽습니다.</p></div></details><div class=\"table-scroll\" tabindex=\"0\"><table><caption>같은 몸무게 변수의 종별 요약</caption><thead><tr><th scope=\"col\">관측 종</th><th scope=\"col\">유효 n</th><th scope=\"col\">평균 (g)</th><th scope=\"col\">중앙값 (g)</th></tr></thead><tbody><tr><th scope=\"row\">Adelie</th><td>151</td><td>3,700.662252</td><td>3,700</td></tr><tr><th scope=\"row\">Chinstrap</th><td>68</td><td>3,733.088235</td><td>3,700</td></tr><tr><th scope=\"row\">Gentoo</th><td>123</td><td>5,076.016260</td><td>5,000</td></tr></tbody></table></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 그램을 킬로그램으로 바꾸면 순위나 중심의 뜻도 바뀌나요?</summary><div><p>모든 몸무게를1000으로 나눕니다. 평균은4.201754386 kg, 중앙값은4.05 kg, 최빈값은3.8 kg가 됩니다. 양의 일정 배율 변환이라 순위와 빈도는 보존됩니다. g값과 kg값을 한 열에서 섞어 평균내는 것은 단위 변환과 다릅니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 전체 평균4.20 kg가 모든 종의 전형적인 펭귄인가요?</summary><div><p>전체는 서로 다른 종이 섞인 요약입니다. 유효 관측수151·68·123의 비중도 함께 들어갑니다. 전체 그림과 종별 평균·중앙값을 같이 읽으면 어떤 구성이 전체 평균을 만들었는지 알 수 있습니다. 모든 남극 펭귄의 무작위 표본이라는 가정도 추가하지 않습니다.</p></div></details><p>자료: <a href=\"https://allisonhorst.github.io/palmerpenguins/\" target=\"_blank\" rel=\"noopener\">Horst·Hill·Gorman / Palmer LTER · 실제 개체 측정 (CC0)</a> · <a href=\"stats02-sources/palmer-actual-masses-with-original-missing-rows.csv\" download>원자료·요약 CSV</a></p></article><article class=\"case-study\" id=\"stats02-company-ko\"><h3>기업 사례 · 품목 평균은 올랐는데 중앙값은 내렸다</h3><p>Apple 두 회계연도의 실제 다섯 품목 순매출을 같은 순서로 비교합니다. 값의 단위는 백만 명목 USD입니다. 이익이나 고객 수가 아니며 FY2023은53주, FY2024는52주입니다. 이 표의 평균은 한 기업이 공시한 다섯 품목의 평균이지 기업 다섯 개의 평균이 아닙니다.</p><div data-case-chart=\"company\"></div><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\">FY2024−FY2023</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>200,583</td><td>201,183</td><td>600</td></tr><tr><th scope=\"row\">Mac</th><td>29,357</td><td>29,984</td><td>627</td></tr><tr><th scope=\"row\">iPad</th><td>28,300</td><td>26,694</td><td>-1,606</td></tr><tr><th scope=\"row\">웨어러블·홈·액세서리</th><td>39,845</td><td>37,005</td><td>-2,840</td></tr><tr><th scope=\"row\">서비스</th><td>85,200</td><td>96,169</td><td>10,969</td></tr></tbody></table></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>같은5개 값에서 평균과 중앙값은 다른 질문에 답한다</caption><thead><tr><th scope=\"col\">요약 (백만 USD)</th><th scope=\"col\">FY2023</th><th scope=\"col\">FY2024</th><th scope=\"col\">두 요약의 차이</th></tr></thead><tbody><tr><th scope=\"row\">총액</th><td>383,285</td><td>391,035</td><td>7,750</td></tr><tr><th scope=\"row\">품목 평균</th><td>76,657</td><td>78,207</td><td>1,550</td></tr><tr><th scope=\"row\">품목 중앙값</th><td>39,845</td><td>37,005</td><td>-2,840</td></tr></tbody></table></div><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 평균은1550 늘었는데 중앙값은2840 줄어도 가능한가요?</summary><div><p>가능합니다. 평균 변화는 총매출 변화7,750을5로 나눈1,550입니다. 각 연도의 순서상 가운데 값은 FY2023 39,845, FY2024 37,005라 중앙값 변화는−2,840입니다. 서비스10,969·iPhone600·Mac627 증가에 iPad1,606·웨어러블2,840 감소를 합치면 총액이7,750 증가합니다. 평균과 중앙값 중 하나가 틀린 것이 아니라 서로 다른 요약입니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 차이의 평균과 평균의 차이는 언제 같나요?</summary><div><div data-tex=\"\\frac15\\sum_{j=1}^5(y_j-x_j)=\\overline y-\\overline x=1550\\quad({\\rm million\\ USD})\"></div><p>동일한5품목·동일한 가중치로 짝을 맞춘 경우 평균의 선형성 때문에 같습니다. 누락된 품목을 다르게 제외하거나 가중치를 바꾸면 같은 식의 조건을 다시 확인해야 합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 그러면 차이의 중앙값도 중앙값의 차이와 항상 같나요?</summary><div><p>전체5품목의 짝별 변화는−2,840,−1,606,600,627,10,969 순서이므로 변화의 중앙값은600입니다. 각 연도 중앙값의 차이−2,840과 이미 다릅니다. 같은 원표에서 iPhone·Mac·iPad 세 품목만 선택해도 비교할 수 있습니다. FY2023 중앙값29,357, FY2024 중앙값29,984이므로 차이는627입니다. 짝별 변화는600,627,−1,606이라 변화의 중앙값은600입니다. 실제 부분 자료에서627≠600이므로 일반적인 등식이 아닙니다. 두 계산은 각각 무엇을 요약하는지 구별합니다.</p></div></details><details class=\"case-answer\"><summary>먼저 생각한 뒤 풀이 보기: 중앙값이 내려갔으니 회사의 모든 매출이 줄었다고 말할 수 있나요?</summary><div><p>아닙니다. 총액은 증가했고 품목별 방향도 다릅니다. 어느 요약을 쓰는지와 대상·기간을 먼저 적습니다. 기간 길이가 다르므로 이 표만으로 동일 주수의 성장률이나 다음 해 예측을 확정하지 않습니다. 원수치의 기술적 비교와 해석의 범위를 함께 전달합니다.</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=\"stats02-sources/apple-actual-paired-category-sales-and-changes.csv\" download>원자료·요약 CSV</a></p></article><p><a href=\"stats02-sources/palmer-exact-mass-frequency-table-by-species.csv\" download>정확한 몸무게·종별 빈도표</a> · <a href=\"stats02-sources/palmer-explicit-500g-histogram-bins.csv\" download>구간·포함 규칙·빈도·밀도 CSV</a> · <a href=\"stats02-sources/provenance.json\" download>자료·정의·가공·해시</a></p></div>",
    "en": "<div class=\"case-studies\"><article class=\"case-study\" id=\"stats02-country-en\"><h3>Country case · Does the mean equal a middle country?</h3><p>Fix sixteen actual 2024 GDP/person values. Compare countries at one date rather than mixing country-years. The unweighted arithmetic mean sums all values and divides by sixteen. The median orders them and locates the middle. The target is this selected distribution of national indicators, not worldwide individual incomes.</p><div data-tex=\"\\overline y=\\frac{\\sum_{i=1}^{16}y_i}{16}\\approx31100.238572,\\qquad\\widetilde y=\\frac{y_{(8)}+y_{(9)}}2=37512.5317894897\"></div><p>Parenthesized y(8) means the eighth ordered value, not the eighth year. It is Korea’s 37048.4264001496; the ninth is Japan’s 37976.6371788298. Their average is the median, which need not equal any one country’s observed value.</p><div data-case-chart=\"country\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Order actual values and identify both middle positions</caption><thead><tr><th scope=\"col\">Rank</th><th scope=\"col\">Country code</th><th scope=\"col\">Actual GDP/person (2015 USD/person)</th><th scope=\"col\">Middle position</th></tr></thead><tbody><tr><th scope=\"row\">1</th><td>IND</td><td>2,366.832891</td><td></td></tr><tr><th scope=\"row\">2</th><td>VNM</td><td>4,012.507799</td><td></td></tr><tr><th scope=\"row\">3</th><td>IDN</td><td>4,367.947418</td><td></td></tr><tr><th scope=\"row\">4</th><td>ZAF</td><td>5,715.475315</td><td></td></tr><tr><th scope=\"row\">5</th><td>BRA</td><td>9,566.745187</td><td></td></tr><tr><th scope=\"row\">6</th><td>MEX</td><td>10,284.033693</td><td></td></tr><tr><th scope=\"row\">7</th><td>CHN</td><td>13,119.107610</td><td></td></tr><tr><th scope=\"row\">8</th><td>KOR</td><td>37,048.426400</td><td>8th/9th</td></tr><tr><th scope=\"row\">9</th><td>JPN</td><td>37,976.637179</td><td>8th/9th</td></tr><tr><th scope=\"row\">10</th><td>FRA</td><td>39,683.395349</td><td></td></tr><tr><th scope=\"row\">11</th><td>DEU</td><td>44,027.763155</td><td></td></tr><tr><th scope=\"row\">12</th><td>CAN</td><td>45,061.386459</td><td></td></tr><tr><th scope=\"row\">13</th><td>GBR</td><td>47,900.968014</td><td></td></tr><tr><th scope=\"row\">14</th><td>AUS</td><td>61,486.381475</td><td></td></tr><tr><th scope=\"row\">15</th><td>USA</td><td>66,856.513170</td><td></td></tr><tr><th scope=\"row\">16</th><td>SGP</td><td>68,129.696040</td><td></td></tr></tbody></table></div><details class=\"case-answer\"><summary>Think first, then reveal: Must the median 37512.53 be an actually observed “middle country”?</summary><div><p>With sixteen observations, the definition averages the two middle values. No record need equal that number. Median position 8.5 also differs from median value 37512.53. For an odd number of values, use the single middle-ranked observation.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Is a mean below the median a calculation error?</summary><div><p>No. The mean responds to every value’s magnitude; the median responds mainly to middle ranks. Distances among low and high national indicators affect the mean. Inspect the ordered plot and endpoints before drawing conclusions about overall shape. A high GDP/person value is not automatically an erroneous outlier.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Would connecting countries alphabetically reveal a time trend?</summary><div><p>Country names and GDP ranks are not time. This order helps read value sizes. A time trend instead fixes a country and orders calendar years. Specify whether the horizontal axis represents countries, time or ranks.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Is this the population-weighted mean?</summary><div><p>No. Each country receives weight 1/16. Population weighting changes both the calculation and the question. This national-indicator median is not residents’ median income either. State weights alongside observation units.</p></div></details><p>Source: <a href=\"https://data.worldbank.org/indicator/NY.GDP.PCAP.KD\" target=\"_blank\" rel=\"noopener\">World Bank · NY.GDP.PCAP.KD, actual 2024 indicators</a> · <a href=\"stats02-sources/sixteen-actual-country-GDP-values-sorted-with-centers.csv\" download>Actual values and summaries CSV</a></p></article><article class=\"case-study\" id=\"stats02-person-en\"><h3>Individual-organism case · Read 342 actual masses as a distribution</h3><p>Of 344 Palmer penguin records, 342 contain body mass. Both missing rows remain in the downloadable data. Valid counts are 151 Adélie, 68 Chinstrap and 123 Gentoo. Sex is not needed here, so nine additional records are not excluded for missing sex.</p><div data-tex=\"\\overline m=\\frac{1437000}{342}\\approx4201.754386\\,{\\rm g},\\qquad\\widetilde m=4050\\,{\\rm g},\\qquad\\operatorname{mode}(m)=3800\\,{\\rm g}\\ (12\\text{ records})\"></div><p>The mean divides the total, the median averages ordered positions 171 and 172, and the mode is most frequent. These summarize the same records differently. Twelve reported masses equal 3800 g; the other 330 need not. Reporting resolution can affect a measured variable’s mode.</p><h4>1. Define histogram intervals explicitly</h4><p>Use 500 g intervals from 2500 through 6500 g. [2500,3000) includes 2500 but puts 3000 in the next interval. Only the last interval [6000,6500] includes its right endpoint. This includes observed endpoints 2700 and 6300 g without counting any value twice.</p><div data-case-chart=\"person\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Actual frequencies and species composition · valid denominator 342</caption><thead><tr><th scope=\"col\">Interval (g)</th><th scope=\"col\">All</th><th scope=\"col\">Adélie</th><th scope=\"col\">Chinstrap</th><th scope=\"col\">Gentoo</th></tr></thead><tbody><tr><th scope=\"row\">2500–3000 (upper excluded)</th><td>9</td><td>7</td><td>2</td><td>0</td></tr><tr><th scope=\"row\">3000–3500 (upper excluded)</th><td>62</td><td>47</td><td>15</td><td>0</td></tr><tr><th scope=\"row\">3500–4000 (upper excluded)</th><td>94</td><td>58</td><td>35</td><td>1</td></tr><tr><th scope=\"row\">4000–4500 (upper excluded)</th><td>59</td><td>31</td><td>13</td><td>15</td></tr><tr><th scope=\"row\">4500–5000 (upper excluded)</th><td>51</td><td>8</td><td>3</td><td>40</td></tr><tr><th scope=\"row\">5000–5500 (upper excluded)</th><td>34</td><td>0</td><td>0</td><td>34</td></tr><tr><th scope=\"row\">5500–6000 (upper excluded)</th><td>29</td><td>0</td><td>0</td><td>29</td></tr><tr><th scope=\"row\">6000–6500 (upper included)</th><td>4</td><td>0</td><td>0</td><td>4</td></tr></tbody></table></div><details class=\"case-answer\"><summary>Think first, then reveal: Which interval receives an observed 3000 g value?</summary><div><p>[3000,3500). Boundary and inclusion rules prevent overlap and omissions. Different widths and starting points can change the appearance of the same records. Bar shape alone does not establish whether there is one species or three.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Do exact-value frequencies and interval frequencies recover the same mean?</summary><div><div data-tex=\"\\overline m=\\frac{\\sum_v v\\,n_v}{342},\\qquad\\overline m_{\\rm midpoint}=\\frac{\\sum_b c_b\\,n_b}{342}=\\frac{721000}{171}\\approx4216.374269\\,{\\rm g}\"></div><p>Exact observed values v and their counts nv reproduce the raw-data mean exactly. Replacing every within-bin value with midpoint cb gives an approximation. Here it exceeds the actual mean by approximately 14.619883 g. The exact original mean generally cannot be reconstructed from bin counts alone.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Does the vertical axis represent frequency or density?</summary><div><div data-tex=\"\\text{relative frequency}_b=\\frac{n_b}{342},\\qquad\\text{density}_b=\\frac{n_b}{342\\,w_b},\\qquad\\sum_b\\text{density}_b\\,w_b=1\"></div><p>This plot uses frequencies. Relative frequency is dimensionless; density has units 1/g. In a density histogram, bar area, height times width, gives the proportion. Unequal-width bins make it especially important not to confuse raw frequency heights with proportional areas.</p></div></details><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Species-specific summaries of the same mass variable</caption><thead><tr><th scope=\"col\">Observed species</th><th scope=\"col\">Valid n</th><th scope=\"col\">Mean (g)</th><th scope=\"col\">Median (g)</th></tr></thead><tbody><tr><th scope=\"row\">Adelie</th><td>151</td><td>3,700.662252</td><td>3,700</td></tr><tr><th scope=\"row\">Chinstrap</th><td>68</td><td>3,733.088235</td><td>3,700</td></tr><tr><th scope=\"row\">Gentoo</th><td>123</td><td>5,076.016260</td><td>5,000</td></tr></tbody></table></div><details class=\"case-answer\"><summary>Think first, then reveal: Does converting grams to kilograms change ranks or meanings of centers?</summary><div><p>Divide every mass by 1000. The mean becomes 4.201754386 kg, median 4.05 kg and mode 3.8 kg. A common positive scale preserves ranks and frequencies. Mixing gram and kilogram values in one column is not a valid unit conversion.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Is the pooled mean 4.20 kg typical of every species?</summary><div><p>It combines different species with observed counts 151, 68 and 123. Read pooled plots alongside species-specific means and medians to see how composition shapes the center. Do not add a random-sample claim for all Antarctic penguins.</p></div></details><p>Source: <a href=\"https://allisonhorst.github.io/palmerpenguins/\" target=\"_blank\" rel=\"noopener\">Horst, Hill, Gorman / Palmer LTER · actual organism measurements (CC 0)</a> · <a href=\"stats02-sources/palmer-actual-masses-with-original-missing-rows.csv\" download>Actual values and summaries CSV</a></p></article><article class=\"case-study\" id=\"stats02-company-en\"><h3>Company case · The category mean rose while the median fell</h3><p>Compare Apple’s five actual category net-sales totals in matched order. Units are million nominal USD, not profit or customers. FY 2023 contained 53 weeks and FY 2024 52. The mean summarizes five disclosed categories of one company, not five companies.</p><div data-case-chart=\"company\"></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Actual disclosed values and matched category changes</caption><thead><tr><th scope=\"col\">Category</th><th scope=\"col\">FY 2023</th><th scope=\"col\">FY 2024</th><th scope=\"col\">FY 2024−FY 2023</th></tr></thead><tbody><tr><th scope=\"row\">iPhone</th><td>200,583</td><td>201,183</td><td>600</td></tr><tr><th scope=\"row\">Mac</th><td>29,357</td><td>29,984</td><td>627</td></tr><tr><th scope=\"row\">iPad</th><td>28,300</td><td>26,694</td><td>-1,606</td></tr><tr><th scope=\"row\">Wearables, Home and Accessories</th><td>39,845</td><td>37,005</td><td>-2,840</td></tr><tr><th scope=\"row\">Services</th><td>85,200</td><td>96,169</td><td>10,969</td></tr></tbody></table></div><div class=\"table-scroll\" tabindex=\"0\"><table><caption>Different summaries answer different questions for the same five values</caption><thead><tr><th scope=\"col\">Summary (million USD)</th><th scope=\"col\">FY 2023</th><th scope=\"col\">FY 2024</th><th scope=\"col\">Difference</th></tr></thead><tbody><tr><th scope=\"row\">Total</th><td>383,285</td><td>391,035</td><td>7,750</td></tr><tr><th scope=\"row\">Category mean</th><td>76,657</td><td>78,207</td><td>1,550</td></tr><tr><th scope=\"row\">Category median</th><td>39,845</td><td>37,005</td><td>-2,840</td></tr></tbody></table></div><details class=\"case-answer\"><summary>Think first, then reveal: Can the mean rise by 1550 while the median falls by 2840?</summary><div><p>Yes. The mean change is total change 7750 divided by five, or 1550. The middle-ranked values are 39845 and 37005, giving median change −2840. Services’ increase of 10969 combines with other category changes to increase total sales. Both summaries are correct but describe different features.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: When does mean change equal change in means?</summary><div><div data-tex=\"\\frac15\\sum_{j=1}^5(y_j-x_j)=\\overline y-\\overline x=1550\\quad({\\rm million\\ USD})\"></div><p>Linearity gives the equality for the same five matched categories with the same weights. Recheck those conditions if omissions or weighting differ.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Must median change likewise equal change in medians?</summary><div><p>Across all five categories, sorted paired changes are −2840, −1606, 600, 627 and 10969, so their median is 600. This already differs from the change in year-specific medians, −2840. Selecting the actual iPhone, Mac and iPad entries gives another comparison. Their year-specific medians are 29357 and 29984, a difference of 627. Matched changes are 600, 627 and −1606, with median 600. Thus 627≠600 on an actual subset disproves a general equality. Specify which summary each calculation describes.</p></div></details><details class=\"case-answer\"><summary>Think first, then reveal: Does a lower median mean every sales category declined?</summary><div><p>No. The total increased and category directions differ. State the summary, target and period first. Unequal fiscal weeks also prevent automatically interpreting these totals as equal-period growth or next-year forecasts. Communicate both the descriptive comparison and its scope.</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 category net sales</a> · <a href=\"stats02-sources/apple-actual-paired-category-sales-and-changes.csv\" download>Actual values and summaries CSV</a></p></article><p><a href=\"stats02-sources/palmer-exact-mass-frequency-table-by-species.csv\" download>Exact mass and species frequencies</a> · <a href=\"stats02-sources/palmer-explicit-500g-histogram-bins.csv\" download>Bins, endpoint rules, frequencies and densities CSV</a> · <a href=\"stats02-sources/provenance.json\" download>Inputs, definitions, processing and hashes</a></p></div>"
  },
  "chartData": {
    "country": [
      {
        "x": 1,
        "y": 2366.8328910323,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "IND",
          "en": "IND"
        },
        "isObserved": true
      },
      {
        "x": 2,
        "y": 4012.50779921084,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "VNM",
          "en": "VNM"
        },
        "isObserved": true
      },
      {
        "x": 3,
        "y": 4367.94741847938,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "IDN",
          "en": "IDN"
        },
        "isObserved": true
      },
      {
        "x": 4,
        "y": 5715.47531469148,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "ZAF",
          "en": "ZAF"
        },
        "isObserved": true
      },
      {
        "x": 5,
        "y": 9566.74518687619,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "BRA",
          "en": "BRA"
        },
        "isObserved": true
      },
      {
        "x": 6,
        "y": 10284.0336925726,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "MEX",
          "en": "MEX"
        },
        "isObserved": true
      },
      {
        "x": 7,
        "y": 13119.1076099516,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "CHN",
          "en": "CHN"
        },
        "isObserved": true
      },
      {
        "x": 8,
        "y": 37048.4264001496,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "KOR",
          "en": "KOR"
        },
        "isObserved": true
      },
      {
        "x": 9,
        "y": 37976.6371788298,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "JPN",
          "en": "JPN"
        },
        "isObserved": true
      },
      {
        "x": 10,
        "y": 39683.3953489029,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "FRA",
          "en": "FRA"
        },
        "isObserved": true
      },
      {
        "x": 11,
        "y": 44027.7631554469,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "DEU",
          "en": "DEU"
        },
        "isObserved": true
      },
      {
        "x": 12,
        "y": 45061.3864587285,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "CAN",
          "en": "CAN"
        },
        "isObserved": true
      },
      {
        "x": 13,
        "y": 47900.9680144146,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "GBR",
          "en": "GBR"
        },
        "isObserved": true
      },
      {
        "x": 14,
        "y": 61486.38147544,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "AUS",
          "en": "AUS"
        },
        "isObserved": true
      },
      {
        "x": 15,
        "y": 66856.5131698371,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "USA",
          "en": "USA"
        },
        "isObserved": true
      },
      {
        "x": 16,
        "y": 68129.6960402288,
        "modelY": 31100.238572174538,
        "previousY": 37512.5317894897,
        "label": {
          "ko": "SGP",
          "en": "SGP"
        },
        "isObserved": true
      }
    ],
    "person": [
      {
        "x": 2750,
        "y": 9,
        "binStart": 2500,
        "binEnd": 3000,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 7,
          "Chinstrap": 2,
          "Gentoo": 0
        },
        "label": {
          "ko": "2500~3000 g",
          "en": "2500–3000 g"
        },
        "isObserved": false
      },
      {
        "x": 3250,
        "y": 62,
        "binStart": 3000,
        "binEnd": 3500,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 47,
          "Chinstrap": 15,
          "Gentoo": 0
        },
        "label": {
          "ko": "3000~3500 g",
          "en": "3000–3500 g"
        },
        "isObserved": false
      },
      {
        "x": 3750,
        "y": 94,
        "binStart": 3500,
        "binEnd": 4000,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 58,
          "Chinstrap": 35,
          "Gentoo": 1
        },
        "label": {
          "ko": "3500~4000 g",
          "en": "3500–4000 g"
        },
        "isObserved": false
      },
      {
        "x": 4250,
        "y": 59,
        "binStart": 4000,
        "binEnd": 4500,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 31,
          "Chinstrap": 13,
          "Gentoo": 15
        },
        "label": {
          "ko": "4000~4500 g",
          "en": "4000–4500 g"
        },
        "isObserved": false
      },
      {
        "x": 4750,
        "y": 51,
        "binStart": 4500,
        "binEnd": 5000,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 8,
          "Chinstrap": 3,
          "Gentoo": 40
        },
        "label": {
          "ko": "4500~5000 g",
          "en": "4500–5000 g"
        },
        "isObserved": false
      },
      {
        "x": 5250,
        "y": 34,
        "binStart": 5000,
        "binEnd": 5500,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 0,
          "Chinstrap": 0,
          "Gentoo": 34
        },
        "label": {
          "ko": "5000~5500 g",
          "en": "5000–5500 g"
        },
        "isObserved": false
      },
      {
        "x": 5750,
        "y": 29,
        "binStart": 5500,
        "binEnd": 6000,
        "upperClosed": false,
        "speciesCounts": {
          "Adelie": 0,
          "Chinstrap": 0,
          "Gentoo": 29
        },
        "label": {
          "ko": "5500~6000 g",
          "en": "5500–6000 g"
        },
        "isObserved": false
      },
      {
        "x": 6250,
        "y": 4,
        "binStart": 6000,
        "binEnd": 6500,
        "upperClosed": true,
        "speciesCounts": {
          "Adelie": 0,
          "Chinstrap": 0,
          "Gentoo": 4
        },
        "label": {
          "ko": "6000~6500 g",
          "en": "6000–6500 g"
        },
        "isObserved": false
      }
    ],
    "company": [
      {
        "x": 0,
        "y": 200583,
        "modelY": 201183,
        "label": {
          "ko": "iPhone",
          "en": "iPhone"
        },
        "isObserved": true
      },
      {
        "x": 1,
        "y": 29357,
        "modelY": 29984,
        "label": {
          "ko": "Mac",
          "en": "Mac"
        },
        "isObserved": true
      },
      {
        "x": 2,
        "y": 28300,
        "modelY": 26694,
        "label": {
          "ko": "iPad",
          "en": "iPad"
        },
        "isObserved": true
      },
      {
        "x": 3,
        "y": 39845,
        "modelY": 37005,
        "label": {
          "ko": "웨어러블·홈·액세서리",
          "en": "Wearables, Home and Accessories"
        },
        "isObserved": true
      },
      {
        "x": 4,
        "y": 85200,
        "modelY": 96169,
        "label": {
          "ko": "서비스",
          "en": "Services"
        },
        "isObserved": true
      }
    ]
  },
  "chartMeta": {
    "country": {
      "plotType": "ordered-observations-with-center-reference-lines",
      "seriesKeys": [
        "y",
        "modelY",
        "previousY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "실제2024 GDP/명",
          "en": "Actual 2024 GDP/person"
        },
        "modelY": {
          "ko": "국가 균등 평균",
          "en": "Unweighted country mean"
        },
        "previousY": {
          "ko": "국가 중앙값",
          "en": "Country median"
        }
      },
      "xlabel": {
        "ko": "GDP/명 정렬 순위 (시간 아님)",
        "en": "GDP/person ordered rank (not time)"
      },
      "ylabel": {
        "ko": "2015 USD/명",
        "en": "2015 USD/person"
      },
      "legend": {
        "ko": "원값과 같은16개국의 두 중심 요약",
        "en": "Actual values and two centers for the same sixteen countries"
      },
      "note": {
        "ko": "국가 지표의 분포이며 개인 소득분포가 아닙니다. 순위를 시간 추세로 읽지 않습니다.",
        "en": "National indicators, not individual incomes. Ordered ranks do not represent a time trend."
      },
      "referenceLineKeys": [
        "modelY",
        "previousY"
      ]
    },
    "person": {
      "plotType": "equal-width-frequency-histogram",
      "seriesKeys": [
        "y"
      ],
      "seriesLabels": {
        "y": {
          "ko": "유효 몸무게의 빈도",
          "en": "Frequency of observed body masses"
        }
      },
      "xlabel": {
        "ko": "몸무게 구간 (g;폭500 g)",
        "en": "Body-mass interval (g; width 500 g)"
      },
      "ylabel": {
        "ko": "관측 빈도 (마리 측정행)",
        "en": "Measurement-record frequency"
      },
      "legend": {
        "ko": "전체342 유효값 · 원래 빈2행 별도 보존",
        "en": "342 valid values; both original missing rows retained separately"
      },
      "note": {
        "ko": "구간은 왼쪽 포함·오른쪽 제외이며 마지막6500 g만 포함합니다. 빈도 높이와 밀도 높이의 단위가 다릅니다.",
        "en": "Intervals include the left endpoint and exclude the right, except the final 6500 g endpoint. Frequency and density heights have different units."
      },
      "binStartField": "binStart",
      "binEndField": "binEnd",
      "categorical": true
    },
    "company": {
      "plotType": "grouped-actual-paired-category-values",
      "seriesKeys": [
        "y",
        "modelY"
      ],
      "seriesLabels": {
        "y": {
          "ko": "FY2023 순매출",
          "en": "FY2023 net sales"
        },
        "modelY": {
          "ko": "FY2024 순매출",
          "en": "FY2024 net sales"
        }
      },
      "xlabel": {
        "ko": "같은 공시 품목",
        "en": "Same disclosed categories"
      },
      "ylabel": {
        "ko": "백만 명목 USD",
        "en": "Million nominal USD"
      },
      "legend": {
        "ko": "한 기업의5품목 · 원수치 비교",
        "en": "Five categories of one company; original disclosed values"
      },
      "note": {
        "ko": "평균은 상승하고 중앙값은 하락합니다. FY53/52주를 유지하며 이익·고객수·미래 예측으로 해석하지 않습니다.",
        "en": "Mean category sales rose while the median fell. Retain 53/52-week periods; these are not profits, customer counts or future forecasts."
      },
      "categorical": true
    }
  },
  "models": {
    "country": {
      "orderedCountryCodes": [
        "IND",
        "VNM",
        "IDN",
        "ZAF",
        "BRA",
        "MEX",
        "CHN",
        "KOR",
        "JPN",
        "FRA",
        "DEU",
        "CAN",
        "GBR",
        "AUS",
        "USA",
        "SGP"
      ],
      "actualGDPpc": [
        2366.8328910323,
        4012.50779921084,
        4367.94741847938,
        5715.47531469148,
        9566.74518687619,
        10284.0336925726,
        13119.1076099516,
        37048.4264001496,
        37976.6371788298,
        39683.3953489029,
        44027.7631554469,
        45061.3864587285,
        47900.9680144146,
        61486.38147544,
        66856.5131698371,
        68129.6960402288
      ],
      "mean": 31100.238572174538,
      "median": 37512.5317894897,
      "meanExactFraction": "49760381715479259/1600000000000",
      "medianExactFraction": "375125317894897/10000000000",
      "middlePositionsOneBased": [
        8,
        9
      ],
      "sameWeightPerCountry": true
    },
    "person": {
      "originalRows": 344,
      "validMassRows": 342,
      "originalMissingRowIDs": [
        4,
        272
      ],
      "massSumG": 1437000,
      "meanMassG": 4201.754385964912,
      "medianMassG": 4050.0,
      "modeMassG": 3800,
      "modeCount": 12,
      "minMassG": 2700,
      "maxMassG": 6300,
      "exactFrequencyRows": [
        {
          "reported_mass_g": "2700",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "2850",
          "all_species_frequency": 2,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "2900",
          "all_species_frequency": 4,
          "Adelie_frequency": 3,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "2925",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "2975",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3000",
          "all_species_frequency": 2,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "3050",
          "all_species_frequency": 4,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "3075",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3100",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3150",
          "all_species_frequency": 4,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "3175",
          "all_species_frequency": 2,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "3200",
          "all_species_frequency": 5,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "3250",
          "all_species_frequency": 5,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 3,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "3275",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3300",
          "all_species_frequency": 6,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "3325",
          "all_species_frequency": 5,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "3350",
          "all_species_frequency": 5,
          "Adelie_frequency": 3,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "3400",
          "all_species_frequency": 8,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.023391812865497076023391812865497076023391812865497076023391812865497076023391813"
        },
        {
          "reported_mass_g": "3425",
          "all_species_frequency": 2,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "3450",
          "all_species_frequency": 8,
          "Adelie_frequency": 6,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.023391812865497076023391812865497076023391812865497076023391812865497076023391813"
        },
        {
          "reported_mass_g": "3475",
          "all_species_frequency": 3,
          "Adelie_frequency": 3,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "3500",
          "all_species_frequency": 7,
          "Adelie_frequency": 5,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.020467836257309941520467836257309941520467836257309941520467836257309941520467836"
        },
        {
          "reported_mass_g": "3525",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "3550",
          "all_species_frequency": 9,
          "Adelie_frequency": 8,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.026315789473684210526315789473684210526315789473684210526315789473684210526315789"
        },
        {
          "reported_mass_g": "3575",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3600",
          "all_species_frequency": 7,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 3,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.020467836257309941520467836257309941520467836257309941520467836257309941520467836"
        },
        {
          "reported_mass_g": "3625",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3650",
          "all_species_frequency": 6,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "3675",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "3700",
          "all_species_frequency": 11,
          "Adelie_frequency": 7,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.032163742690058479532163742690058479532163742690058479532163742690058479532163743"
        },
        {
          "reported_mass_g": "3725",
          "all_species_frequency": 3,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "3750",
          "all_species_frequency": 5,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "3775",
          "all_species_frequency": 4,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 3,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "3800",
          "all_species_frequency": 12,
          "Adelie_frequency": 8,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.035087719298245614035087719298245614035087719298245614035087719298245614035087719"
        },
        {
          "reported_mass_g": "3825",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3850",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3875",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3900",
          "all_species_frequency": 10,
          "Adelie_frequency": 8,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3950",
          "all_species_frequency": 10,
          "Adelie_frequency": 5,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "3975",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4000",
          "all_species_frequency": 5,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4050",
          "all_species_frequency": 6,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 4,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "4075",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4100",
          "all_species_frequency": 5,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4150",
          "all_species_frequency": 6,
          "Adelie_frequency": 3,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "4200",
          "all_species_frequency": 5,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4250",
          "all_species_frequency": 5,
          "Adelie_frequency": 5,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4275",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4300",
          "all_species_frequency": 8,
          "Adelie_frequency": 4,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.023391812865497076023391812865497076023391812865497076023391812865497076023391813"
        },
        {
          "reported_mass_g": "4350",
          "all_species_frequency": 2,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4375",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4400",
          "all_species_frequency": 8,
          "Adelie_frequency": 3,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 4,
          "all_species_relative_frequency": "0.023391812865497076023391812865497076023391812865497076023391812865497076023391813"
        },
        {
          "reported_mass_g": "4450",
          "all_species_frequency": 5,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4475",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4500",
          "all_species_frequency": 3,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "4550",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4575",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4600",
          "all_species_frequency": 5,
          "Adelie_frequency": 2,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4625",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4650",
          "all_species_frequency": 5,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 4,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4675",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4700",
          "all_species_frequency": 6,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 5,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "4725",
          "all_species_frequency": 3,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "4750",
          "all_species_frequency": 5,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 5,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "4775",
          "all_species_frequency": 1,
          "Adelie_frequency": 1,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 0,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "4800",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 1,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "4850",
          "all_species_frequency": 4,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 4,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "4875",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "4900",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4925",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4950",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "4975",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "5000",
          "all_species_frequency": 6,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 6,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "5050",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5100",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5150",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "5200",
          "all_species_frequency": 4,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 4,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "5250",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5300",
          "all_species_frequency": 4,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 4,
          "all_species_relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906"
        },
        {
          "reported_mass_g": "5350",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5400",
          "all_species_frequency": 5,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 5,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "5450",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "5500",
          "all_species_frequency": 5,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 5,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "5550",
          "all_species_frequency": 6,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 6,
          "all_species_relative_frequency": "0.017543859649122807017543859649122807017543859649122807017543859649122807017543860"
        },
        {
          "reported_mass_g": "5600",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "5650",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5700",
          "all_species_frequency": 5,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 5,
          "all_species_relative_frequency": "0.014619883040935672514619883040935672514619883040935672514619883040935672514619883"
        },
        {
          "reported_mass_g": "5750",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "5800",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "5850",
          "all_species_frequency": 3,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 3,
          "all_species_relative_frequency": "0.0087719298245614035087719298245614035087719298245614035087719298245614035087719298"
        },
        {
          "reported_mass_g": "5950",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "6000",
          "all_species_frequency": 2,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 2,
          "all_species_relative_frequency": "0.0058479532163742690058479532163742690058479532163742690058479532163742690058479532"
        },
        {
          "reported_mass_g": "6050",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        },
        {
          "reported_mass_g": "6300",
          "all_species_frequency": 1,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 1,
          "all_species_relative_frequency": "0.0029239766081871345029239766081871345029239766081871345029239766081871345029239766"
        }
      ],
      "bins": [
        {
          "bin_lower_g": 2500,
          "bin_upper_g": 3000,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 2750,
          "width_g": 500,
          "all_species_frequency": 9,
          "Adelie_frequency": 7,
          "Chinstrap_frequency": 2,
          "Gentoo_frequency": 0,
          "relative_frequency": "0.026315789473684210526315789473684210526315789473684210526315789473684210526315789",
          "histogram_density_per_g": "0.000052631578947368421052631578947368421052631578947368421052631578947368421052631579"
        },
        {
          "bin_lower_g": 3000,
          "bin_upper_g": 3500,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 3250,
          "width_g": 500,
          "all_species_frequency": 62,
          "Adelie_frequency": 47,
          "Chinstrap_frequency": 15,
          "Gentoo_frequency": 0,
          "relative_frequency": "0.18128654970760233918128654970760233918128654970760233918128654970760233918128655",
          "histogram_density_per_g": "0.00036257309941520467836257309941520467836257309941520467836257309941520467836257310"
        },
        {
          "bin_lower_g": 3500,
          "bin_upper_g": 4000,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 3750,
          "width_g": 500,
          "all_species_frequency": 94,
          "Adelie_frequency": 58,
          "Chinstrap_frequency": 35,
          "Gentoo_frequency": 1,
          "relative_frequency": "0.27485380116959064327485380116959064327485380116959064327485380116959064327485380",
          "histogram_density_per_g": "0.00054970760233918128654970760233918128654970760233918128654970760233918128654970760"
        },
        {
          "bin_lower_g": 4000,
          "bin_upper_g": 4500,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 4250,
          "width_g": 500,
          "all_species_frequency": 59,
          "Adelie_frequency": 31,
          "Chinstrap_frequency": 13,
          "Gentoo_frequency": 15,
          "relative_frequency": "0.17251461988304093567251461988304093567251461988304093567251461988304093567251462",
          "histogram_density_per_g": "0.00034502923976608187134502923976608187134502923976608187134502923976608187134502924"
        },
        {
          "bin_lower_g": 4500,
          "bin_upper_g": 5000,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 4750,
          "width_g": 500,
          "all_species_frequency": 51,
          "Adelie_frequency": 8,
          "Chinstrap_frequency": 3,
          "Gentoo_frequency": 40,
          "relative_frequency": "0.14912280701754385964912280701754385964912280701754385964912280701754385964912281",
          "histogram_density_per_g": "0.00029824561403508771929824561403508771929824561403508771929824561403508771929824561"
        },
        {
          "bin_lower_g": 5000,
          "bin_upper_g": 5500,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 5250,
          "width_g": 500,
          "all_species_frequency": 34,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 34,
          "relative_frequency": "0.099415204678362573099415204678362573099415204678362573099415204678362573099415205",
          "histogram_density_per_g": "0.00019883040935672514619883040935672514619883040935672514619883040935672514619883041"
        },
        {
          "bin_lower_g": 5500,
          "bin_upper_g": 6000,
          "lower_closed": true,
          "upper_closed": false,
          "midpoint_g": 5750,
          "width_g": 500,
          "all_species_frequency": 29,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 29,
          "relative_frequency": "0.084795321637426900584795321637426900584795321637426900584795321637426900584795322",
          "histogram_density_per_g": "0.00016959064327485380116959064327485380116959064327485380116959064327485380116959064"
        },
        {
          "bin_lower_g": 6000,
          "bin_upper_g": 6500,
          "lower_closed": true,
          "upper_closed": true,
          "midpoint_g": 6250,
          "width_g": 500,
          "all_species_frequency": 4,
          "Adelie_frequency": 0,
          "Chinstrap_frequency": 0,
          "Gentoo_frequency": 4,
          "relative_frequency": "0.011695906432748538011695906432748538011695906432748538011695906432748538011695906",
          "histogram_density_per_g": "0.000023391812865497076023391812865497076023391812865497076023391812865497076023391813"
        }
      ],
      "midpointApproxMeanMassG": 4216.374269005848,
      "midpointApproxMeanExactFraction": "721000/171",
      "rawMeanExactFraction": "239500/57",
      "binMidpointErrorG": 14.619883040935672,
      "speciesSummaries": {
        "Adelie": {
          "n": 151,
          "mean": 3700.662251655629,
          "median": 3700.0
        },
        "Chinstrap": {
          "n": 68,
          "mean": 3733.0882352941176,
          "median": 3700.0
        },
        "Gentoo": {
          "n": 123,
          "mean": 5076.016260162602,
          "median": 5000.0
        }
      }
    },
    "company": {
      "categoryOrder": [
        "iPhone",
        "Mac",
        "iPad",
        "Wearables, Home and Accessories",
        "Services"
      ],
      "actualFY2023": [
        200583,
        29357,
        28300,
        39845,
        85200
      ],
      "actualFY2024": [
        201183,
        29984,
        26694,
        37005,
        96169
      ],
      "pairedChanges": [
        600,
        627,
        -1606,
        -2840,
        10969
      ],
      "means": [
        76657,
        78207
      ],
      "medians": [
        39845,
        37005
      ],
      "totals": [
        383285,
        391035
      ],
      "fiscalWeeks": [
        53,
        52
      ],
      "threeCategoryCounterexample": {
        "categories": [
          "iPhone",
          "Mac",
          "iPad"
        ],
        "differenceOfMedians": 627,
        "medianOfDifferences": 600
      },
      "allFiveDifferenceOfMedians": -2840,
      "allFiveMedianOfDifferences": 600,
      "medianLinearityClaim": false
    }
  },
  "enrichment": [
    {
      "kind": "video",
      "title": {
        "ko": "평균·중앙값·최빈값은 무엇을 요약할까?",
        "en": "Mean, Median, and Mode: Measures of Central Tendency"
      },
      "provider": "CrashCourse · Statistics 3",
      "url": "https://www.youtube.com/watch?v=kn83BA7cRNM",
      "creatorPage": "https://thecrashcourse.com/courses/mean-median-and-mode-measures-of-central-tendency-crash-course-statistics-3/",
      "videoId": "kn83BA7cRNM",
      "verifiedOn": "2026-10-22",
      "focus": {
        "ko": "본문에서 공식 영상을 보고 세 중심의 계산 순서를 따라갑니다. 기업 표에서 평균과 중앙값의 변화 방향이 다른 이유를 원값으로 설명해 보세요.",
        "en": "Watch the official video in this chapter and follow the three center calculations. Explain the company’s opposite mean/median changes using actual values."
      },
      "question": {
        "ko": "같은 자료에서 중심 요약은 하나만 옳은가요?",
        "en": "Can only one center be correct for a dataset?"
      },
      "answer": {
        "ko": "평균·중앙값·최빈값은 다른 정의입니다. 모두 맞게 계산할 수 있지만 어떤 질문에 적절한지는 분포·단위·관측 대상을 함께 보고 정합니다.",
        "en": "They have different definitions and can all be calculated correctly. Choose a summary by considering the question, distribution, units and observation target."
      },
      "verificationNote": "Official creator page links directly to the matching official YouTube ID; no timestamp or playback certification."
    },
    {
      "kind": "thinker",
      "title": {
        "ko": "존 튜키 · 숫자를 요약하기 전에 자료를 살펴보기",
        "en": "John Tukey: examine data alongside numerical summaries"
      },
      "provider": "University of St Andrews · MacTutor",
      "url": "https://mathshistory.st-andrews.ac.uk/Biographies/Tukey/",
      "focus": {
        "ko": "대학 소개의 튜키(1915–2000)와 자료 분석·가정 점검에 관한 내용을 읽습니다. 한 숫자와 원자료 그림을 함께 보는 습관을 연결하세요.",
        "en": "Read the university biography of Tukey (1915–2000), focusing on data analysis and checking assumptions. Pair numerical summaries with views of the actual data."
      },
      "question": {
        "ko": "펭귄 전체 평균만 보면 무엇을 놓칠 수 있나요?",
        "en": "What can a pooled penguin mean hide?"
      },
      "answer": {
        "ko": "종별 크기 차이·혼합 비중·측정 단위·빈값의 분모를 놓칠 수 있습니다. 원그림과 종별 요약을 함께 읽으면 전체 숫자의 구성을 볼 수 있습니다.",
        "en": "Species differences, mixture weights, measurement units and missing-value denominators. Plots and group summaries reveal the composition behind the pooled number."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "정확한 빈도 평균과 구간 중심 근사의 차이",
        "en": "Exact frequency means versus bin-midpoint approximations"
      },
      "provider": "OpenStax · Introductory Statistics 2e · 2.5",
      "url": "https://openstax.org/books/introductory-statistics-2e/pages/2-5-measures-of-the-center-of-the-data",
      "focus": {
        "ko": "평균·중앙값·최빈값의 정의와 “Calculating the Mean of Grouped Frequency Tables”를 읽습니다. 실제 구간 중심 근사 오차를 확인하세요.",
        "en": "Read the mean/median/mode definitions and “Calculating the Mean of Grouped Frequency Tables.” Compare the approximation with the exact actual-data mean."
      },
      "question": {
        "ko": "구간 빈도만으로 왜 정확한 평균을 알기 어려운가요?",
        "en": "Why do bin counts generally not determine an exact mean?"
      },
      "answer": {
        "ko": "구간 안의 개별 값이 사라집니다. 중심값으로 대체한 평균은 근사이고, 원값이나 정확한 값별 빈도가 있으면 정확한 평균을 계산할 수 있습니다.",
        "en": "Individual positions inside each bin are lost. Midpoint substitution is approximate; raw values or exact-value frequencies permit the exact mean."
      }
    },
    {
      "kind": "reading",
      "title": {
        "ko": "히스토그램 구간과 상대빈도를 직접 정의하기",
        "en": "Define histogram bins and relative frequencies"
      },
      "provider": "OpenStax · Introductory Statistics 2e · 2.2",
      "url": "https://openstax.org/books/introductory-statistics-2e/pages/2-2-histograms-frequency-polygons-and-time-series-graphs",
      "focus": {
        "ko": "도입부의 빈도·상대빈도와 구간 정의를 읽고 본문500 g 구간을 재현합니다. 고정된 구간 규칙과 세로축 단위를 먼저 기록하세요.",
        "en": "Read the introductory frequency, relative-frequency and bin discussion; reproduce our 500 g intervals. Record endpoint rules and vertical-axis units first."
      },
      "question": {
        "ko": "빈도와 밀도의 세로축 단위는 같나요?",
        "en": "Do frequency and density heights have the same units?"
      },
      "answer": {
        "ko": "아닙니다. 이 밀도는 상대빈도/구간 폭이라1/g이고 면적이 비중입니다. 원그림은 측정행을 센 빈도입니다.",
        "en": "No. Density here divides relative frequency by bin width, giving 1/g; area gives a proportion. Our original plot counts measurement records."
      }
    }
  ],
  "sources": [
    {
      "provider": "World Bank",
      "url": "https://data.worldbank.org/indicator/NY.GDP.PCAP.KD",
      "indicatorCode": "NY.GDP.PCAP.KD",
      "rawFile": "실제데이터/worldbank.csv",
      "sha256": "b2f0f3815ea20e087909038e352a72af9dd844d50448008d75e3440a642ddd02",
      "rawDownloaded": true,
      "retrievedOn": "2026-10-20",
      "period": "2024",
      "units": "constant2015USD/person",
      "processing": "Select sixteen valid country values;sort by value/code. Exact unweighted mean and even-n median;rank not calendar time. No world-representative or individual-income interpretation."
    },
    {
      "provider": "Horst,Hill,Gorman / PalmerLTER",
      "url": "https://allisonhorst.github.io/palmerpenguins/",
      "rawFile": "work/textbooks-2026/raw/penguins.csv",
      "sha256": "f204db2c753b0937caac3cb35258562c14f073e4bbc76be24b4c51ce22767a93",
      "selectedFile": "실제데이터/penguins.csv",
      "selectedSHA256": "8e45d9c48a941cd2270abe99d7df7a92e7502bebca5efcfb82dde25dc0c15a08",
      "rawDownloaded": true,
      "retrievedOn": "2026-10-20",
      "license": "CC0",
      "period": "2007–2009",
      "units": "body mass g",
      "processing": "All344source rows preserved;342mass-observed used without unnecessary sex filter. Raw344×8cells checked. Exact-value frequencies,500g half-open bins/finalclosed6500,relativefrequencies/densities;exact midpoint approximation distinct from raw mean. Species151/68/123 summarize mixture without causal/random-sample claim."
    },
    {
      "provider": "SEC EDGAR / Apple2024Form10-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 nominalUSD netsales",
      "period": "FY2023/FY2024",
      "processing": "Directly verifyfive actual pairedcategory values andtotals inretainednet-salestable. Exact means/medians/differences. Threeactualcategories disprove generalmedian-linearity;allfive medianofdifferences600 differsfromdifferenceofmedians−2840. 53/52weeks preserved,notprofit/customers orforecast."
    },
    {
      "provider": "CrashCourse",
      "url": "https://thecrashcourse.com/courses/mean-median-and-mode-measures-of-central-tendency-crash-course-statistics-3/",
      "videoUrl": "https://www.youtube.com/watch?v=kn83BA7cRNM",
      "videoId": "kn83BA7cRNM",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "rawMediaDownloaded": false,
      "scope": "Officialcreatorlesson anddirectYouTube link/metadata;actualplayback parentQA."
    },
    {
      "provider": "University of St Andrews / MacTutor",
      "url": "https://mathshistory.st-andrews.ac.uk/Biographies/Tukey/",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "scope": "Dates andparagraphs ondataanalysis/checkingassumptions;briefparaphrase,notoriginalTukeymonographread."
    },
    {
      "provider": "OpenStax",
      "url": "https://openstax.org/books/introductory-statistics-2e/pages/2-5-measures-of-the-center-of-the-data",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "scope": "Mean/median/mode definitions,exactfrequencyweightedmean andgroupedmidpointapproximation. LLNparagraph not part of recommended scope;our inference conditions stated separately."
    },
    {
      "provider": "OpenStax",
      "url": "https://openstax.org/books/introductory-statistics-2e/pages/2-2-histograms-frequency-polygons-and-time-series-graphs",
      "webVerifiedOn": "2026-10-22",
      "originalHTMLArchived": false,
      "scope": "Frequency/relativefrequency andbinintroduction. No claimthathistogramsrequire100records ormore;explicitendpointchoices ratherthanreportedprecisionrules. Our density-unit/area explanation independentlyderived."
    }
  ],
  "review": {
    "chapter": "STAT-02",
    "scope": "AIcaseauthoring andexactcalculation,not humanexpertcertification orbrowserQA.",
    "checks": [
      "Originalsnapshots immutable;country16actualranks/middleKOR-JPN exact.",
      "All344×8Palmercells sourcechecked;342valid/masssum1437000.",
      "Exactfrequencyweightedmean,unique3800gmode12,median4050;species151/68/123.",
      "Eightbinpartitioncounts[9,62,94,59,51,34,29,4]sum342;midpointapprox721000/171 distinctfromrawmean.",
      "ActualSECpairedvalues/totals/centers verified;allfive−2840versus600 andactualthree-category627versus600counterexamples exact;earlierplanningcoincidenceclaimcorrectedbeforepublication."
    ],
    "studentReviewerResponse": "IndependentAIneutral-studentreview completed2026-10-22;no unresolvedissues. KO/ENcases,workedanswers,officialresources andmetadata read. Independent3045valuecomparisons,11hashes and29chartpoints passed. Preserved344rows,94exactmassfrequencies,eight500gbin/speciescounts,densityareas,exactmidpointmean721000/171 andallfive600versus−2840/three600versus627 counterexamples verified. FinalKOthreeincreases/twodecreases andEN8th/9thdisplay confirmed. Earlierauthorplanningmedian-coincidenceerror correctedbeforepublicJSONgeneration. See stats02-pedagogy-review.json. AIstatic/numericalreview,not humanexpertcertification;actualplayback parentQA.",
    "remaining": [
      "Parentintegration,bilingualmobileplots/histogrambins andvideo playback."
    ]
  }
}