updatesad {sads}R Documentation

Updating of MLE fits by profiling

Description

These functions update a fitsad/fitrad object by running the optimizer again starting on better fit returned by profile.

These functions were not extensively tested, and should be considered in beta testing phase.

Usage

updatesad(object, ...) 
updaterad(object, ...) 

Arguments

object

object of the class fitsad-class or fitrad-class for which the optimization did not converge, or converged to a local minimum.

...

list of additional parameters to be passed to the fitsad or fitrad fitting procedure. May include a different optimizer, method, or upper/lower bounds for the parameters. Refer to the fitsad and fitrad man pages for details of which parameters may be specified.

Details

The updatesad function runs a new profile of the fitted object, and if the profile is able to find a better fit, it runs a new optimization starting on this better fit. If the profiling does not find a new fit, the function exits with error. The actual processing is done by updatesad. updaterad is simply a convenience alias.

Value

An object of fitsad-class or fitrad-class.

Author(s)

Paulo I Prado prado@ib.usp.br and Andre Chalom

See Also

fitsad-class, fitrad-class

Examples

## TODO

[Package sads version 0.4.2 Index]