Let's say I survey the class and ask "Did you leave Reed College to travel during Spring Break". Out of 23 students, 14 of them or 60.8% said yes. Is this consistent with a claim that half of Reed students travel over spring break?
- Please write the
infer
code that would test this claim. - Please write the
infer
code that compute a confidence interval for our statistic.
- Dataset name:
springbreak
- Column name:
travel
, which takes valuesyes
andno
.