EstimateParameters {hivModelling}R Documentation

EstimateParameters

Description

Estimate parameters

Usage

EstimateParameters(
  runType,
  mainResults = NULL,
  probSurv1996,
  param,
  info,
  data,
  maxNoFit = 30,
  ctol = 1e-06,
  ftol = 1e-05,
  algorithm = "NLOPT_LN_BOBYQA",
  ...
)

Arguments

runType

String indicating type of run, either 'MAIN' or 'BOOSTRAP'

mainResults

Main results

probSurv1996

Test

param

List of parameters. Required.

info

List of parameters. Required.#'

data

Input data as data.table. Required.

maxNoFit

Maximum number of amoeba iterations. Optional. Default = 30.

ctol

Minium required deviance in consecutive lambda estimations. Optional. Default = 1e-6.

ftol

Minium required deviance in amoeba calculations. Optional. Default = 1e-5.

algorithm

Name of optimization algorithm from package nloptr to use for boostrap iterations. Default = 'NLOPT_LN_BOBYQA'

...

Additional arguments passed to amoeba function. Optional.

Value

NULL (invisibly)

Examples

## Not run: 
EstimateParameters(runType, mainResults, probSurv1996, param, info, data, maxNoFit, ctol, ftol)

## End(Not run)


[Package hivModelling version 0.9.10 Index]