Added mre MAT-203 stuff #2
This commit is contained in:
parent
bd1c9f8db8
commit
d9b5e5c861
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 278,
|
||||
"execution_count": 304,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 279,
|
||||
"execution_count": 305,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -32,7 +32,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 280,
|
||||
"execution_count": 306,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -49,7 +49,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 281,
|
||||
"execution_count": 307,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -59,7 +59,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 282,
|
||||
"execution_count": 308,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -70,7 +70,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 283,
|
||||
"execution_count": 309,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -79,7 +79,7 @@
|
|||
"['Iceland', 'India', 'Indonesia', 'Iraq', 'Ireland', 'Israel', 'Italy']"
|
||||
]
|
||||
},
|
||||
"execution_count": 283,
|
||||
"execution_count": 309,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -92,7 +92,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 284,
|
||||
"execution_count": 310,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -106,7 +106,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 285,
|
||||
"execution_count": 311,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -283,7 +283,7 @@
|
|||
"max 0.590000 0.948000 0.843000 0.516000 "
|
||||
]
|
||||
},
|
||||
"execution_count": 285,
|
||||
"execution_count": 311,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -294,7 +294,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 286,
|
||||
"execution_count": 312,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -571,7 +571,7 @@
|
|||
"[121 rows x 13 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 286,
|
||||
"execution_count": 312,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -582,7 +582,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 287,
|
||||
"execution_count": 313,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -656,7 +656,7 @@
|
|||
"0 Asia "
|
||||
]
|
||||
},
|
||||
"execution_count": 287,
|
||||
"execution_count": 313,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -667,7 +667,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 288,
|
||||
"execution_count": 314,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -741,7 +741,7 @@
|
|||
"35 Northern Europe Europe "
|
||||
]
|
||||
},
|
||||
"execution_count": 288,
|
||||
"execution_count": 314,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -752,7 +752,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 289,
|
||||
"execution_count": 315,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -761,7 +761,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 290,
|
||||
"execution_count": 316,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -778,7 +778,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 291,
|
||||
"execution_count": 317,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -787,7 +787,7 @@
|
|||
"np.float64(0.231)"
|
||||
]
|
||||
},
|
||||
"execution_count": 291,
|
||||
"execution_count": 317,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -801,7 +801,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 292,
|
||||
"execution_count": 318,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -810,7 +810,7 @@
|
|||
"array([4.6125, 5.42 , 6.3215])"
|
||||
]
|
||||
},
|
||||
"execution_count": 292,
|
||||
"execution_count": 318,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -822,7 +822,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 293,
|
||||
"execution_count": 319,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -855,7 +855,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 294,
|
||||
"execution_count": 320,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -892,7 +892,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 295,
|
||||
"execution_count": 321,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -908,7 +908,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 296,
|
||||
"execution_count": 322,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -929,7 +929,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 297,
|
||||
"execution_count": 323,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -961,7 +961,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 298,
|
||||
"execution_count": 324,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -974,7 +974,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 299,
|
||||
"execution_count": 325,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -984,7 +984,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 300,
|
||||
"execution_count": 326,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -993,7 +993,7 @@
|
|||
"(np.float64(-0.6037), np.float64(-0.6037))"
|
||||
]
|
||||
},
|
||||
"execution_count": 300,
|
||||
"execution_count": 326,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -1004,7 +1004,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 301,
|
||||
"execution_count": 327,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -1014,7 +1014,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 302,
|
||||
"execution_count": 328,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -1023,7 +1023,7 @@
|
|||
"(np.float64(-0.6113), np.float64(-0.6113))"
|
||||
]
|
||||
},
|
||||
"execution_count": 302,
|
||||
"execution_count": 328,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 329,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -1052,7 +1052,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 330,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -1062,17 +1062,18 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 331,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(np.float64(4.8753), np.float64(4.8753))"
|
||||
"(np.float64(3.0748), np.float64(3.0748))"
|
||||
]
|
||||
},
|
||||
"execution_count": 331,
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
|
@ -1081,21 +1082,9 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 303,
|
||||
"execution_count": 332,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'k4' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[303], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m G2_byhand \u001b[38;5;241m=\u001b[39m \u001b[43mk4\u001b[49m\u001b[38;5;241m/\u001b[39mk2\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m2\u001b[39m \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m3\u001b[39m\n\u001b[1;32m 2\u001b[0m G2 \u001b[38;5;241m=\u001b[39m kurtosis(ll, fisher\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mFalse\u001b[39;00m, bias\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mFalse\u001b[39;00m)\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'k4' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"G2_byhand = k4/k2**2 + 3\n",
|
||||
"G2 = kurtosis(ll, fisher=False, bias=False)"
|
||||
|
@ -1103,17 +1092,18 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 333,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(np.float64(7.2795), np.float64(7.2795))"
|
||||
"(np.float64(3.1292), np.float64(3.1292))"
|
||||
]
|
||||
},
|
||||
"execution_count": 333,
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
|
@ -1122,21 +1112,9 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 334,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'g2_byhand' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[251], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m g2_excess_byhand \u001b[38;5;241m=\u001b[39m \u001b[43mg2_byhand\u001b[49m \u001b[38;5;241m-\u001b[39m \u001b[38;5;241m3\u001b[39m\n\u001b[1;32m 2\u001b[0m g2_excess \u001b[38;5;241m=\u001b[39m kurtosis(ll)\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'g2_byhand' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"g2_excess_byhand = g2_byhand - 3\n",
|
||||
"g2_excess = kurtosis(ll)"
|
||||
|
@ -1144,17 +1122,18 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 335,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(np.float64(1.8753), np.float64(1.8753))"
|
||||
"(np.float64(0.0748), np.float64(0.0748))"
|
||||
]
|
||||
},
|
||||
"execution_count": 335,
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
|
@ -1163,7 +1142,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 336,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -1173,17 +1152,18 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 337,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(np.float64(4.2795), np.float64(4.2795))"
|
||||
"(np.float64(0.1292), np.float64(0.1292))"
|
||||
]
|
||||
},
|
||||
"execution_count": 337,
|
||||
"metadata": {},
|
||||
"output_type": "display_data"
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
|
|
Loading…
Reference in New Issue