Hello. For the question below I can get
2. It's a well-documented fact that the world over, 55% of the population prefers
Coke and 45% prefer Pepsi. Rumour had it that in Quebec, less than 55% of the
population prefers Coke, so an enterprising anthropologist went there to investigate.
He found, in a simple random sample, that 505 out of 1001 people preferred Coke.
Using these data, test the hypothesis that the proportion of people that prefer Coke
in Quebec is less than 0.55.
Alt p< 0.55
From the equation I got -2.89
and then my prof got the p-value.
p-value = 0.0019
I don't understand how he got the p-value.