A colleague writes (extract):
“I have an assessment with 4 sections in it A,B,C and D.
I have a question bank for each section. The number of questions in each bank is A-10, B-10, C-5, D-5.
In my assessment I will print out randomly a fixed number of questions from each bank. Section A will have 5 questions, B-5, C-2, D-2. 14 questions in total appear on the exam.
I can figure out how many different exam papers (order doesn’t matter) can be generated (I think!).
But my question is: what is the uniqueness of each exam, or what overlap between exams can be expected.?
I am not trying to get unique exams for everyone (unique as in no identical questions) but would kinda like to know what is the overlap.“
Following the same argument as here we can establish that:
Fact 1
The expected number of students to share an exam is .
Let the number of exams .
This is an approach that takes advantage of the fact that expectation is linear, and the probability of an event not happening is
.
Label the 20 students by and define a random variable
by
Then , the number of students who share an exam, is given by:
,
and we can calculate, using the linearity of expectation.
.
The are not independent but the linearity of expectation holds even when the addend random variables are not independent… and each of the
has the same expectation. Let
be the probability that student
does not share an exam with anyone else; then
,
but , and
,
and so
.
All of the 20 have this same expectation and so
.
Now, what is the probability that nobody shares student ‘s exam?
We need students and
— 19 students — to have different exams to student
, and for each there is
ways of this happening, and we do have independence here (student 1 not sharing student
‘s exam doesn’t change the probability of student 2 not sharing student
‘s exam), and so
is the product of the probabilities.
So we have that
,
and so the answer to the question is:
.
We can get an estimate for the probability that two or more students share an exam using Markov’s Inequality:
Fact 2
This estimate is tight: the probability that two or more students (out of 20) share an exam is about 0.003%.
This tallies very well with the exact probability which can be found using a standard Birthday Problem argument (see the solution to Q. 7 here) to be:
The probability that two given students share an exam is
Fact 3
The expected number of shared questions between two students is 6.6
Take students 1 and 2. The questions are in four bins: two of ten, two of five. Let be the number of questions in bin
that students 1 and 2 share. The expected number of shared questions,
, is:
,
and the numbers are small enough to calculate the probabilities exactly using the hypergeometric distribution.
The calculations for bins 1 and 2, and bins 3 and 4 are the same. The expectation
.
Writing briefly , looking at the referenced hypergeometric distribution we find:
and we find:
Similarly we see that
and so, using linearity:
This suggests that on average students share about 50% of the question paper. Markov’s Inequality gives:
,
but I do not believe this is tight.
Calculating this probability exactly is tricky because there are many different ways that students can share a certain number of questions. We would be looking at something like “multiple hypergeometric”, and I would calculate it as the event not-(0 or 1 or 2 or 3 or 4 or 5 or 6).
I think the result is striking enough at this time!
Leave a comment
Comments feed for this article