geovolObj {geovol} | R Documentation |
Auxiliary function
Description
Auxiliary function used in the estimation of the GEOVOL model. Not intended for the average user.
Usage
geovolObj(par, par.fixed, y, x, flag)
Arguments
par |
scalar with the value of the parameter being estimated. If |
par.fixed |
numeric vector with the values of the parameters being fixed during estimation. If |
y |
numeric vector, time series or |
x |
logical. If |
flag |
integer. If 0, returns a numeric vector with the values of the objective function; if 1 returns the the value of the objective function; if 2, it returns the GEOVOL scaled by the loading of series i, if |
Value
The values of the objective function or GEOVOL.
Author(s)
Susana Campos-Martins
See Also
geovol
, fitted.geovol
, residuals.geovol