{
  "schema": "collabysis.case/2",
  "case_id": "hr-attrition-satisfaction",
  "receipt_kind": "deterministic_case_expectation",
  "source_attestation": false,
  "question": "Do employees who left report lower satisfaction?",
  "dataset": {
    "path": "../data/hr_analytics.csv",
    "sha256": "af8c4cede39f28b5a67c748a66aa850fe260f908cbeaa226694121e0a9a4e105",
    "bytes": 551785,
    "rows": 14999,
    "columns": 10,
    "column_names": [
      "satisfaction_level",
      "last_evaluation",
      "number_project",
      "average_montly_hours",
      "time_spend_company",
      "Work_accident",
      "left",
      "promotion_last_5years",
      "Department",
      "salary"
    ],
    "personal_identifiers": false,
    "source": {
      "description": "14,999-row HR Analytics sample formerly distributed through Kaggle",
      "distribution_platform": "Kaggle (former listing)",
      "landing_page": "https://search.r-project.org/CRAN/refmans/EIX/html/HR_data.html",
      "original_landing_page": "https://www.kaggle.com/ludobenistant/hr-analytics",
      "original_listing_availability": "unavailable",
      "original_publisher": null,
      "dataset_license": null,
      "metadata_verification": "origin_documented_publisher_and_license_unverified"
    },
    "collection": {
      "live_collection": false,
      "method": "bundled_file"
    }
  },
  "analysis": {
    "method": "welch",
    "test": "t_test",
    "value_column": "satisfaction_level",
    "group_column": "left",
    "alternative": "two-sided",
    "confidence_level": 0.95,
    "groups": [
      {
        "value": "1",
        "label": "left",
        "n": 3571,
        "mean": 0.44009801176141133
      },
      {
        "value": "0",
        "label": "stayed",
        "n": 11428,
        "mean": 0.666809590479524
      }
    ],
    "statistic": -46.636414352775724,
    "degrees_of_freedom": 5167.0318959309525,
    "p_value": 0.0,
    "cohens_d": -0.9894834735180517,
    "mean_difference": -0.2267115787181127,
    "confidence_interval_95": [
      -0.23624169904155415,
      -0.21718145839467126
    ],
    "apa": "t(5167.03) = -46.64, p < .001, d = -0.99",
    "validated": true
  },
  "reproduction": {
    "path_context": "reproducibility_kit",
    "command": "python reproduce.py",
    "python_minimum": "3.12",
    "script": "../reproduce.py",
    "methodology": "../METHODOLOGY.md",
    "engine": "website/engine/analyze",
    "checks": [
      "dataset_sha256",
      "group_means",
      "statistic",
      "degrees_of_freedom",
      "p_value",
      "cohens_d",
      "mean_difference",
      "confidence_interval_95",
      "apa"
    ]
  },
  "caveat": "This observational sample shows an association. It does not establish why employees left. Available documentation traces the sample to a former Kaggle listing but does not independently establish the original publisher or dataset license."
}
