Reference no: EM132250141
Assignment - Principles Of Statistical Inference (PSI) Exercises
Exercise 1: In a particular study we observe n1 = 78 mothers having full-term births and n2 = 51 mothers having premature births. The mothers having full-term births had a total of Σxi = 207 pregnancy attempts, and the mothers having premature births had a total of Σyi = 212 pregnancy attempts.
a. Substitute the above sample values into the likelihood function and hence plot the likelihood function for p.
b. Calculate the following two possible estimates of p
(n1+n2)/(Σxi+Σyi) and ½(n1/Σxi + n2/Σyi).
What do each of these estimates represent?
c. Calculate the likelihood ratio and log-likelihood difference for comparing the support for each of these values of p. Which estimate is better supported by the data?
d. Mark both estimates on your plot of the likelihood function from part a. Does there seem to be a better supported value than either of these?
Exercise 2: Suppose now that we are not prepared to assume that the fertility parameters are the same in the two groups, and that we want to compare the fertility using the relative fertility rate γ.
a. Using the sample described in Exercise 1, write down the likelihood and log-likelihood functions for p1 and p2, i.e., L(p1, p2) and l(p1, p2).
b. Using the relationship p1 = p2γ, rewrite the likelihood function and log-likelihood functions in terms of p2 and γ, i.e., L(γ, p2) and l(γ, p2).
c. A possible estimate of γ is y-/x- = 1.57. Suppose we want to compare whether this value is better supported by the data than the value 1 (the value 1 would indicate no difference in the fertility of mothers having full-term births and mothers having premature births). Calculate the likelihood ratio comparing these two values, first assuming p2 = 0.25 and secondly assuming of p2 = 0.50? Does the result depend on the value of p2 that we assume?
d. Suppose you are told that for any given value of γ, the best estimate of p2 is
p^2(γ) = 1/x-γ = 0.377/γ.
Substitute p^2(γ) into the log-likelihood in place of p2 to end up with a function of γ only. Plot this function, which is called the profile log-likelihood function.
e. Based on the plot in part d, what is the most supported value for γ, based on the profile log-likelihood? What is the interpretation of this value in terms of the relative fertility of the two groups of mothers?
Attachment:- Assignment File.rar