Learn R Programming

stremo (version 0.2)

ML: Maximum-likelihood fitting function.

Description

ML fitting function to pass to an optimiser.

Usage

fml(sigma, sigma.hat)

Arguments

sigma
Population covariance matrix.
sigma.hat
Model-implied covariance matrix.

See Also

fgls

Examples

Run this code

## Not run: 
# data(albert)
# cat(albert.model)
# fit <- fit.nlminb(albert.model, albert.litho.cov, 107)
# fml(albert.litho.cov, fit$sigma.hat)
# ## End(Not run)

Run the code above in your browser using DataLab