Returns the (a,b) parameters of the scaled beta distribution if one
with the specified probabilities can be found. An error message is
returned otherwise.
Arguments
minval
The minimum value with a targetted cummulative probability
pminV
The targetted cummulative probability less than minval
pmaxV
The targetted cummulative probability less than maxval
maxval
The maximum value with a targetted cummulative probability
aInit
An initial guess for the first parameter of the scaled Beta distribution with
the specified probabilities.
bInit
An initial guess for the second parameter of the scaled Beta distribution with
the specified probabilities.
upB
The upper limit of the scaled Beta distribution. It is
specified by the user.
Author
Neal Thomas
Details
The Beta distribution with the targetted probabilities is found from
starting values using the optim function.