{
  "chapter": "STAT-15",
  "retrievedOn": "2026-10-22",
  "datasets": [
    {
      "file": "stats15-sources/actual16-country2024-GDPpc-and-period-life-expectancy.csv",
      "sha256": "22ab5bee59503635a5c6ee2a698e03b182c4d49f793b88a4105a4c1ae50a7b89",
      "rows": 16,
      "bytes": 1654
    },
    {
      "file": "stats15-sources/actual3613-person-schooling-and-preserved-missing-log-wages.csv",
      "sha256": "74a92ff78c647ec6207e7680837643fc32ce0f4d34e1714c90d28262f67b989c",
      "rows": 3613,
      "bytes": 152310
    },
    {
      "file": "stats15-sources/actual1599-red-wine-laboratory-and-quality-records.csv",
      "sha256": "8ce5cc6f05c4e78872dec3089f8cb789ba89ac3240dfd327686ad1950a362525",
      "rows": 1599,
      "bytes": 148826
    },
    {
      "file": "stats15-sources/actual-country-OLS-fits-residuals-leverage-and-influence.csv",
      "sha256": "e7cea14e4fb5a289a619b4c245690a420a90daadc5b9f60da496febd041c3914",
      "rows": 16,
      "bytes": 11916
    },
    {
      "file": "stats15-sources/actual-person-OLS-fits-residuals-leverage-and-influence.csv",
      "sha256": "cff6951ba8d6382175bc4f9daccbee298d8d8f3fb3ec56823bf8f545eaeabc57",
      "rows": 3010,
      "bytes": 768056
    },
    {
      "file": "stats15-sources/actual-company-OLS-fits-residuals-leverage-and-influence.csv",
      "sha256": "511091f00f14c971bb592ea97e5e82a4cdcc606af5fa2d29fcc7b6290611a811",
      "rows": 1599,
      "bytes": 909239
    },
    {
      "file": "stats15-sources/actual-three-linear-projection-summaries.csv",
      "sha256": "89939013884140355916091bf747af19181d0c5b18c7c5d230142b87f413f6d3",
      "rows": 3,
      "bytes": 3482
    },
    {
      "file": "stats15-sources/actual-person-conditional-sample-means-and-OLS-values.csv",
      "sha256": "4fc7dd4ad945d25485c738d5a5da14809e2b8f3cce28b399b24f00c80cbede13",
      "rows": 18,
      "bytes": 1931
    },
    {
      "file": "stats15-sources/actual-company-conditional-sample-means-and-OLS-values.csv",
      "sha256": "1c75762431d19f219b4164cb60db70b746ed465cb648cc2645c2b36562a836af",
      "rows": 65,
      "bytes": 10464
    },
    {
      "file": "stats15-sources/chosen-in-range-queries-and-classical-working-intervals.csv",
      "sha256": "4a717f861f71f0a6edd9a4094f502d74e677d8d068c6cc8305db5cca9f32417f",
      "rows": 9,
      "bytes": 3921
    }
  ],
  "sources": [
    {
      "file": "실제데이터/worldbank.csv",
      "sha256": "b2f0f3815ea20e087909038e352a72af9dd844d50448008d75e3440a642ddd02",
      "url": "https://data.worldbank.org/indicator/NY.GDP.PCAP.KD",
      "scope": "720 retained country-year rows; original API6480 indicator records checked for GDPpc and period life expectancy; select16 complete2024 countries, uniform country weights.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/worldbank-panel.json",
      "originalSha256": "4e9aab35e4ba7a64324358bd4bd54bfbc89255c859958ec1e5f471128e2087b7",
      "license": "World Bank dataset terms/attribution; no endorsement."
    },
    {
      "url": "https://data.worldbank.org/indicator/SP.DYN.LE00.IN",
      "retrievedOn": "2026-10-22",
      "scope": "SP.DYN.LE00.IN period life expectancy definition; not individual lifespan prediction."
    },
    {
      "file": "실제데이터/college-proximity.csv",
      "sha256": "fd3ef1ef0eba13c487ece6aae7617a2da0a2b4239eae40c6c2bf58d771c7b8e0",
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "scope": "3613 actual men,3010 source-trimmed observed log wages; no weights or missing-value imputation.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/proximity.zip",
      "originalSha256": "0e9b2ad4182ea631ca3dd8a5fff6c1b0ab86b56c6a3fa868870f716e8d82691f",
      "license": "Author public replication; no CC claim."
    },
    {
      "file": "실제데이터/wine.csv",
      "sha256": "f1520828528ec75ecda7f1f3183a6826f4317bb94b08816f7985890e11ece10e",
      "url": "https://archive.ics.uci.edu/dataset/186/wine+quality",
      "scope": "1599 Portuguese red-wine product/laboratory records,12 numeric source fields verified. Alcohol percentage and ordinal expert-median quality only for simple OLS; preserve identical rows; no brand/producer/price identification.",
      "retrievedOn": "2026-10-22",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/wine-quality.zip",
      "originalSha256": "3ed56667f4b828242bd732d7d1dd7f2861e54432239d7fa63877014cbb0304d4",
      "license": "CC BY4.0, Cortez et al.2009,DOI10.24432/C56S3T."
    },
    {
      "url": "https://www.khanacademy.org/math/statistics-probability/describing-relationships-quantitative-data/regression-library/v/introduction-to-residuals-and-least-squares-regression",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official Khan lesson/title/transcript and verified creator YouTube metadata match yMgFHbjbAW8; successful playback not certified."
    },
    {
      "url": "https://mathshistory.st-andrews.ac.uk/Biographies/Gauss/",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "University biography geodesy/observational-error and1823 least-squares work only. Original Gauss treatise not claimed read or unique-inventor priority asserted."
    },
    {
      "url": "https://www.itl.nist.gov/div898/handbook/pmd/section1/pmd141.htm",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Only linear-in-parameters definition and squared-residual minimization objective; exclude broad optimality language and reparameterizable nonlinear example."
    },
    {
      "url": "https://www.itl.nist.gov/div898/handbook/pmd/section4/pmd44.htm",
      "retrievedOn": "2026-10-22",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Only R-squared inadequacy, graphical residual analysis and residual definition; no original process measurements or examples copied."
    }
  ],
  "processing": [
    "Compare original public WB API, Card fixed-width records and UCI red-wine12 numeric columns directly.",
    "Use unweighted2024 cross-country x=GDPpc/10000,y=period life expectancy; preserve original units and fixed-country scope.",
    "Retain all3613 person records/603 missing logs, all1599 wine rows and identical full-numeric-row frequencies without declaring physical duplicates or independence.",
    "Fit exact univariate OLS with intercept; verify residual orthogonality, SS identity and hat trace2.",
    "Keep empirical same-x means distinct from the fitted line and unknown population conditional means.",
    "Classical and HC1 SEs and in-range mean/new-value interval formulas are working-model calculations, not iid, causal or future-performance certificates."
  ],
  "modelScope": "Actual observations, descriptive linear projections, empirical same-x means and model-based inference are separate; no causal income/schooling/recipe manipulation or future-sales performance claim.",
  "reviewStatus": "Final cases: independent AI review and actual-source Python/R checks passed; parent browser/integration QA remains.",
  "verification": {
    "status": "Final cases: independent AI review and actual-source Python/R checks passed; parent browser/integration QA remains.",
    "scope": "Actual observations, descriptive linear projections, empirical same-x means and model-based inference are separate; no causal income/schooling/recipe manipulation or future-sales performance claim.",
    "checks": {
      "countryRows": 16,
      "personRows": 3613,
      "personObserved": 3010,
      "wineRows": 1599,
      "wineSourceNumericCellsCompared": 19188,
      "duplicatesNotSilentlyRemoved": 240
    },
    "videoVerification": "Official Khan lesson and verified creator video ID checked; playback is parent browser QA.",
    "studentReviewerResponse": {
      "reviewFile": "work/textbook-rewrite-2026/stats15-pedagogy-review.json",
      "storedValuesCompared": 128302,
      "hashesChecked": 16,
      "chartPointsChecked": 99,
      "diagnosticRowsChecked": 4625,
      "scope": "Independent actual-source Fraction/Decimal reconstruction, KO/EN and specified resource reading, Decimal250 tiny t tails relative3e-12, labels and regression direction checked. No unresolved recommendations; not human certification."
    },
    "reproduction": {
      "python": "stat15-reproduce.py",
      "R": "stat15-reproduce.R",
      "metricsCompared": 311,
      "numericCaseJSONUsedAsInput": false,
      "PythonMethod": "Exact source-data normal equations",
      "RMethod": "Original API/ZIP source comparisons plus lm/hatvalues/cooks.distance",
      "tinyNonzeroMetricRelativeTolerance": 1e-08
    }
  },
  "numericalMethod": "Exact Fraction actual moments and finite enumerations; explicitly labeled binary64 distribution-tail/quantile numerical approximations checked separately against base R."
}
