00:01
Okay, so we can do this analysis in python.
00:02
Here i have this script.
00:04
Okay, first, this is a data given.
00:10
And so that's trait and infected, trait not infected, no trait infected, and no trait not infected.
00:17
That's the form.
00:19
Okay, so now here, we're going to construct a two -way table of observed counts, which is just just the same table.
00:35
Here we construct a two -way table of expected counts.
00:42
So that's the sum with respect to rows and columns.
00:48
Okay, and here we construct a table regarding that, and then here we use a kai -2 contingency from the sci -pi statistics to calculate a kai -square value and also p -value...