The homework for Friday is posted.

Any questions about anything so far, including any of the probability stuff?

Finish discussing inference, using the sources I listed in Tuesday's notes.

We'll work through an example of hypothesis testing using my coin generators and some python code, perhaps something like this

```
>>> import urllib.request
>>> url='https://cs.marlboro.college/tools/coins/a.cgi'
>>> urllib.request.urlopen(url).read()
>>> b't t h h h h t t t h h h h t t h t t h t t t t t h t t h h h h h h h h t h h t t h h t t h h h t h h h t h h h t h t h t t h h h h h h h t h t t t t t t h h h t t t t h h t h h t t t t h h h t h t h h\\n'
```

... and maybe this

```
>>> from scratch.statistics import mean, standard_deviation
>>> simulations = [sum(randint(0,1) for i in range(100)) for _ in range(count)]
>>> print(mean(simulations))
>>> print(standard_deviation(simulations))
```

... and some thinking about normal distributions and probabilities.

Are these fair coin flips? Let's design and work through a hypothesis test or two in class.

I've uploaded the jupyter notebook that we did in class.

https://cs.marlboro.college /cours /spring2020 /data /notes /feb18

last modified Sun November 10 2024 9:33 pm

last modified Sun November 10 2024 9:33 pm