Description Usage Arguments Details Value Author(s) References See Also Examples
Estimates the parameters of a partially autoregressive fit using lagged variances
1 | estimate.par(X, useR = FALSE, rho.max = 1)
|
X |
A numeric vector or |
useR |
If |
rho.max |
An artificial upper bound to be imposed on the value of |
The method of lagged variances provides an analytical formula for the parameter estimates in terms of the variances of the lags X[t+1] - X[t], X[t+2] - X[t] and X[t+3] - X[t]. Let
V[k] = var(X[t+k] - X[t]).
Then, the estimated parameter values are given by the following formulas:
rho = -(V[1] - 2 V[2] + V[3]) / (2 V[1] - V[2])
sigma_M^2 = (1/2) ((rho + 1)/(rho - 1)) (V[2] - 2 V[1])
sigma_R^2 = (1/2) (V[2] - 2 sigma_M^2)
Returns a numeric vector containing three named components
|
The estimated value of |
|
The estimated value of |
|
The estimated value of |
Matthew Clegg matthewcleggphd@gmail.com
Clegg, Matthew. Modeling Time Series with Both Permanent and Transient Components using the Partially Autoregressive Model. Available at SSRN: http://ssrn.com/abstract=2556957
1 2 3 4 | set.seed(1)
x <- rpar(1000, 0.5, 1, 2) # Generate a random PAR sequence
estimate.par(x)
fit.par(x) # For comparison
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.