Learn R Programming

simex (version 1.2)

fit.logl: Fits a log-linear

Description

Fits a log-linear model to the data via nls()

Usage

fit.logl(lambda, p.names, estimates)

Arguments

lambda
the vector of lambdas used in the function mcsimex
p.names
parameter names of the naive model
estimates
results of the simulation step done by function mcsimex

Value

  • extrapolationlist of individual models for the single coefficients

Details

Uses the function nls for direct fitting of the model y~exp(gamma.0 + gamma.1 * lambda). As starting values the results of a LS-fit to a linear model with a log transformed response are used. If nls does not converge, the model with the staring values is returned

See Also

mcsimex