Question: how are the null and alternative hypothesis determined?
Answer: The null hypothesis states that a population parameter (such as the mean, the standard deviation, and so on) is equal to a hypothesized value. ... The alternative hypothesis states that a population parameter is smaller, greater, or different than the hypothesized value in the null hypothesis.