sraStartingvalues: Provides reasonable starting values for sra model fit...

sraStartingvaluesR Documentation

Provides reasonable starting values for sra model fit (internal function)

Description

These functions aim at providing educated starting values for the parameters to estimate through sra models.

Usage

sraStartingvalues(parameter, sradata, rand=0)

Arguments

parameter

A character string corresponding to the name of a parameter to consider, e.g. "mu0" or "logepsilon". Depending on the parameter, starting values can be estimated from the dataset, or a reasonable arbitrary value may be returned.

sradata

A data object generated by sraData.

rand

Amount of randomness to add to the parameter value. Setting a value different from 0 leads to a different answer for each function call, which can be useful when trying different vectors of staring values to solve problematic convergence cases. In general, values > 0.2 provide starting values that are too extreme to be useful.

Note

The end user has no particular reason to call these functions directly.

See Also

sraAutoreg, sraCstvar, and other mechanistic models.


sra documentation built on March 31, 2023, 9:31 p.m.