{
  "name": "Regression estimates for the ten-student test-score example under four specifications",
  "description": "Coefficients, standard errors, t statistics and R-squared from ordinary least squares fits of test score on a male indicator, with and without IQ, and with each gender as the reference group. Computed by the author from the ten observations published by Stat Trek.",
  "page": "https://casrai.org/guides/indicator-variable-regression",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T04:22:00Z",
  "temporalCoverage": "2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Specification",
      "unit": "",
      "description": ""
    },
    {
      "name": "Reference group",
      "unit": "",
      "description": ""
    },
    {
      "name": "Intercept",
      "unit": "",
      "description": ""
    },
    {
      "name": "IQ coefficient",
      "unit": "",
      "description": ""
    },
    {
      "name": "Indicator coefficient",
      "unit": "",
      "description": "Coefficient of the indicator for the non-reference group"
    },
    {
      "name": "Indicator SE",
      "unit": "",
      "description": ""
    },
    {
      "name": "Indicator t statistic",
      "unit": "",
      "description": "t with residual degrees of freedom"
    },
    {
      "name": "R-squared",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Specification": "Indicator only (male = 1)",
      "Reference group": "Female",
      "Intercept": 78.6,
      "IQ coefficient": "n/a",
      "Indicator coefficient": 9,
      "Indicator SE": 4.7,
      "Indicator t statistic": 1.91,
      "R-squared": 0.314
    },
    {
      "Specification": "Indicator plus IQ (male = 1)",
      "Reference group": "Female",
      "Intercept": 38.6,
      "IQ coefficient": 0.4,
      "Indicator coefficient": 7,
      "Indicator SE": 2.69,
      "Indicator t statistic": 2.61,
      "R-squared": 0.81
    },
    {
      "Specification": "Indicator plus IQ (female = 1)",
      "Reference group": "Male",
      "Intercept": 45.6,
      "IQ coefficient": 0.4,
      "Indicator coefficient": -7,
      "Indicator SE": 2.69,
      "Indicator t statistic": -2.61,
      "R-squared": 0.81
    },
    {
      "Specification": "IQ only (no indicator)",
      "Reference group": "None",
      "Intercept": 37.75,
      "IQ coefficient": 0.442,
      "Indicator coefficient": "n/a",
      "Indicator SE": "n/a",
      "Indicator t statistic": "n/a",
      "R-squared": 0.626
    }
  ],
  "sources": [
    {
      "title": "Stat Trek, Dummy Variables in Regression (data and model form)",
      "url": "https://stattrek.com/multiple-regression/dummy-variables",
      "accessed": "2026-11-17"
    }
  ]
}