The maximum time allowed for an exam is three hours. The time required, X, as a proportion of this maximum duration by a student to complete the exam (that is, if a student completes the exam in t hours, X takes the value t∕3) has a Beta distribution with parameters 𝛼 = 5 and 𝛽 = 2.
(i) Find the distribution function of X.
(ii) Obtain the mean and the standard deviation of X.
(iii) What proportion of students complete the exam within two hours?
The density function of X is given by
f(x)={B(5,2)1x5−1(1−x)2−1, 0<x<1,0,elsewhere,where, from (7.21),
B(α,β)=Γ(α+β)Γ(α)Γ(β). (7.21)
we see that the value of B(5, 2) is
B(5,2)=Γ(5+2)Γ(5)Γ(2)=6!4!1!=301.Thus, the density takes the form
f(x)={30x4(1−x), 0<x<1,0, elsewhere.(i) For the distribution function, we have
F(t)=∫−∞tf(x)dx=⎩⎪⎪⎨⎪⎪⎧0, t<0,6t5−5t6,0≤t<1,1, t≥1.(ii) Using the formulas from Proposition 7.10 for the mean and variance, we find
E(X)=α+βα=5+25=75and
Var(X)=(α+β+1)(α+β)2αβ=(5+2+1)(5+2)25⋅2=8⋅4910=39210≅0.0255,so that the standard deviation is
σ=Var(X)≅0.0255=0.1597.(iii) As explained in the statement, if a student completes the exam in t hours, the associated value of X is t∕3. Thus, in order to find the probability that a student completes the exam within two hours (or, the proportion of students who complete the exam within two hours, which is the same), we need to find P(X ≤ 2∕3). This can be obtained easily upon substituting t = 2∕3 in the distribution function F found in Part (i). Thus, we see that
P(X≤32)=F(32)=6(32)5−5(32)6=729256≅0.3512,and so about 35% of the students complete the exam within two hours.