{
  "chapter": 9,
  "kind": "paired",
  "question": "The important change is within each worker.",
  "prompt": "Connect each worker\u2019s two measurements before comparing their means.",
  "data": {
    "id": "worker_music_pairs",
    "title": "Production before and after music",
    "columns": [
      {
        "name": "worker",
        "unit": "identifier",
        "meaning": "Pair identity"
      },
      {
        "name": "before_items",
        "unit": "items in recorded day",
        "meaning": "Output before music",
        "crunch_list": "L1"
      },
      {
        "name": "after_items",
        "unit": "items in recorded day",
        "meaning": "Output after one week of music",
        "crunch_list": "L2"
      }
    ],
    "rows": [
      [
        1,
        6,
        10
      ],
      [
        2,
        8,
        12
      ],
      [
        3,
        10,
        9
      ],
      [
        4,
        9,
        12
      ],
      [
        5,
        5,
        8
      ],
      [
        6,
        12,
        13
      ],
      [
        7,
        9,
        8
      ],
      [
        8,
        7,
        10
      ]
    ],
    "source_section": "9.1",
    "source_locator": "Example 2; table-00002",
    "source_url": "https://oer.xyzhomework.com/ebooks/html/mostly-harmless-statistics/ch09/9-1-two-sample-mean-t-test-for-dependent-groups.html",
    "provenance": "Exact book-provided example values; underlying original collection not independently documented.",
    "rights": "Adapted from Rachel Webb, Mostly Harmless Statistics, XYZ Homework edition, CC BY-SA 4.0. Source collection and per-dataset original rights are not independently documented; do not describe these as newly verified research records.",
    "kind": "book_example",
    "transformations": "None; retain source values."
  },
  "activity_id": "MH09A",
  "crunch_url": "https://oer.xyzhomework.com/ebooks/html/_crunch/index.html?panel=hypothesis-tests&data=%7B%22L1%22%3A%5B6%2C8%2C10%2C9%2C5%2C12%2C9%2C7%5D%2C%22L2%22%3A%5B10%2C12%2C9%2C12%2C8%2C13%2C8%2C10%5D%2C%22L3%22%3A%5B%5D%2C%22L4%22%3A%5B%5D%2C%22L5%22%3A%5B%5D%2C%22L6%22%3A%5B%5D%7D",
  "source_url": "https://oer.xyzhomework.com/ebooks/html/mostly-harmless-statistics/ch09/9-1-two-sample-mean-t-test-for-dependent-groups.html",
  "controls": [
    {
      "label": "Add to each after-music value (items produced/day)",
      "min": -3,
      "max": 3,
      "step": 0.5,
      "value": 0
    }
  ],
  "rerun": false,
  "source": "Rachel Webb, Mostly Harmless Statistics, \u00a79.1; Example 2; table-00002. Exact book-provided example values; underlying original collection not independently documented.",
  "crunch_title": "Keep each pair together",
  "crunch_steps": [
    "Select Test Type Paired T-Test. Set List 1 to Before (L1), List 2 to After (L2), Alternative Left-tailed (<), Alpha=.05; Run Test. Crunch computes L1\u2212L2 and tests difference zero."
  ],
  "crunch_transition": "Use Before\u2212After throughout this worker comparison: Before is L1 and After is L2, so increased production corresponds to a negative difference and the left-tailed worker test in MH09A. Set Hypothesized Difference=0. Values are items produced in the recorded day, before music and after one week of music. The slider adds a hypothetical shift to every After value; it does not establish causation. The Crunch link opens the eight original pairs; export changed data as CSV separately. MH09A\u2019s additional cafe links belong to a separate Thursday\u2212Friday example. The Caf\u00e9 difference list link here puts the eight Thursday\u2212Friday differences in L1. Choose Confidence Intervals \u2192 T Interval (from Data), List=L1, Confidence Level=.95; Calculate. The section\u2019s separate three-list link puts these differences in L3 instead; select the difference list supplied by the link you opened. Keep the worker test and cafe interval datasets and direction conventions separate.",
  "crunch_links": [
    {
      "label": "Caf\u00e9 difference list for interval",
      "url": "https://oer.xyzhomework.com/ebooks/html/_crunch/index.html?panel=confidence-intervals&data=%7B%22L1%22%3A%5B-1%2C-5%2C-1%2C-3%2C-4%2C1%2C-1%2C0%5D%2C%22L2%22%3A%5B%5D%2C%22L3%22%3A%5B%5D%2C%22L4%22%3A%5B%5D%2C%22L5%22%3A%5B%5D%2C%22L6%22%3A%5B%5D%7D"
    },
    {
      "label": "Caf\u00e9 95% paired interval from summary",
      "url": "https://oer.xyzhomework.com/ebooks/html/_crunch/index.html?panel=confidence-intervals&ci=t&xbar=-1.75&s=2.052872551885702&n=8&conf=0.95"
    }
  ],
  "definitions": [
    "Dependent samples: Measurements are linked in pairs, such as repeated observations of the same individual or location. Notation: D=x\u2081\u2212x\u2082. Source: \u00a79.1.",
    "Paired t test and interval: Use the mean and sample SD of differences, with the number of pairs as n. Notation: t=(D\u0304\u2212\u03bcD)/(sD/\u221an); df=n\u22121. Source: \u00a79.1."
  ]
}
