Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A school has 240 students, and 8 places on a trip are given out by a simple random sample. Find the chance, as a percentage to two decimal places, that a particular student gets a place. The school has 96 students in its music club. On average, how many club members will win a place?
In a simple random sample of from , every group of is equally likely, so each member has the chance . Use random.sample (no repeats), never random.choices, and check that the list you choose from covers everyone.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. One student. .
Step 2. The club. The club is of the school, so on average places go to club members.
Answer: about , and club members on average.
Check. No real sample holds people. The average is over many draws: some give 2 club members, some 4 or 5.
Log in to join the discussion.
Loading…