iterator: Minimization of a fitting function.

Description Usage Arguments Details Value See Also

Description

Function passed to an optimizer to minimize a fitting function.

Usage

1
iterator(pars, model, sigma, matrep, fun = "fml")

Arguments

pars

Estimates of the free parameters.

model

A lavaanified model.

sigma

Population covariance matrix.

matrep

Model skeleton, as given by matrix.representation.

fun

Fitting function to be minimized.

Details

This function is used inside fit.nlminb and passed as an argument to nlminb.

Value

Value of the statistics to be minimized given a set of parameter estimates.

See Also

fit.nlminb, nlminb, fml, and fgls.


stremo documentation built on Jan. 15, 2017, 7:33 p.m.