lognlm.fit: The fitter function for log Normal Linear Models

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/lognlm.fit.R

Description

lognlm.fit is called by lognlm to fit log Normal linear regression models. Two optimizing functions can be used, nlminb and optim. This function is not meant to be called by the user directly.

Usage

1
2
lognlm.fit(X, y, par, lik = TRUE, opt = c("nlminb", "optim"), 
    offset=NULL, weights=NULL,...)

Arguments

X

design matrix for standard linear terms.

y

vector of observations of length n.

par

starting values of parameters to be estimated.

lik

logical. See lik in lognlm

opt

the optimizing algorithm. Default to nlminb.

offset

a possible offset term.

weights

apossible weights to be used if lik=FALSE.

...

other arguments to be passed to the optimizer specified in opt.

Details

See lognlm for more details on the arguments and returned objects.

Value

A list of fit information

Note

This function should usually not be used directly by the user.

Author(s)

Vito M.R. Muggeo

See Also

nlminb, optim, lognlm

Examples

1
## See ?lognlm

logNormReg documentation built on Nov. 8, 2021, 5:07 p.m.