Learn R Programming

astro (version 1.2)

aqbeta: Astro:Beta Distribution (quantile)

Description

An astro wrapper around the 'qbeta' function. Useful for calculating robust upper and lower error boundaries for a given data set.

Usage

aqbeta(k, n, s = c(-1,1), p = NA, corr = TRUE, ...)

Arguments

k
number of successes
n
total number of trials
s
sigma values required
p
probability values required (see details)
corr
apply a one-sided correction for extreme values ( k=0 / k=n )
...
arguments to be passed to 'qbeta'

Details

When 'p' is equal to (default), sigma confidence intervals are calculated according to the value of 's'. If a value of 'p' is given, probabilities of 'p' are calculated instead.

References

Cameron, E., 2011, Publications of the Astronomical Society of Australia (PASA), 28, 128

See Also

The astronomy package: astro.