View source: R/dependentData_Auxilliary_armaResid.R
| arma_tau_resid_sc | R Documentation | 
arma_tau_resid_sc
arma_tau_resid_sc(x, beta_hat, p, q)
x | 
 : numeric vector. The signal  | 
beta_hat | 
 : numeric vector, the AR and MA coefficients  | 
p | 
 : AR order  | 
q | 
 : MA order  | 
a: numeric vector of residuals
File is in dependentData_Auxiliary_armaResid.R
library(signal) library(zeallot) library(pracma) N <- 500 a <- rnorm(N) p <- 1 q <- 0 x <- signal::filter(1, c(1, -0.8), a) beta_s <- arma_est_bip_s(x, p, q, tolX = 1e-8) beta <- c(beta_s$ar_coeffs, beta_s$ma_coeffs) arma_tau_resid_sc(x, beta, p, q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.