aqbeta: Astro:Beta Distribution (quantile)

Description Usage Arguments Details Author(s) References See Also

Description

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

Usage

1
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 <NA> (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.

Author(s)

Ewan Cameron <dr.ewan.cameron@gmail.com>

Aaron Robotham <aaron.robotham@icrar.org>

Lee Kelvin <lee.kelvin@uibk.ac.at>

References

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

See Also

The astronomy package: astro.


taranu/astro documentation built on May 23, 2019, 7:36 a.m.