hi,

Ok so I understand the problems and what I have to do. This chapter is straight after hypothesis testing of continuous variables.

I just dont understand ONE thing..

So the solution to this was X ~ B(18, 0.5) (X follows a binomial distribution)Problem 1 :

One evening on a estate playground 12 boys and 6 girls were playing. Assuming these were a random sample of all children living in the estate, test, and the 10% significance level, whether there are equal numbers of Boys and girls on the estate.

find P(X >= 12) which is 11.9% since its a two tail test 11.9 > (10/2) % so the boys and girls are equal.

So here X ~ B(25, 0.95) but when I calculated P(X>=22) i was wrong, apparently I had to calculateProblem 2

A car dealer claims atleast 95% of his customers are satisfied. In A random sample of 25 of them 22 said they were satisfied. Test at 5% sig level that the data supports his claim.P(X<= 22)

Why P(X<=22) how do I know when I have to look for greater than ??

I'm very sorry if this is a stupid question but I am learning on my own!