diff --git a/bootstrap-t.ipynb b/bootstrap-t.ipynb index 338ab8f..eb9d804 100644 --- a/bootstrap-t.ipynb +++ b/bootstrap-t.ipynb @@ -106,7 +106,7 @@ " \"\"\"Funkcja oblicza wartość statystyki testowej dla dwóch próbek zależnych\"\"\"\n", " differences = [x_1 - x_2 for x_1, x_2 in zip(sample_1, sample_2)]\n", " sample_size = len(sample_1)\n", - " mu = 0 # The constant = zero if we want to test whether the average of the difference is significantly different.\n", + " mu = 0 # The constant is zero if we want to test whether the average of the difference is significantly different.\n", " return (mean(differences) - mu) / (stdev(differences) / sqrt(sample_size))" ], "metadata": { @@ -116,6 +116,51 @@ } } }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "def bootstrap_one_sample():\n", + " return" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "def bootstrap_independent():\n", + " return" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "def bootstrap_dependent():\n", + " return" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } + }, { "cell_type": "code", "execution_count": 147,