{
"cells": [
{
"cell_type": "markdown",
"id": "a649aad3",
"metadata": {},
"source": [
"# Model Client Report\n",
"\n",
"## Heart attack hospital admissions:
Case characteristics and their relationship to dollar cost per case\n"
]
},
{
"cell_type": "markdown",
"id": "554bd33b",
"metadata": {},
"source": [
"### Set up Python libraries\n",
"Necessary for the code below to run - run but do not modify this cell"
]
},
{
"cell_type": "code",
"execution_count": 129,
"id": "6e215164",
"metadata": {},
"outputs": [],
"source": [
"# Set-up Python libraries - you need to run this but you don't need to change it\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import scipy.stats as stats\n",
"import pandas \n",
"import seaborn as sns\n",
"sns.set_theme()\n",
"sns.set_style('whitegrid')"
]
},
{
"cell_type": "markdown",
"id": "114eeecc",
"metadata": {},
"source": [
"## Data Source\n",
"\n",
"The report examines a sample of 12,843 patients admitted to hospital in New York City with a heart attack.\n",
"\n",
"The data were collected via the Medicare system were downloaded from DASL.\n",
"\n",
"The variables recorded were:\n",
"
\n", " | CHARGES | \n", "LOS | \n", "AGE | \n", "
---|---|---|---|
CHARGES | \n", "1.000000 | \n", "0.716863 | \n", "0.088667 | \n", "
LOS | \n", "0.716863 | \n", "1.000000 | \n", "0.274533 | \n", "
AGE | \n", "0.088667 | \n", "0.274533 | \n", "1.000000 | \n", "