R/ls_whittle_loglik_theta.R
LS.whittle.loglik.theta.RdCalculate the log-likelihood with \(\sigma\) known, through
LS.whittle.loglik function.
LS.whittle.loglik.theta(
x,
series,
order = c(p = 0, q = 0),
ar.order = NULL,
ma.order = NULL,
sd.order = NULL,
d.order = NULL,
include.d = FALSE,
N = NULL,
S = NULL,
include.taper = TRUE,
sd.par = 1
)(type: numeric) parameter vector.
(type: numeric) univariate time series.
(type: numeric) vector corresponding to ARMA model
entered.
(type: numeric) AR polimonial order.
(type: numeric) MA polimonial order.
(type: numeric) polinomial order noise scale factor.
(type: numeric) d polinomial order, where d is
the ARFIMA parameter.
(type: numeric) logical argument for ARFIMA models.
If include.d=FALSE then the model is an ARMA process.
(type: numeric) value corresponding to the length of the window to
compute periodogram. If N=NULL then the function will use
\(N = \textrm{trunc}(n^{0.8})\), see Dahlhaus (1998) where \(n\) is the
length of the y vector.
(type: numeric) value corresponding to the lag with which will go taking the blocks or windows.
(type: logical) logical argument that by default is
TRUE. See periodogram.
(type: numeric) value corresponding to known variance.
This function computes LS.whittle.loglik with x as
x = c(x, sd.par).