View source: R/PseudoLikelihood.R
IsingPL | R Documentation |
Computes the pseudolikelihood of a dataset given an Ising Model.
IsingPL(x, graph, thresholds, beta, responses = c(0L, 1L))
x |
A binary dataset |
graph |
Square matrix indicating the weights of the network. Must be symmetrical with 0 as diagonal. |
thresholds |
Vector indicating the thresholds, also known as the external field. |
beta |
Scalar indicating the inverse temperature. |
responses |
Response options. Typically set to |
The pseudolikelihood
Sacha Epskamp (mail@sachaepskamp.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.