Description Usage Arguments Details Value Author(s) See Also
These functions are used internally by package robKalman for the ACM filter — ψ-functions
1 2 3 4 5 6 7 8 |
x |
univarite time series (vector) |
p |
order of AR(p) process |
s |
vector of |
Phi |
(p-1)x(p-1) matrix of AR(p-1) model parameters |
Z |
AR(p) model matrix |
invCp |
matrix from function |
type |
type of GM-estimates — character: currently: "Mallows" or "Schweppe" |
psi1, psi2 |
type of ψ function; current possibilities: "Huber", "Tukey", "Hampel", "Ident" |
c, k |
tuning constants |
y |
response vector of AR(p) model |
tol |
tolerance level |
r |
residuals |
s |
innovations scale parameter |
u, v |
weights |
... |
additional arguments (tuning constants) for influence functions |
phi.ini |
initial AR(p) model parameters |
s.ini |
initial innovations scale parameter |
niter |
maximal number of iterations |
to be filled
.ARmodel(x, p) returns design matrix Z and response vector y of an AR(p) model (as list with corresponding elements).
.invCp(p, s, Phi) computes the inverse p x p covariance matrix.
.Weights computes weights for Mallows- or Schweppe-type GM-estimates; returns a list with elements u, v.
.startval computes appropriate starting values; returns a list with elements phi, s.
.BH computes appropriate constant to obtain a consistent estimate for σ when using Huber's ψ function.
.BB computes appropriate constant to obtain a consistent estimate for σ when using Tukey's ψ function.
.weights computes appropriate weights for reweighting — returns a vector.
.IWLS iteratively reweighted least squares algorithm; returns a list with elements
phi, s, w, B, niter.
Bernhard Spangl bernhard.spangl@boku.ac.at,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.