Learn R Programming

gkwreg (version 1.0.7)

.calculate_profiles: Calculate profile likelihoods

Description

Calculate profile likelihoods

Usage

.calculate_profiles(result, data, family, fixed, fit, method, npoints, silent)

Value

List of profile likelihoods.

Arguments

result

Fit result from TMB or Newton-Raphson.

data

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

family

Character string specifying the distribution family.

fixed

List of parameters to be held fixed.

fit

Estimation method: "tmb" or "nr".

method

Optimization method (for TMB): "nlminb" or "optim".

npoints

Number of points in profile.

silent

Logical; if TRUE, suppresses messages.