Question

In: Math

Let us consider a random variable X is the element of U(0, a) so that a...

Let us consider a random variable X is the element of U(0, a) so that a has been obtained as a sample from a random variable A which follows a uniform distribution A is the element of U(0, l) with known parameter value l.

Estimates of a based on 1) the method of moments, 2) the method of maximum likelihood and 3) the Bayesian-based methods, respectively in R.

Read a data sample of r.v. X from the file sample_x.csv. Estimate a from such sample, knowing that l = 10.
i. Using only the first sample.
ii. Using only the first 5 samples.
iii. Using only the first 10 samples.
iv. Using all the samples.

sample_x.csv contains these numbers, please copy the numbers to excel file to write the estimators in R.

2.70251720663915
4.52533716919839
1.7231448657286
2.75834069244788
2.19003083976203
3.19190171690754
3.87230309952386
3.93239850995383
4.93477988922767
1.64963260015239
5.02497814716251
5.92375606054227
6.54048445225238
5.89274455816184
6.81183471748896
3.20217587502456
4.39968432805757
4.78356387178363
2.09551473182655
4.0451138126402
5.61321793564152
5.56420019695387
6.22983582402031
6.51275224747206
6.75733219590838

Please try at least for some estimators... Thank you :)

Solutions

Expert Solution

Then after using the above given estimators and importing data from Excel file in R

we can find the estimated as follows


Related Solutions

Let X and Y be random variable follow uniform U[0, 1]. Let Z = X to...
Let X and Y be random variable follow uniform U[0, 1]. Let Z = X to the power of Y. What is the distribution of Z?
1. Let X and Y be independent U[0, 1] random variables, so that the point (X,...
1. Let X and Y be independent U[0, 1] random variables, so that the point (X, Y) is uniformly distributed in the unit square. Let T = X + Y. (a) Find P( 2Y < X ). (b). Find the CDF F(t) of T (for all real numbers t). HINT: For any number t, F(t) = P ( X <= t) is just the area of a part of the unit square. (c). Find the density f(t). REMARK: For a...
Let X be a standard normal random variable so that X N(0; 1). For this problem...
Let X be a standard normal random variable so that X N(0; 1). For this problem you may want to refer to the table provided on Canvas. Recall, that (x) denotes the standard normal CDF. (a) Find (1:45). (b) Find x, such that (x) = 0:4. (c) Based on the fact that (1:645) = 0:95 nd an interval in which X will fall with 95% probability. (d) Find another interval (dierent from the one in (c)) into which X will...
For a random variable X with a Cauchy distribution with θ = 0 , so that...
For a random variable X with a Cauchy distribution with θ = 0 , so that f(x) =(1/ π)/( 1 + x^2) for -∞ < x < ∞ (a) Show that the expected value of the random variable X does not exist. (b) Show that the variance of the random variable X does not exist. (c) Show that a Cauchy random variable does not have finite moments of order greater than or equal to one.
Let x = (x1,...,xn) ∼ N(0,In) be a MVN random vector in Rn. (a) Let U...
Let x = (x1,...,xn) ∼ N(0,In) be a MVN random vector in Rn. (a) Let U ∈ Rn×n be an orthogonal matrix (UTU = UUT = In) and nd the distribution of UTx. Let y = (y1,...,yn) ∼ N(0,Σ) be a MVN random vector in Rn. Let Σ = UΛUT be the spectral decomposition of Σ. (b) Someone claims that the diagonal elements of Λ are nonnegative. Is that true? (c) Let z = UTy and nd the distribution of...
1. Let X be random variable with density p(x) = x/2 for 0 < x<...
1. Let X be random variable with density p(x) = x/2 for 0 < x < 2 and 0 otherwise. Let Y = X^2−2. a) Compute the CDF and pdf of Y. b) Compute P(Y >0 | X ≤ 1.8).
Let X be a exponential random variable with pdf f(x) = λe−λx for x > 0,...
Let X be a exponential random variable with pdf f(x) = λe−λx for x > 0, and cumulative distribution function F(x). (a) Show that F(x) = 1−e −λx for x > 0, and show that this function satisfies the requirements of a cdf (state what these are, and show that they are met). [4 marks] (b) Draw f(x) and F(x) in separate graphs. Define, and identify F(x) in the graph of f(x), and vice versa. [Hint: write the mathematical relationships,...
Let X be a uniform random variable with pdf f(x) = λe−λx for x > 0,...
Let X be a uniform random variable with pdf f(x) = λe−λx for x > 0, and cumulative distribution function F(x). (a) Show that F(x) = 1−e −λx for x > 0, and show that this function satisfies the requirements of a cdf (state what these are, and show that they are met). [4 marks] (b) Draw f(x) and F(x) in separate graphs. Define, and identify F(x) in the graph of f(x), and vice versa. [Hint: write the mathematical relationships,...
2. Let X be a uniform random variable over the interval (0, 1). Let Y =...
2. Let X be a uniform random variable over the interval (0, 1). Let Y = X(1-X). a. Derive the pdf for Y . b. Check the pdf you found in (a) is a pdf. c. Use the pdf you found in (a) to find the mean of Y . d. Compute the mean of Y by using the distribution for X. e. Use the pdf of Y to evaluate P(|x-1/2|<1/8). You cannot use the pdf for X. f. Use...
2. Let X be a continuous random variable with PDF ?fx(x)= cx(1 − x), 0 <...
2. Let X be a continuous random variable with PDF ?fx(x)= cx(1 − x), 0 < x < 1, 0 elsewhere. (a) Find the value of c such that fX(x) is indeed a PDF. (b) Find P(−0.5 < X < 0.3). (c) Find the median of X.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT