deriv_arma11 {simts} | R Documentation |
Analytic D matrix for ARMA(1,1) process
Description
Obtain the first derivative of the ARMA(1,1) process.
Usage
deriv_arma11(phi, theta, sigma2, tau)
Arguments
phi |
A double corresponding to the phi coefficient of an ARMA(1,1) process.
|
theta |
A double corresponding to the theta coefficient of an ARMA(1,1) process.
|
sigma2 |
A double corresponding to the error term of an ARMA(1,1) process.
|
tau |
A vec containing the scales e.g. 2τ
|
Value
A matrix
with:
The first column containing the partial derivative with respect to ϕ
;
The second column containing the partial derivative with respect to θ
;
The third column contains the partial derivative with respect to σ2
.
Process Haar WV First Derivative
Taking the derivative with respect to ϕ
yields:
∂ϕ∂νj2(ϕ,θ,σ2)=(ϕ−1)4(ϕ+1)2τj22σ2⎝⎛τj(−(θ+1)2(ϕ−1)(ϕ+1)2−2(ϕ2−1)(θ+ϕ)(θϕ+1)ϕ2τj−1+(ϕ2−1)(θϕ+1)(θ+ϕ)ϕτj−1)−(θ2((3ϕ+2)ϕ+1)+2θ((ϕ2+ϕ+3)ϕ+1)+(3ϕ+2)ϕ+1)(ϕτj−4ϕ2τj+3)⎠⎞
Taking the derivative with respect to θ
yields:
∂θ∂νj2(ϕ,θ,σ2)=(ϕ−1)3(ϕ+1)τj22σ2((θ+1)(ϕ2−1)τj+(2θϕ+ϕ2+1)(ϕτj−4ϕ2τj+3))
Taking the derivative with respect to σ2
yields:
∂σ2∂νj2(ϕ,θ,σ2)=(ϕ−1)3(ϕ+1)τj22σ2((ϕ2−1)τj+2ϕ(ϕτj−4ϕ2τj+3))
Author(s)
James Joseph Balamuta (JJB)
[Package
simts version 0.2.2
Index]