Learn R Programming

gkwreg (version 1.0.7)

.fit_tmb: Fit GKw family distributions using TMB

Description

Fit GKw family distributions using TMB

Usage

.fit_tmb(
  data,
  family,
  start,
  fixed,
  method,
  hessian,
  conf.level,
  optimizer.control,
  silent
)

Value

List containing fit results.

Arguments

data

Numeric vector with values in the (0, 1) interval.

family

Character string specifying the distribution family.

start

List with initial parameter values.

fixed

List of parameters to be held fixed.

method

Optimization method: "nlminb" or "optim".

hessian

Logical; if TRUE, computes standard errors and covariance matrix.

conf.level

Confidence level for intervals.

optimizer.control

List of control parameters for the optimizer.

silent

Logical; if TRUE, suppresses messages.