Next: cumbin() Up: MacAnova Help File Previous: ctoh()   Contents

cumbeta()

Usage:
cumbeta (x,alpha,beta[,lam] [,upper:T or lower:F]), x, alpha, beta, and
  lam REAL, elements of alpha, beta > 0, lam >= 0



Keywords: probabilities
cumbeta(Val,a,b) computes the probabilities that a beta random variable
with parameters a and b would be <= the elements of the vector,
matrix, or array Val.

cumbeta(Val,a,b,lam) computes similar probabilities for non-central beta
with noncentrality parameter lam.

Any of Val, a, b, or lam that are not scalars (single numbers) must be
vectors, matrices, or arrays with the same size and shape which will
also be the size and shape of the result.

cumbeta(Val,a,b [,lam] ,upper:T) and cumbeta(Val,a,b [,lam] ,lower:F) do
the same, except P(beta >= Val) is computed.

The elements of a, b and lam must be positive REAL numbers.

Example:
  Cmd> cumbeta(.173,1.5,2.5,upper:T) # upper tail prob,a = 1.5,b = 2.5
  (1)      0.79252

  Cmd> 1 - cumbeta(.173,1.5,2.5) # same
  (1)      0.79252

See also cumF(), invF(), invbeta().


Gary Oehlert 2003-01-15