find.theta {SSM} | R Documentation |
Compute the SSM vector of parameters.
Description
This function is called by fit.ssm
to compute the coefficient
vector that interpolates the data and minimises the smoothness of the
resulting model.
Usage
find.theta(response, K, design_model, tol = .Machine$double.eps)
Arguments
response |
An length |
K |
A semi-positive definite |
design_model |
The |
tol |
(optional) The model fitting requires the inversion of a large
matrix and if the model basis is too large there can be numerical issues.
This argument is passed on to |
Value
A vector of parameters of length N
if the model is fit
successfully. NA
is returned should solve
not invert
the required matrix.
[Package SSM version 1.0.1 Index]