/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q20E A diagnostic test for a certain ... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

A diagnostic test for a certain disease is applied to\({\rm{n}}\)individuals known to not have the disease. Let\({\rm{X = }}\)the number among the\({\rm{n}}\)test results that are positive (indicating presence of the disease, so\({\rm{X}}\)is the number of false positives) and\({\rm{p = }}\)the probability that a disease-free individual's test result is positive (i.e.,\({\rm{p}}\)is the true proportion of test results from disease-free individuals that are positive). Assume that only\({\rm{X}}\)is available rather than the actual sequence of test results.

a. Derive the maximum likelihood estimator of\({\rm{p}}\). If\({\rm{n = 20}}\)and\({\rm{x = 3}}\), what is the estimate?

b. Is the estimator of part (a) unbiased?

c. If\({\rm{n = 20}}\)and\({\rm{x = 3}}\), what is the mle of the probability\({{\rm{(1 - p)}}^{\rm{5}}}\)that none of the next five tests done on disease-free individuals are positive?

Short Answer

Expert verified

a) The estimated valueis\({\rm{\hat p = }}\frac{{\rm{X}}}{{\rm{n}}}{\rm{;\hat p = 0}}{\rm{.15}}\).

b) Estimator is unbiased.

c) The probability is\({\rm{h(\hat p) = 0}}{\rm{.4437}}\).

Step by step solution

01

Introduction

An estimator is a rule for computing an estimate of a given quantity based on observable data: the rule (estimator), the quantity of interest (estimate), and the output (estimate) are all distinct.

02

Explanation

a)

Let random variables \({{\rm{X}}_{\rm{1}}}{\rm{,}}{{\rm{X}}_{\rm{2}}}{\rm{, \ldots ,}}{{\rm{X}}_{\rm{n}}}\) have joint pdf or pmb

\({\rm{f}}\left( {{{\rm{x}}_{\rm{1}}}{\rm{,}}{{\rm{x}}_{\rm{2}}}{\rm{, \ldots ,}}{{\rm{x}}_{\rm{n}}}{\rm{;}}{{\rm{\theta }}_{\rm{1}}}{\rm{,}}{{\rm{\theta }}_{\rm{2}}}{\rm{, \ldots ,}}{{\rm{\theta }}_{\rm{m}}}} \right){\rm{,}}\quad {\rm{n,m\^I N}}\)

Where the parameters \({{\rm{\theta }}_{\rm{i}}}{\rm{,i = 1,2, \ldots ,m}}\)are unknown. When function \({\rm{f}}\)is a function of parameters\({{\rm{\theta }}_{\rm{i}}}{\rm{,i = 1,2, \ldots ,m}}\), it is called the

likelihood function

