GibbsMCMLE: Monte-Carlo Maximum Likelihood Estimate of Potentials

Description Usage Arguments Value Author(s) Examples

View source: R/GibbsMCMLE.R

Description

Provides MC Maximum Likelihood Estimation of Potentials for a given image.

Usage

1
2
GibbsMCMLE(X, gModelX, type = "symetric", gModelRef = "MPLE",
  nsamples = 1000, showProgress = TRUE, macrosteps = 70, ...)

Arguments

X

the random field (matrix object).

gModelX

a GibbsModel for X (V and vMat can be NULL).

type

Type of function for Potentials. See GibbsMPLE() for reference.

gModelRef

the reference model to simulate from for Monte-Carlo Likelihood function approximation. Either a GibbsModel object or a character with "MPLE" for MPL estimated model.

nsamples

an integer indicating the number of Monte-Carlo samples.

showProgress

indicates whether the current step being done should be printed or not.

...

additional parameters to be used in the optimization function (optim()).

Value

a GibbsModel object with the estimated potentials.

Author(s)

Victor Freguglia Souza

Examples

1
GibbsMCMLE(example.X,example.GibbsModel,"symetric","MPLE")

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