{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "5c3ace36",
   "metadata": {},
   "source": [
    "# Chapter Exercise\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "39132ec8",
   "metadata": {},
   "source": [
    "Apply the key ideas from this chapter in the connected task below. Work in your own notebook or local project. Keep your implementation, reasoning, and verification results together.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9b53ed4f",
   "metadata": {},
   "source": [
    "## Make a model-based decision\n",
    "\n",
    "1. Reuse one supplied chapter case and state the null model, alternative, test statistic, and direction of extreme evidence before simulating.\n",
    "\n",
    "2. Generate the null distribution with a fixed seed and calculate the p-value using the same statistic for observed and simulated data.\n",
    "\n",
    "3. Check the simulation mechanism and explain the decision at a stated significance level, possible decision errors, and practical importance. State why the p-value is not the probability that the null hypothesis is true.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8b0bf5b1",
   "metadata": {},
   "source": [
    "Return to the chapter lessons as needed: [Assessing a Model with Simulation](0901-assess-model-1.ipynb), [Comparing Distributions](0902-assess-model-2.ipynb), [Hypotheses and p-Values](0903-decisions-uncertainty.ipynb).\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.16"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
