IsingLikelihood: Likelihood of all states from tractible Ising model.

Description Usage Arguments Author(s)

View source: R/Distribution.R

Description

This function returns the likelihood of all possible states. Is only tractible up to rougly 10 nodes.

Usage

1
2
IsingLikelihood(graph, thresholds, beta, responses = c(0L, 1L),
                 potential = FALSE)

Arguments

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 c(-1L, 1L) or c(0L, 1L) (default). Must be integers!

potential

Logical, return the potential instead of the probability of each state?

Author(s)

Sacha Epskamp


IsingSampler documentation built on Jan. 25, 2020, 5:06 p.m.