GibbsMPLE: Maximum Pseudo-Likelihood potentials estimate.

Description Usage Arguments Value Author(s) Examples

View source: R/GibbsMPLE.R

Description

Potentials estimate via Maximum Pseudo-Lilelihood.

Usage

1
GibbsMPLE(X, gModel, type = "symetric", ...)

Arguments

X

a matrix, realization of a GibbsModel.

gModel

A GibbsModel object, vMat and cMat value should be NULL. If the object has non-NULL vMat or V values, they'll be ignored.

type

Wich type of Energy function to be considered. "general" indicates all potentials are free. "symetric" indicates differences of the same absolute value have the same potential value. "equal" indicates all non-zero differences potentials have the same value.

...

arguments to be passed to the optim() function during maximization.

Value

A GibbsModel object with the estimated vMat and V potentials values.

Author(s)

Victor Freguglia Souza

Examples

1
2
GibbsMPLE(example.X,example.GibbsModel) %>% Potentials
#Check if close to real values example.GibbsModel %>% Potentials

VicFreguglia/GibbsRF documentation built on Oct. 25, 2019, 11:19 p.m.