Description Usage Arguments Value Author(s) Examples
A simple baseline for counts of event data is a multinomial with a symmetric Dirichlet prior. This method returns estimated probabilities for all observed events. (All unobserved events should be assigned a probability equal to the prior of the Dirichlet.)
1 |
dataset |
A Tx2 or Tx3 matrix of integers, each row corresponding to an event, each integer identifying the participating vertices. |
dims |
Maximum value for each categorical random variable (e.g. for dyadic data, this might be the number of nodes in the graph). in graph). |
prior |
The hyperparameter for a symmetric Dirichlet prior. |
a data.frame with the unique events from the provided dataset and two additional columns:
count |
the number of times that event occurred |
prob |
the posterior probability of each of these events given the observed data |
Christopher DuBois (<email: duboisc@ics.uci.edu>)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.