Question: how to find out the null hypothesis?
Answer: This is done by choosing an estimator function for the characteristic (of the population) we want to study and then applying this function to the sample to obtain an estimate. ...  The hypothesis that the estimate is based solely on chance is called the null hypothesis.