Skip to content

Commit

Permalink
Refactoring smp.
Browse files Browse the repository at this point in the history
  • Loading branch information
LilianBittar committed Apr 22, 2023
1 parent b74a44e commit 1946e74
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 2 deletions.
Binary file modified session01/given-solutions/s1-problem-set-solutions.pdf
Binary file not shown.
Binary file modified session01/s1-notes.pdf
Binary file not shown.
Binary file modified session01/s1-problem-set.pdf
Binary file not shown.
Binary file added session02/s2-notes-recap.pdf
Binary file not shown.
Binary file removed session02/s2-notes-recaps.pdf
Binary file not shown.
Binary file added session02/s2-notes-template.pdf
Binary file not shown.
Binary file modified session02/s2-notes.pdf
Binary file not shown.
17 changes: 15 additions & 2 deletions session02/s2-problem-set-solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -186,6 +186,19 @@
"source": [
"Image('https://cdn.mathpix.com/snip/images/C5iqSUVLqUm_rG39wNowNqzwSNC-iJuY0FciakhBquc.original.fullsize.png')"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"#This is a Geometric distribution with (p = 20)\n",
"p = 0.2\n",
"x = geom(p)\n",
"\n",
"#a) pmf = (1 - 0.2)^x-1 * 0.2"
]
}
],
"metadata": {
Expand All @@ -204,7 +217,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.10.9"
},
"orig_nbformat": 4
},
Expand Down
Binary file modified session02/s2-problem-set.pdf
Binary file not shown.

0 comments on commit 1946e74

Please sign in to comment.