Description Usage Arguments Details Value Examples
(ba) from beta distributions operates an approximate equal spaced discretization for two variables
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])))
|
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. |
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.
a probability matrix of dimension n
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.