Skip to content

Commit 1b39d56

Browse files
committed
Fixing typos
1 parent 2f9a28a commit 1b39d56

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

day_13/day_13.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
"## Bi-variate statistics\n",
191191
"\n",
192192
"### Correlations\n",
193-
"Scipy has both Pearson's coorelation and Spearman's rank correlation."
193+
"Scipy has both Pearson's correlation and Spearman's rank correlation."
194194
]
195195
},
196196
{
@@ -287,7 +287,7 @@
287287
"source": [
288288
"## Exercise 2\n",
289289
"\n",
290-
"Write some code that compares the correlations of each set of variables and prints the set of variables with the highest correlation.\n",
290+
"Write some code that compares the correlations of each set of variables and prints the two variables with the highest correlation.\n",
291291
"\n",
292292
"Hint: You will probably want to use two for loops (although there may also be a tricky way to do this with pandas)"
293293
]
@@ -307,7 +307,7 @@
307307
"\n",
308308
"These test whether the frequency of something occurring by group is independent. So, we'll need to change Y into something that has a frequency.\n",
309309
"\n",
310-
"The following code will produce the 2 rows of a table. The first row (`large_y_counts`) is the number of large Y vaues by group. The second (`small_y_counts`) is the number of small y values per group."
310+
"The following code will produce the 2 rows of a table. The first row (`large_y_counts`) is the number of large Y values by group. The second (`small_y_counts`) is the number of small y values per group."
311311
]
312312
},
313313
{
@@ -355,7 +355,7 @@
355355
"outputs": [],
356356
"source": [
357357
"# Now, we call the Chi-squared test\n",
358-
"stats.chi2_contingency(np.array([large_y_counts, small_y_counts]))\n",
358+
"stats.chi2_contingency([large_y_counts, small_y_counts])\n",
359359
"# This returns the Chi-square value, a p-value, degrees of freedom, and the expected counts."
360360
]
361361
},

day_13/lecture/day_13.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,14 @@ <h2>Dad Joke</h2>
18091809
</section>
18101810
<section id="housekeeping" class="slide level2">
18111811
<h2>Housekeeping</h2>
1812+
<ul>
1813+
<li class="fragment">Additional final project examples
1814+
<ul>
1815+
<li class="fragment">Please don’t share beyond class members</li>
1816+
</ul></li>
1817+
<li class="fragment">Continue to submit coding challenges</li>
1818+
<li class="fragment">Reach out for help if needed!!</li>
1819+
</ul>
18121820
</section>
18131821
<section id="statistics-in-python" class="slide level2">
18141822
<h2>Statistics in Python</h2>
@@ -1819,9 +1827,6 @@ <h2>Statistics in Python</h2>
18191827
<li class="fragment">Python is great for ML, OTOH</li>
18201828
</ul>
18211829
</section>
1822-
<section id="github-tour" class="slide level2">
1823-
<h2>Github Tour</h2>
1824-
</section>
18251830
<section id="hw-review" class="slide level2">
18261831
<h2>HW Review</h2>
18271832
</section>

0 commit comments

Comments
 (0)