1. Test the assertion (at alpha 0.05) that it rains more often on weekends than it does on weekdays if in a sample of 31 rainy days, 10 were either saturday or sunday?
is my answer right?
n = 31
p = 2/7
q = 5/7
h0: p = 2/7
h1: p < 2/7
the zscore turns out to be 0.45, so we reject h0 and accept 1 (does not rain more often on weekends)?
2. In a taste test, 15 of 25 people choose beverage X over beverage y. Is this significant evidence to conclude that people prefer X to Y?
is p = 1/2 in this one and i would just make up an alpha value like 0.02?