From 6cd516a5c751937b50cdbffdcccd86db7f8dc9f7 Mon Sep 17 00:00:00 2001 From: "Marco A. Lopez-Sanchez" Date: Fri, 17 May 2024 17:40:00 +0200 Subject: [PATCH] Update paleopizometry_template.ipynb --- .../paleopizometry_template.ipynb | 42 ++++++++++++++++--- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/grain_size_tools/paleopizometry_template.ipynb b/grain_size_tools/paleopizometry_template.ipynb index 10e91e9..3dfd046 100644 --- a/grain_size_tools/paleopizometry_template.ipynb +++ b/grain_size_tools/paleopizometry_template.ipynb @@ -67,7 +67,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 2, "id": "76712a37", "metadata": {}, "outputs": [], @@ -113,7 +113,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "id": "c2466fa2", "metadata": {}, "outputs": [ @@ -149,7 +149,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 5, "id": "8427ed68", "metadata": {}, "outputs": [ @@ -175,7 +175,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 6, "id": "46fe8ecd", "metadata": {}, "outputs": [ @@ -185,7 +185,7 @@ "array([193.3 , 177.43, 187.25, 199.45, 188.02, 214.13])" ] }, - "execution_count": 9, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -195,9 +195,39 @@ "estimates" ] }, + { + "cell_type": "markdown", + "id": "5587b230", + "metadata": {}, + "source": [ + "### Estimate a confidence interval" + ] + }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 7, + "id": "045f32ec", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " \n", + "Mean = 193.26 ± 13.17\n", + "Confidence set at 95.0 %\n", + "Max / min = 206.44 / 180.09\n", + "Coefficient of variation = ±6.8 %\n" + ] + } + ], + "source": [ + "_ = conf_interval(estimates)" + ] + }, + { + "cell_type": "code", + "execution_count": 8, "id": "e5f174dc", "metadata": {}, "outputs": [