Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/gallery/plot_mack.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This example demonstrates how you can can use the Mack Chainladder method."
"This example demonstrates how you can use the Mack Chainladder method."
]
},
{
Expand Down Expand Up @@ -165,9 +165,10 @@
"# Load the data\n",
"data = cl.load_sample('raa')\n",
"\n",
"# Compute Mack Chainladder ultimates and Std Err using 'volume' average\n",
"# Compute Mack Chainladder ultimates and Std Err using 'mack' interpolation\n",
"# This recreates the figures from page 130 of Mack (1994) \n",
"mack = cl.MackChainladder()\n",
"dev = cl.Development(average='volume')\n",
"dev = cl.Development(sigma_interpolation = 'mack')\n",
"mack.fit(dev.fit_transform(data))\n",
"\n",
"plot_data = mack.summary_.to_frame(origin_as_datetime=False)\n",
Expand Down
Loading