ssGammaPars {bootComb} | R Documentation |
This is a helper function that compute the sum of squares between two theoretical and observed quantiles of a gamma distribution (typically the lower and upper bounds of a confidence interval). This function is for internal use to find the best-fit gamma distribution for a given confidence interval.
ssGammaPars(shapeRatePars, qLow, qUpp, alpha = 0.05)
shapeRatePars |
The shape and rate parameters of the theoretical gamma 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.
identifyGammaPars
, optim
, qgamma