Description Usage Arguments Value See Also
View source: R/internalFunctions.R
This is a helper function that compute the sum of squares between two theoretical and observed quantiles of a beta distribution (typically the lower and upper bounds of a confidence interval). This function is for internal use to find the best-fit beta distribution for a given confidence interval.
1 | ssBetaPars(abPars, qLow, qUpp, alpha = 0.05)
|
abPars |
The shape1 and shape2 parameters of the theoretical beta distribution. |
qLow |
The observed lower quantile. |
qUpp |
The observed upper quantile. |
alpha |
The confidence level; i.e. the desired coverage is 1-alpha. Defaults to 0.05. |
A single number, the sum of squares.
identifyBetaPars
, optim
, qbeta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.