{
  "name": "Audit the output: association, prediction and model checks",
  "description": "Original compilation of output definitions from SciPy pearsonr and linregress and model-validation guidance from the NIST/SEMATECH handbook. These checks help distinguish evidence about association, parameter uncertainty and model adequacy.",
  "page": "https://casrai.org/compare/correlation-vs-regression-analysis",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-12-01T16:25:00Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Reported output",
      "unit": "",
      "description": ""
    },
    {
      "name": "What it supports",
      "unit": "",
      "description": ""
    },
    {
      "name": "What to check separately",
      "unit": "",
      "description": ""
    },
    {
      "name": "Primary source",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Reported output": "Pearson r",
      "What it supports": "Estimated direction and strength of linear association",
      "What to check separately": "Paired observations and the scatterplot; inference has additional assumptions",
      "Primary source": "SciPy pearsonr"
    },
    {
      "Reported output": "Pearson confidence interval",
      "What it supports": "An interval estimate for the correlation coefficient",
      "What to check separately": "Interval method and its sampling assumptions",
      "Primary source": "SciPy pearsonr"
    },
    {
      "Reported output": "Slope and intercept",
      "What it supports": "A fitted simple linear response equation",
      "What to check separately": "Which variable is the response and the measurement units",
      "Primary source": "SciPy linregress; NIST Least Squares"
    },
    {
      "Reported output": "Slope p-value",
      "What it supports": "A test of the null hypothesis that the slope is zero",
      "What to check separately": "The estimate and its uncertainty are separate outputs",
      "Primary source": "SciPy linregress"
    },
    {
      "Reported output": "R²",
      "What it supports": "Fraction of response variability accounted for by the fitted model",
      "What to check separately": "Residual plots; high R² alone does not establish adequate fit",
      "Primary source": "NIST model validation"
    }
  ],
  "sources": [
    {
      "title": "SciPy: pearsonr",
      "url": "https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html",
      "accessed": "2026-11-16"
    },
    {
      "title": "SciPy: linregress",
      "url": "https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html",
      "accessed": "2026-11-16"
    },
    {
      "title": "NIST/SEMATECH: Least Squares",
      "url": "https://www.itl.nist.gov/div898/handbook/pmd/section4/pmd431.htm",
      "accessed": "2026-11-16"
    },
    {
      "title": "NIST/SEMATECH: How can I tell if a model fits my data?",
      "url": "https://www.itl.nist.gov/div898/handbook/pmd/section4/pmd44.htm",
      "accessed": "2026-11-16"
    }
  ]
}