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...