deriv_ma1 | R Documentation |
Obtain the first derivative of the MA(1) process.
deriv_ma1(theta, sigma2, tau)
theta |
A |
sigma2 |
A |
tau |
A |
A matrix
with the first column containing the partial derivative with respect to theta
and the second column contains the partial derivative with respect to sigma^2
Taking the derivative with respect to theta yields:
d/dtheta v[j]^2 (theta, sigma2) = (sigma2*(2*(theta+1)*tau[j]-6))/(tau[j]^2)
Taking the derivative with respect to sigma^2 yields:
d/dsigma2 v[j]^2 (theta, sigma2) = ((theta+1)^2*tau[j]-6*theta)/(tau[j]^2)
James Joseph Balamuta (JJB)
deriv_ma1(.3, 1, 2^(1:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.