update.gmwm | R Documentation |
Provides a way to estimate different models over the previously estimated wavelet variance values and covariance matrix.
## S3 method for class 'gmwm' update(object, model, ...)
object |
A |
model |
A |
... |
Additional parameters (not used) |
The motive behind this function is to allow for reuse of the gmwm
object's computation of the wavelet variance and covariance matrix. The
function permits this by allowing for the underlying time series model to
be changed at will. As a result, the function is particular useful for
working with large time series objects. Alternatively, one can also use this
function to supply a custom diagonal weighting matrix by modifying the
gmwm
object.
A gmwm
object with the structure:
Estimated Parameters Values from the GMWM Procedure
Initial Starting Values given to the Optimization Algorithm
The data's empirical wavelet variance
Lower Confidence Interval
Upper Confidence Interval
Original V matrix
Updated V matrix (if bootstrapped)
The V matrix inversed
Value of the objective function at Estimated Parameter Values
Summed Theoretical Wavelet Variance
Decomposed Theoretical Wavelet Variance by Process
Scales of the GMWM Object
Indicates if parameter estimation was done under robust or classical
Level of efficiency of robust estimation
Models being guessed
Type of V matrix computation
Indicates moments have been augmented
Alpha level used to generate confidence intervals
Mean of the First Difference of the Signal
Length of the Signal
Number of Guesses Performed
Number of Bootstrap replications
Number of V matrix bootstraps
ts.model
supplied to gmwm
A new value of ts.model
object supplied to gmwm
Indicates whether the procedure used the initial guessing approach
Randomization seed used to generate the guessing values
Frequency of data
# AR set.seed(1336) n = 200 exact.model = AR1(phi=.99, sigma2 = 0.01) + WN(sigma2=1) data = gen_gts(n, exact.model) # Create an initial model that is not accurate bad.model = gmwm(AR1(), data = data) # Models can contain specific parameters e.g. updated.model = update(bad.model, exact.model) # Or... updated.model.guided = update(bad.model, AR1()+AR1())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.