Values \({{\rm{\hat \theta }}_{\rm{i}}}\)that maximize the likelihood function are the maximum likelihood estimates (mle's), or equally values \({{\rm{\hat \theta }}_{\rm{i}}}\)for which

\(f\left( {{x_1},{x_2}, \ldots ,{x_n};{{\hat \theta }_1},{{\hat \theta }_2}, \ldots ,{{\hat \theta }_m}} \right)f\left( {{x_1},{x_2}, \ldots ,{x_n};{\theta _1},{\theta _2}, \ldots ,{\theta _m}} \right),\)

For every\({{\rm{\theta }}_{\rm{i}}}{\rm{,i = 1,2, \ldots ,m}}\). By substituting\({{\rm{X}}_{\rm{i}}}{\rm{ with }}{{\rm{x}}_{\rm{i}}}\), the

maximum likelihood estimators

are obtained.

First, notice that the random variable \({\rm{X}}\)has Binomial distribution with pdf given in the theorem below.

Theorem:

\({\rm{b(x;n,p) = }}\left\{ {\begin{array}{*{20}{l}}{\left( {\begin{array}{*{20}{l}}{\rm{n}}\\{\rm{x}}\end{array}} \right){{\rm{p}}^{\rm{x}}}{{{\rm{(1 - p)}}}^{{\rm{n - x}}}}}&{{\rm{,x = 0,1,2, \ldots ,n}}}\\{\rm{0}}&{{\rm{, otherwise }}}\end{array}} \right.\)

In order to obtain the maximum likelihood estimator, one needs to find \({\rm{p}}\)which maximizes pmf. To do that, look at natural logarithm of the pmf. By finding maximum of

\({\rm{ln}}\left( {\left( {\begin{array}{*{20}{l}}{\rm{n}}\\{\rm{x}}\end{array}} \right){{\rm{p}}^{\rm{x}}}{{{\rm{(1 - p)}}}^{{\rm{n - x}}}}} \right)\)

One also finds the maximum of\({{\rm{p}}^{\rm{x}}}{{\rm{(1 - p)}}^{{\rm{n - x}}}}\)because natural logarithm won't change the maximum value. To find maximum of\({\rm{lnb(x;n,p)}}\), first take the derivative and then set it to be equal to zero (classic method for finding maximum), and then solve for\({\rm{p}}\).

03

Calculation

(a)

The derivative is:

\(\begin{aligned}\frac{{\rm{d}}}{{{\rm{dp}}}}\left( {{\rm{ln}}\left( {\left( {\begin{array}{*{20}{l}}{\rm{n}}\\{\rm{x}}\end{array}} \right){{\rm{p}}^{\rm{x}}}{{{\rm{(1 - p)}}}^{{\rm{n - x}}}}} \right)} \right)\\ &= \frac{{\rm{d}}}{{{\rm{dp}}}}\left( {{\rm{ln}}\left( {\begin{array}{*{20}{l}}{\rm{n}}\\{\rm{x}}\end{array}} \right){\rm{ + xlnp + (n - x)ln(1 - p)}}} \right)\\ & = 0 + x \times \frac{{\rm{1}}}{{\rm{p}}}{\rm{ + (n - x) \times }}\frac{{\rm{1}}}{{{\rm{1 - p}}}}{\rm{ \times ( - 1)}}\\ &= \frac{{\rm{x}}}{{\rm{p}}}{\rm{ - }}\frac{{{\rm{n - x}}}}{{{\rm{1 - p}}}}\end{aligned}\)

Set it to be equal to zero in order to find maximum

\(\frac{{\rm{x}}}{{\rm{p}}}{\rm{ - }}\frac{{{\rm{n - x}}}}{{{\rm{1 - p}}}}{\rm{ = 0}}\)

And now solve for \({\rm{p}}\)

\(\begin{aligned}\frac{{\rm{x}}}{{{\rm{\hat p}}}}{\rm{ - }}\frac{{{\rm{n - x}}}}{{{\rm{1 - \hat p}}}}\\ &= 0 \frac{{\rm{x}}}{{{\rm{\hat p}}}}\\ &= \frac{{{\rm{n - x}}}}{{{\rm{1 - \hat p}}}}\frac{{{\rm{1 - \hat p}}}}{{{\rm{\hat p}}}}\\ & = \frac{{{\rm{n - x}}}}{{\rm{x}}}\frac{{\rm{1}}}{{{\rm{\hat p}}}}{\rm{ - 1}}\\ &= \frac{{\rm{n}}}{{\rm{x}}}{\rm{ - 1}}\end{aligned}\)

Finally, the estimator is

\({\rm{\hat p = }}\frac{{\rm{X}}}{{\rm{n}}}{\rm{.}}\)

For \({\rm{n = 20}}\)and\({\rm{x = 3}}\), the estimate is\({\rm{\hat p = }}\frac{{\rm{3}}}{{{\rm{20}}}}{\rm{ = 0}}{\rm{.15}}\).

Thus, the estimated value is\({\rm{\hat p = }}\frac{{\rm{X}}}{{\rm{n}}}{\rm{;\hat p = 0}}{\rm{.15}}\).

04

Explanation

b)

The estimator is unbiased if the expected value of the estimator is\({\rm{p}}\). The following holds

\(\begin{aligned} E(\hat p) &= E \left( {\frac{{\rm{X}}}{{\rm{n}}}} \right)\\ & = \frac{{\rm{1}}}{{\rm{n}}}{\rm{ \times E(X)}}\\\ &= \frac{{\rm{1}}}{{\rm{n}}}{\rm{ \times np}}\\ &= p \end{aligned}\)

(1): see the proposition below.

Proposition: For a binomial random variable \({\rm{X}}\)with parameters\({\rm{n,p}}\), and\({\rm{q = 1 - p}}\), the following is true

\(\begin{aligned}{l}E(X) &= np\\ V(X) &= np(1 - p) = npq \\{{\rm{\sigma }}_{\rm{X}}} &= \sqrt {{\rm{npq}}} \end{aligned}\)

Since, \({\rm{E(\hat p) = p}}\)

Therefore, theestimator is unbiased.

05

Explanation

c)

