# Stat 185 - Problem sheet

#### Friday, September 11

We’re going to practice another problem in groups today. This should help get you ready for the HW that’s due later today.

You should solve this problems together and then your group should send me one set of solutions as a private message on the forum. I’ll jump around and see how you’re doing.

### The problem

The problem is going to be based on the following computer code:

``````  import pandas as pd
import numpy as np
dfm = df[df.gender == 'm']
m = dfm.weight.mean()
s = dfm.weight.std()
n = len(dfm)
[m,s,n]

# Output:
# [189.32, 36.55, 9569]``````
1. What is the above block of computer code telling us?

2. Using the information above together with the rules of thumb, write down an appropriate 95% confidence interval.

3. Using the information above together with our normal table, write down an appropriate 95% confidence interval.

4. Using the information above together with our normal table, write down an appropriate 99% confidence interval.