Handling Bayesian networks

121

0

(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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.