This is a helper function that compute the sum of squares between two theoretical and observed quantiles of an exponential distribution (typically the lower and upper bounds of a confidence interval). This function is for internal use to find the best-fit exponential distribution for a given confidence interval.
ssExpPars(ratePar, qLow, qUpp, alpha = 0.05)
The rate parameter of the theoretical exponential distribution.
The observed lower quantile.
The observed upper quantile.
The confidence level; i.e. the desired coverage is 1-alpha. Defaults to 0.05.
A single number, the sum of squares.