Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

IsingStateProb

Likelihood of single state from tractible Ising model.


Description

This function returns the likelihood of a single possible state. Is only tractible up to rougly 10 nodes.

Usage

IsingStateProb(s, graph, thresholds, beta, responses = c(0L, 1L))

Arguments

s

Vector contaning the state to evaluate.

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!

Author(s)

Sacha Epskamp (mail@sachaepskamp.com)


IsingSampler

Sampling Methods and Distribution Functions for the Ising Model

v0.2.1
GPL-2
Authors
Sacha Epskamp
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.