categ3beta2: compute a bivariate categ distribution

Description Usage Arguments Details Value Examples

Description

(ba) from beta distributions operates an approximate equal spaced discretization for two variables

Usage

1
2
categ3beta2(co=c(1, 1), re=c(1, 1), n=c(3, 4), xnames=list(V.1=form3names(n[1]),
	  V.2=form3names(n[2])))

Arguments

co

) parameters for the common Beta distribution.

re

) parameters for the Beta distribution associated to the relationship between the two variables.

n

) Number of classes to use for the first and second variable.

xnames

the dimnames of to apply onto the resulting probability matrix.

Details

The central idea is the product of two betas onto the domain of the two variables. The first along the first diagonal (common distribution), the second along the second diagonal (relationship distribution) restricted to the corresponding interval. See the code for more details.

Value

a probability matrix of dimension n

Examples

1


Search within the rebastaba package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.