Estimates the average forecast error for a local constant (zeroth order) fit as a function of the neighborhood size. The name "lzo_gm" means ’local zeroth order -> global mean’.
Input
This function always assumes that each time series is along the longer dimension of matrix S. It also assumes that every dimension (counting along the shorter dimension) of S is considered a component of the time series.
Parameters
The embedding dimension used. It is synonymous to the second part of flag ’-m’ from TISEAN. The first part of the TISEAN flag is omitted as all of the available components of S are analyzed [default = 1].
Delay used for the embedding [default = 1].
For how many points should the error be calculated [default = length (S)].
The neighborhood size to start with [default = 1e-3].
The neighborhood size to end with [default = 1].
Factor to increase neighborhood size if not enough neighbors were found [default = 1.2].
Steps to be forecast x(n+s) = f(x(n))
[default = 1].
Width of causality window [default = value of parameter s]
Output
The output is alligned with the input. If the components of the input(S) were column vectors then the number of columns of the output is 4 + number of components of S. In this case the output will have the following values in each row:
See also: lzo_test, lzo_run.
Algorithms
The algorithms for this functions have been taken from the TISEAN package.
Package: tisean