Learn R Programming

ernm (version 1.0.0)

fullErnmLikelihood: likelihood for a fully observed ernm

Description

likelihood for a fully observed ernm

Usage

fullErnmLikelihood(
  theta,
  sample,
  theta0,
  stats,
  minEss = 5,
  damping = 0.05,
  method = c("cumulant", "sample"),
  order = 3
)

Value

a list with value, gradient, and hessian

Arguments

theta

parameters

sample

mcmc sample

theta0

parameter values which generated sample

stats

observed statistics

minEss

minimum effective sample size

damping

a damping parameter

method

cumulant generating function approximation

order

the ordering