diff --git a/fall-2024/hcd/hcd-201/00010/.~lock.HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt# b/fall-2024/hcd/hcd-201/00010/.~lock.HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt# new file mode 100644 index 0000000..14dbac7 --- /dev/null +++ b/fall-2024/hcd/hcd-201/00010/.~lock.HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt# @@ -0,0 +1 @@ +,winsdominoes,Fons-iMac-2.local,20.11.2024 18:02,file:///Users/winsdominoes/Library/Application%20Support/LibreOffice/4; \ No newline at end of file diff --git a/fall-2024/hcd/hcd-201/00010/HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt b/fall-2024/hcd/hcd-201/00010/HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt new file mode 100644 index 0000000..e450f0c Binary files /dev/null and b/fall-2024/hcd/hcd-201/00010/HCD-201-00010 Accessbility Audit - Thanawin Pattanaphol.odt differ diff --git a/fall-2024/math/mat-203/00010/.~lock.mat-203-00010.odt# b/fall-2024/math/mat-203/00010/.~lock.mat-203-00010.odt# deleted file mode 100644 index e3b831e..0000000 --- a/fall-2024/math/mat-203/00010/.~lock.mat-203-00010.odt# +++ /dev/null @@ -1 +0,0 @@ -,winsdominoes,Fons-iMac-2.local,19.11.2024 23:03,file:///Users/winsdominoes/Library/Application%20Support/LibreOffice/4; \ No newline at end of file diff --git a/fall-2024/math/mat-203/00010/01_ExampleDescriptiveStatsStudents.ipynb b/fall-2024/math/mat-203/00010/01_ExampleDescriptiveStatsStudents.ipynb index 2a079cc..73fc8c1 100644 --- a/fall-2024/math/mat-203/00010/01_ExampleDescriptiveStatsStudents.ipynb +++ b/fall-2024/math/mat-203/00010/01_ExampleDescriptiveStatsStudents.ipynb @@ -808,7 +808,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": ".venv", "language": "python", "name": "python3" }, diff --git a/fall-2024/math/mat-203/00010/Whr2024Descriptive.ipynb b/fall-2024/math/mat-203/00010/Whr2024Descriptive.ipynb index f5fa1b2..0efb49b 100644 --- a/fall-2024/math/mat-203/00010/Whr2024Descriptive.ipynb +++ b/fall-2024/math/mat-203/00010/Whr2024Descriptive.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 304, + "execution_count": 542, "metadata": {}, "outputs": [], "source": [ @@ -22,7 +22,7 @@ }, { "cell_type": "code", - "execution_count": 305, + "execution_count": 543, "metadata": {}, "outputs": [], "source": [ @@ -32,7 +32,7 @@ }, { "cell_type": "code", - "execution_count": 306, + "execution_count": 544, "metadata": {}, "outputs": [], "source": [ @@ -49,7 +49,7 @@ }, { "cell_type": "code", - "execution_count": 307, + "execution_count": 545, "metadata": {}, "outputs": [], "source": [ @@ -59,7 +59,7 @@ }, { "cell_type": "code", - "execution_count": 308, + "execution_count": 546, "metadata": {}, "outputs": [], "source": [ @@ -70,29 +70,35 @@ }, { "cell_type": "code", - "execution_count": 309, + "execution_count": 547, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "['Iceland', 'India', 'Indonesia', 'Iraq', 'Ireland', 'Israel', 'Italy']" + "['Tajikistan',\n", + " 'Thailand',\n", + " 'Togo',\n", + " 'Trinidad and Tobago',\n", + " 'Tunisia',\n", + " 'Turkmenistan',\n", + " 'Türkiye']" ] }, - "execution_count": 309, + "execution_count": 547, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Countries that starts with the same letter that your name\n", - "StartsWith = 'I' # The first letter of your name\n", + "StartsWith = 'T' # The first letter of your name\n", "list(Dat[Dat['Country name'].str.startswith(StartsWith)]['Country name'].unique())" ] }, { "cell_type": "code", - "execution_count": 310, + "execution_count": 548, "metadata": {}, "outputs": [], "source": [ @@ -106,7 +112,7 @@ }, { "cell_type": "code", - "execution_count": 311, + "execution_count": 549, "metadata": {}, "outputs": [ { @@ -283,7 +289,7 @@ "max 0.590000 0.948000 0.843000 0.516000 " ] }, - "execution_count": 311, + "execution_count": 549, "metadata": {}, "output_type": "execute_result" } @@ -294,7 +300,7 @@ }, { "cell_type": "code", - "execution_count": 312, + "execution_count": 550, "metadata": {}, "outputs": [ { @@ -571,7 +577,7 @@ "[121 rows x 13 columns]" ] }, - "execution_count": 312, + "execution_count": 550, "metadata": {}, "output_type": "execute_result" } @@ -582,7 +588,7 @@ }, { "cell_type": "code", - "execution_count": 313, + "execution_count": 551, "metadata": {}, "outputs": [ { @@ -656,7 +662,7 @@ "0 Asia " ] }, - "execution_count": 313, + "execution_count": 551, "metadata": {}, "output_type": "execute_result" } @@ -667,7 +673,7 @@ }, { "cell_type": "code", - "execution_count": 314, + "execution_count": 552, "metadata": {}, "outputs": [ { @@ -741,7 +747,7 @@ "35 Northern Europe Europe " ] }, - "execution_count": 314, + "execution_count": 552, "metadata": {}, "output_type": "execute_result" } @@ -752,7 +758,7 @@ }, { "cell_type": "code", - "execution_count": 315, + "execution_count": 553, "metadata": {}, "outputs": [], "source": [ @@ -761,7 +767,7 @@ }, { "cell_type": "code", - "execution_count": 316, + "execution_count": 554, "metadata": {}, "outputs": [ { @@ -778,7 +784,7 @@ }, { "cell_type": "code", - "execution_count": 317, + "execution_count": 555, "metadata": {}, "outputs": [ { @@ -787,7 +793,7 @@ "np.float64(0.231)" ] }, - "execution_count": 317, + "execution_count": 555, "metadata": {}, "output_type": "execute_result" } @@ -801,7 +807,7 @@ }, { "cell_type": "code", - "execution_count": 318, + "execution_count": 556, "metadata": {}, "outputs": [ { @@ -810,7 +816,7 @@ "array([4.6125, 5.42 , 6.3215])" ] }, - "execution_count": 318, + "execution_count": 556, "metadata": {}, "output_type": "execute_result" } @@ -822,7 +828,7 @@ }, { "cell_type": "code", - "execution_count": 319, + "execution_count": 557, "metadata": {}, "outputs": [ { @@ -855,7 +861,7 @@ }, { "cell_type": "code", - "execution_count": 320, + "execution_count": 558, "metadata": {}, "outputs": [ { @@ -892,7 +898,7 @@ }, { "cell_type": "code", - "execution_count": 321, + "execution_count": 559, "metadata": {}, "outputs": [], "source": [ @@ -908,7 +914,7 @@ }, { "cell_type": "code", - "execution_count": 322, + "execution_count": 560, "metadata": {}, "outputs": [ { @@ -929,7 +935,7 @@ }, { "cell_type": "code", - "execution_count": 323, + "execution_count": 561, "metadata": {}, "outputs": [ { @@ -961,7 +967,7 @@ }, { "cell_type": "code", - "execution_count": 324, + "execution_count": 562, "metadata": {}, "outputs": [], "source": [ @@ -974,7 +980,7 @@ }, { "cell_type": "code", - "execution_count": 325, + "execution_count": 563, "metadata": {}, "outputs": [], "source": [ @@ -984,7 +990,7 @@ }, { "cell_type": "code", - "execution_count": 326, + "execution_count": 564, "metadata": {}, "outputs": [ { @@ -993,7 +999,7 @@ "(np.float64(-0.6037), np.float64(-0.6037))" ] }, - "execution_count": 326, + "execution_count": 564, "metadata": {}, "output_type": "execute_result" } @@ -1004,7 +1010,7 @@ }, { "cell_type": "code", - "execution_count": 327, + "execution_count": 565, "metadata": {}, "outputs": [], "source": [ @@ -1014,7 +1020,7 @@ }, { "cell_type": "code", - "execution_count": 328, + "execution_count": 566, "metadata": {}, "outputs": [ { @@ -1023,7 +1029,7 @@ "(np.float64(-0.6113), np.float64(-0.6113))" ] }, - "execution_count": 328, + "execution_count": 566, "metadata": {}, "output_type": "execute_result" } @@ -1034,7 +1040,7 @@ }, { "cell_type": "code", - "execution_count": 329, + "execution_count": 567, "metadata": {}, "outputs": [], "source": [ @@ -1052,7 +1058,7 @@ }, { "cell_type": "code", - "execution_count": 330, + "execution_count": 568, "metadata": {}, "outputs": [], "source": [ @@ -1062,7 +1068,7 @@ }, { "cell_type": "code", - "execution_count": 331, + "execution_count": 569, "metadata": {}, "outputs": [ { @@ -1071,7 +1077,7 @@ "(np.float64(3.0748), np.float64(3.0748))" ] }, - "execution_count": 331, + "execution_count": 569, "metadata": {}, "output_type": "execute_result" } @@ -1082,7 +1088,7 @@ }, { "cell_type": "code", - "execution_count": 332, + "execution_count": 570, "metadata": {}, "outputs": [], "source": [ @@ -1092,7 +1098,7 @@ }, { "cell_type": "code", - "execution_count": 333, + "execution_count": 571, "metadata": {}, "outputs": [ { @@ -1101,7 +1107,7 @@ "(np.float64(3.1292), np.float64(3.1292))" ] }, - "execution_count": 333, + "execution_count": 571, "metadata": {}, "output_type": "execute_result" } @@ -1112,7 +1118,7 @@ }, { "cell_type": "code", - "execution_count": 334, + "execution_count": 572, "metadata": {}, "outputs": [], "source": [ @@ -1122,7 +1128,7 @@ }, { "cell_type": "code", - "execution_count": 335, + "execution_count": 573, "metadata": {}, "outputs": [ { @@ -1131,7 +1137,7 @@ "(np.float64(0.0748), np.float64(0.0748))" ] }, - "execution_count": 335, + "execution_count": 573, "metadata": {}, "output_type": "execute_result" } @@ -1142,7 +1148,7 @@ }, { "cell_type": "code", - "execution_count": 336, + "execution_count": 574, "metadata": {}, "outputs": [], "source": [ @@ -1152,7 +1158,7 @@ }, { "cell_type": "code", - "execution_count": 337, + "execution_count": 575, "metadata": {}, "outputs": [ { @@ -1161,7 +1167,484 @@ "(np.float64(0.1292), np.float64(0.1292))" ] }, - "execution_count": 337, + "execution_count": 575, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "G2_excess_byhand.round(4), G2_excess.round(4)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 7th question" + ] + }, + { + "cell_type": "code", + "execution_count": 576, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | Country name | \n", + "year | \n", + "Life Ladder | \n", + "Log GDP per capita | \n", + "Social support | \n", + "Healthy life expectancy at birth | \n", + "Freedom to make life choices | \n", + "Generosity | \n", + "Perceptions of corruption | \n", + "Positive affect | \n", + "Negative affect | \n", + "Subregion | \n", + "Continent | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
109 | \n", + "Thailand | \n", + "2023 | \n", + "6.282 | \n", + "9.807 | \n", + "0.873 | \n", + "68.6 | \n", + "0.926 | \n", + "0.338 | \n", + "0.889 | \n", + "0.811 | \n", + "0.217 | \n", + "South-eastern Asia | \n", + "Asia | \n", + "