4. A sweet shop produces different coloured sweets and sells them in bags.
The proportion of green sweets produced is \(p\)
Each bag is filled with a random sample of \(n\) sweets.
The mean number of green sweets in a bag is 4.2 and the variance is 3.57
- Find the value of \(n\) and the value of \(p\)
The proportion of red sweets produced by the shop is 0.35
- Find the probability that, in a random sample of 25 sweets, the number of red sweets exceeds the expected number of red sweets.
The shop claims that \(10 \%\) of its customers buy more than two bags of sweets. A random sample of 40 customers is taken and 1 customer buys more than two bags of sweets.
- Test, at the \(5 \%\) level of significance, whether or not there is evidence that the proportion of customers who buy more than two bags of sweets is less than the shop's claim. State your hypotheses clearly.