search for: quantile1

Displaying 1 result from an estimated 1 matches for "quantile1".

Did you mean: quantile
2011 Nov 29
0
[SOLVED]looking for beta parameters
...y, 10% of the mass lies above .8, that is > between .8 and 1. > In addition, I know that the average of this "truncated tail" is a > given number, lets say .86. > I have found the beta.select function in the LearnBayes package, which > is as follows: > > function (quantile1, quantile2) > { > betaprior1 = function(K, x, p) { > m.lo = 0 > m.hi = 1 > flag = 0 > while (flag == 0) { > m0 = (m.lo + m.hi)/2 > p0 = pbeta(x, K * m0, K * (1 - m0)) > if (p0 < p) >...