Update exercice.ipynb - estimation "corrigée" de l'écart type empirique

parent 17e985e0
......@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 10,
"metadata": {},
"outputs": [
{
......@@ -35,7 +35,7 @@
"output_type": "stream",
"text": [
"14.113000000000001\n",
"4.312369534258399\n",
"4.334094455301447\n",
"14.5\n",
"2.8\n",
"23.4\n"
......@@ -48,7 +48,7 @@
"moyenne=np.mean(data)\n",
"print(moyenne)\n",
"\n",
"ecartType=np.std(data)\n",
"ecartType=np.std(data, ddof=1)\n",
"print(ecartType)\n",
"\n",
"mediane=np.median(data)\n",
......@@ -60,6 +60,13 @@
"maximum=np.max(data)\n",
"print(maximum)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment