Learn R Programming

GNGTools (version 1.0.0)

Reparameterized.beta: Reparameterized Beta distribution functions

Description

Reparameterized Beta distribution functions

Usage

dbeta.rp(x, mean = 0.5, effective.ss = 1, ncp = 0, log = FALSE)

pbeta.rp( q, mean = 0.5, effective.ss = 1, ncp = 0, lower.tail = TRUE, log.p = FALSE )

qbeta.rp( p, mean = 0.5, effective.ss = 1, ncp = 0, lower.tail = TRUE, log.p = FALSE )

Value

Returns density values, cumulative probabilities, quantiles and random samples from a Beta distribution.

Arguments

x

likelihood function evaluates at point x

mean

mean

effective.ss

effective sample size

ncp

non-centrality parameter

log

as in stats::*beta

q

quantile

lower.tail

logical; if TRUE (default), probabilities are P(X < x), otherwise, P(X>x).

log.p

logical; if TRUE, probabilities p are given as log(p)

p

cumulative probability

Examples

Run this code
dbeta.rp(.5, .5, 1)
pbeta.rp(.5, .5, 1)
qbeta.rp(.975, .5, 1)

Run the code above in your browser using DataLab