1D: Hypothesis testing: testing the proportion of a Binomially distributed variable
A random sample of 500 apples was taken from a large consignment and 60 were found to be bad. What is the sample proportion of bad apples?
A manufacturer claims that 20% of the manufactured products is of good quality. In one day's production of 400 products, only 40 are of good quality. While testing this problem, what will be the alternative hypothesis?