Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

For \(\alpha>0\) and \(\beta>0\), consider the following accept-reject algorithm: 1\. Generate \(U_{1}\) and \(U_{2}\) iid uniform \((0,1)\) random variables. Set \(V_{1}=U_{1}^{1 / \alpha}\) and \(V_{2}=U_{2}^{1 / \beta}\) 2\. Set \(W=V_{1}+V_{2}\). If \(W \leq 1\), set \(X=V_{1} / W\); else go to step 1 . 3\. Deliver \(X\). Show that \(X\) has a beta distribution with parameters \(\alpha\) and \(\beta,(3.3 .9) .\) See Kennedy and Gentle (1980).

Short Answer

Expert verified
X, yielded from the given algorithm, does follow the beta distribution with parameters \(\alpha\) and \(\beta\), which can be verified by comparing the derived distribution of X with the probability density function of beta distribution.

Step by step solution

01

Accept-Reject Algorithm

Firstly, the algorithm is followed. \(U_{1}\) and \(U_{2}\) are iid uniform \((0,1)\) random variables. \(V_{1}=U_{1}^{1 / \alpha}\) and \(V_{2}=U_{2}^{1 / \beta}\) are yielded. Then \(W=V_{1}+V_{2}\) is calculated. If \(W \leq 1\), set \(X=V_{1} / W\), or else repeat the process.
02

Calculate Probability Density Function

The next step is to calculate the joint probability density function of \(V_1\) and \(V_2\). If \(V_1\), \(V_2\) are dependent and both in \([0, 1]\), then the joint density function \(f_{V_1, V_2}(x, y)\) is equal to the product of individual density functions \(f_{V_1}(x) \cdot f_{V_2}(y)\). The sum \(Z = V_1 + V_2\) only takes values between 0 and 2. So the conditional density function of \(V_1\), given \(V_1 + V_2 = z\) is \(f_{V_1|V_1 + V_2 = z}(v)\) when \(0 \leq v \leq z\). After integration over \(z\), the density function of \(X = V_1/(V_1 + V_2)\) is calculated.
03

Compare with Beta Distribution

The last step is to compare the derived distribution of X with the beta distribution. Beta distribution with parameters \(\alpha\) and \(\beta\) has the density function \(B(\alpha, \beta)x^{\alpha - 1}(1 - x)^{\beta - 1}\), where \(B(\alpha, \beta)\) is the beta function. If these two functions match, then it successfully shows that \(X\) follows a beta distribution with parameters \(\alpha\) and \(\beta\).

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 Vaia!

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

Let \(X_{1}, X_{2}, \ldots, X_{n}, X_{n+1}\) be a random sample of size \(n+1, n>1\), from a distribution that is \(N\left(\mu, \sigma^{2}\right) .\) Let \(\bar{X}=\sum_{1}^{n} X_{i} / n\) and \(S^{2}=\sum_{1}^{n}\left(X_{i}-\bar{X}\right)^{2} /(n-1)\). Find the constant \(c\) so that the statistic \(c\left(\bar{X}-X_{n+1}\right) / S\) has a \(t\) -distribution. If \(n=8\), determine \(k\) such that \(P\left(\bar{X}-k S

Let \(Y_{1}

Determine a method to generate random observations for the logistic pdf, (4.4.11). Write an R function that returns a random sample of observations from a logistic distribution. Use your function to generate 10,000 observations from this pdf. Then obtain a histogram (use hist \((x, p r=T)\), where \(x\) contains the observations). On this histogram overlay a plot of the pdf.

Twenty motors were put on test under a high-temperature setting. The lifetimes in hours of the motors under these conditions are given below. Also, the data are in the file lifetimemotor. rda at the site listed in the Preface. Suppose we assume that the lifetime of a motor under these conditions, \(X\), has a \(\Gamma(1, \theta)\) distribution. \(\begin{array}{cccccccccc}1 & 4 & 5 & 21 & 22 & 28 & 40 & 42 & 51 & 53 \\ 58 & 67 & 95 & 124 & 124 & 160 & 202 & 260 & 303 & 363\end{array}\) (a) Obtain a histogram of the data and overlay it with a density estimate, using the code hist \((x, p r=T) ;\) lines (density \((x))\) where the \(R\) vector \(x\) contains the data. Based on this plot, do you think that the \(\Gamma(1, \theta)\) model is credible? (b) Assuming a \(\Gamma(1, \theta)\) model, obtain the maximum likelihood estimate \(\widehat{\theta}\) of \(\theta\) and locate it on your histogram. Next overlay the pdf of a \(\Gamma(1, \hat{\theta})\) distribution on the histogram. Use the \(\mathrm{R}\) function dgamma \((\mathrm{x}\), shape \(=1\), scale \(=\hat{\theta}\) ) to evaluate the pdf. (c) Obtain the sample median of the data, which is an estimate of the median lifetime of a motor. What parameter is it estimating (i.e., determine the median of \(X\) )? (d) Based on the mle, what is another estimate of the median of \(X ?\)

Let \(x_{1}, x_{2}, \ldots, x_{n}\) be the values of a random sample. A bootstrap sample, \(\mathbf{x}^{* \prime}=\left(x_{1}^{*}, x_{2}^{*}, \ldots, x_{n}^{*}\right)\), is a random sample of \(x_{1}, x_{2}, \ldots, x_{n}\) drawn with replacement. (a) Show that \(x_{1}^{*}, x_{2}^{*}, \ldots, x_{n}^{*}\) are iid with common cdf \(\widehat{F}_{n}\), the empirical cdf of \(x_{1}, x_{2}, \ldots, x_{n}\) (b) Show that \(E\left(x_{i}^{*}\right)=\bar{x}\) (c) If \(n\) is odd, show that median \(\left\\{x_{i}^{*}\right\\}=x_{((n+1) / 2)}\). (d) Show that \(V\left(x_{i}^{*}\right)=n^{-1} \sum_{i=1}^{n}\left(x_{i}-\bar{x}\right)^{2}\).

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.

Sign-up for free