ernmFit: fit an ernm model

View source: R/ernm-fit.R

ernmFitR Documentation

fit an ernm model

Description

fit an ernm model

Usage

ernmFit(
  sampler,
  theta0,
  mcmcBurnIn = 10000,
  mcmcInterval = 100,
  mcmcSampleSize = 10000,
  minIter = 3,
  maxIter = 40,
  objectiveTolerance = 0.5,
  gradTolerance = 0.25,
  meanStats,
  verbose = 1,
  method = c("bounded", "newton")
)

Arguments

sampler

the ErnmModel

theta0

initial starting values

mcmcBurnIn

burn in

mcmcInterval

interval

mcmcSampleSize

sample size

minIter

minimum number of iterations

maxIter

maximum number of iterations

objectiveTolerance

convergance criteria on change in log likelihood ratio

gradTolerance

convergance criteria on scaled gradient

meanStats

if non-missing, these are the target statistics

verbose

level of verbosity 0, 1, or 2

method

the optimization method to use

Value

ernm object


ernm documentation built on April 11, 2025, 5:43 p.m.