amba {amba}R Documentation

additive models for business applications

Description

Create and fit amba models, and supporting functions. This is a complex issue, there is, or will be, extensive documentation on this topic.

Usage

amba (y, ts, fit=TRUE, ...)
## S3 method for class 'amba':
fit(m, nfits=8, ...)
## S3 method for class 'amba':
print(m, ...)
## S3 method for class 'amba':
summary(m, which=NA, ...)
## S3 method for class 'summary.amba':
print(s, ...)
## S3 method for class 'amba':
fitted(m, ...)
## S3 method for class 'amba':
residuals(m, partial=NULL, ...)
ncon (m)
ndiv (m)
ambacon (m)
ambadiv (m)

Arguments

y Univariate realisations of a response variable.
ts Either a term object or a termlist object.
fit Whether or not to fit the amba model.
nfits
m An amba model
which If NA, produce overall summary output plus summary output for all terms. If a value is specified, then only that term is given.
s A summary.amba object.
partial If specified, the residuals are incremented by their corresponding fitted values.
...

[Package amba version 0.2.0 Index]