Return sample t-stat

This commit is contained in:
Marcin Kostrzewski 2022-05-17 20:56:02 +02:00
parent 7abf326bbb
commit fdb95361cb

View File

@ -105,7 +105,7 @@
"\n", "\n",
" p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n", " p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n",
"\n", "\n",
" return p, t_stat_list" " return p, t_stat_from_sample, t_stat_list"
] ]
}, },
{ {
@ -123,7 +123,7 @@
"\n", "\n",
" p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n", " p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n",
"\n", "\n",
" return p, t_stat_list" " return p, t_stat_from_sample, t_stat_list"
] ]
}, },
{ {
@ -141,7 +141,7 @@
"\n", "\n",
" p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n", " p = calculate_t_difference(t_stat_from_sample, t_stat_list, alternative)\n",
"\n", "\n",
" return p, t_stat_list" " return p, t_stat_from_sample, t_stat_list"
] ]
}, },
{ {
@ -267,8 +267,8 @@
}, },
"outputs": [ "outputs": [
{ {
"output_type": "stream",
"name": "stdout", "name": "stdout",
"output_type": "stream",
"text": [ "text": [
"p: 0.73\n" "p: 0.73\n"
] ]
@ -423,8 +423,8 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"output_type": "stream",
"name": "stdout", "name": "stdout",
"output_type": "stream",
"text": [ "text": [
"Statystyki dla jednej próby:\n", "Statystyki dla jednej próby:\n",
"0.44\n", "0.44\n",
@ -465,13 +465,13 @@
"hash": "11938c6bc6919ae2720b4d5011047913343b08a43b18698fd82dedb0d4417594" "hash": "11938c6bc6919ae2720b4d5011047913343b08a43b18698fd82dedb0d4417594"
}, },
"kernelspec": { "kernelspec": {
"name": "python3",
"display_name": "Python 3.8.10 64-bit", "display_name": "Python 3.8.10 64-bit",
"metadata": { "metadata": {
"interpreter": { "interpreter": {
"hash": "767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90" "hash": "767d51c1340bd893661ea55ea3124f6de3c7a262a8b4abca0554b478b1e2ff90"
} }
} },
"name": "python3"
}, },
"language_info": { "language_info": {
"codemirror_mode": { "codemirror_mode": {
@ -489,4 +489,4 @@
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 2 "nbformat_minor": 2
} }