get.unif.par returns the parameters of a uniform distribution
pth percentiles match with the quantiles
numeric, single value or vector of probabilities.
numeric, single value or vector of quantiles corresponding to p.
numerical vector of the length 2 containing values (from the open interval (0, 1))
for scaling quantile-axis (relevant only if
further arguments passed to the functions
The number of probabilities and the number of quantiles must be identical
and should be at least two. Using the default
p, the three corresponding
quantiles are the 2.5th percentile, the median and the 97.5th percentile,
Parameters of the uniform distribution are estimated exactly.
The items of the probability vector
p should lie between 0 and 1.
Returns fitted parameters of a uniform distribution.
It should be noted that there might be deviations between the estimated
and the theoretical distribution parameters in certain circumstances. This is
because the estimation of the parameters is based on a numerical optimization
method and depends strongly on the initial values. In addition, one must always
keep in mind that a distribution for different combinations of parameters may
look very similar. Therefore, the optimization method cannot always find the
"right" distribution, but a "similar" one.
If the function terminates with the error massage "convergence error occurred or specified tolerance not achieved", one may try to set the convergence tolerance to a higher value. It is yet to be noted, that good till very good fits of parameters could only be obtained for tolerance values that are smaller than 0.001.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.