ofv: Objective functions

Description Usage Arguments Details

Description

These functions take in observed and predicted data as well as other data items and return a single objective function value quantifying how similar the predicted data are to the observed data.

Usage

1
2
3
4
5
6
7
els(dv, pred, sigma, logdv = FALSE, ...)

ml(dv, pred, sigma, logdv = FALSE, ...)

ols(dv, pred, ...)

wls(dv, pred, ...)

Arguments

dv

observed data vector

pred

model-predicted data vector

sigma

residual error variance; may be length 1 or length of the dv and pred vectors

logdv

if TRUE, then observations and predictions will be log-transformed prior to calculating the objective function value

...

not used

Details

els: extended least squares; ml: maximum likelihood (normal); ols: ordinary least squares; wls: weighted least squares


kylebtwin/optimhelp documentation built on Sept. 12, 2021, 8:10 p.m.