The Invariance Principle:

Let \({{\rm{\hat \theta }}_{\rm{i}}}{\rm{,i = 1,2, \ldots ,n}}\)be maximum likelihood estimates of parameters\({{\rm{\theta }}_{\rm{i}}}{\rm{,i = 1,2, \ldots ,n}}\). The mle of any function of parameters \({{\rm{\theta }}_{\rm{i}}}\)is the function of the mle's\({{\rm{\hat \theta }}_{\rm{i}}}\).

The mle of function\({\rm{h(p) = (1 - p}}{{\rm{)}}^{\rm{5}}}\)is the function of \({\rm{\hat p}}\),

\(\begin{array}{l}{\rm{h(\hat p) = (1 - \hat p}}{{\rm{)}}^{\rm{5}}}\\{\rm{ = (1 - 0}}{\rm{.15}}{{\rm{)}}^{\rm{5}}}{\rm{ = 0}}{\rm{.4437}}{\rm{.}}\end{array}\)

Therefore, the required probability is\({\rm{h(\hat p) = 0}}{\rm{.4437}}\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In a random sample of 80 components of a certain type, 12 are found to be defective.

a. Give a point estimate of the proportion of all such components that are not defective.

b. A system is to be constructed by randomly selecting two of these components and connecting them in series, as shown here.

The series connection implies that the system will function if and only if neither component is defective (i.e., both components work properly). Estimate the proportion of all such systems that work properly. (Hint: If p denotes the probability that a component works properly, how can P (system works) be expressed in terms of p ?)

Suppose the true average growth\({\rm{\mu }}\)of one type of plant during a l-year period is identical to that of a second type, but the variance of growth for the first type is\({{\rm{\sigma }}^{\rm{2}}}\), whereas for the second type the variance is\({\rm{4}}{{\rm{\sigma }}^{\rm{2}}}{\rm{. Let }}{{\rm{X}}_{\rm{1}}}{\rm{, \ldots ,}}{{\rm{X}}_{\rm{m}}}\)be\({\rm{m}}\)independent growth observations on the first type (so\({\rm{E}}\left( {{{\rm{X}}_{\rm{i}}}} \right){\rm{ = \mu ,V}}\left( {{{\rm{X}}_{\rm{i}}}} \right){\rm{ = \sigma\hat 2}}\)$ ), and let\({{\rm{Y}}_{\rm{1}}}{\rm{, \ldots ,}}{{\rm{Y}}_{\rm{n}}}\)be\({\rm{n}}\)independent growth observations on the second type\(\left( {{\rm{E}}\left( {{{\rm{Y}}_{\rm{i}}}} \right){\rm{ = \mu ,V}}\left( {{{\rm{Y}}_{\rm{j}}}} \right){\rm{ = 4}}{{\rm{\sigma }}^{\rm{2}}}} \right)\)

a. Show that the estimator\({\rm{\hat \mu = \delta \bar X + (1 - \delta )\bar Y}}\)is unbiased for\({\rm{\mu }}\)(for\({\rm{0 < \delta < 1}}\), the estimator is a weighted average of the two individual sample means).

b. For fixed\({\rm{m}}\)and\({\rm{n}}\), compute\({\rm{V(\hat \mu ),}}\)and then find the value of\({\rm{\delta }}\)that minimizes\({\rm{V(\hat \mu )}}\). (Hint: Differentiate\({\rm{V(\hat \mu )}}\)with respect to\({\rm{\delta }}{\rm{.)}}\)

Consider a random sample \({{\rm{X}}_{\rm{1}}}{\rm{,}}{{\rm{X}}_{\rm{2}}}.....{\rm{,}}{{\rm{X}}_{\rm{n}}}\) from the shifted exponential pdf

\({\rm{f(x;\lambda ,\theta ) = }}\left\{ {\begin{array}{*{20}{c}}{{\rm{\lambda }}{{\rm{e}}^{{\rm{ - \lambda (x - \theta )}}}}}&{{\rm{x}} \ge {\rm{\theta }}}\\{\rm{0}}&{{\rm{ otherwise }}}\end{array}} \right.\). Taking \({\rm{\theta = 0}}\) gives the pdf of the exponential distribution considered previously (with positive density to the right of zero). An example of the shifted exponential distribution appeared in Example \({\rm{4}}{\rm{.5}}\), in which the variable of interest was time headway in traffic flow and \({\rm{\theta = }}{\rm{.5}}\) was the minimum possible time headway. a. Obtain the maximum likelihood estimators of \({\rm{\theta }}\) and \({\rm{\lambda }}\). b. If \({\rm{n = 10}}\) time headway observations are made, resulting in the values \({\rm{3}}{\rm{.11,}}{\rm{.64,2}}{\rm{.55,2}}{\rm{.20,5}}{\rm{.44,3}}{\rm{.42,10}}{\rm{.39,8}}{\rm{.93,17}}{\rm{.82}}\), and \({\rm{1}}{\rm{.30}}\), calculate the estimates of \({\rm{\theta }}\) and \({\rm{\lambda }}\).

Let\({\rm{X}}\)denote the proportion of allotted time that a randomly selected student spends working on a certain aptitude test. Suppose the pdf of\({\rm{X}}\)is

\({\rm{f(x;\theta ) = }}\left\{ {\begin{array}{*{20}{c}}{{\rm{(\theta + 1)}}{{\rm{x}}^{\rm{\theta }}}}&{{\rm{0£ x£ 1}}}\\{\rm{0}}&{{\rm{ otherwise }}}\end{array}} \right.\)

where\({\rm{ - 1 < \theta }}\). A random sample of ten students yields data\({{\rm{x}}_{\rm{1}}}{\rm{ = }}{\rm{.92,}}{{\rm{x}}_{\rm{2}}}{\rm{ = }}{\rm{.79,}}{{\rm{x}}_{\rm{3}}}{\rm{ = }}{\rm{.90,}}{{\rm{x}}_{\rm{4}}}{\rm{ = }}{\rm{.65,}}{{\rm{x}}_{\rm{5}}}{\rm{ = }}{\rm{.86}}\),\({{\rm{x}}_{\rm{6}}}{\rm{ = }}{\rm{.47,}}{{\rm{x}}_{\rm{7}}}{\rm{ = }}{\rm{.73,}}{{\rm{x}}_{\rm{8}}}{\rm{ = }}{\rm{.97,}}{{\rm{x}}_{\rm{9}}}{\rm{ = }}{\rm{.94,}}{{\rm{x}}_{{\rm{10}}}}{\rm{ = }}{\rm{.77}}\).

a. Use the method of moments to obtain an estimator of\({\rm{\theta }}\), and then compute the estimate for this data.

b. Obtain the maximum likelihood estimator of\({\rm{\theta }}\), and then compute the estimate for the given data.

Let\({\rm{X}}\)have a Weibull distribution with parameters\({\rm{\alpha }}\)and\({\rm{\beta }}\), so

\(\begin{array}{l}{\rm{E(X) = \beta \times \Gamma (1 + 1/\alpha )V(X)}}\\{\rm{ = }}{{\rm{\beta }}^{\rm{2}}}\left\{ {{\rm{\Gamma (1 + 2/\alpha ) - (\Gamma (1 + 1/\alpha )}}{{\rm{)}}^{\rm{2}}}} \right\}\end{array}\)

a. Based on a random sample\({{\rm{X}}_{\rm{1}}}{\rm{, \ldots ,}}{{\rm{X}}_{\rm{n}}}\), write equations for the method of moments estimators of\({\rm{\beta }}\)and\({\rm{\alpha }}\). Show that, once the estimate of\({\rm{\alpha }}\)has been obtained, the estimate of\({\rm{\beta }}\)can be found from a table of the gamma function and that the estimate of\({\rm{\alpha }}\)is the solution to a complicated equation involving the gamma function.

b. If\({\rm{n = 20,\bar x = 28}}{\rm{.0}}\), and\({\rm{\Sigma x}}_{\rm{i}}^{\rm{2}}{\rm{ = 16,500}}\), compute the estimates. (Hint:\(\left. {{{{\rm{(\Gamma (1}}{\rm{.2))}}}^{\rm{2}}}{\rm{/\Gamma (1}}{\rm{.4) = }}{\rm{.95}}{\rm{.}}} \right)\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.