{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# SolasAI Disparity Calculations"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import plotly.io as pio\n",
    "pio.renderers.default = \"svg\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import solas_disparity as sd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import xgboost as xgb\n",
    "from sklearn import metrics\n",
    "from sklearn.model_selection import train_test_split"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Building a Model"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Low-Priced</th>\n",
       "      <th>Interest Rate</th>\n",
       "      <th>Rate Spread</th>\n",
       "      <th>Loan Amount</th>\n",
       "      <th>Loan-to-Value Ratio</th>\n",
       "      <th>No Intro Rate Period</th>\n",
       "      <th>Intro Rate Period</th>\n",
       "      <th>Property Value</th>\n",
       "      <th>Income</th>\n",
       "      <th>Debt-to-Income Ratio</th>\n",
       "      <th>...</th>\n",
       "      <th>Hawaiian Or Pacific Islander</th>\n",
       "      <th>Hispanic</th>\n",
       "      <th>Non-Hispanic</th>\n",
       "      <th>Male</th>\n",
       "      <th>Female</th>\n",
       "      <th>Age &gt;= 62</th>\n",
       "      <th>Age &lt; 62</th>\n",
       "      <th>Race</th>\n",
       "      <th>Ethnicity</th>\n",
       "      <th>Sex</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>id</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>13451</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.04875</td>\n",
       "      <td>0.00596</td>\n",
       "      <td>155000.0</td>\n",
       "      <td>0.9700</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>165000.0</td>\n",
       "      <td>35000.0</td>\n",
       "      <td>0.33</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>White</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Male</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18248</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.05750</td>\n",
       "      <td>0.01268</td>\n",
       "      <td>305000.0</td>\n",
       "      <td>1.0000</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>295000.0</td>\n",
       "      <td>60000.0</td>\n",
       "      <td>0.55</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Unknown</td>\n",
       "      <td>Unknown</td>\n",
       "      <td>Unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19610</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.05500</td>\n",
       "      <td>0.01214</td>\n",
       "      <td>485000.0</td>\n",
       "      <td>0.9500</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>515000.0</td>\n",
       "      <td>100000.0</td>\n",
       "      <td>0.43</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>White</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3339</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.03875</td>\n",
       "      <td>-0.00087</td>\n",
       "      <td>675000.0</td>\n",
       "      <td>1.0000</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>675000.0</td>\n",
       "      <td>190000.0</td>\n",
       "      <td>0.33</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>Black</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19675</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.04375</td>\n",
       "      <td>0.00076</td>\n",
       "      <td>275000.0</td>\n",
       "      <td>0.3507</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>775000.0</td>\n",
       "      <td>209000.0</td>\n",
       "      <td>0.25</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>White</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Unknown</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 28 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Low-Priced  Interest Rate  Rate Spread  Loan Amount  \\\n",
       "id                                                           \n",
       "13451         1.0        0.04875      0.00596     155000.0   \n",
       "18248         1.0        0.05750      0.01268     305000.0   \n",
       "19610         1.0        0.05500      0.01214     485000.0   \n",
       "3339          1.0        0.03875     -0.00087     675000.0   \n",
       "19675         1.0        0.04375      0.00076     275000.0   \n",
       "\n",
       "       Loan-to-Value Ratio  No Intro Rate Period  Intro Rate Period  \\\n",
       "id                                                                    \n",
       "13451               0.9700                     1                  0   \n",
       "18248               1.0000                     1                  0   \n",
       "19610               0.9500                     1                  0   \n",
       "3339                1.0000                     1                  0   \n",
       "19675               0.3507                     1                  0   \n",
       "\n",
       "       Property Value    Income  Debt-to-Income Ratio  ...  \\\n",
       "id                                                     ...   \n",
       "13451        165000.0   35000.0                  0.33  ...   \n",
       "18248        295000.0   60000.0                  0.55  ...   \n",
       "19610        515000.0  100000.0                  0.43  ...   \n",
       "3339         675000.0  190000.0                  0.33  ...   \n",
       "19675        775000.0  209000.0                  0.25  ...   \n",
       "\n",
       "       Hawaiian Or Pacific Islander  Hispanic Non-Hispanic Male  Female  \\\n",
       "id                                                                        \n",
       "13451                           0.0       1.0          0.0  1.0     0.0   \n",
       "18248                           NaN       NaN          NaN  NaN     NaN   \n",
       "19610                           0.0       0.0          1.0  NaN     NaN   \n",
       "3339                            0.0       0.0          1.0  NaN     NaN   \n",
       "19675                           0.0       0.0          1.0  NaN     NaN   \n",
       "\n",
       "       Age >= 62  Age < 62     Race     Ethnicity      Sex  \n",
       "id                                                          \n",
       "13451        NaN       NaN    White      Hispanic     Male  \n",
       "18248        NaN       NaN  Unknown       Unknown  Unknown  \n",
       "19610        1.0       0.0    White  Non-Hispanic  Unknown  \n",
       "3339         0.0       1.0    Black  Non-Hispanic  Unknown  \n",
       "19675        0.0       1.0    White  Non-Hispanic  Unknown  \n",
       "\n",
       "[5 rows x 28 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df = pd.read_csv(\"hmda.csv.gz\", index_col=\"id\")\n",
    "df.sample(random_state=161803, n=5)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "features = [\n",
    "    \"Loan Amount\",\n",
    "    \"Loan-to-Value Ratio\",\n",
    "    \"Intro Rate Period\",\n",
    "    \"Property Value\",\n",
    "    \"Income\",\n",
    "    \"Debt-to-Income Ratio\",\n",
    "    \"Term 360\",\n",
    "    \"Conforming\",\n",
    "]\n",
    "label = \"Interest Rate\"\n",
    "\n",
    "X_train, X_test, y_train, y_test = train_test_split(df[features], df[label], test_size=0.25, random_state=161803)\n",
    "test_index = y_test.index"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'Model R^2: 0.178'"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "xgb_regressor = xgb.XGBRegressor(\n",
    "    max_depth=4,\n",
    "    learning_rate=1.0,\n",
    "    n_estimators=4,\n",
    "    base_score=y_train.mean(),\n",
    "    random_state=161803,\n",
    ")\n",
    "xgb_regressor.fit(X=X_train, y=y_train)\n",
    "\n",
    "predictions = pd.Series(data=xgb_regressor.predict(X_test), index=X_test.index)\n",
    "f\"Model R^2: {metrics.r2_score(y_true=y_test, y_pred=predictions):0.3f}\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Store arguments in a dictionary for reusability in multiple calls to disparity functions."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "reused_arguments = dict(\n",
    "    group_data=df.loc[test_index],\n",
    "    protected_groups=[\"Black\", \"Asian\", \"Native American\", \"Hispanic\", \"Female\"],\n",
    "    reference_groups=[\"White\", \"White\", \"White\", \"Non-Hispanic\", \"Male\"],\n",
    "    group_categories=[\"Race\", \"Race\", \"Race\", \"Ethnicity\", \"Sex\"],\n",
    "    sample_weight=None,\n",
    ")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Adverse Impact Ratio (AIR)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "air = sd.adverse_impact_ratio(\n",
    "    outcome=predictions <= predictions.quantile(0.5),\n",
    "    air_threshold=0.8,\n",
    "    percent_difference_threshold=0.0,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: Adverse Impact Ratio"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "\\* Percent Missing: Ethnicity: 13.68%, Race: 13.56%, Sex: 46.88%"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## Adverse Impact Ratio Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>141.0</td>\n",
       "      <td>41.47%</td>\n",
       "      <td>9.70%</td>\n",
       "      <td>0.810</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>243.0</td>\n",
       "      <td>74.31%</td>\n",
       "      <td>-23.14%</td>\n",
       "      <td>1.452</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>45.00%</td>\n",
       "      <td>6.17%</td>\n",
       "      <td>0.879</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,854.0</td>\n",
       "      <td>51.17%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>167.0</td>\n",
       "      <td>32.87%</td>\n",
       "      <td>21.54%</td>\n",
       "      <td>0.604</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,072.0</td>\n",
       "      <td>54.41%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>414.0</td>\n",
       "      <td>40.04%</td>\n",
       "      <td>9.78%</td>\n",
       "      <td>0.804</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>808.0</td>\n",
       "      <td>49.82%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"500\" style=\"\" viewBox=\"0 0 700 500\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"500\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-26bcf0\"><g class=\"clips\"><clipPath id=\"clip26bcf0xyplot\" class=\"plotclip\"><rect width=\"476\" height=\"320\"/></clipPath><clipPath class=\"axesclip\" id=\"clip26bcf0x\"><rect x=\"80\" y=\"0\" width=\"476\" height=\"500\"/></clipPath><clipPath class=\"axesclip\" id=\"clip26bcf0y\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"320\"/></clipPath><clipPath class=\"axesclip\" id=\"clip26bcf0xy\"><rect x=\"80\" y=\"100\" width=\"476\" height=\"320\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"><pattern id=\"p26bcf0-legend-f3a234\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p26bcf0-f3a234\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern></g></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"80\" y=\"100\" width=\"476\" height=\"320\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,378.13)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,336.26)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,294.39)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,252.53)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,210.66)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,168.79000000000002)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,126.92)\" d=\"M80,0h476\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,420)\" d=\"M80,0h476\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M9.52,320V150.35H85.68V320Z\" clip-path=\"url(#clip26bcf0xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(47.4359375,164.35)\">0.810</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M104.72,320V16H180.88V320Z\" clip-path=\"url(#clip26bcf0xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.85;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(142.6359375,30)\">1.452</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M199.92,320V135.91H276.08V320Z\" clip-path=\"url(#clip26bcf0xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.7;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(237.8359375,149.91)\">0.879</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M295.12,320V193.52H371.28V320Z\" clip-path=\"url(#clip26bcf0xyplot)\" class=\"pattern_filled\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: url('#p26bcf0-f3a234');\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(333.0359375,207.52)\">0.604</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M390.32,320V151.74H466.48V320Z\" clip-path=\"url(#clip26bcf0xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(428.2359375,165.74)\">0.804</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter traceaa591f\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip26bcf0xyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M47.6,152.53L428.4,152.53\" clip-path=\"url(#clip26bcf0xyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip26bcf0xyplot)\"/><g class=\"text\" clip-path=\"url(#clip26bcf0xyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><path class=\"xdivider crisp\" transform=\"translate(556,0)\" d=\"M0,421v31.5\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(460.8,0)\" d=\"M0,421v31.5\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(365.6,0)\" d=\"M0,421v31.5\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(80,0)\" d=\"M0,421v31.5\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"433\" transform=\"translate(127.6,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Black</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"433\" transform=\"translate(222.8,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Asian</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"433\" transform=\"translate(318,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Native american</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"433\" transform=\"translate(413.2,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Hispanic</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"433\" transform=\"translate(508.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Female</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"449\" transform=\"translate(222.8,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Race</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"449\" transform=\"translate(413.2,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Ethnicity</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"449\" transform=\"translate(508.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Sex</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,420)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,378.13)\">0.200  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,336.26)\">0.400  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,294.39)\">0.600  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,252.53)\">0.800  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,210.66)\">1.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,168.79000000000002)\">1.200  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,126.92)\">1.400  </text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-26bcf0\"><g class=\"clips\"/><clipPath id=\"legend26bcf0\"><rect width=\"122\" height=\"105\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M80,252.5263655043395L556,252.5263655043395\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(565.52,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" width=\"122\" height=\"105\" x=\"0\" y=\"0\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legend26bcf0)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Race</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"116.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Ethnicity</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: url('#p26bcf0-legend-f3a234');\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"116.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Sex</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"116.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">AIR Threshold</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"><path class=\"js-line\" d=\"M5,0h30\" style=\"fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px;\"/></g><g class=\"legendsymbols\"><g class=\"legendpoints\"/></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"116.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" x=\"0\" y=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Adverse Impact Ratio (AIR)</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"318\" y=\"476.3\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Group</text></g><g class=\"g-ytitle\"><text class=\"ytitle\" transform=\"rotate(-90,17.996875000000003,260)\" x=\"17.996875000000003\" y=\"260\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "air"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>141.0</td>\n",
       "      <td>41.47%</td>\n",
       "      <td>9.70%</td>\n",
       "      <td>0.810</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>243.0</td>\n",
       "      <td>74.31%</td>\n",
       "      <td>-23.14%</td>\n",
       "      <td>1.452</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>45.00%</td>\n",
       "      <td>6.17%</td>\n",
       "      <td>0.879</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,854.0</td>\n",
       "      <td>51.17%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>167.0</td>\n",
       "      <td>32.87%</td>\n",
       "      <td>21.54%</td>\n",
       "      <td>0.604</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,072.0</td>\n",
       "      <td>54.41%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>414.0</td>\n",
       "      <td>40.04%</td>\n",
       "      <td>9.78%</td>\n",
       "      <td>0.804</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>808.0</td>\n",
       "      <td>49.82%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(air.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Standardized Mean Difference (SMD)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "smd = sd.standardized_mean_difference(\n",
    "    outcome=predictions,\n",
    "    label=y_test,\n",
    "    smd_threshold=30,\n",
    "    lower_score_favorable=True,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: SMD"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ SMD Threshold                     │ 30.0                                                                        │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ SMD Threshold                     │ 30.0                                                                        │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "\\* Percent Missing: Ethnicity: 13.68%, Race: 13.56%, Sex: 46.88%"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## SMD Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Average Label</th>\n",
       "      <th>Average Outcome</th>\n",
       "      <th>Std. Dev. of Outcomes</th>\n",
       "      <th>SMD</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>27.559</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>0.04</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>-70.355</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>27.617</td>\n",
       "      <td>0.199</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>43.545</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>16.655</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"500\" style=\"\" viewBox=\"0 0 700 500\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"500\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-975ee7\"><g class=\"clips\"><clipPath id=\"clip975ee7xyplot\" class=\"plotclip\"><rect width=\"462\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clip975ee7x\"><rect x=\"88\" y=\"0\" width=\"462\" height=\"500\"/></clipPath><clipPath class=\"axesclip\" id=\"clip975ee7y\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clip975ee7xy\"><rect x=\"88\" y=\"100\" width=\"462\" height=\"243\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"><pattern id=\"p975ee7-legend-f25bb0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p975ee7-f25bb0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern></g></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"88\" y=\"100\" width=\"462\" height=\"243\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,310.97)\" d=\"M88,0h462\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,272.57)\" d=\"M88,0h462\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,234.16)\" d=\"M88,0h462\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,157.36)\" d=\"M88,0h462\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,118.96000000000001)\" d=\"M88,0h462\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,195.76)\" d=\"M88,0h462\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(88,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M9.24,95.76V42.84H83.16V95.76Z\" clip-path=\"url(#clip975ee7xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(46.035937499999996,56.84)\">27.559</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M101.64,95.76V230.85H175.56V95.76Z\" clip-path=\"url(#clip975ee7xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.85;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(138.4359375,224.85)\">-70.355</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M194.04,95.76V42.73H267.96V95.76Z\" clip-path=\"url(#clip975ee7xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.7;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(230.8359375,56.73)\">27.617</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M286.44,95.76V12.15H360.36V95.76Z\" clip-path=\"url(#clip975ee7xyplot)\" class=\"pattern_filled\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: url('#p975ee7-f25bb0');\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(323.2359375,26.15)\">43.545</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M378.84,95.76V63.78H452.76V95.76Z\" clip-path=\"url(#clip975ee7xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(415.63593749999995,77.78)\">16.655</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace4b39d2\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip975ee7xyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M46.2,38.16L415.8,38.16\" clip-path=\"url(#clip975ee7xyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip975ee7xyplot)\"/><g class=\"text\" clip-path=\"url(#clip975ee7xyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><path class=\"xdivider crisp\" transform=\"translate(550,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(457.6,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(365.2,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(88,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(134.2,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Black</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(226.6,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Asian</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(319,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Native american</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(411.4,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Hispanic</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(503.8,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Female</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(226.6,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Race</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(411.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Ethnicity</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(503.8,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Sex</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" transform=\"translate(0,310.97)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">−60.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,272.57)\">−40.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,234.16)\">−20.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,195.76)\">0.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,157.36)\">20.000  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"87\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,118.96000000000001)\">40.000  </text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-975ee7\"><g class=\"clips\"/><clipPath id=\"legend975ee7\"><rect width=\"129\" height=\"105\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M88,138.15714607507857L550,138.15714607507857\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(559.24,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" width=\"129\" height=\"105\" x=\"0\" y=\"0\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legend975ee7)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Race</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"123.375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Ethnicity</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: url('#p975ee7-legend-f25bb0');\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"123.375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Sex</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"123.375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">SMD Threshold</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"><path class=\"js-line\" d=\"M5,0h30\" style=\"fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px;\"/></g><g class=\"legendsymbols\"><g class=\"legendpoints\"/></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"123.375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" x=\"0\" y=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Standardized Mean Difference (SMD)</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"319\" y=\"487.6125\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Group</text></g><g class=\"g-ytitle\" transform=\"translate(0.6904296875,0)\"><text class=\"ytitle\" transform=\"rotate(-90,12.309375000000003,221.5)\" x=\"12.309375000000003\" y=\"221.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">SMD</text></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "smd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Average Label</th>\n",
       "      <th>Average Outcome</th>\n",
       "      <th>Std. Dev. of Outcomes</th>\n",
       "      <th>SMD</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>27.559</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>0.04</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>-70.355</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>27.617</td>\n",
       "      <td>0.199</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>43.545</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td>16.655</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.00</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(smd.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Adverse Impact Ratio by Quantile"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "airq = sd.adverse_impact_ratio_by_quantile(\n",
    "    outcome=predictions,\n",
    "    air_threshold=0.8,\n",
    "    percent_difference_threshold=0.0,\n",
    "    quantiles=[decile / 10 for decile in range(1, 11)],\n",
    "    lower_score_favorable=True,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: AIR by Quantile"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Black, Hispanic, Female                                                     │\n",
       "│ Affected Reference                │ White, Non-Hispanic, Male                                                   │\n",
       "│ Affected Categories               │ Race, Ethnicity, Sex                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Black, Hispanic, Female                                                     │\n",
       "│ Affected Reference                │ White, Non-Hispanic, Male                                                   │\n",
       "│ Affected Categories               │ Race, Ethnicity, Sex                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## AIR by Quantile Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Quantile</th>\n",
       "      <th>Quantile Cutoff</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>0.1</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>340.0</td>\n",
       "      <td>13.0</td>\n",
       "      <td>0.038235</td>\n",
       "      <td>0.049261</td>\n",
       "      <td>0.436992</td>\n",
       "      <td>9.345011e-04</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>0.1</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>327.0</td>\n",
       "      <td>91.0</td>\n",
       "      <td>0.278287</td>\n",
       "      <td>-0.190791</td>\n",
       "      <td>3.180554</td>\n",
       "      <td>5.301298e-21</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>0.1</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>20.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.050000</td>\n",
       "      <td>0.037497</td>\n",
       "      <td>0.571451</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>0.1</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>317.0</td>\n",
       "      <td>0.087497</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>0.1</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>15.0</td>\n",
       "      <td>0.029528</td>\n",
       "      <td>0.077878</td>\n",
       "      <td>0.274917</td>\n",
       "      <td>5.469793e-10</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>508.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>72 rows × 14 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "   Group Category            Group Reference Group  Quantile  Quantile Cutoff  \\\n",
       "0            Race            Black           White       0.1         0.044761   \n",
       "1            Race            Asian           White       0.1         0.044761   \n",
       "2            Race  Native American           White       0.1         0.044761   \n",
       "3            Race            White                       0.1         0.044761   \n",
       "4       Ethnicity         Hispanic    Non-Hispanic       0.1         0.044761   \n",
       "..            ...              ...             ...       ...              ...   \n",
       "67           Race            White                       1.0         0.058530   \n",
       "68      Ethnicity         Hispanic    Non-Hispanic       1.0         0.058530   \n",
       "69      Ethnicity     Non-Hispanic                       1.0         0.058530   \n",
       "70            Sex           Female            Male       1.0         0.058530   \n",
       "71            Sex             Male                       1.0         0.058530   \n",
       "\n",
       "    Observations  Percent Missing   Total  Favorable  Percent Favorable  \\\n",
       "0           4322           0.1356   340.0       13.0           0.038235   \n",
       "1           4322           0.1356   327.0       91.0           0.278287   \n",
       "2           4322           0.1356    20.0        1.0           0.050000   \n",
       "3           4322           0.1356  3623.0      317.0           0.087497   \n",
       "4           4316           0.1368   508.0       15.0           0.029528   \n",
       "..           ...              ...     ...        ...                ...   \n",
       "67          4322           0.1356  3623.0     3623.0           1.000000   \n",
       "68          4316           0.1368   508.0      508.0           1.000000   \n",
       "69          4316           0.1368  3808.0     3808.0           1.000000   \n",
       "70          2656           0.4688  1034.0     1034.0           1.000000   \n",
       "71          2656           0.4688  1622.0     1622.0           1.000000   \n",
       "\n",
       "    Percent Difference Favorable       AIR      P-Values  \\\n",
       "0                       0.049261  0.436992  9.345011e-04   \n",
       "1                      -0.190791  3.180554  5.301298e-21   \n",
       "2                       0.037497  0.571451  1.000000e+00   \n",
       "3                            NaN       NaN           NaN   \n",
       "4                       0.077878  0.274917  5.469793e-10   \n",
       "..                           ...       ...           ...   \n",
       "67                           NaN       NaN           NaN   \n",
       "68                      0.000000  1.000000  1.000000e+00   \n",
       "69                           NaN       NaN           NaN   \n",
       "70                      0.000000  1.000000  1.000000e+00   \n",
       "71                           NaN       NaN           NaN   \n",
       "\n",
       "   Practically Significant  \n",
       "0                      Yes  \n",
       "1                       No  \n",
       "2                       No  \n",
       "3                           \n",
       "4                      Yes  \n",
       "..                     ...  \n",
       "67                          \n",
       "68                      No  \n",
       "69                          \n",
       "70                      No  \n",
       "71                          \n",
       "\n",
       "[72 rows x 14 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"825\" style=\"\" viewBox=\"0 0 700 825\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"825\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-6ed7ca\"><g class=\"clips\"><clipPath id=\"clip6ed7caxyplot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath id=\"clip6ed7cax2y2plot\" class=\"plotclip\"><rect width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath id=\"clip6ed7cax3y3plot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath id=\"clip6ed7cax4y4plot\" class=\"plotclip\"><rect width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath id=\"clip6ed7cax5y5plot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cay\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7caxy\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cay2\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7caxy2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cay3\"><rect x=\"0\" y=\"350.8333333333333\" width=\"700\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7caxy3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cay4\"><rect x=\"0\" y=\"350.8333333333333\" width=\"700\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7caxy4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cay5\"><rect x=\"0\" y=\"601.6666666666667\" width=\"700\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7caxy5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2\"><rect x=\"336.85\" y=\"0\" width=\"210.14999999999998\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2y\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2y2\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2y3\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2y4\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax2y5\"><rect x=\"336.85\" y=\"601.6666666666667\" width=\"210.14999999999998\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3y\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3y2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3y3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3y4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax3y5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4\"><rect x=\"336.85\" y=\"0\" width=\"210.14999999999998\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4y\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4y2\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4y3\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4y4\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax4y5\"><rect x=\"336.85\" y=\"601.6666666666667\" width=\"210.14999999999998\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5y\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5y2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5y3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5y4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clip6ed7cax5y5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"><pattern id=\"p6ed7ca-legend-86be03\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-legend-a0b4df\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-legend-b4853a\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(175, 122, 161)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-86be03-0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-86be03-1\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-86be03-2\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-86be03-3\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-86be03-5\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-1\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-2\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-3\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-4\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-a0b4df-5\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(89, 161, 79)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-b4853a-0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(175, 122, 161)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-b4853a-1\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(175, 122, 161)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"p6ed7ca-b4853a-2\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(175, 122, 161)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern></g></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,175.25)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,107.17)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,243.33)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.12,143.33V83.83H25.26V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-86be03-0'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(16.559453125,102.09155133928572)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.437</text></g><g class=\"point\"><path d=\"M29.55,143.33V71.85H46.69V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-86be03-1'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(37.989453125,90.1115513392857)scale(0.7957142857142854)rotate(90 0.1640625 -4)\">0.525</text></g><g class=\"point\"><path d=\"M50.98,143.33V59.26H68.12V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-86be03-2'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(59.419453125,77.52155133928572)scale(0.7957142857142862)rotate(90 0.1640625 -4)\">0.617</text></g><g class=\"point\"><path d=\"M72.4,143.33V54.95H89.54V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-86be03-3'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(80.839453125,73.21155133928572)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.649</text></g><g class=\"point\"><path d=\"M93.83,143.33V32.98H110.97V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(102.26945312500001,51.241551339285714)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.810</text></g><g class=\"point\"><path d=\"M115.25,143.33V37.58H132.39V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-86be03-5'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(123.689453125,55.841551339285694)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.777</text></g><g class=\"point\"><path d=\"M136.68,143.33V20.56H153.82V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.119453125,38.82155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.902</text></g><g class=\"point\"><path d=\"M158.1,143.33V15.35H175.24V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(166.53945312500002,33.61155133928573)scale(0.7957142857142867)rotate(90 0.1640625 -4)\">0.940</text></g><g class=\"point\"><path d=\"M179.53,143.33V7.17H196.67V143.33Z\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(187.969453125,25.431551339285694)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace19300e\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip6ed7caxyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M16.69,34.4L188.1,34.4\" clip-path=\"url(#clip6ed7caxyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip6ed7caxyplot)\"/><g class=\"text\" clip-path=\"url(#clip6ed7caxyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(96.69,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.1</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(118.12,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.2</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(139.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.3</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(160.97,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.4</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(182.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.5</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(203.82,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.6</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(225.25,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.8</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(246.67,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.9</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(268.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">1.0</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,243.33)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,175.25)\">0.500</text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,107.17)\">1.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x2y2\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x2\"/><g class=\"y2\"/></g><g class=\"gridlayer\"><g class=\"x2\"/><g class=\"y2\"><path class=\"y2grid crisp\" transform=\"translate(0,200.51999999999998)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y2grid crisp\" transform=\"translate(0,157.71)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y2grid crisp\" transform=\"translate(0,114.9)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y2zl zl crisp\" transform=\"translate(0,243.33)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(336.85,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.12,143.33V7.17H25.26V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(16.559453125,25.431551339285715)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">3.181</text></g><g class=\"point\"><path d=\"M29.55,143.33V59.96H46.69V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(37.989453125,78.22155133928571)scale(0.7957142857142854)rotate(90 0.1640625 -4)\">1.947</text></g><g class=\"point\"><path d=\"M50.98,143.33V65.75H68.12V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(59.419453125,84.01155133928572)scale(0.7957142857142862)rotate(90 0.1640625 -4)\">1.812</text></g><g class=\"point\"><path d=\"M72.4,143.33V76.57H89.54V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(80.839453125,94.83155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">1.559</text></g><g class=\"point\"><path d=\"M93.83,143.33V81.16H110.97V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(102.26945312500001,99.42155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">1.452</text></g><g class=\"point\"><path d=\"M115.25,143.33V87.5H132.39V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(123.689453125,105.76155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.304</text></g><g class=\"point\"><path d=\"M136.68,143.33V93.49H153.82V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.119453125,111.75155133928568)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.164</text></g><g class=\"point\"><path d=\"M158.1,143.33V96.7H175.24V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(166.53945312500002,114.96155133928573)scale(0.7957142857142867)rotate(90 0.1640625 -4)\">1.089</text></g><g class=\"point\"><path d=\"M179.53,143.33V100.52H196.67V143.33Z\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(187.969453125,118.78155133928568)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace86e220\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip6ed7cax2y2plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M16.69,109.08L188.1,109.08\" clip-path=\"url(#clip6ed7cax2y2plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip6ed7cax2y2plot)\"/><g class=\"text\" clip-path=\"url(#clip6ed7cax2y2plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(353.54,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.1</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(374.97,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.2</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(396.40000000000003,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.3</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(417.82000000000005,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.4</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(439.25,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.5</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(460.67,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.6</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(482.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.8</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(503.52,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.9</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(524.95,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">1.0</text></g></g><g class=\"yaxislayer-above\"><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" transform=\"translate(0,243.33)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,200.51999999999998)\">1.000</text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,157.71)\">2.000</text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,114.9)\">3.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x3y3\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x3\"/><g class=\"y3\"/></g><g class=\"gridlayer\"><g class=\"x3\"/><g class=\"y3\"><path class=\"y3grid crisp\" transform=\"translate(0,426.0833333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y3grid crisp\" transform=\"translate(0,358.00333333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y3zl zl crisp\" transform=\"translate(0,494.1633333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,350.8333333333333)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.12,143.33V65.52H25.26V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(16.559453125,83.78155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.571</text></g><g class=\"point\"><path d=\"M29.55,143.33V77.64H46.69V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(37.989453125,95.9015513392857)scale(0.7957142857142854)rotate(90 0.1640625 -4)\">0.482</text></g><g class=\"point\"><path d=\"M50.98,143.33V51.12H68.12V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(59.419453125,69.38155133928572)scale(0.7957142857142862)rotate(90 0.1640625 -4)\">0.677</text></g><g class=\"point\"><path d=\"M72.4,143.33V26.64H89.54V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(80.839453125,44.90155133928572)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.857</text></g><g class=\"point\"><path d=\"M93.83,143.33V23.59H110.97V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(102.26945312500001,41.85155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.879</text></g><g class=\"point\"><path d=\"M115.25,143.33V20.5H132.39V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(123.689453125,38.761551339285695)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.902</text></g><g class=\"point\"><path d=\"M136.68,143.33V25.51H153.82V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.119453125,43.77155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.865</text></g><g class=\"point\"><path d=\"M158.1,143.33V14.9H175.24V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(166.53945312500002,33.16155133928573)scale(0.7957142857142867)rotate(90 0.1640625 -4)\">0.943</text></g><g class=\"point\"><path d=\"M179.53,143.33V7.17H196.67V143.33Z\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(187.969453125,25.431551339285694)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace4ad560\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip6ed7cax3y3plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M16.69,34.4L188.1,34.4\" clip-path=\"url(#clip6ed7cax3y3plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip6ed7cax3y3plot)\"/><g class=\"text\" clip-path=\"url(#clip6ed7cax3y3plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(96.69,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.1</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(118.12,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.2</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(139.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.3</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(160.97,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.4</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(182.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.5</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(203.82,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.6</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(225.25,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.8</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(246.67,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.9</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(268.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">1.0</text></g></g><g class=\"yaxislayer-above\"><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,494.1633333333333)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,426.0833333333333)\">0.500</text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,358.00333333333333)\">1.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x4y4\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x4\"/><g class=\"y4\"/></g><g class=\"gridlayer\"><g class=\"x4\"/><g class=\"y4\"><path class=\"y4grid crisp\" transform=\"translate(0,426.0833333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y4grid crisp\" transform=\"translate(0,358.00333333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y4zl zl crisp\" transform=\"translate(0,494.1633333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(336.85,350.8333333333333)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.12,143.33V105.9H25.26V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-0'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(16.559453125,124.16155133928572)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.275</text></g><g class=\"point\"><path d=\"M29.55,143.33V94.84H46.69V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-1'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(37.989453125,113.1015513392857)scale(0.7957142857142854)rotate(90 0.1640625 -4)\">0.356</text></g><g class=\"point\"><path d=\"M50.98,143.33V86.81H68.12V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-2'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(59.419453125,105.07155133928572)scale(0.7957142857142862)rotate(90 0.1640625 -4)\">0.415</text></g><g class=\"point\"><path d=\"M72.4,143.33V68.3H89.54V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-3'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(80.839453125,86.56155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.551</text></g><g class=\"point\"><path d=\"M93.83,143.33V61.07H110.97V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-4'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(102.26945312500001,79.33155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.604</text></g><g class=\"point\"><path d=\"M115.25,143.33V53.22H132.39V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-a0b4df-5'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(123.689453125,71.48155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.662</text></g><g class=\"point\"><path d=\"M136.68,143.33V25.05H153.82V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.119453125,43.31155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.869</text></g><g class=\"point\"><path d=\"M158.1,143.33V17.4H175.24V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(166.53945312500002,35.66155133928573)scale(0.7957142857142867)rotate(90 0.1640625 -4)\">0.925</text></g><g class=\"point\"><path d=\"M179.53,143.33V7.17H196.67V143.33Z\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(187.969453125,25.431551339285694)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter traceb3de11\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip6ed7cax4y4plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M16.69,34.4L188.1,34.4\" clip-path=\"url(#clip6ed7cax4y4plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip6ed7cax4y4plot)\"/><g class=\"text\" clip-path=\"url(#clip6ed7cax4y4plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(353.54,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.1</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(374.97,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.2</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(396.40000000000003,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.3</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(417.82000000000005,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.4</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(439.25,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.5</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(460.67,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.6</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(482.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.8</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(503.52,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.9</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(524.95,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">1.0</text></g></g><g class=\"yaxislayer-above\"><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" transform=\"translate(0,494.1633333333333)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,426.0833333333333)\">0.500</text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,358.00333333333333)\">1.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x5y5\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x5\"/><g class=\"y5\"/></g><g class=\"gridlayer\"><g class=\"x5\"/><g class=\"y5\"><path class=\"y5grid crisp\" transform=\"translate(0,676.9166666666667)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y5grid crisp\" transform=\"translate(0,608.8366666666667)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y5zl zl crisp\" transform=\"translate(0,744.9966666666668)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,601.6666666666667)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.12,143.33V51.19H25.26V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-b4853a-0'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(16.559453125,69.45155133928571)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.677</text></g><g class=\"point\"><path d=\"M29.55,143.33V40.83H46.69V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-b4853a-1'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(37.989453125,59.09155133928571)scale(0.7957142857142854)rotate(90 0.1640625 -4)\">0.753</text></g><g class=\"point\"><path d=\"M50.98,143.33V35.58H68.12V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#p6ed7ca-b4853a-2'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(59.419453125,53.84155133928572)scale(0.7957142857142862)rotate(90 0.1640625 -4)\">0.791</text></g><g class=\"point\"><path d=\"M72.4,143.33V29.65H89.54V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(80.839453125,47.911551339285715)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.835</text></g><g class=\"point\"><path d=\"M93.83,143.33V33.89H110.97V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(102.26945312500001,52.15155133928572)scale(0.7957142857142857)rotate(90 0.1640625 -4)\">0.804</text></g><g class=\"point\"><path d=\"M115.25,143.33V25.05H132.39V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(123.689453125,43.31155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.869</text></g><g class=\"point\"><path d=\"M136.68,143.33V14.87H153.82V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.119453125,33.13155133928569)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">0.943</text></g><g class=\"point\"><path d=\"M158.1,143.33V13.3H175.24V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(166.53945312500002,31.561551339285735)scale(0.7957142857142867)rotate(90 0.1640625 -4)\">0.955</text></g><g class=\"point\"><path d=\"M179.53,143.33V7.17H196.67V143.33Z\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(187.969453125,25.431551339285694)scale(0.7957142857142846)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter tracee64a70\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clip6ed7cax5y5plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M16.69,34.4L188.1,34.4\" clip-path=\"url(#clip6ed7cax5y5plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clip6ed7cax5y5plot)\"/><g class=\"text\" clip-path=\"url(#clip6ed7cax5y5plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(96.69,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.1</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(118.12,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.2</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(139.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.3</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(160.97,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.4</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(182.4,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.5</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(203.82,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.6</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(225.25,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.8</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(246.67,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.9</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(268.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">1.0</text></g></g><g class=\"yaxislayer-above\"><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,744.9966666666668)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,676.9166666666667)\">0.500</text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,608.8366666666667)\">1.000</text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-6ed7ca\"><g class=\"clips\"/><clipPath id=\"legend6ed7ca\"><rect width=\"132\" height=\"124\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M80.63,134.4L289.52,134.4\" clip-path=\"url(#clip6ed7caxy)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"1\" fill-rule=\"evenodd\" d=\"M337.48,209.07999999999998L546.37,209.07999999999998\" clip-path=\"url(#clip6ed7cax2y2)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"2\" fill-rule=\"evenodd\" d=\"M80.63,385.2333333333333L289.52,385.2333333333333\" clip-path=\"url(#clip6ed7cax3y3)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"3\" fill-rule=\"evenodd\" d=\"M337.48,385.2333333333333L546.37,385.2333333333333\" clip-path=\"url(#clip6ed7cax4y4)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"4\" fill-rule=\"evenodd\" d=\"M80.63,636.0666666666667L289.52,636.0666666666667\" clip-path=\"url(#clip6ed7cax5y5)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(556.34,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\" width=\"132\" height=\"124\" x=\"0\" y=\"0\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legend6ed7ca)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: url('#p6ed7ca-legend-86be03'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native american</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: url('#p6ed7ca-legend-a0b4df'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,108.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: url('#p6ed7ca-legend-b4853a'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\" x=\"0\" y=\"0\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Adverse Impact Ratio By Quantile</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"185.075\" y=\"283.64375\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Quantile</text></g><g class=\"g-x2title\"><text class=\"x2title\" x=\"441.925\" y=\"283.64375\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Quantile</text></g><g class=\"g-x3title\"><text class=\"x3title\" x=\"185.075\" y=\"534.471875\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Quantile</text></g><g class=\"g-x4title\"><text class=\"x4title\" x=\"441.925\" y=\"534.471875\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Quantile</text></g><g class=\"g-x5title\"><text class=\"x5title\" x=\"185.075\" y=\"785.3\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Quantile</text></g><g class=\"g-ytitle\"><text class=\"ytitle\" transform=\"rotate(-90,24.668750000000003,171.66666666666666)\" x=\"24.668750000000003\" y=\"171.66666666666666\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y2title\"><text class=\"y2title\" transform=\"rotate(-90,281.5125,171.66666666666666)\" x=\"281.5125\" y=\"171.66666666666666\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y3title\"><text class=\"y3title\" transform=\"rotate(-90,24.668750000000003,422.5)\" x=\"24.668750000000003\" y=\"422.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y4title\"><text class=\"y4title\" transform=\"rotate(-90,281.5125,422.5)\" x=\"281.5125\" y=\"422.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y5title\"><text class=\"y5title\" transform=\"rotate(-90,24.668750000000003,673.3333333333334)\" x=\"24.668750000000003\" y=\"673.3333333333334\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"annotation\" data-index=\"0\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(163,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"21.5625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text></g></g></g><g class=\"annotation\" data-index=\"1\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,441.925,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(420,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"22.015625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text></g></g></g><g class=\"annotation\" data-index=\"2\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,340.3333333333333)\"><g class=\"cursor-pointer\" transform=\"translate(125,330)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"119\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"59.8125\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native american</text></g></g></g><g class=\"annotation\" data-index=\"3\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,441.925,340.3333333333333)\"><g class=\"cursor-pointer\" transform=\"translate(409,330)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"64\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"32.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text></g></g></g><g class=\"annotation\" data-index=\"4\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,591.1666666666667)\"><g class=\"cursor-pointer\" transform=\"translate(157,581)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"56\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"28.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text></g></g></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "airq"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Quantile</th>\n",
       "      <th>Quantile Cutoff</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>13.0</td>\n",
       "      <td>3.82%</td>\n",
       "      <td>4.93%</td>\n",
       "      <td>0.437</td>\n",
       "      <td>0.001</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>91.0</td>\n",
       "      <td>27.83%</td>\n",
       "      <td>-19.08%</td>\n",
       "      <td>3.181</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5.00%</td>\n",
       "      <td>3.75%</td>\n",
       "      <td>0.571</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>317.0</td>\n",
       "      <td>8.75%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>15.0</td>\n",
       "      <td>2.95%</td>\n",
       "      <td>7.79%</td>\n",
       "      <td>0.275</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>409.0</td>\n",
       "      <td>10.74%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>66.0</td>\n",
       "      <td>6.38%</td>\n",
       "      <td>3.05%</td>\n",
       "      <td>0.677</td>\n",
       "      <td>0.006</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>10.0%</td>\n",
       "      <td>0.044761</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>153.0</td>\n",
       "      <td>9.43%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>37.0</td>\n",
       "      <td>10.88%</td>\n",
       "      <td>9.85%</td>\n",
       "      <td>0.525</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>132.0</td>\n",
       "      <td>40.37%</td>\n",
       "      <td>-19.64%</td>\n",
       "      <td>1.947</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>10.00%</td>\n",
       "      <td>10.73%</td>\n",
       "      <td>0.482</td>\n",
       "      <td>0.403</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>751.0</td>\n",
       "      <td>20.73%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>42.0</td>\n",
       "      <td>8.27%</td>\n",
       "      <td>14.95%</td>\n",
       "      <td>0.356</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>884.0</td>\n",
       "      <td>23.21%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>155.0</td>\n",
       "      <td>14.99%</td>\n",
       "      <td>4.92%</td>\n",
       "      <td>0.753</td>\n",
       "      <td>0.002</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>20.0%</td>\n",
       "      <td>0.045863</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>323.0</td>\n",
       "      <td>19.91%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>62.0</td>\n",
       "      <td>18.24%</td>\n",
       "      <td>11.30%</td>\n",
       "      <td>0.617</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>175.0</td>\n",
       "      <td>53.52%</td>\n",
       "      <td>-23.98%</td>\n",
       "      <td>1.812</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>20.00%</td>\n",
       "      <td>9.53%</td>\n",
       "      <td>0.677</td>\n",
       "      <td>0.464</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,070.0</td>\n",
       "      <td>29.53%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>69.0</td>\n",
       "      <td>13.58%</td>\n",
       "      <td>19.14%</td>\n",
       "      <td>0.415</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>1,246.0</td>\n",
       "      <td>32.72%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>225.0</td>\n",
       "      <td>21.76%</td>\n",
       "      <td>5.74%</td>\n",
       "      <td>0.791</td>\n",
       "      <td>0.001</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>30.0%</td>\n",
       "      <td>0.046427</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>446.0</td>\n",
       "      <td>27.50%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>103.0</td>\n",
       "      <td>30.29%</td>\n",
       "      <td>16.38%</td>\n",
       "      <td>0.649</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>238.0</td>\n",
       "      <td>72.78%</td>\n",
       "      <td>-26.11%</td>\n",
       "      <td>1.559</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>40.00%</td>\n",
       "      <td>6.67%</td>\n",
       "      <td>0.857</td>\n",
       "      <td>0.656</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,691.0</td>\n",
       "      <td>46.67%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>139.0</td>\n",
       "      <td>27.36%</td>\n",
       "      <td>22.30%</td>\n",
       "      <td>0.551</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>1,891.0</td>\n",
       "      <td>49.66%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>380.0</td>\n",
       "      <td>36.75%</td>\n",
       "      <td>7.27%</td>\n",
       "      <td>0.835</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>40.0%</td>\n",
       "      <td>0.046703</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>714.0</td>\n",
       "      <td>44.02%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>141.0</td>\n",
       "      <td>41.47%</td>\n",
       "      <td>9.70%</td>\n",
       "      <td>0.810</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>243.0</td>\n",
       "      <td>74.31%</td>\n",
       "      <td>-23.14%</td>\n",
       "      <td>1.452</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>45.00%</td>\n",
       "      <td>6.17%</td>\n",
       "      <td>0.879</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,854.0</td>\n",
       "      <td>51.17%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>167.0</td>\n",
       "      <td>32.87%</td>\n",
       "      <td>21.54%</td>\n",
       "      <td>0.604</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,072.0</td>\n",
       "      <td>54.41%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>414.0</td>\n",
       "      <td>40.04%</td>\n",
       "      <td>9.78%</td>\n",
       "      <td>0.804</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>50.0%</td>\n",
       "      <td>0.047009</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>808.0</td>\n",
       "      <td>49.82%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>161.0</td>\n",
       "      <td>47.35%</td>\n",
       "      <td>13.62%</td>\n",
       "      <td>0.777</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>260.0</td>\n",
       "      <td>79.51%</td>\n",
       "      <td>-18.54%</td>\n",
       "      <td>1.304</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>55.00%</td>\n",
       "      <td>5.97%</td>\n",
       "      <td>0.902</td>\n",
       "      <td>0.648</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>2,209.0</td>\n",
       "      <td>60.97%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>214.0</td>\n",
       "      <td>42.13%</td>\n",
       "      <td>21.53%</td>\n",
       "      <td>0.662</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,424.0</td>\n",
       "      <td>63.66%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>520.0</td>\n",
       "      <td>50.29%</td>\n",
       "      <td>7.60%</td>\n",
       "      <td>0.869</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>60.0%</td>\n",
       "      <td>0.047266</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>939.0</td>\n",
       "      <td>57.89%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>248.0</td>\n",
       "      <td>72.94%</td>\n",
       "      <td>7.96%</td>\n",
       "      <td>0.902</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>308.0</td>\n",
       "      <td>94.19%</td>\n",
       "      <td>-13.29%</td>\n",
       "      <td>1.164</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>14.0</td>\n",
       "      <td>70.00%</td>\n",
       "      <td>10.90%</td>\n",
       "      <td>0.865</td>\n",
       "      <td>0.250</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>2,931.0</td>\n",
       "      <td>80.90%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>364.0</td>\n",
       "      <td>71.65%</td>\n",
       "      <td>10.83%</td>\n",
       "      <td>0.869</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>3,141.0</td>\n",
       "      <td>82.48%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>765.0</td>\n",
       "      <td>73.98%</td>\n",
       "      <td>4.44%</td>\n",
       "      <td>0.943</td>\n",
       "      <td>0.010</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>80.0%</td>\n",
       "      <td>0.048018</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>1,272.0</td>\n",
       "      <td>78.42%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>288.0</td>\n",
       "      <td>84.71%</td>\n",
       "      <td>5.41%</td>\n",
       "      <td>0.940</td>\n",
       "      <td>0.003</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>321.0</td>\n",
       "      <td>98.17%</td>\n",
       "      <td>-8.05%</td>\n",
       "      <td>1.089</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>17.0</td>\n",
       "      <td>85.00%</td>\n",
       "      <td>5.12%</td>\n",
       "      <td>0.943</td>\n",
       "      <td>0.441</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>3,265.0</td>\n",
       "      <td>90.12%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>428.0</td>\n",
       "      <td>84.25%</td>\n",
       "      <td>6.85%</td>\n",
       "      <td>0.925</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>3,469.0</td>\n",
       "      <td>91.10%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>887.0</td>\n",
       "      <td>85.78%</td>\n",
       "      <td>4.04%</td>\n",
       "      <td>0.955</td>\n",
       "      <td>0.002</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>90.0%</td>\n",
       "      <td>0.048694</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>1,457.0</td>\n",
       "      <td>89.83%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>340.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>327.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>20.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>508.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>100.0%</td>\n",
       "      <td>0.058530</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(airq.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Odds Ratio"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "odds_ratio = sd.odds_ratio(\n",
    "    outcome=predictions <= predictions.quantile(0.5),\n",
    "    odds_ratio_threshold=0.68,\n",
    "    percent_difference_threshold=0.0,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: Odds Ratio"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Odds Ratio Threshold              │ 0.68                                                                        │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Black, Hispanic, Female                                                     │\n",
       "│ Affected Reference                │ White, Non-Hispanic, Male                                                   │\n",
       "│ Affected Categories               │ Race, Ethnicity, Sex                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Odds Ratio Threshold              │ 0.68                                                                        │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ Affected Groups                   │ Black, Hispanic, Female                                                     │\n",
       "│ Affected Reference                │ White, Non-Hispanic, Male                                                   │\n",
       "│ Affected Categories               │ Race, Ethnicity, Sex                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "\\* Percent Missing: Ethnicity: 13.68%, Race: 13.56%, Sex: 46.88%"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## Odds Ratio Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Odds</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>Odds Ratio</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>141.0</td>\n",
       "      <td>41.47%</td>\n",
       "      <td>0.708543</td>\n",
       "      <td>9.70%</td>\n",
       "      <td>0.676058</td>\n",
       "      <td>0.001</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>243.0</td>\n",
       "      <td>74.31%</td>\n",
       "      <td>2.892857</td>\n",
       "      <td>-23.14%</td>\n",
       "      <td>2.760229</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>45.00%</td>\n",
       "      <td>0.818182</td>\n",
       "      <td>6.17%</td>\n",
       "      <td>0.780671</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,854.0</td>\n",
       "      <td>51.17%</td>\n",
       "      <td>1.048050</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>167.0</td>\n",
       "      <td>32.87%</td>\n",
       "      <td>0.489736</td>\n",
       "      <td>21.54%</td>\n",
       "      <td>0.410319</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,072.0</td>\n",
       "      <td>54.41%</td>\n",
       "      <td>1.193548</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>414.0</td>\n",
       "      <td>40.04%</td>\n",
       "      <td>0.667742</td>\n",
       "      <td>9.78%</td>\n",
       "      <td>0.672700</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>808.0</td>\n",
       "      <td>49.82%</td>\n",
       "      <td>0.992629</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"500\" style=\"\" viewBox=\"0 0 700 500\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"500\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-ca5793\"><g class=\"clips\"><clipPath id=\"clipca5793xyplot\" class=\"plotclip\"><rect width=\"437\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clipca5793x\"><rect x=\"80\" y=\"0\" width=\"437\" height=\"500\"/></clipPath><clipPath class=\"axesclip\" id=\"clipca5793y\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clipca5793xy\"><rect x=\"80\" y=\"100\" width=\"437\" height=\"243\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"><pattern id=\"pca5793-legend-87a165\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"pca5793-legend-f64117\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pca5793-legend-4f5ca9\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(225, 87, 89)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pca5793-87a165\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(78, 121, 167)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(255, 255, 255)\" stroke-width=\"2px\"/></pattern><pattern id=\"pca5793-f64117\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pca5793-4f5ca9\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(225, 87, 89)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern></g></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"80\" y=\"100\" width=\"437\" height=\"243\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,301.18)\" d=\"M80,0h437\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,259.37)\" d=\"M80,0h437\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,217.55)\" d=\"M80,0h437\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,175.73000000000002)\" d=\"M80,0h437\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,133.91)\" d=\"M80,0h437\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,343)\" d=\"M80,0h437\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.74,243V186.46H78.66V243Z\" clip-path=\"url(#clipca5793xyplot)\" class=\"pattern_filled\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: url('#pca5793-87a165');\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(43.535937499999996,200.46)\">0.68</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M96.14,243V12.15H166.06V243Z\" clip-path=\"url(#clipca5793xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.85;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(130.9359375,26.15)\">2.76</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M183.54,243V177.71H253.46V243Z\" clip-path=\"url(#clipca5793xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.7;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(218.3359375,191.71)\">0.78</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M270.94,243V208.68H340.86V243Z\" clip-path=\"url(#clipca5793xyplot)\" class=\"pattern_filled\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: url('#pca5793-f64117');\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(305.7359375,222.68)\">0.41</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M358.34,243V186.74H428.26V243Z\" clip-path=\"url(#clipca5793xyplot)\" class=\"pattern_filled\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: url('#pca5793-4f5ca9');\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(393.13593749999995,200.74)\">0.67</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace6c7f97\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipca5793xyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M43.7,186.13L393.3,186.13\" clip-path=\"url(#clipca5793xyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipca5793xyplot)\"/><g class=\"text\" clip-path=\"url(#clipca5793xyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><path class=\"xdivider crisp\" transform=\"translate(517,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(429.6,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(342.2,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(80,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(123.7,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Black</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(211.1,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Asian</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(298.5,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Native american</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(385.9,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Hispanic</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(473.3,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Female</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(211.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Race</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(385.9,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Ethnicity</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(473.3,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Sex</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,343)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,301.18)\">0.50  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,259.37)\">1.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,217.55)\">1.50  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,175.73000000000002)\">2.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,133.91)\">2.50  </text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-ca5793\"><g class=\"clips\"/><clipPath id=\"legendca5793\"><rect width=\"162\" height=\"105\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M80,286.12862860373093L517,286.12862860373093\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(525.74,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" width=\"162\" height=\"105\" x=\"0\" y=\"0\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legendca5793)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Race</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: url('#pca5793-legend-87a165');\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"156.734375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Ethnicity</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: url('#pca5793-legend-f64117');\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"156.734375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Sex</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: url('#pca5793-legend-4f5ca9');\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"156.734375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Odds Ratio Threshold</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"><path class=\"js-line\" d=\"M5,0h30\" style=\"fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px;\"/></g><g class=\"legendsymbols\"><g class=\"legendpoints\"/></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"156.734375\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" x=\"0\" y=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Odds Ratio</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"298.5\" y=\"487.6125\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Group</text></g><g class=\"g-ytitle\"><text class=\"ytitle\" transform=\"rotate(-90,24.668750000000003,221.5)\" x=\"24.668750000000003\" y=\"221.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Odds Ratio</text></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "odds_ratio"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Odds</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>Odds Ratio</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>141.0</td>\n",
       "      <td>41.47%</td>\n",
       "      <td>0.708543</td>\n",
       "      <td>9.70%</td>\n",
       "      <td>0.676058</td>\n",
       "      <td>0.001</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>243.0</td>\n",
       "      <td>74.31%</td>\n",
       "      <td>2.892857</td>\n",
       "      <td>-23.14%</td>\n",
       "      <td>2.760229</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>45.00%</td>\n",
       "      <td>0.818182</td>\n",
       "      <td>6.17%</td>\n",
       "      <td>0.780671</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,854.0</td>\n",
       "      <td>51.17%</td>\n",
       "      <td>1.048050</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>167.0</td>\n",
       "      <td>32.87%</td>\n",
       "      <td>0.489736</td>\n",
       "      <td>21.54%</td>\n",
       "      <td>0.410319</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,072.0</td>\n",
       "      <td>54.41%</td>\n",
       "      <td>1.193548</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>414.0</td>\n",
       "      <td>40.04%</td>\n",
       "      <td>0.667742</td>\n",
       "      <td>9.78%</td>\n",
       "      <td>0.672700</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>808.0</td>\n",
       "      <td>49.82%</td>\n",
       "      <td>0.992629</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(odds_ratio.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Categorical Adverse Impact Ratio"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Generate an example categorical outcome."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "categorical_outcome = pd.qcut(predictions, q=[0.0, 0.25, 0.5, 0.75, 1.0])\n",
    "categories = categorical_outcome.cat.categories.to_series()\n",
    "categories = pd.Series([\"Best\", \"Great\", \"Good\", \"Bad\"], index=categories.index)\n",
    "categorical_outcome.replace(categories.to_dict(), inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "cair = sd.categorical_adverse_impact_ratio(\n",
    "    outcome=categorical_outcome,\n",
    "    ordinal_categories=list(reversed(categories.tolist())),\n",
    "    air_threshold=0.8,\n",
    "    percent_difference_threshold=0.0,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: Categorical AIR"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Categories                        │ ['Bad', 'Good', 'Great', 'Best']                                            │\n",
       "│ Affected Groups                   │ Asian                                                                       │\n",
       "│ Affected Reference                │ White                                                                       │\n",
       "│ Affected Categories               │ Race                                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Categories                        │ ['Bad', 'Good', 'Great', 'Best']                                            │\n",
       "│ Affected Groups                   │ Asian                                                                       │\n",
       "│ Affected Reference                │ White                                                                       │\n",
       "│ Affected Categories               │ Race                                                                        │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## Categorical AIR Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Category</th>\n",
       "      <th>Category Ordinality</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>340.0</td>\n",
       "      <td>92.0</td>\n",
       "      <td>0.270588</td>\n",
       "      <td>-0.079586</td>\n",
       "      <td>1.416678</td>\n",
       "      <td>6.208101e-04</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>327.0</td>\n",
       "      <td>19.0</td>\n",
       "      <td>0.058104</td>\n",
       "      <td>0.132898</td>\n",
       "      <td>0.304206</td>\n",
       "      <td>3.108517e-11</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>20.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>0.300000</td>\n",
       "      <td>-0.108998</td>\n",
       "      <td>1.570665</td>\n",
       "      <td>2.496030e-01</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>692.0</td>\n",
       "      <td>0.191002</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>144.0</td>\n",
       "      <td>0.283465</td>\n",
       "      <td>-0.108307</td>\n",
       "      <td>1.618340</td>\n",
       "      <td>2.138407e-08</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>667.0</td>\n",
       "      <td>0.175158</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>269.0</td>\n",
       "      <td>0.260155</td>\n",
       "      <td>-0.044372</td>\n",
       "      <td>1.205631</td>\n",
       "      <td>9.589997e-03</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>350.0</td>\n",
       "      <td>0.215783</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>340.0</td>\n",
       "      <td>199.0</td>\n",
       "      <td>0.585294</td>\n",
       "      <td>-0.097025</td>\n",
       "      <td>1.198711</td>\n",
       "      <td>7.667616e-04</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>327.0</td>\n",
       "      <td>84.0</td>\n",
       "      <td>0.256881</td>\n",
       "      <td>0.231389</td>\n",
       "      <td>0.526105</td>\n",
       "      <td>3.356985e-16</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>20.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>0.550000</td>\n",
       "      <td>-0.061731</td>\n",
       "      <td>1.126427</td>\n",
       "      <td>6.570540e-01</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>1769.0</td>\n",
       "      <td>0.488269</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>341.0</td>\n",
       "      <td>0.671260</td>\n",
       "      <td>-0.215377</td>\n",
       "      <td>1.472441</td>\n",
       "      <td>1.099404e-19</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>1736.0</td>\n",
       "      <td>0.455882</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>620.0</td>\n",
       "      <td>0.599613</td>\n",
       "      <td>-0.097764</td>\n",
       "      <td>1.194807</td>\n",
       "      <td>1.012637e-06</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>814.0</td>\n",
       "      <td>0.501850</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>340.0</td>\n",
       "      <td>296.0</td>\n",
       "      <td>0.870588</td>\n",
       "      <td>-0.108789</td>\n",
       "      <td>1.142805</td>\n",
       "      <td>1.974075e-06</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>327.0</td>\n",
       "      <td>182.0</td>\n",
       "      <td>0.556575</td>\n",
       "      <td>0.205225</td>\n",
       "      <td>0.730605</td>\n",
       "      <td>1.011976e-14</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>20.0</td>\n",
       "      <td>18.0</td>\n",
       "      <td>0.900000</td>\n",
       "      <td>-0.138200</td>\n",
       "      <td>1.181413</td>\n",
       "      <td>1.913231e-01</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>0.761800</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>461.0</td>\n",
       "      <td>0.907480</td>\n",
       "      <td>-0.172186</td>\n",
       "      <td>1.234173</td>\n",
       "      <td>3.273870e-20</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>2800.0</td>\n",
       "      <td>0.735294</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>859.0</td>\n",
       "      <td>0.830754</td>\n",
       "      <td>-0.052086</td>\n",
       "      <td>1.066891</td>\n",
       "      <td>1.299613e-03</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>1263.0</td>\n",
       "      <td>0.778668</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>340.0</td>\n",
       "      <td>340.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>327.0</td>\n",
       "      <td>327.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>20.0</td>\n",
       "      <td>20.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.1356</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>508.0</td>\n",
       "      <td>508.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.1368</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000e+00</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.4688</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Group Category            Group Reference Group Category  \\\n",
       "0            Race            Black           White      Bad   \n",
       "1            Race            Asian           White      Bad   \n",
       "2            Race  Native American           White      Bad   \n",
       "3            Race            White                      Bad   \n",
       "4       Ethnicity         Hispanic    Non-Hispanic      Bad   \n",
       "5       Ethnicity     Non-Hispanic                      Bad   \n",
       "6             Sex           Female            Male      Bad   \n",
       "7             Sex             Male                      Bad   \n",
       "8            Race            Black           White     Good   \n",
       "9            Race            Asian           White     Good   \n",
       "10           Race  Native American           White     Good   \n",
       "11           Race            White                     Good   \n",
       "12      Ethnicity         Hispanic    Non-Hispanic     Good   \n",
       "13      Ethnicity     Non-Hispanic                     Good   \n",
       "14            Sex           Female            Male     Good   \n",
       "15            Sex             Male                     Good   \n",
       "16           Race            Black           White    Great   \n",
       "17           Race            Asian           White    Great   \n",
       "18           Race  Native American           White    Great   \n",
       "19           Race            White                    Great   \n",
       "20      Ethnicity         Hispanic    Non-Hispanic    Great   \n",
       "21      Ethnicity     Non-Hispanic                    Great   \n",
       "22            Sex           Female            Male    Great   \n",
       "23            Sex             Male                    Great   \n",
       "24           Race            Black           White     Best   \n",
       "25           Race            Asian           White     Best   \n",
       "26           Race  Native American           White     Best   \n",
       "27           Race            White                     Best   \n",
       "28      Ethnicity         Hispanic    Non-Hispanic     Best   \n",
       "29      Ethnicity     Non-Hispanic                     Best   \n",
       "30            Sex           Female            Male     Best   \n",
       "31            Sex             Male                     Best   \n",
       "\n",
       "    Category Ordinality  Observations  Percent Missing   Total  Favorable  \\\n",
       "0                     0          4322           0.1356   340.0       92.0   \n",
       "1                     0          4322           0.1356   327.0       19.0   \n",
       "2                     0          4322           0.1356    20.0        6.0   \n",
       "3                     0          4322           0.1356  3623.0      692.0   \n",
       "4                     0          4316           0.1368   508.0      144.0   \n",
       "5                     0          4316           0.1368  3808.0      667.0   \n",
       "6                     0          2656           0.4688  1034.0      269.0   \n",
       "7                     0          2656           0.4688  1622.0      350.0   \n",
       "8                     1          4322           0.1356   340.0      199.0   \n",
       "9                     1          4322           0.1356   327.0       84.0   \n",
       "10                    1          4322           0.1356    20.0       11.0   \n",
       "11                    1          4322           0.1356  3623.0     1769.0   \n",
       "12                    1          4316           0.1368   508.0      341.0   \n",
       "13                    1          4316           0.1368  3808.0     1736.0   \n",
       "14                    1          2656           0.4688  1034.0      620.0   \n",
       "15                    1          2656           0.4688  1622.0      814.0   \n",
       "16                    2          4322           0.1356   340.0      296.0   \n",
       "17                    2          4322           0.1356   327.0      182.0   \n",
       "18                    2          4322           0.1356    20.0       18.0   \n",
       "19                    2          4322           0.1356  3623.0     2760.0   \n",
       "20                    2          4316           0.1368   508.0      461.0   \n",
       "21                    2          4316           0.1368  3808.0     2800.0   \n",
       "22                    2          2656           0.4688  1034.0      859.0   \n",
       "23                    2          2656           0.4688  1622.0     1263.0   \n",
       "24                    3          4322           0.1356   340.0      340.0   \n",
       "25                    3          4322           0.1356   327.0      327.0   \n",
       "26                    3          4322           0.1356    20.0       20.0   \n",
       "27                    3          4322           0.1356  3623.0     3623.0   \n",
       "28                    3          4316           0.1368   508.0      508.0   \n",
       "29                    3          4316           0.1368  3808.0     3808.0   \n",
       "30                    3          2656           0.4688  1034.0     1034.0   \n",
       "31                    3          2656           0.4688  1622.0     1622.0   \n",
       "\n",
       "    Percent Favorable  Percent Difference Favorable       AIR      P-Values  \\\n",
       "0            0.270588                     -0.079586  1.416678  6.208101e-04   \n",
       "1            0.058104                      0.132898  0.304206  3.108517e-11   \n",
       "2            0.300000                     -0.108998  1.570665  2.496030e-01   \n",
       "3            0.191002                           NaN       NaN           NaN   \n",
       "4            0.283465                     -0.108307  1.618340  2.138407e-08   \n",
       "5            0.175158                           NaN       NaN           NaN   \n",
       "6            0.260155                     -0.044372  1.205631  9.589997e-03   \n",
       "7            0.215783                           NaN       NaN           NaN   \n",
       "8            0.585294                     -0.097025  1.198711  7.667616e-04   \n",
       "9            0.256881                      0.231389  0.526105  3.356985e-16   \n",
       "10           0.550000                     -0.061731  1.126427  6.570540e-01   \n",
       "11           0.488269                           NaN       NaN           NaN   \n",
       "12           0.671260                     -0.215377  1.472441  1.099404e-19   \n",
       "13           0.455882                           NaN       NaN           NaN   \n",
       "14           0.599613                     -0.097764  1.194807  1.012637e-06   \n",
       "15           0.501850                           NaN       NaN           NaN   \n",
       "16           0.870588                     -0.108789  1.142805  1.974075e-06   \n",
       "17           0.556575                      0.205225  0.730605  1.011976e-14   \n",
       "18           0.900000                     -0.138200  1.181413  1.913231e-01   \n",
       "19           0.761800                           NaN       NaN           NaN   \n",
       "20           0.907480                     -0.172186  1.234173  3.273870e-20   \n",
       "21           0.735294                           NaN       NaN           NaN   \n",
       "22           0.830754                     -0.052086  1.066891  1.299613e-03   \n",
       "23           0.778668                           NaN       NaN           NaN   \n",
       "24           1.000000                      0.000000  1.000000  1.000000e+00   \n",
       "25           1.000000                      0.000000  1.000000  1.000000e+00   \n",
       "26           1.000000                      0.000000  1.000000  1.000000e+00   \n",
       "27           1.000000                           NaN       NaN           NaN   \n",
       "28           1.000000                      0.000000  1.000000  1.000000e+00   \n",
       "29           1.000000                           NaN       NaN           NaN   \n",
       "30           1.000000                      0.000000  1.000000  1.000000e+00   \n",
       "31           1.000000                           NaN       NaN           NaN   \n",
       "\n",
       "   Practically Significant  \n",
       "0                       No  \n",
       "1                      Yes  \n",
       "2                       No  \n",
       "3                           \n",
       "4                       No  \n",
       "5                           \n",
       "6                       No  \n",
       "7                           \n",
       "8                       No  \n",
       "9                      Yes  \n",
       "10                      No  \n",
       "11                          \n",
       "12                      No  \n",
       "13                          \n",
       "14                      No  \n",
       "15                          \n",
       "16                      No  \n",
       "17                     Yes  \n",
       "18                      No  \n",
       "19                          \n",
       "20                      No  \n",
       "21                          \n",
       "22                      No  \n",
       "23                          \n",
       "24                      No  \n",
       "25                      No  \n",
       "26                      No  \n",
       "27                          \n",
       "28                      No  \n",
       "29                          \n",
       "30                      No  \n",
       "31                          "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"825\" style=\"\" viewBox=\"0 0 700 825\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"825\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-d00ebb\"><g class=\"clips\"><clipPath id=\"clipd00ebbxyplot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath id=\"clipd00ebbx2y2plot\" class=\"plotclip\"><rect width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath id=\"clipd00ebbx3y3plot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath id=\"clipd00ebbx4y4plot\" class=\"plotclip\"><rect width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath id=\"clipd00ebbx5y5plot\" class=\"plotclip\"><rect width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebby\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbxy\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebby2\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbxy2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebby3\"><rect x=\"0\" y=\"350.8333333333333\" width=\"700\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbxy3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebby4\"><rect x=\"0\" y=\"350.8333333333333\" width=\"700\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbxy4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebby5\"><rect x=\"0\" y=\"601.6666666666667\" width=\"700\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbxy5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2\"><rect x=\"336.85\" y=\"0\" width=\"210.14999999999998\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2y\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2y2\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2y3\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2y4\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx2y5\"><rect x=\"336.85\" y=\"601.6666666666667\" width=\"210.14999999999998\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3y\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3y2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3y3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3y4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx3y5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4\"><rect x=\"336.85\" y=\"0\" width=\"210.14999999999998\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4y\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4y2\"><rect x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4y3\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4y4\"><rect x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx4y5\"><rect x=\"336.85\" y=\"601.6666666666667\" width=\"210.14999999999998\" height=\"143.33333333333334\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5\"><rect x=\"80\" y=\"0\" width=\"210.15\" height=\"825\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5y\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5y2\"><rect x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5y3\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5y4\"><rect x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\"/></clipPath><clipPath class=\"axesclip\" id=\"clipd00ebbx5y5\"><rect x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"><pattern id=\"pd00ebb-legend-c367c2\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"scale(0.8)\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pd00ebb-c367c2-0\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pd00ebb-c367c2-1\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern><pattern id=\"pd00ebb-c367c2-2\" width=\"14.142135623730951px\" height=\"14.142135623730951px\" patternUnits=\"userSpaceOnUse\" patternTransform=\"\"><rect width=\"14.142135623730951px\" height=\"14.142135623730951px\" fill=\"rgb(242, 142, 45)\" fill-opacity=\"1\"/><path d=\"M-3.5355339059327378,3.5355339059327378l7.0710678118654755,-7.0710678118654755M0,14.142135623730951L14.142135623730951,0M10.606601717798213,17.67766952966369l7.0710678118654755,-7.0710678118654755\" opacity=\"0.5\" stroke=\"rgb(68, 68, 68)\" stroke-width=\"2px\"/></pattern></g></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"80\" y=\"100\" width=\"210.15\" height=\"143.33333333333331\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"336.85\" y=\"100\" width=\"210.14999999999998\" height=\"143.33333333333331\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"80\" y=\"350.8333333333333\" width=\"210.15\" height=\"143.33333333333337\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"336.85\" y=\"350.8333333333333\" width=\"210.14999999999998\" height=\"143.33333333333337\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"80\" y=\"601.6666666666667\" width=\"210.15\" height=\"143.33333333333334\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,195.26999999999998)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,147.22)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,243.33)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M16.02,143.33V7.17H51.2V143.33Z\" clip-path=\"url(#clipd00ebbxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(33.4459375,29.3496875)rotate(90 0.1640625 -4)\">1.417</text></g><g class=\"point\"><path d=\"M60,143.33V28.12H95.18V143.33Z\" clip-path=\"url(#clipd00ebbxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(77.4259375,50.299687500000005)rotate(90 0.1640625 -4)\">1.199</text></g><g class=\"point\"><path d=\"M103.98,143.33V33.49H139.16V143.33Z\" clip-path=\"url(#clipd00ebbxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(121.4059375,55.6696875)rotate(90 0.1640625 -4)\">1.143</text></g><g class=\"point\"><path d=\"M147.95,143.33V47.22H183.14V143.33Z\" clip-path=\"url(#clipd00ebbxyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(165.3809375,69.3996875)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace80c668\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipd00ebbxyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M33.61,66.44L165.55,66.44\" clip-path=\"url(#clipd00ebbxyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipd00ebbxyplot)\"/><g class=\"text\" clip-path=\"url(#clipd00ebbxyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(113.61,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">bad</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(157.59,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">good</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(201.57,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">great</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(245.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">best</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,243.33)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,195.26999999999998)\">0.500</text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,147.22)\">1.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x2y2\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x2\"/><g class=\"y2\"/></g><g class=\"gridlayer\"><g class=\"x2\"/><g class=\"y2\"><path class=\"y2grid crisp\" transform=\"translate(0,175.25)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y2grid crisp\" transform=\"translate(0,107.17)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y2zl zl crisp\" transform=\"translate(0,243.33)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(336.85,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M16.02,143.33V101.91H51.2V143.33Z\" clip-path=\"url(#clipd00ebbx2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#pd00ebb-c367c2-0'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(33.4459375,124.0896875)rotate(90 0.1640625 -4)\">0.304</text></g><g class=\"point\"><path d=\"M60,143.33V71.7H95.18V143.33Z\" clip-path=\"url(#clipd00ebbx2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#pd00ebb-c367c2-1'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(77.4259375,93.8796875)rotate(90 0.1640625 -4)\">0.526</text></g><g class=\"point\"><path d=\"M103.98,143.33V43.85H139.16V143.33Z\" clip-path=\"url(#clipd00ebbx2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: url('#pd00ebb-c367c2-2'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\" class=\"pattern_filled\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(121.4059375,66.0296875)rotate(90 0.1640625 -4)\">0.731</text></g><g class=\"point\"><path d=\"M147.95,143.33V7.17H183.14V143.33Z\" clip-path=\"url(#clipd00ebbx2y2plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(165.3809375,29.3496875)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace8ac752\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipd00ebbx2y2plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M33.61,34.4L165.55,34.4\" clip-path=\"url(#clipd00ebbx2y2plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipd00ebbx2y2plot)\"/><g class=\"text\" clip-path=\"url(#clipd00ebbx2y2plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(370.46000000000004,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">bad</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(414.44000000000005,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">good</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(458.42,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">great</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"256.3333333333333\" transform=\"translate(502.40000000000003,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">best</text></g></g><g class=\"yaxislayer-above\"><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" transform=\"translate(0,243.33)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,175.25)\">0.500</text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,107.17)\">1.000</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x3y3\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x3\"/><g class=\"y3\"/></g><g class=\"gridlayer\"><g class=\"x3\"/><g class=\"y3\"><path class=\"y3grid crisp\" transform=\"translate(0,450.8233333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y3grid crisp\" transform=\"translate(0,407.4733333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y3grid crisp\" transform=\"translate(0,364.12333333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y3zl zl crisp\" transform=\"translate(0,494.1633333333333)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,350.8333333333333)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M16.02,143.33V7.17H51.2V143.33Z\" clip-path=\"url(#clipd00ebbx3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(33.4459375,29.3496875)rotate(90 0.1640625 -4)\">1.571</text></g><g class=\"point\"><path d=\"M60,143.33V45.68H95.18V143.33Z\" clip-path=\"url(#clipd00ebbx3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(77.4259375,67.8596875)rotate(90 0.1640625 -4)\">1.126</text></g><g class=\"point\"><path d=\"M103.98,143.33V40.91H139.16V143.33Z\" clip-path=\"url(#clipd00ebbx3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(121.4059375,63.0896875)rotate(90 0.1640625 -4)\">1.181</text></g><g class=\"point\"><path d=\"M147.95,143.33V56.64H183.14V143.33Z\" clip-path=\"url(#clipd00ebbx3y3plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(165.3809375,78.8196875)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter trace8650f7\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipd00ebbx3y3plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M33.61,73.98L165.55,73.98\" clip-path=\"url(#clipd00ebbx3y3plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipd00ebbx3y3plot)\"/><g class=\"text\" clip-path=\"url(#clipd00ebbx3y3plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(113.61,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">bad</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(157.59,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">good</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(201.57,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">great</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(245.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">best</text></g></g><g class=\"yaxislayer-above\"><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,494.1633333333333)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,450.8233333333333)\">0.500</text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,407.4733333333333)\">1.000</text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,364.12333333333333)\">1.500</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x4y4\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x4\"/><g class=\"y4\"/></g><g class=\"gridlayer\"><g class=\"x4\"/><g class=\"y4\"><path class=\"y4grid crisp\" transform=\"translate(0,452.0933333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y4grid crisp\" transform=\"translate(0,410.0233333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y4grid crisp\" transform=\"translate(0,367.9533333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y4zl zl crisp\" transform=\"translate(0,494.1633333333333)\" d=\"M336.85,0h210.14999999999998\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(336.85,350.8333333333333)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M16.02,143.33V7.17H51.2V143.33Z\" clip-path=\"url(#clipd00ebbx4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(33.4459375,29.3496875)rotate(90 0.1640625 -4)\">1.618</text></g><g class=\"point\"><path d=\"M60,143.33V19.44H95.18V143.33Z\" clip-path=\"url(#clipd00ebbx4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(77.4259375,41.6196875)rotate(90 0.1640625 -4)\">1.472</text></g><g class=\"point\"><path d=\"M103.98,143.33V39.49H139.16V143.33Z\" clip-path=\"url(#clipd00ebbx4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(121.4059375,61.6696875)rotate(90 0.1640625 -4)\">1.234</text></g><g class=\"point\"><path d=\"M147.95,143.33V59.19H183.14V143.33Z\" clip-path=\"url(#clipd00ebbx4y4plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(165.3809375,81.3696875)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter traceef92c1\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipd00ebbx4y4plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M33.61,76.02L165.55,76.02\" clip-path=\"url(#clipd00ebbx4y4plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipd00ebbx4y4plot)\"/><g class=\"text\" clip-path=\"url(#clipd00ebbx4y4plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(370.46000000000004,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">bad</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(414.44000000000005,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">good</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(458.42,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">great</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"507.1666666666667\" transform=\"translate(502.40000000000003,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">best</text></g></g><g class=\"yaxislayer-above\"><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" transform=\"translate(0,494.1633333333333)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,452.0933333333333)\">0.500</text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,410.0233333333333)\">1.000</text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"335.85\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,367.9533333333333)\">1.500</text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x5y5\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x5\"/><g class=\"y5\"/></g><g class=\"gridlayer\"><g class=\"x5\"/><g class=\"y5\"><path class=\"y5grid crisp\" transform=\"translate(0,688.5266666666668)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"y5grid crisp\" transform=\"translate(0,632.0566666666667)\" d=\"M80,0h210.15\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"y5zl zl crisp\" transform=\"translate(0,744.9966666666668)\" d=\"M80,0h210.15\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(80,601.6666666666667)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M16.02,143.33V7.17H51.2V143.33Z\" clip-path=\"url(#clipd00ebbx5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(33.4459375,29.3496875)rotate(90 0.1640625 -4)\">1.206</text></g><g class=\"point\"><path d=\"M60,143.33V8.39H95.18V143.33Z\" clip-path=\"url(#clipd00ebbx5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(77.4259375,30.5696875)rotate(90 0.1640625 -4)\">1.195</text></g><g class=\"point\"><path d=\"M103.98,143.33V22.84H139.16V143.33Z\" clip-path=\"url(#clipd00ebbx5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(121.4059375,45.0196875)rotate(90 0.1640625 -4)\">1.067</text></g><g class=\"point\"><path d=\"M147.95,143.33V30.39H183.14V143.33Z\" clip-path=\"url(#clipd00ebbx5y5plot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(165.3809375,52.5696875)rotate(90 0.1640625 -4)\">1.000</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter tracee6788b\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipd00ebbx5y5plot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M33.61,52.98L165.55,52.98\" clip-path=\"url(#clipd00ebbx5y5plot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipd00ebbx5y5plot)\"/><g class=\"text\" clip-path=\"url(#clipd00ebbx5y5plot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(113.61,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">bad</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(157.59,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">good</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(201.57,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">great</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"758.0000000000001\" transform=\"translate(245.55,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">best</text></g></g><g class=\"yaxislayer-above\"><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" transform=\"translate(0,744.9966666666668)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0.000</text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,688.5266666666668)\">0.500</text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"79\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,632.0566666666667)\">1.000</text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-d00ebb\"><g class=\"clips\"/><clipPath id=\"legendd00ebb\"><rect width=\"132\" height=\"124\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M80.63,166.44L289.53,166.44\" clip-path=\"url(#clipd00ebbxy)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"1\" fill-rule=\"evenodd\" d=\"M337.48,134.4L546.38,134.4\" clip-path=\"url(#clipd00ebbx2y2)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"2\" fill-rule=\"evenodd\" d=\"M80.63,424.81333333333333L289.53,424.81333333333333\" clip-path=\"url(#clipd00ebbx3y3)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"3\" fill-rule=\"evenodd\" d=\"M337.48,426.8533333333333L546.38,426.8533333333333\" clip-path=\"url(#clipd00ebbx4y4)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/><path data-index=\"4\" fill-rule=\"evenodd\" d=\"M80.63,654.6466666666668L289.53,654.6466666666668\" clip-path=\"url(#clipd00ebbx5y5)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(556.34,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" width=\"132\" height=\"124\" x=\"0\" y=\"0\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legendd00ebb)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined pattern_filled\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: url('#pd00ebb-legend-c367c2'); stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native american</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,108.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(175, 122, 161); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"126.703125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" x=\"0\" y=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Adverse Impact Ratio By Category</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"185.075\" y=\"283.64375\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Category</text></g><g class=\"g-x2title\"><text class=\"x2title\" x=\"441.925\" y=\"283.64375\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Category</text></g><g class=\"g-x3title\"><text class=\"x3title\" x=\"185.075\" y=\"534.471875\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Category</text></g><g class=\"g-x4title\"><text class=\"x4title\" x=\"441.925\" y=\"534.471875\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Category</text></g><g class=\"g-x5title\"><text class=\"x5title\" x=\"185.075\" y=\"785.3\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Category</text></g><g class=\"g-ytitle\"><text class=\"ytitle\" transform=\"rotate(-90,24.668750000000003,171.66666666666666)\" x=\"24.668750000000003\" y=\"171.66666666666666\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y2title\"><text class=\"y2title\" transform=\"rotate(-90,281.5125,171.66666666666666)\" x=\"281.5125\" y=\"171.66666666666666\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y3title\"><text class=\"y3title\" transform=\"rotate(-90,24.668750000000003,422.5)\" x=\"24.668750000000003\" y=\"422.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y4title\"><text class=\"y4title\" transform=\"rotate(-90,281.5125,422.5)\" x=\"281.5125\" y=\"422.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"g-y5title\"><text class=\"y5title\" transform=\"rotate(-90,24.668750000000003,673.3333333333334)\" x=\"24.668750000000003\" y=\"673.3333333333334\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">AIR</text></g><g class=\"annotation\" data-index=\"0\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(163,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"21.5625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text></g></g></g><g class=\"annotation\" data-index=\"1\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,441.925,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(420,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"22.015625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text></g></g></g><g class=\"annotation\" data-index=\"2\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,340.3333333333333)\"><g class=\"cursor-pointer\" transform=\"translate(125,330)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"119\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"59.8125\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native american</text></g></g></g><g class=\"annotation\" data-index=\"3\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,441.925,340.3333333333333)\"><g class=\"cursor-pointer\" transform=\"translate(409,330)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"64\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"32.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text></g></g></g><g class=\"annotation\" data-index=\"4\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,185.075,591.1666666666667)\"><g class=\"cursor-pointer\" transform=\"translate(157,581)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"56\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"28.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text></g></g></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "cair"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Category</th>\n",
       "      <th>Category Ordinality</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>Percent Difference Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>92.0</td>\n",
       "      <td>27.06%</td>\n",
       "      <td>-7.96%</td>\n",
       "      <td>1.417</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>19.0</td>\n",
       "      <td>5.81%</td>\n",
       "      <td>13.29%</td>\n",
       "      <td>0.304</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>6.0</td>\n",
       "      <td>30.00%</td>\n",
       "      <td>-10.90%</td>\n",
       "      <td>1.571</td>\n",
       "      <td>0.250</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>692.0</td>\n",
       "      <td>19.10%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>144.0</td>\n",
       "      <td>28.35%</td>\n",
       "      <td>-10.83%</td>\n",
       "      <td>1.618</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>667.0</td>\n",
       "      <td>17.52%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>269.0</td>\n",
       "      <td>26.02%</td>\n",
       "      <td>-4.44%</td>\n",
       "      <td>1.206</td>\n",
       "      <td>0.010</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Bad</td>\n",
       "      <td>0</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>350.0</td>\n",
       "      <td>21.58%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>199.0</td>\n",
       "      <td>58.53%</td>\n",
       "      <td>-9.70%</td>\n",
       "      <td>1.199</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>84.0</td>\n",
       "      <td>25.69%</td>\n",
       "      <td>23.14%</td>\n",
       "      <td>0.526</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>55.00%</td>\n",
       "      <td>-6.17%</td>\n",
       "      <td>1.126</td>\n",
       "      <td>0.657</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>1,769.0</td>\n",
       "      <td>48.83%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>341.0</td>\n",
       "      <td>67.13%</td>\n",
       "      <td>-21.54%</td>\n",
       "      <td>1.472</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>1,736.0</td>\n",
       "      <td>45.59%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>620.0</td>\n",
       "      <td>59.96%</td>\n",
       "      <td>-9.78%</td>\n",
       "      <td>1.195</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Good</td>\n",
       "      <td>1</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>814.0</td>\n",
       "      <td>50.18%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>296.0</td>\n",
       "      <td>87.06%</td>\n",
       "      <td>-10.88%</td>\n",
       "      <td>1.143</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>182.0</td>\n",
       "      <td>55.66%</td>\n",
       "      <td>20.52%</td>\n",
       "      <td>0.731</td>\n",
       "      <td>0.000</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>18.0</td>\n",
       "      <td>90.00%</td>\n",
       "      <td>-13.82%</td>\n",
       "      <td>1.181</td>\n",
       "      <td>0.191</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>2,760.0</td>\n",
       "      <td>76.18%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>461.0</td>\n",
       "      <td>90.75%</td>\n",
       "      <td>-17.22%</td>\n",
       "      <td>1.234</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>2,800.0</td>\n",
       "      <td>73.53%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>859.0</td>\n",
       "      <td>83.08%</td>\n",
       "      <td>-5.21%</td>\n",
       "      <td>1.067</td>\n",
       "      <td>0.001</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Great</td>\n",
       "      <td>2</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>1,263.0</td>\n",
       "      <td>77.87%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>340.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>327.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>20.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>508.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td>0.00%</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Best</td>\n",
       "      <td>3</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>100.00%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(cair.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Residual Standardized Mean Difference"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "rsmd = sd.residual_standardized_mean_difference(\n",
    "    prediction=predictions,\n",
    "    label=y_test,\n",
    "    residual_smd_threshold=30,\n",
    "    lower_score_favorable=True,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: Residual SMD"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Affected Groups                   │                                                                             │\n",
       "│ Affected Reference                │                                                                             │\n",
       "│ Affected Categories               │                                                                             │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ Affected Groups                   │                                                                             │\n",
       "│ Affected Reference                │                                                                             │\n",
       "│ Affected Categories               │                                                                             │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "\\* Percent Missing: Ethnicity: 13.68%, Race: 13.56%, Sex: 46.88%"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## Residual SMD Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Average Prediction</th>\n",
       "      <th>Average Label</th>\n",
       "      <th>Average Residual</th>\n",
       "      <th>Std. Dev. of Residuals</th>\n",
       "      <th>Residual SMD</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>0.047486</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000472</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>5.445416</td>\n",
       "      <td>0.337</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>0.045165</td>\n",
       "      <td>0.04</td>\n",
       "      <td>-0.000769</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>-20.069041</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>0.047487</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000628</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>8.646494</td>\n",
       "      <td>0.699</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>0.046833</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000207</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>0.047667</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.001097</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>21.513889</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>0.046634</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000051</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>0.047268</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000435</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>5.047723</td>\n",
       "      <td>0.229</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>0.046873</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000189</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"700\" height=\"500\" style=\"\" viewBox=\"0 0 700 500\"><rect x=\"0\" y=\"0\" width=\"700\" height=\"500\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-a9d670\"><g class=\"clips\"><clipPath id=\"clipa9d670xyplot\" class=\"plotclip\"><rect width=\"419\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clipa9d670x\"><rect x=\"82\" y=\"0\" width=\"419\" height=\"500\"/></clipPath><clipPath class=\"axesclip\" id=\"clipa9d670y\"><rect x=\"0\" y=\"100\" width=\"700\" height=\"243\"/></clipPath><clipPath class=\"axesclip\" id=\"clipa9d670xy\"><rect x=\"82\" y=\"100\" width=\"419\" height=\"243\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"/></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"82\" y=\"100\" width=\"419\" height=\"243\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"/><g class=\"y\"><path class=\"ygrid crisp\" transform=\"translate(0,330.55)\" d=\"M82,0h419\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,286.87)\" d=\"M82,0h419\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,199.51)\" d=\"M82,0h419\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,155.82999999999998)\" d=\"M82,0h419\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"ygrid crisp\" transform=\"translate(0,112.15)\" d=\"M82,0h419\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g></g><g class=\"zerolinelayer\"><path class=\"yzl zl crisp\" transform=\"translate(0,243.19)\" d=\"M82,0h419\" style=\"stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-width: 1px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(82,100)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M8.38,143.19V119.4H75.42V143.19Z\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(41.7359375,133.4)\">5.45</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M92.18,143.19V230.85H159.22V143.19Z\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.85;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(125.5359375,224.85)\">-20.07</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M175.98,143.19V105.42H243.02V143.19Z\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 0.7;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(209.3359375,119.42)\">8.65</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M259.78,143.19V49.22H326.82V143.19Z\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(242, 142, 45); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(293.13593749999995,63.22)\">21.51</text></g></g></g><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M343.58,143.19V121.14H410.62V143.19Z\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; opacity: 1; stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(0, 0, 0); fill-opacity: 1; white-space: pre;\" transform=\"translate(376.9359375,135.14)\">5.05</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter tracedea421\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\" clip-path=\"url(#clipa9d670xyplot)\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M41.9,12.15L377.1,12.15\" clip-path=\"url(#clipa9d670xyplot)\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px; opacity: 1;\"/></g><g class=\"points\" clip-path=\"url(#clipa9d670xyplot)\"/><g class=\"text\" clip-path=\"url(#clipa9d670xyplot)\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><path class=\"xdivider crisp\" transform=\"translate(501,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(417.2,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(333.4,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xdivider crisp\" transform=\"translate(82,0)\" d=\"M0,344v119.8125\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; stroke-width: 1px;\"/><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(123.9,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Black</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(207.7,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Asian</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(291.5,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Native american</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(375.3,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Hispanic</text></g><g class=\"xtick\"><text text-anchor=\"start\" x=\"0\" y=\"356\" transform=\"translate(459.1,0) rotate(90,0,350)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Female</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(207.7,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Race</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(375.3,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Ethnicity</text></g><g class=\"xtick2\"><text text-anchor=\"middle\" x=\"0\" y=\"460.303125\" transform=\"translate(459.1,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Sex</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" transform=\"translate(0,330.55)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">−20.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,286.87)\">−10.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,243.19)\">0.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,199.51)\">10.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,155.82999999999998)\">20.00  </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"81\" y=\"4.199999999999999\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(0,112.15)\">30.00  </text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-a9d670\"><g class=\"clips\"/><clipPath id=\"legenda9d670\"><rect width=\"179\" height=\"105\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M82,112.15L501,112.15\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 1.25px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(509.38,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" width=\"179\" height=\"105\" x=\"0\" y=\"0\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legenda9d670)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Race</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(78, 121, 167); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"173.390625\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Ethnicity</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(242, 142, 45); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"173.390625\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Sex</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0px; fill: rgb(225, 87, 89); fill-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"173.390625\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Residual SMD Threshold</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"><path class=\"js-line\" d=\"M5,0h30\" style=\"fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 0.25px;\"/></g><g class=\"legendsymbols\"><g class=\"legendpoints\"/></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"173.390625\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" x=\"0\" y=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"35\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Residual - Standardized Mean Difference (SMD)</text></g><g class=\"g-xtitle\"><text class=\"xtitle\" x=\"291.5\" y=\"487.6125\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Group</text></g><g class=\"g-ytitle\" transform=\"translate(0.0185546875,0)\"><text class=\"ytitle\" transform=\"rotate(-90,12.981250000000003,221.5)\" x=\"12.981250000000003\" y=\"221.5\" text-anchor=\"middle\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Residual SMD</text></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "rsmd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Average Prediction</th>\n",
       "      <th>Average Label</th>\n",
       "      <th>Average Residual</th>\n",
       "      <th>Std. Dev. of Residuals</th>\n",
       "      <th>Residual SMD</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td>0.047486</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000472</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>5.445416</td>\n",
       "      <td>0.337</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td>0.045165</td>\n",
       "      <td>0.04</td>\n",
       "      <td>-0.000769</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>-20.069041</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td>0.047487</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000628</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>8.646494</td>\n",
       "      <td>0.699</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td>0.046833</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000207</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td>0.047667</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.001097</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>21.513889</td>\n",
       "      <td>0.000</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td>0.046634</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000051</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td>0.047268</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000435</td>\n",
       "      <td>0.004864</td>\n",
       "      <td>5.047723</td>\n",
       "      <td>0.229</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td>0.046873</td>\n",
       "      <td>0.05</td>\n",
       "      <td>0.000189</td>\n",
       "      <td>0.004864</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(rsmd.summary_table)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Segmented Adverse Impact Ratio"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Generate example income segments."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "segments = pd.qcut(df.loc[test_index, \"Income\"], q=[0.0, 1 / 3, 2 / 3, 1.0])\n",
    "categories = segments.cat.categories.to_series()\n",
    "categories = pd.Series([\"Low Income\", \"Mid Income\", \"High Income\"], index=categories.index)\n",
    "segments.replace(categories.to_dict(), inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [],
   "source": [
    "sair = sd.segmented_adverse_impact_ratio(\n",
    "    outcome=predictions <= predictions.quantile(0.5),\n",
    "    air_threshold=0.8,\n",
    "    percent_difference_threshold=0.0,\n",
    "    fdr_threshold=0.2,\n",
    "    segment=segments,\n",
    "    **reused_arguments,\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Segment</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Benjamani-Hochberg Critical Value</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>151.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>0.218543</td>\n",
       "      <td>0.839389</td>\n",
       "      <td>2.798899e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>69.0</td>\n",
       "      <td>22.0</td>\n",
       "      <td>0.318841</td>\n",
       "      <td>1.224616</td>\n",
       "      <td>3.254284e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>9.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>1.280280</td>\n",
       "      <td>7.038812e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>1279.0</td>\n",
       "      <td>333.0</td>\n",
       "      <td>0.260360</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>242.0</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0.165289</td>\n",
       "      <td>0.603400</td>\n",
       "      <td>2.927028e-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>1285.0</td>\n",
       "      <td>352.0</td>\n",
       "      <td>0.273930</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>528.0</td>\n",
       "      <td>107.0</td>\n",
       "      <td>0.202652</td>\n",
       "      <td>0.763840</td>\n",
       "      <td>1.214281e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>735.0</td>\n",
       "      <td>195.0</td>\n",
       "      <td>0.265306</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>117.0</td>\n",
       "      <td>56.0</td>\n",
       "      <td>0.478632</td>\n",
       "      <td>0.905009</td>\n",
       "      <td>3.322955e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>89.0</td>\n",
       "      <td>67.0</td>\n",
       "      <td>0.752809</td>\n",
       "      <td>1.423428</td>\n",
       "      <td>3.629567e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>1.260549</td>\n",
       "      <td>6.900009e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>1195.0</td>\n",
       "      <td>632.0</td>\n",
       "      <td>0.528870</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>183.0</td>\n",
       "      <td>74.0</td>\n",
       "      <td>0.404372</td>\n",
       "      <td>0.715336</td>\n",
       "      <td>6.272270e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>1210.0</td>\n",
       "      <td>684.0</td>\n",
       "      <td>0.565289</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>316.0</td>\n",
       "      <td>160.0</td>\n",
       "      <td>0.506329</td>\n",
       "      <td>0.850701</td>\n",
       "      <td>1.560329e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>499.0</td>\n",
       "      <td>297.0</td>\n",
       "      <td>0.595190</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>72.0</td>\n",
       "      <td>52.0</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>0.933446</td>\n",
       "      <td>3.133940e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>169.0</td>\n",
       "      <td>154.0</td>\n",
       "      <td>0.911243</td>\n",
       "      <td>1.177748</td>\n",
       "      <td>1.642507e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.516985</td>\n",
       "      <td>8.115602e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>1149.0</td>\n",
       "      <td>889.0</td>\n",
       "      <td>0.773716</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>83.0</td>\n",
       "      <td>53.0</td>\n",
       "      <td>0.638554</td>\n",
       "      <td>0.809287</td>\n",
       "      <td>2.405162e-03</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>1313.0</td>\n",
       "      <td>1036.0</td>\n",
       "      <td>0.789033</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>190.0</td>\n",
       "      <td>147.0</td>\n",
       "      <td>0.773684</td>\n",
       "      <td>0.949967</td>\n",
       "      <td>2.679606e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>388.0</td>\n",
       "      <td>316.0</td>\n",
       "      <td>0.814433</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>340.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.898663</td>\n",
       "      <td>7.080029e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>327.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.241111</td>\n",
       "      <td>1.937556e-08</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>20.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.958973</td>\n",
       "      <td>8.487593e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>508.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.709947</td>\n",
       "      <td>5.406350e-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.857313</td>\n",
       "      <td>1.846391e-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>340.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.898663</td>\n",
       "      <td>9.764418e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>327.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.241111</td>\n",
       "      <td>5.809534e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>20.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.958973</td>\n",
       "      <td>1.070722e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>508.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.709947</td>\n",
       "      <td>9.286203e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.857313</td>\n",
       "      <td>9.058839e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Group Category            Group Reference Group           Segment  \\\n",
       "0            Race            Black           White        Low Income   \n",
       "1            Race            Asian           White        Low Income   \n",
       "2            Race  Native American           White        Low Income   \n",
       "3            Race            White                        Low Income   \n",
       "4       Ethnicity         Hispanic    Non-Hispanic        Low Income   \n",
       "5       Ethnicity     Non-Hispanic                        Low Income   \n",
       "6             Sex           Female            Male        Low Income   \n",
       "7             Sex             Male                        Low Income   \n",
       "8            Race            Black           White        Mid Income   \n",
       "9            Race            Asian           White        Mid Income   \n",
       "10           Race  Native American           White        Mid Income   \n",
       "11           Race            White                        Mid Income   \n",
       "12      Ethnicity         Hispanic    Non-Hispanic        Mid Income   \n",
       "13      Ethnicity     Non-Hispanic                        Mid Income   \n",
       "14            Sex           Female            Male        Mid Income   \n",
       "15            Sex             Male                        Mid Income   \n",
       "16           Race            Black           White       High Income   \n",
       "17           Race            Asian           White       High Income   \n",
       "18           Race  Native American           White       High Income   \n",
       "19           Race            White                       High Income   \n",
       "20      Ethnicity         Hispanic    Non-Hispanic       High Income   \n",
       "21      Ethnicity     Non-Hispanic                       High Income   \n",
       "22            Sex           Female            Male       High Income   \n",
       "23            Sex             Male                       High Income   \n",
       "24           Race            Black           White          CMH Test   \n",
       "25           Race            Asian           White          CMH Test   \n",
       "26           Race  Native American           White          CMH Test   \n",
       "27           Race            White                          CMH Test   \n",
       "28      Ethnicity         Hispanic    Non-Hispanic          CMH Test   \n",
       "29      Ethnicity     Non-Hispanic                          CMH Test   \n",
       "30            Sex           Female            Male          CMH Test   \n",
       "31            Sex             Male                          CMH Test   \n",
       "32           Race            Black           White  Breslow-Day Test   \n",
       "33           Race            Asian           White  Breslow-Day Test   \n",
       "34           Race  Native American           White  Breslow-Day Test   \n",
       "35           Race            White                  Breslow-Day Test   \n",
       "36      Ethnicity         Hispanic    Non-Hispanic  Breslow-Day Test   \n",
       "37      Ethnicity     Non-Hispanic                  Breslow-Day Test   \n",
       "38            Sex           Female            Male  Breslow-Day Test   \n",
       "39            Sex             Male                  Breslow-Day Test   \n",
       "\n",
       "    Observations  Percent Missing   Total  Favorable  Percent Favorable  \\\n",
       "0           1510         0.117991   151.0       33.0           0.218543   \n",
       "1           1510         0.117991    69.0       22.0           0.318841   \n",
       "2           1510         0.117991     9.0        3.0           0.333333   \n",
       "3           1510         0.117991  1279.0      333.0           0.260360   \n",
       "4           1527         0.108061   242.0       40.0           0.165289   \n",
       "5           1527         0.108061  1285.0      352.0           0.273930   \n",
       "6           1263         0.262266   528.0      107.0           0.202652   \n",
       "7           1263         0.262266   735.0      195.0           0.265306   \n",
       "8           1414         0.131450   117.0       56.0           0.478632   \n",
       "9           1414         0.131450    89.0       67.0           0.752809   \n",
       "10          1414         0.131450     6.0        4.0           0.666667   \n",
       "11          1414         0.131450  1195.0      632.0           0.528870   \n",
       "12          1393         0.144349   183.0       74.0           0.404372   \n",
       "13          1393         0.144349  1210.0      684.0           0.565289   \n",
       "14           815         0.499386   316.0      160.0           0.506329   \n",
       "15           815         0.499386   499.0      297.0           0.595190   \n",
       "16          1398         0.157831    72.0       52.0           0.722222   \n",
       "17          1398         0.157831   169.0      154.0           0.911243   \n",
       "18          1398         0.157831     5.0        2.0           0.400000   \n",
       "19          1398         0.157831  1149.0      889.0           0.773716   \n",
       "20          1396         0.159036    83.0       53.0           0.638554   \n",
       "21          1396         0.159036  1313.0     1036.0           0.789033   \n",
       "22           578         0.651807   190.0      147.0           0.773684   \n",
       "23           578         0.651807   388.0      316.0           0.814433   \n",
       "24          4322         0.135600   340.0        NaN                NaN   \n",
       "25          4322         0.135600   327.0        NaN                NaN   \n",
       "26          4322         0.135600    20.0        NaN                NaN   \n",
       "27          4322         0.135600  3623.0        NaN                NaN   \n",
       "28          4316         0.136800   508.0        NaN                NaN   \n",
       "29          4316         0.136800  3808.0        NaN                NaN   \n",
       "30          2656         0.468800  1034.0        NaN                NaN   \n",
       "31          2656         0.468800  1622.0        NaN                NaN   \n",
       "32          4322         0.135600   340.0        NaN                NaN   \n",
       "33          4322         0.135600   327.0        NaN                NaN   \n",
       "34          4322         0.135600    20.0        NaN                NaN   \n",
       "35          4322         0.135600  3623.0        NaN                NaN   \n",
       "36          4316         0.136800   508.0        NaN                NaN   \n",
       "37          4316         0.136800  3808.0        NaN                NaN   \n",
       "38          2656         0.468800  1034.0        NaN                NaN   \n",
       "39          2656         0.468800  1622.0        NaN                NaN   \n",
       "\n",
       "         AIR      P-Values  Benjamani-Hochberg Critical Value  \\\n",
       "0   0.839389  2.798899e-01                                NaN   \n",
       "1   1.224616  3.254284e-01                                NaN   \n",
       "2   1.280280  7.038812e-01                                NaN   \n",
       "3        NaN           NaN                                NaN   \n",
       "4   0.603400  2.927028e-04                                NaN   \n",
       "5        NaN           NaN                                NaN   \n",
       "6   0.763840  1.214281e-02                                NaN   \n",
       "7        NaN           NaN                                NaN   \n",
       "8   0.905009  3.322955e-01                                NaN   \n",
       "9   1.423428  3.629567e-05                                NaN   \n",
       "10  1.260549  6.900009e-01                                NaN   \n",
       "11       NaN           NaN                                NaN   \n",
       "12  0.715336  6.272270e-05                                NaN   \n",
       "13       NaN           NaN                                NaN   \n",
       "14  0.850701  1.560329e-02                                NaN   \n",
       "15       NaN           NaN                                NaN   \n",
       "16  0.933446  3.133940e-01                                NaN   \n",
       "17  1.177748  1.642507e-05                                NaN   \n",
       "18  0.516985  8.115602e-02                                NaN   \n",
       "19       NaN           NaN                                NaN   \n",
       "20  0.809287  2.405162e-03                                NaN   \n",
       "21       NaN           NaN                                NaN   \n",
       "22  0.949967  2.679606e-01                                NaN   \n",
       "23       NaN           NaN                                NaN   \n",
       "24  0.898663  7.080029e-02                                NaN   \n",
       "25  1.241111  1.937556e-08                                NaN   \n",
       "26  0.958973  8.487593e-01                                NaN   \n",
       "27       NaN           NaN                                NaN   \n",
       "28  0.709947  5.406350e-10                                NaN   \n",
       "29       NaN           NaN                                NaN   \n",
       "30  0.857313  1.846391e-04                                NaN   \n",
       "31       NaN           NaN                                NaN   \n",
       "32  0.898663  9.764418e-01                                NaN   \n",
       "33  1.241111  5.809534e-02                                NaN   \n",
       "34  0.958973  1.070722e-01                                NaN   \n",
       "35       NaN           NaN                                NaN   \n",
       "36  0.709947  9.286203e-01                                NaN   \n",
       "37       NaN           NaN                                NaN   \n",
       "38  0.857313  9.058839e-01                                NaN   \n",
       "39       NaN           NaN                                NaN   \n",
       "\n",
       "   Practically Significant  \n",
       "0                       No  \n",
       "1                       No  \n",
       "2                       No  \n",
       "3                           \n",
       "4                      Yes  \n",
       "5                           \n",
       "6                       No  \n",
       "7                           \n",
       "8                       No  \n",
       "9                       No  \n",
       "10                      No  \n",
       "11                          \n",
       "12                     Yes  \n",
       "13                          \n",
       "14                      No  \n",
       "15                          \n",
       "16                      No  \n",
       "17                      No  \n",
       "18                      No  \n",
       "19                          \n",
       "20                     Yes  \n",
       "21                          \n",
       "22                      No  \n",
       "23                          \n",
       "24                      No  \n",
       "25                      No  \n",
       "26                      No  \n",
       "27                          \n",
       "28                     Yes  \n",
       "29                          \n",
       "30                      No  \n",
       "31                          \n",
       "32                          \n",
       "33                          \n",
       "34                          \n",
       "35                          \n",
       "36                          \n",
       "37                          \n",
       "38                          \n",
       "39                          "
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sair.summary_table"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Segment</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Benjamani-Hochberg Critical Value</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>151.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>0.218543</td>\n",
       "      <td>0.839389</td>\n",
       "      <td>0.279890</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>69.0</td>\n",
       "      <td>22.0</td>\n",
       "      <td>0.318841</td>\n",
       "      <td>1.224616</td>\n",
       "      <td>0.325428</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>9.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>1.280280</td>\n",
       "      <td>0.703881</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>1279.0</td>\n",
       "      <td>333.0</td>\n",
       "      <td>0.260360</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>242.0</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0.165289</td>\n",
       "      <td>0.603400</td>\n",
       "      <td>0.000293</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>1285.0</td>\n",
       "      <td>352.0</td>\n",
       "      <td>0.273930</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>528.0</td>\n",
       "      <td>107.0</td>\n",
       "      <td>0.202652</td>\n",
       "      <td>0.763840</td>\n",
       "      <td>0.012143</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>735.0</td>\n",
       "      <td>195.0</td>\n",
       "      <td>0.265306</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>117.0</td>\n",
       "      <td>56.0</td>\n",
       "      <td>0.478632</td>\n",
       "      <td>0.905009</td>\n",
       "      <td>0.332296</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>89.0</td>\n",
       "      <td>67.0</td>\n",
       "      <td>0.752809</td>\n",
       "      <td>1.423428</td>\n",
       "      <td>0.000036</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>1.260549</td>\n",
       "      <td>0.690001</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>1195.0</td>\n",
       "      <td>632.0</td>\n",
       "      <td>0.528870</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>183.0</td>\n",
       "      <td>74.0</td>\n",
       "      <td>0.404372</td>\n",
       "      <td>0.715336</td>\n",
       "      <td>0.000063</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>1210.0</td>\n",
       "      <td>684.0</td>\n",
       "      <td>0.565289</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>316.0</td>\n",
       "      <td>160.0</td>\n",
       "      <td>0.506329</td>\n",
       "      <td>0.850701</td>\n",
       "      <td>0.015603</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>499.0</td>\n",
       "      <td>297.0</td>\n",
       "      <td>0.595190</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>72.0</td>\n",
       "      <td>52.0</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>0.933446</td>\n",
       "      <td>0.313394</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>169.0</td>\n",
       "      <td>154.0</td>\n",
       "      <td>0.911243</td>\n",
       "      <td>1.177748</td>\n",
       "      <td>0.000016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.516985</td>\n",
       "      <td>0.081156</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>1149.0</td>\n",
       "      <td>889.0</td>\n",
       "      <td>0.773716</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>83.0</td>\n",
       "      <td>53.0</td>\n",
       "      <td>0.638554</td>\n",
       "      <td>0.809287</td>\n",
       "      <td>0.002405</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>1313.0</td>\n",
       "      <td>1036.0</td>\n",
       "      <td>0.789033</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>190.0</td>\n",
       "      <td>147.0</td>\n",
       "      <td>0.773684</td>\n",
       "      <td>0.949967</td>\n",
       "      <td>0.267961</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>388.0</td>\n",
       "      <td>316.0</td>\n",
       "      <td>0.814433</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Group Category            Group Reference Group      Segment  Observations  \\\n",
       "0            Race            Black           White   Low Income          1510   \n",
       "1            Race            Asian           White   Low Income          1510   \n",
       "2            Race  Native American           White   Low Income          1510   \n",
       "3            Race            White                   Low Income          1510   \n",
       "4       Ethnicity         Hispanic    Non-Hispanic   Low Income          1527   \n",
       "5       Ethnicity     Non-Hispanic                   Low Income          1527   \n",
       "6             Sex           Female            Male   Low Income          1263   \n",
       "7             Sex             Male                   Low Income          1263   \n",
       "8            Race            Black           White   Mid Income          1414   \n",
       "9            Race            Asian           White   Mid Income          1414   \n",
       "10           Race  Native American           White   Mid Income          1414   \n",
       "11           Race            White                   Mid Income          1414   \n",
       "12      Ethnicity         Hispanic    Non-Hispanic   Mid Income          1393   \n",
       "13      Ethnicity     Non-Hispanic                   Mid Income          1393   \n",
       "14            Sex           Female            Male   Mid Income           815   \n",
       "15            Sex             Male                   Mid Income           815   \n",
       "16           Race            Black           White  High Income          1398   \n",
       "17           Race            Asian           White  High Income          1398   \n",
       "18           Race  Native American           White  High Income          1398   \n",
       "19           Race            White                  High Income          1398   \n",
       "20      Ethnicity         Hispanic    Non-Hispanic  High Income          1396   \n",
       "21      Ethnicity     Non-Hispanic                  High Income          1396   \n",
       "22            Sex           Female            Male  High Income           578   \n",
       "23            Sex             Male                  High Income           578   \n",
       "\n",
       "    Percent Missing   Total  Favorable  Percent Favorable       AIR  P-Values  \\\n",
       "0          0.117991   151.0       33.0           0.218543  0.839389  0.279890   \n",
       "1          0.117991    69.0       22.0           0.318841  1.224616  0.325428   \n",
       "2          0.117991     9.0        3.0           0.333333  1.280280  0.703881   \n",
       "3          0.117991  1279.0      333.0           0.260360       NaN       NaN   \n",
       "4          0.108061   242.0       40.0           0.165289  0.603400  0.000293   \n",
       "5          0.108061  1285.0      352.0           0.273930       NaN       NaN   \n",
       "6          0.262266   528.0      107.0           0.202652  0.763840  0.012143   \n",
       "7          0.262266   735.0      195.0           0.265306       NaN       NaN   \n",
       "8          0.131450   117.0       56.0           0.478632  0.905009  0.332296   \n",
       "9          0.131450    89.0       67.0           0.752809  1.423428  0.000036   \n",
       "10         0.131450     6.0        4.0           0.666667  1.260549  0.690001   \n",
       "11         0.131450  1195.0      632.0           0.528870       NaN       NaN   \n",
       "12         0.144349   183.0       74.0           0.404372  0.715336  0.000063   \n",
       "13         0.144349  1210.0      684.0           0.565289       NaN       NaN   \n",
       "14         0.499386   316.0      160.0           0.506329  0.850701  0.015603   \n",
       "15         0.499386   499.0      297.0           0.595190       NaN       NaN   \n",
       "16         0.157831    72.0       52.0           0.722222  0.933446  0.313394   \n",
       "17         0.157831   169.0      154.0           0.911243  1.177748  0.000016   \n",
       "18         0.157831     5.0        2.0           0.400000  0.516985  0.081156   \n",
       "19         0.157831  1149.0      889.0           0.773716       NaN       NaN   \n",
       "20         0.159036    83.0       53.0           0.638554  0.809287  0.002405   \n",
       "21         0.159036  1313.0     1036.0           0.789033       NaN       NaN   \n",
       "22         0.651807   190.0      147.0           0.773684  0.949967  0.267961   \n",
       "23         0.651807   388.0      316.0           0.814433       NaN       NaN   \n",
       "\n",
       "    Benjamani-Hochberg Critical Value Practically Significant  \n",
       "0                                 NaN                      No  \n",
       "1                                 NaN                      No  \n",
       "2                                 NaN                      No  \n",
       "3                                 NaN                          \n",
       "4                                 NaN                     Yes  \n",
       "5                                 NaN                          \n",
       "6                                 NaN                      No  \n",
       "7                                 NaN                          \n",
       "8                                 NaN                      No  \n",
       "9                                 NaN                      No  \n",
       "10                                NaN                      No  \n",
       "11                                NaN                          \n",
       "12                                NaN                     Yes  \n",
       "13                                NaN                          \n",
       "14                                NaN                      No  \n",
       "15                                NaN                          \n",
       "16                                NaN                      No  \n",
       "17                                NaN                      No  \n",
       "18                                NaN                      No  \n",
       "19                                NaN                          \n",
       "20                                NaN                     Yes  \n",
       "21                                NaN                          \n",
       "22                                NaN                      No  \n",
       "23                                NaN                          "
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sair.summary_table_by_segments"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/markdown": [
       "## Disparity Calculation: Segmented AIR"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ FDR Threshold                     │ 0.2                                                                         │\n",
       "│ Segments                          │ ['Low Income', 'Mid Income', 'High Income']                                 │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n",
       "</pre>\n"
      ],
      "text/plain": [
       "┌───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────┐\n",
       "│ Protected Groups                  │ Black, Asian, Native American, Hispanic, Female                             │\n",
       "│ Reference Groups                  │ White, White, White, Non-Hispanic, Male                                     │\n",
       "│ Group Categories                  │ Race, Race, Race, Ethnicity, Sex                                            │\n",
       "│ AIR Threshold                     │ 0.8                                                                         │\n",
       "│ % Diff Threshold                  │ 0.0                                                                         │\n",
       "│ FDR Threshold                     │ 0.2                                                                         │\n",
       "│ Segments                          │ ['Low Income', 'Mid Income', 'High Income']                                 │\n",
       "│ Affected Groups                   │ Hispanic                                                                    │\n",
       "│ Affected Reference                │ Non-Hispanic                                                                │\n",
       "│ Affected Categories               │ Ethnicity                                                                   │\n",
       "└───────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────┘\n"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/markdown": [
       "## Segmented AIR Summary Table"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Segment</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Benjamani-Hochberg Critical Value</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>151.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>0.218543</td>\n",
       "      <td>0.839389</td>\n",
       "      <td>2.798899e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>69.0</td>\n",
       "      <td>22.0</td>\n",
       "      <td>0.318841</td>\n",
       "      <td>1.224616</td>\n",
       "      <td>3.254284e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>9.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>1.280280</td>\n",
       "      <td>7.038812e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1510</td>\n",
       "      <td>0.117991</td>\n",
       "      <td>1279.0</td>\n",
       "      <td>333.0</td>\n",
       "      <td>0.260360</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>242.0</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0.165289</td>\n",
       "      <td>0.603400</td>\n",
       "      <td>2.927028e-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1527</td>\n",
       "      <td>0.108061</td>\n",
       "      <td>1285.0</td>\n",
       "      <td>352.0</td>\n",
       "      <td>0.273930</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>528.0</td>\n",
       "      <td>107.0</td>\n",
       "      <td>0.202652</td>\n",
       "      <td>0.763840</td>\n",
       "      <td>1.214281e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1263</td>\n",
       "      <td>0.262266</td>\n",
       "      <td>735.0</td>\n",
       "      <td>195.0</td>\n",
       "      <td>0.265306</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>117.0</td>\n",
       "      <td>56.0</td>\n",
       "      <td>0.478632</td>\n",
       "      <td>0.905009</td>\n",
       "      <td>3.322955e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>89.0</td>\n",
       "      <td>67.0</td>\n",
       "      <td>0.752809</td>\n",
       "      <td>1.423428</td>\n",
       "      <td>3.629567e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>1.260549</td>\n",
       "      <td>6.900009e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1414</td>\n",
       "      <td>0.131450</td>\n",
       "      <td>1195.0</td>\n",
       "      <td>632.0</td>\n",
       "      <td>0.528870</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>183.0</td>\n",
       "      <td>74.0</td>\n",
       "      <td>0.404372</td>\n",
       "      <td>0.715336</td>\n",
       "      <td>6.272270e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1393</td>\n",
       "      <td>0.144349</td>\n",
       "      <td>1210.0</td>\n",
       "      <td>684.0</td>\n",
       "      <td>0.565289</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>316.0</td>\n",
       "      <td>160.0</td>\n",
       "      <td>0.506329</td>\n",
       "      <td>0.850701</td>\n",
       "      <td>1.560329e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>0.499386</td>\n",
       "      <td>499.0</td>\n",
       "      <td>297.0</td>\n",
       "      <td>0.595190</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>72.0</td>\n",
       "      <td>52.0</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>0.933446</td>\n",
       "      <td>3.133940e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>169.0</td>\n",
       "      <td>154.0</td>\n",
       "      <td>0.911243</td>\n",
       "      <td>1.177748</td>\n",
       "      <td>1.642507e-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>0.400000</td>\n",
       "      <td>0.516985</td>\n",
       "      <td>8.115602e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1398</td>\n",
       "      <td>0.157831</td>\n",
       "      <td>1149.0</td>\n",
       "      <td>889.0</td>\n",
       "      <td>0.773716</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>83.0</td>\n",
       "      <td>53.0</td>\n",
       "      <td>0.638554</td>\n",
       "      <td>0.809287</td>\n",
       "      <td>2.405162e-03</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1396</td>\n",
       "      <td>0.159036</td>\n",
       "      <td>1313.0</td>\n",
       "      <td>1036.0</td>\n",
       "      <td>0.789033</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>190.0</td>\n",
       "      <td>147.0</td>\n",
       "      <td>0.773684</td>\n",
       "      <td>0.949967</td>\n",
       "      <td>2.679606e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>0.651807</td>\n",
       "      <td>388.0</td>\n",
       "      <td>316.0</td>\n",
       "      <td>0.814433</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>340.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.898663</td>\n",
       "      <td>7.080029e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>327.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.241111</td>\n",
       "      <td>1.937556e-08</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>20.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.958973</td>\n",
       "      <td>8.487593e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>508.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.709947</td>\n",
       "      <td>5.406350e-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.857313</td>\n",
       "      <td>1.846391e-04</td>\n",
       "      <td>NaN</td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>340.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.898663</td>\n",
       "      <td>9.764418e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>327.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.241111</td>\n",
       "      <td>5.809534e-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>20.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.958973</td>\n",
       "      <td>1.070722e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4322</td>\n",
       "      <td>0.135600</td>\n",
       "      <td>3623.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>508.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.709947</td>\n",
       "      <td>9.286203e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4316</td>\n",
       "      <td>0.136800</td>\n",
       "      <td>3808.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1034.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.857313</td>\n",
       "      <td>9.058839e-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2656</td>\n",
       "      <td>0.468800</td>\n",
       "      <td>1622.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Group Category            Group Reference Group           Segment  \\\n",
       "0            Race            Black           White        Low Income   \n",
       "1            Race            Asian           White        Low Income   \n",
       "2            Race  Native American           White        Low Income   \n",
       "3            Race            White                        Low Income   \n",
       "4       Ethnicity         Hispanic    Non-Hispanic        Low Income   \n",
       "5       Ethnicity     Non-Hispanic                        Low Income   \n",
       "6             Sex           Female            Male        Low Income   \n",
       "7             Sex             Male                        Low Income   \n",
       "8            Race            Black           White        Mid Income   \n",
       "9            Race            Asian           White        Mid Income   \n",
       "10           Race  Native American           White        Mid Income   \n",
       "11           Race            White                        Mid Income   \n",
       "12      Ethnicity         Hispanic    Non-Hispanic        Mid Income   \n",
       "13      Ethnicity     Non-Hispanic                        Mid Income   \n",
       "14            Sex           Female            Male        Mid Income   \n",
       "15            Sex             Male                        Mid Income   \n",
       "16           Race            Black           White       High Income   \n",
       "17           Race            Asian           White       High Income   \n",
       "18           Race  Native American           White       High Income   \n",
       "19           Race            White                       High Income   \n",
       "20      Ethnicity         Hispanic    Non-Hispanic       High Income   \n",
       "21      Ethnicity     Non-Hispanic                       High Income   \n",
       "22            Sex           Female            Male       High Income   \n",
       "23            Sex             Male                       High Income   \n",
       "24           Race            Black           White          CMH Test   \n",
       "25           Race            Asian           White          CMH Test   \n",
       "26           Race  Native American           White          CMH Test   \n",
       "27           Race            White                          CMH Test   \n",
       "28      Ethnicity         Hispanic    Non-Hispanic          CMH Test   \n",
       "29      Ethnicity     Non-Hispanic                          CMH Test   \n",
       "30            Sex           Female            Male          CMH Test   \n",
       "31            Sex             Male                          CMH Test   \n",
       "32           Race            Black           White  Breslow-Day Test   \n",
       "33           Race            Asian           White  Breslow-Day Test   \n",
       "34           Race  Native American           White  Breslow-Day Test   \n",
       "35           Race            White                  Breslow-Day Test   \n",
       "36      Ethnicity         Hispanic    Non-Hispanic  Breslow-Day Test   \n",
       "37      Ethnicity     Non-Hispanic                  Breslow-Day Test   \n",
       "38            Sex           Female            Male  Breslow-Day Test   \n",
       "39            Sex             Male                  Breslow-Day Test   \n",
       "\n",
       "    Observations  Percent Missing   Total  Favorable  Percent Favorable  \\\n",
       "0           1510         0.117991   151.0       33.0           0.218543   \n",
       "1           1510         0.117991    69.0       22.0           0.318841   \n",
       "2           1510         0.117991     9.0        3.0           0.333333   \n",
       "3           1510         0.117991  1279.0      333.0           0.260360   \n",
       "4           1527         0.108061   242.0       40.0           0.165289   \n",
       "5           1527         0.108061  1285.0      352.0           0.273930   \n",
       "6           1263         0.262266   528.0      107.0           0.202652   \n",
       "7           1263         0.262266   735.0      195.0           0.265306   \n",
       "8           1414         0.131450   117.0       56.0           0.478632   \n",
       "9           1414         0.131450    89.0       67.0           0.752809   \n",
       "10          1414         0.131450     6.0        4.0           0.666667   \n",
       "11          1414         0.131450  1195.0      632.0           0.528870   \n",
       "12          1393         0.144349   183.0       74.0           0.404372   \n",
       "13          1393         0.144349  1210.0      684.0           0.565289   \n",
       "14           815         0.499386   316.0      160.0           0.506329   \n",
       "15           815         0.499386   499.0      297.0           0.595190   \n",
       "16          1398         0.157831    72.0       52.0           0.722222   \n",
       "17          1398         0.157831   169.0      154.0           0.911243   \n",
       "18          1398         0.157831     5.0        2.0           0.400000   \n",
       "19          1398         0.157831  1149.0      889.0           0.773716   \n",
       "20          1396         0.159036    83.0       53.0           0.638554   \n",
       "21          1396         0.159036  1313.0     1036.0           0.789033   \n",
       "22           578         0.651807   190.0      147.0           0.773684   \n",
       "23           578         0.651807   388.0      316.0           0.814433   \n",
       "24          4322         0.135600   340.0        NaN                NaN   \n",
       "25          4322         0.135600   327.0        NaN                NaN   \n",
       "26          4322         0.135600    20.0        NaN                NaN   \n",
       "27          4322         0.135600  3623.0        NaN                NaN   \n",
       "28          4316         0.136800   508.0        NaN                NaN   \n",
       "29          4316         0.136800  3808.0        NaN                NaN   \n",
       "30          2656         0.468800  1034.0        NaN                NaN   \n",
       "31          2656         0.468800  1622.0        NaN                NaN   \n",
       "32          4322         0.135600   340.0        NaN                NaN   \n",
       "33          4322         0.135600   327.0        NaN                NaN   \n",
       "34          4322         0.135600    20.0        NaN                NaN   \n",
       "35          4322         0.135600  3623.0        NaN                NaN   \n",
       "36          4316         0.136800   508.0        NaN                NaN   \n",
       "37          4316         0.136800  3808.0        NaN                NaN   \n",
       "38          2656         0.468800  1034.0        NaN                NaN   \n",
       "39          2656         0.468800  1622.0        NaN                NaN   \n",
       "\n",
       "         AIR      P-Values  Benjamani-Hochberg Critical Value  \\\n",
       "0   0.839389  2.798899e-01                                NaN   \n",
       "1   1.224616  3.254284e-01                                NaN   \n",
       "2   1.280280  7.038812e-01                                NaN   \n",
       "3        NaN           NaN                                NaN   \n",
       "4   0.603400  2.927028e-04                                NaN   \n",
       "5        NaN           NaN                                NaN   \n",
       "6   0.763840  1.214281e-02                                NaN   \n",
       "7        NaN           NaN                                NaN   \n",
       "8   0.905009  3.322955e-01                                NaN   \n",
       "9   1.423428  3.629567e-05                                NaN   \n",
       "10  1.260549  6.900009e-01                                NaN   \n",
       "11       NaN           NaN                                NaN   \n",
       "12  0.715336  6.272270e-05                                NaN   \n",
       "13       NaN           NaN                                NaN   \n",
       "14  0.850701  1.560329e-02                                NaN   \n",
       "15       NaN           NaN                                NaN   \n",
       "16  0.933446  3.133940e-01                                NaN   \n",
       "17  1.177748  1.642507e-05                                NaN   \n",
       "18  0.516985  8.115602e-02                                NaN   \n",
       "19       NaN           NaN                                NaN   \n",
       "20  0.809287  2.405162e-03                                NaN   \n",
       "21       NaN           NaN                                NaN   \n",
       "22  0.949967  2.679606e-01                                NaN   \n",
       "23       NaN           NaN                                NaN   \n",
       "24  0.898663  7.080029e-02                                NaN   \n",
       "25  1.241111  1.937556e-08                                NaN   \n",
       "26  0.958973  8.487593e-01                                NaN   \n",
       "27       NaN           NaN                                NaN   \n",
       "28  0.709947  5.406350e-10                                NaN   \n",
       "29       NaN           NaN                                NaN   \n",
       "30  0.857313  1.846391e-04                                NaN   \n",
       "31       NaN           NaN                                NaN   \n",
       "32  0.898663  9.764418e-01                                NaN   \n",
       "33  1.241111  5.809534e-02                                NaN   \n",
       "34  0.958973  1.070722e-01                                NaN   \n",
       "35       NaN           NaN                                NaN   \n",
       "36  0.709947  9.286203e-01                                NaN   \n",
       "37       NaN           NaN                                NaN   \n",
       "38  0.857313  9.058839e-01                                NaN   \n",
       "39       NaN           NaN                                NaN   \n",
       "\n",
       "   Practically Significant  \n",
       "0                       No  \n",
       "1                       No  \n",
       "2                       No  \n",
       "3                           \n",
       "4                      Yes  \n",
       "5                           \n",
       "6                       No  \n",
       "7                           \n",
       "8                       No  \n",
       "9                       No  \n",
       "10                      No  \n",
       "11                          \n",
       "12                     Yes  \n",
       "13                          \n",
       "14                      No  \n",
       "15                          \n",
       "16                      No  \n",
       "17                      No  \n",
       "18                      No  \n",
       "19                          \n",
       "20                     Yes  \n",
       "21                          \n",
       "22                      No  \n",
       "23                          \n",
       "24                      No  \n",
       "25                      No  \n",
       "26                      No  \n",
       "27                          \n",
       "28                     Yes  \n",
       "29                          \n",
       "30                      No  \n",
       "31                          \n",
       "32                          \n",
       "33                          \n",
       "34                          \n",
       "35                          \n",
       "36                          \n",
       "37                          \n",
       "38                          \n",
       "39                          "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/svg+xml": [
       "<svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1200\" height=\"1350\" style=\"\" viewBox=\"0 0 1200 1350\"><rect x=\"0\" y=\"0\" width=\"1200\" height=\"1350\" style=\"fill: rgb(255, 255, 255); fill-opacity: 1;\"/><defs id=\"defs-626cc6\"><g class=\"clips\"><clipPath id=\"clip626cc6xyplot\" class=\"plotclip\"><rect width=\"427.95\" height=\"260\"/></clipPath><clipPath id=\"clip626cc6x2y2plot\" class=\"plotclip\"><rect width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath id=\"clip626cc6x3y3plot\" class=\"plotclip\"><rect width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath id=\"clip626cc6x4y4plot\" class=\"plotclip\"><rect width=\"427.94999999999993\" height=\"260.00000000000006\"/></clipPath><clipPath id=\"clip626cc6x5y5plot\" class=\"plotclip\"><rect width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x\"><rect x=\"84\" y=\"0\" width=\"427.95\" height=\"1350\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6y\"><rect x=\"0\" y=\"100\" width=\"1200\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6xy\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6y2\"><rect x=\"0\" y=\"100\" width=\"1200\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6xy2\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6y3\"><rect x=\"0\" y=\"555\" width=\"1200\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6xy3\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6y4\"><rect x=\"0\" y=\"555\" width=\"1200\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6xy4\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6y5\"><rect x=\"0\" y=\"1010\" width=\"1200\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6xy5\"><rect x=\"84\" y=\"1010\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2\"><rect x=\"607.0500000000001\" y=\"0\" width=\"427.94999999999993\" height=\"1350\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2y\"><rect x=\"607.0500000000001\" y=\"100\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2y2\"><rect x=\"607.0500000000001\" y=\"100\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2y3\"><rect x=\"607.0500000000001\" y=\"555\" width=\"427.94999999999993\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2y4\"><rect x=\"607.0500000000001\" y=\"555\" width=\"427.94999999999993\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x2y5\"><rect x=\"607.0500000000001\" y=\"1010\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3\"><rect x=\"84\" y=\"0\" width=\"427.95\" height=\"1350\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3y\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3y2\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3y3\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3y4\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x3y5\"><rect x=\"84\" y=\"1010\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4\"><rect x=\"607.0500000000001\" y=\"0\" width=\"427.94999999999993\" height=\"1350\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4y\"><rect x=\"607.0500000000001\" y=\"100\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4y2\"><rect x=\"607.0500000000001\" y=\"100\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4y3\"><rect x=\"607.0500000000001\" y=\"555\" width=\"427.94999999999993\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4y4\"><rect x=\"607.0500000000001\" y=\"555\" width=\"427.94999999999993\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x4y5\"><rect x=\"607.0500000000001\" y=\"1010\" width=\"427.94999999999993\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5\"><rect x=\"84\" y=\"0\" width=\"427.95\" height=\"1350\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5y\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5y2\"><rect x=\"84\" y=\"100\" width=\"427.95\" height=\"260\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5y3\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5y4\"><rect x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\"/></clipPath><clipPath class=\"axesclip\" id=\"clip626cc6x5y5\"><rect x=\"84\" y=\"1010\" width=\"427.95\" height=\"260\"/></clipPath></g><g class=\"gradients\"/><g class=\"patterns\"/></defs><g class=\"bglayer\"><rect class=\"bg\" x=\"84\" y=\"100\" width=\"427.95\" height=\"260\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"607.0500000000001\" y=\"100\" width=\"427.94999999999993\" height=\"260\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"84\" y=\"555\" width=\"427.95\" height=\"260.00000000000006\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"607.0500000000001\" y=\"555\" width=\"427.94999999999993\" height=\"260.00000000000006\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/><rect class=\"bg\" x=\"84\" y=\"1010\" width=\"427.95\" height=\"260\" style=\"fill: rgb(229, 236, 246); fill-opacity: 1; stroke-width: 0;\"/></g><g class=\"layer-below\"><g class=\"imagelayer\"/><g class=\"shapelayer\"/></g><g class=\"cartesianlayer\"><g class=\"subplot xy\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x\"/><g class=\"y\"/></g><g class=\"gridlayer\"><g class=\"x\"><path class=\"xgrid crisp\" transform=\"translate(171.11,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xgrid crisp\" transform=\"translate(258.22,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xgrid crisp\" transform=\"translate(345.32,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"xgrid crisp\" transform=\"translate(432.43,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g><g class=\"y\"/></g><g class=\"zerolinelayer\"><path class=\"xzl zl crisp\" transform=\"translate(84,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 2px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(84,100)\" clip-path=\"url(#clip626cc6xyplot)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M0,234.92V179.88H365.59V234.92Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(255, 255, 255); fill-opacity: 1; white-space: pre;\" transform=\"translate(347.24625,211.39999999999998)\">0.839</text></g><g class=\"point\"><path d=\"M0,166.12V111.08H394.17V166.12Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(255, 255, 255); fill-opacity: 1; white-space: pre;\" transform=\"translate(375.82625,142.6)\">0.905</text></g><g class=\"point\"><path d=\"M0,97.32V42.28H406.55V97.32Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(255, 255, 255); fill-opacity: 1; white-space: pre;\" transform=\"translate(388.20625,73.8)\">0.933</text></g></g></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" transform=\"translate(84,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(171.11,0)\">0.2</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(258.22,0)\">0.4</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(345.32,0)\">0.6</text></g><g class=\"xtick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(432.43,0)\">0.8</text></g></g><g class=\"yaxislayer-above\"><g class=\"ytick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,307.4)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Low Income </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,238.6)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Mid Income </text></g><g class=\"ytick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,169.8)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">High Income </text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x2y2\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x2\"/><g class=\"y2\"/></g><g class=\"gridlayer\"><g class=\"x2\"><path class=\"x2grid crisp\" transform=\"translate(749.8600000000001,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x2grid crisp\" transform=\"translate(892.6700000000001,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g><g class=\"y2\"/></g><g class=\"zerolinelayer\"><path class=\"x2zl zl crisp\" transform=\"translate(607.0500000000001,0)\" d=\"M0,100v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 2px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(607.0500000000001,100)\" clip-path=\"url(#clip626cc6x2y2plot)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M0,234.92V179.88H349.77V234.92Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(331.42625,211.39999999999998)\">1.225</text></g><g class=\"point\"><path d=\"M0,166.12V111.08H406.55V166.12Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(388.20625,142.6)\">1.423</text></g><g class=\"point\"><path d=\"M0,97.32V42.28H336.38V97.32Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(318.03625,73.8)\">1.178</text></g></g></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" transform=\"translate(607.0500000000001,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(749.8600000000001,0)\">0.5</text></g><g class=\"x2tick\"><text text-anchor=\"middle\" x=\"0\" y=\"373\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(892.6700000000001,0)\">1</text></g></g><g class=\"yaxislayer-above\"><g class=\"y2tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,307.4)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Low Income </text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,238.6)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Mid Income </text></g><g class=\"y2tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,169.8)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">High Income </text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x3y3\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x3\"/><g class=\"y3\"/></g><g class=\"gridlayer\"><g class=\"x3\"><path class=\"x3grid crisp\" transform=\"translate(242.77,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x3grid crisp\" transform=\"translate(401.55,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g><g class=\"y3\"/></g><g class=\"zerolinelayer\"><path class=\"x3zl zl crisp\" transform=\"translate(84,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 2px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(84,555)\" clip-path=\"url(#clip626cc6x3y3plot)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M0,234.92V179.88H406.55V234.92Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(388.20625,211.39999999999998)\">1.280</text></g><g class=\"point\"><path d=\"M0,166.12V111.08H400.29V166.12Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(381.94625,142.6)\">1.261</text></g><g class=\"point\"><path d=\"M0,97.32V42.28H164.17V97.32Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(145.82625,73.8)\">0.517</text></g></g></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" transform=\"translate(84,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(242.77,0)\">0.5</text></g><g class=\"x3tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(401.55,0)\">1</text></g></g><g class=\"yaxislayer-above\"><g class=\"y3tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,762.4)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Low Income </text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,693.6)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Mid Income </text></g><g class=\"y3tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,624.8)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">High Income </text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x4y4\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x4\"/><g class=\"y4\"/></g><g class=\"gridlayer\"><g class=\"x4\"><path class=\"x4grid crisp\" transform=\"translate(707.5200000000001,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x4grid crisp\" transform=\"translate(807.99,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x4grid crisp\" transform=\"translate(908.47,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x4grid crisp\" transform=\"translate(1008.94,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g><g class=\"y4\"/></g><g class=\"zerolinelayer\"><path class=\"x4zl zl crisp\" transform=\"translate(607.0500000000001,0)\" d=\"M0,555v260.00000000000006\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 2px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(607.0500000000001,555)\" clip-path=\"url(#clip626cc6x4y4plot)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M0,234.92V179.88H303.12V234.92Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(118, 183, 178); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(284.77625,211.39999999999998)\">0.603</text></g><g class=\"point\"><path d=\"M0,166.12V111.08H359.36V166.12Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(118, 183, 178); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(341.01625,142.6)\">0.715</text></g><g class=\"point\"><path d=\"M0,97.32V42.28H406.55V97.32Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(118, 183, 178); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(388.20625,73.8)\">0.809</text></g></g></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" transform=\"translate(607.0500000000001,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(707.5200000000001,0)\">0.2</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(807.99,0)\">0.4</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(908.47,0)\">0.6</text></g><g class=\"x4tick\"><text text-anchor=\"middle\" x=\"0\" y=\"828\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(1008.94,0)\">0.8</text></g></g><g class=\"yaxislayer-above\"><g class=\"y4tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,762.4)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Low Income </text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,693.6)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Mid Income </text></g><g class=\"y4tick\"><text text-anchor=\"end\" x=\"606.0500000000001\" y=\"4.199999999999999\" transform=\"translate(0,624.8)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">High Income </text></g></g><g class=\"overaxes-above\"/></g><g class=\"subplot x5y5\"><g class=\"layer-subplot\"><g class=\"shapelayer\"/><g class=\"imagelayer\"/></g><g class=\"minor-gridlayer\"><g class=\"x5\"/><g class=\"y5\"/></g><g class=\"gridlayer\"><g class=\"x5\"><path class=\"x5grid crisp\" transform=\"translate(169.59,0)\" d=\"M0,1010v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x5grid crisp\" transform=\"translate(255.19,0)\" d=\"M0,1010v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x5grid crisp\" transform=\"translate(340.78,0)\" d=\"M0,1010v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/><path class=\"x5grid crisp\" transform=\"translate(426.37,0)\" d=\"M0,1010v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 1px;\"/></g><g class=\"y5\"/></g><g class=\"zerolinelayer\"><path class=\"x5zl zl crisp\" transform=\"translate(84,0)\" d=\"M0,1010v260\" style=\"stroke: rgb(255, 255, 255); stroke-opacity: 1; stroke-width: 2px;\"/></g><path class=\"xlines-below\"/><path class=\"ylines-below\"/><g class=\"overlines-below\"/><g class=\"xaxislayer-below\"/><g class=\"yaxislayer-below\"/><g class=\"overaxes-below\"/><g class=\"plot\" transform=\"translate(84,1010)\" clip-path=\"url(#clip626cc6x5y5plot)\"><g class=\"barlayer mlayer\"><g class=\"trace bars\" style=\"opacity: 1;\"><g class=\"points\"><g class=\"point\"><path d=\"M0,234.92V179.88H326.9V234.92Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(308.55625,211.39999999999998)\">0.764</text></g><g class=\"point\"><path d=\"M0,166.12V111.08H364.07V166.12Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(345.72625,142.6)\">0.851</text></g><g class=\"point\"><path d=\"M0,97.32V42.28H406.55V97.32Z\" style=\"vector-effect: none; opacity: 1; stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/><text class=\"bartext bartext-inside\" text-anchor=\"middle\" data-notex=\"1\" x=\"0\" y=\"0\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre;\" transform=\"translate(388.20625,73.8)\">0.950</text></g></g></g></g><g class=\"scatterlayer mlayer\"><g class=\"trace scatter traceebd4a2\" style=\"stroke-miterlimit: 2; opacity: 1;\"><g class=\"fills\"/><g class=\"errorbars\"/><g class=\"lines\"><path class=\"js-line\" d=\"M342.37,207.4\" style=\"vector-effect: none; fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 2px; opacity: 1;\"/></g><g class=\"points\"/><g class=\"text\"/></g></g></g><g class=\"overplot\"/><path class=\"xlines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><path class=\"ylines-above crisp\" d=\"M0,0\" style=\"fill: none;\"/><g class=\"overlines-above\"/><g class=\"xaxislayer-above\"><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" transform=\"translate(84,0)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">0</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(169.59,0)\">0.2</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(255.19,0)\">0.4</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(340.78,0)\">0.6</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(426.37,0)\">0.8</text></g><g class=\"x5tick\"><text text-anchor=\"middle\" x=\"0\" y=\"1283\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\" transform=\"translate(511.97,0)\">1</text></g></g><g class=\"yaxislayer-above\"><g class=\"y5tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,1217.4)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Low Income </text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,1148.6)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">Mid Income </text></g><g class=\"y5tick\"><text text-anchor=\"end\" x=\"83\" y=\"4.199999999999999\" transform=\"translate(0,1079.8)\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre; opacity: 1;\">High Income </text></g></g><g class=\"overaxes-above\"/></g></g><g class=\"polarlayer\"/><g class=\"smithlayer\"/><g class=\"ternarylayer\"/><g class=\"geolayer\"/><g class=\"funnelarealayer\"/><g class=\"pielayer\"/><g class=\"iciclelayer\"/><g class=\"treemaplayer\"/><g class=\"sunburstlayer\"/><g class=\"glimages\"/><defs id=\"topdefs-626cc6\"><g class=\"clips\"/><clipPath id=\"legend626cc6\"><rect width=\"134\" height=\"143\" x=\"0\" y=\"0\"/></clipPath></defs><g class=\"layer-above\"><g class=\"imagelayer\"/><g class=\"shapelayer\"><path data-index=\"0\" fill-rule=\"evenodd\" d=\"M432.43,359L432.43,101\" clip-path=\"url(#clip626cc6xy)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/><path data-index=\"1\" fill-rule=\"evenodd\" d=\"M835.5400000000001,359L835.5400000000001,101\" clip-path=\"url(#clip626cc6x2y2)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/><path data-index=\"2\" fill-rule=\"evenodd\" d=\"M338.03999999999996,814L338.03999999999996,556\" clip-path=\"url(#clip626cc6x3y3)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/><path data-index=\"3\" fill-rule=\"evenodd\" d=\"M1008.94,814L1008.94,556\" clip-path=\"url(#clip626cc6x4y4)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/><path data-index=\"4\" fill-rule=\"evenodd\" d=\"M426.37,1269L426.37,1011\" clip-path=\"url(#clip626cc6x5y5)\" style=\"opacity: 1; stroke: rgb(0, 0, 0); stroke-opacity: 1; fill: rgb(0, 0, 0); fill-opacity: 0; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/></g></g><g class=\"infolayer\"><g class=\"legend\" pointer-events=\"all\" transform=\"translate(1054.02,100)\"><rect class=\"bg\" shape-rendering=\"crispEdges\" style=\"stroke: rgb(68, 68, 68); stroke-opacity: 1; fill: rgb(255, 255, 255); fill-opacity: 1; stroke-width: 0px;\" width=\"134\" height=\"143\" x=\"0\" y=\"0\"/><g class=\"scrollbox\" transform=\"\" clip-path=\"url(#legend626cc6)\"><text class=\"legendtitletext\" text-anchor=\"start\" x=\"2\" y=\"18.2\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 14px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Legend</text><g class=\"groups\"><g class=\"traces\" transform=\"translate(0,32.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(78, 121, 167); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,51.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(242, 142, 45); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,70.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native American</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(225, 87, 89); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,89.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(118, 183, 178); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,108.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"/><g class=\"legendsymbols\"><g class=\"legendpoints\"><path class=\"legendundefined\" d=\"M6,6H-6V-6H6Z\" transform=\"translate(20,0)\" style=\"stroke-width: 0.5px; fill: rgb(89, 161, 79); fill-opacity: 1; stroke: rgb(229, 236, 246); stroke-opacity: 1;\"/></g></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g><g class=\"traces\" transform=\"translate(0,127.7)\" style=\"opacity: 1;\"><text class=\"legendtext\" text-anchor=\"start\" x=\"40\" y=\"4.680000000000001\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 12px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">AIR Threshold</text><g class=\"layers\" style=\"opacity: 1;\"><g class=\"legendfill\"/><g class=\"legendlines\"><path class=\"js-line\" d=\"M5,0h30\" style=\"fill: none; stroke: rgb(0, 0, 0); stroke-opacity: 1; stroke-dasharray: 3px, 3px; stroke-width: 2px;\"/></g><g class=\"legendsymbols\"><g class=\"legendpoints\"/></g></g><rect class=\"legendtoggle\" x=\"0\" y=\"-9.5\" width=\"128.03125\" height=\"19\" style=\"fill: rgb(0, 0, 0); fill-opacity: 0;\"/></g></g></g><rect class=\"scrollbar\" rx=\"20\" ry=\"3\" width=\"0\" height=\"0\" style=\"fill: rgb(128, 139, 164); fill-opacity: 1;\" x=\"0\" y=\"0\"/></g><g class=\"g-gtitle\"><text class=\"gtitle\" x=\"60\" y=\"50\" text-anchor=\"start\" dy=\"0em\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 17px; fill: rgb(42, 63, 95); opacity: 1; font-weight: normal; white-space: pre;\">Segmented Adverse Impact Ratio</text></g><g class=\"g-xtitle\"/><g class=\"g-x2title\"/><g class=\"g-x3title\"/><g class=\"g-x4title\"/><g class=\"g-x5title\"/><g class=\"g-ytitle\"/><g class=\"g-y2title\"/><g class=\"g-y3title\"/><g class=\"g-y4title\"/><g class=\"g-y5title\"/><g class=\"annotation\" data-index=\"0\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,297.975,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(276,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"21.5625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Black</text></g></g></g><g class=\"annotation\" data-index=\"1\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,821.025,89.5)\"><g class=\"cursor-pointer\" transform=\"translate(799,79)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"43\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"22.015625\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Asian</text></g></g></g><g class=\"annotation\" data-index=\"2\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,297.975,544.5)\"><g class=\"cursor-pointer\" transform=\"translate(238,534)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"119\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"59.8125\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Native american</text></g></g></g><g class=\"annotation\" data-index=\"3\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,821.025,544.5)\"><g class=\"cursor-pointer\" transform=\"translate(789,534)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"64\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"32.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Hispanic</text></g></g></g><g class=\"annotation\" data-index=\"4\" style=\"opacity: 1;\"><g class=\"annotation-text-g\" transform=\"rotate(0,297.975,999.5)\"><g class=\"cursor-pointer\" transform=\"translate(269,989)\"><rect class=\"bg\" x=\"0.5\" y=\"0.5\" width=\"56\" height=\"20\" style=\"stroke-width: 1px; stroke: rgb(0, 0, 0); stroke-opacity: 0; fill: rgb(0, 0, 0); fill-opacity: 0;\"/><text class=\"annotation-text\" text-anchor=\"middle\" x=\"28.6875\" y=\"16\" style=\"font-family: 'Open Sans', verdana, arial, sans-serif; font-size: 16px; fill: rgb(42, 63, 95); fill-opacity: 1; white-space: pre;\">Female</text></g></g></g></g></svg>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sair"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Group Category</th>\n",
       "      <th>Group</th>\n",
       "      <th>Reference Group</th>\n",
       "      <th>Segment</th>\n",
       "      <th>Observations</th>\n",
       "      <th>Percent Missing</th>\n",
       "      <th>Total</th>\n",
       "      <th>Favorable</th>\n",
       "      <th>Percent Favorable</th>\n",
       "      <th>AIR</th>\n",
       "      <th>P-Values</th>\n",
       "      <th>Benjamani-Hochberg Critical Value</th>\n",
       "      <th>Practically Significant</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,510</td>\n",
       "      <td>11.80%</td>\n",
       "      <td>151.0</td>\n",
       "      <td>33.0</td>\n",
       "      <td>21.85%</td>\n",
       "      <td>0.839</td>\n",
       "      <td>0.280</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,510</td>\n",
       "      <td>11.80%</td>\n",
       "      <td>69.0</td>\n",
       "      <td>22.0</td>\n",
       "      <td>31.88%</td>\n",
       "      <td>1.225</td>\n",
       "      <td>0.325</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,510</td>\n",
       "      <td>11.80%</td>\n",
       "      <td>9.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>33.33%</td>\n",
       "      <td>1.280</td>\n",
       "      <td>0.704</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,510</td>\n",
       "      <td>11.80%</td>\n",
       "      <td>1,279.0</td>\n",
       "      <td>333.0</td>\n",
       "      <td>26.04%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,527</td>\n",
       "      <td>10.81%</td>\n",
       "      <td>242.0</td>\n",
       "      <td>40.0</td>\n",
       "      <td>16.53%</td>\n",
       "      <td>0.603</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,527</td>\n",
       "      <td>10.81%</td>\n",
       "      <td>1,285.0</td>\n",
       "      <td>352.0</td>\n",
       "      <td>27.39%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,263</td>\n",
       "      <td>26.23%</td>\n",
       "      <td>528.0</td>\n",
       "      <td>107.0</td>\n",
       "      <td>20.27%</td>\n",
       "      <td>0.764</td>\n",
       "      <td>0.012</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Low Income</td>\n",
       "      <td>1,263</td>\n",
       "      <td>26.23%</td>\n",
       "      <td>735.0</td>\n",
       "      <td>195.0</td>\n",
       "      <td>26.53%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,414</td>\n",
       "      <td>13.14%</td>\n",
       "      <td>117.0</td>\n",
       "      <td>56.0</td>\n",
       "      <td>47.86%</td>\n",
       "      <td>0.905</td>\n",
       "      <td>0.332</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,414</td>\n",
       "      <td>13.14%</td>\n",
       "      <td>89.0</td>\n",
       "      <td>67.0</td>\n",
       "      <td>75.28%</td>\n",
       "      <td>1.423</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,414</td>\n",
       "      <td>13.14%</td>\n",
       "      <td>6.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>66.67%</td>\n",
       "      <td>1.261</td>\n",
       "      <td>0.690</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,414</td>\n",
       "      <td>13.14%</td>\n",
       "      <td>1,195.0</td>\n",
       "      <td>632.0</td>\n",
       "      <td>52.89%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,393</td>\n",
       "      <td>14.43%</td>\n",
       "      <td>183.0</td>\n",
       "      <td>74.0</td>\n",
       "      <td>40.44%</td>\n",
       "      <td>0.715</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>1,393</td>\n",
       "      <td>14.43%</td>\n",
       "      <td>1,210.0</td>\n",
       "      <td>684.0</td>\n",
       "      <td>56.53%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>49.94%</td>\n",
       "      <td>316.0</td>\n",
       "      <td>160.0</td>\n",
       "      <td>50.63%</td>\n",
       "      <td>0.851</td>\n",
       "      <td>0.016</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Mid Income</td>\n",
       "      <td>815</td>\n",
       "      <td>49.94%</td>\n",
       "      <td>499.0</td>\n",
       "      <td>297.0</td>\n",
       "      <td>59.52%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,398</td>\n",
       "      <td>15.78%</td>\n",
       "      <td>72.0</td>\n",
       "      <td>52.0</td>\n",
       "      <td>72.22%</td>\n",
       "      <td>0.933</td>\n",
       "      <td>0.313</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,398</td>\n",
       "      <td>15.78%</td>\n",
       "      <td>169.0</td>\n",
       "      <td>154.0</td>\n",
       "      <td>91.12%</td>\n",
       "      <td>1.178</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,398</td>\n",
       "      <td>15.78%</td>\n",
       "      <td>5.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>40.00%</td>\n",
       "      <td>0.517</td>\n",
       "      <td>0.081</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,398</td>\n",
       "      <td>15.78%</td>\n",
       "      <td>1,149.0</td>\n",
       "      <td>889.0</td>\n",
       "      <td>77.37%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,396</td>\n",
       "      <td>15.90%</td>\n",
       "      <td>83.0</td>\n",
       "      <td>53.0</td>\n",
       "      <td>63.86%</td>\n",
       "      <td>0.809</td>\n",
       "      <td>0.002</td>\n",
       "      <td></td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>1,396</td>\n",
       "      <td>15.90%</td>\n",
       "      <td>1,313.0</td>\n",
       "      <td>1,036.0</td>\n",
       "      <td>78.90%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>65.18%</td>\n",
       "      <td>190.0</td>\n",
       "      <td>147.0</td>\n",
       "      <td>77.37%</td>\n",
       "      <td>0.950</td>\n",
       "      <td>0.268</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>High Income</td>\n",
       "      <td>578</td>\n",
       "      <td>65.18%</td>\n",
       "      <td>388.0</td>\n",
       "      <td>316.0</td>\n",
       "      <td>81.44%</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.899</td>\n",
       "      <td>0.071</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>1.241</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.959</td>\n",
       "      <td>0.849</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.710</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>Yes</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.857</td>\n",
       "      <td>0.000</td>\n",
       "      <td></td>\n",
       "      <td>No</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>CMH Test</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Black</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>340.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.899</td>\n",
       "      <td>0.976</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Asian</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>327.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>1.241</td>\n",
       "      <td>0.058</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>Native American</td>\n",
       "      <td>White</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>20.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.959</td>\n",
       "      <td>0.107</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Race</td>\n",
       "      <td>White</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,322</td>\n",
       "      <td>13.56%</td>\n",
       "      <td>3,623.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Hispanic</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>508.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.710</td>\n",
       "      <td>0.929</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Ethnicity</td>\n",
       "      <td>Non-Hispanic</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>4,316</td>\n",
       "      <td>13.68%</td>\n",
       "      <td>3,808.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Female</td>\n",
       "      <td>Male</td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,034.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>0.857</td>\n",
       "      <td>0.906</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>Sex</td>\n",
       "      <td>Male</td>\n",
       "      <td></td>\n",
       "      <td>Breslow-Day Test</td>\n",
       "      <td>2,656</td>\n",
       "      <td>46.88%</td>\n",
       "      <td>1,622.0</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "sd.ui.show(sair.summary_table)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3.8.13 ('.venv': poetry)",
   "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.8.13"
  },
  "vscode": {
   "interpreter": {
    "hash": "ce19b2e0a61d581377ddd9e3832a10d6b5902034b65fa21b321d9eb6a81e8d5e"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}