-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathfeat_pacf.Rd
32 lines (29 loc) · 1.06 KB
/
feat_pacf.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/features.R
\name{feat_pacf}
\alias{feat_pacf}
\title{Partial autocorrelation-based features}
\usage{
feat_pacf(x, .period = 1, lag_max = NULL, ...)
}
\arguments{
\item{x}{a univariate time series}
\item{.period}{The seasonal period (optional)}
\item{lag_max}{maximum lag at which to calculate the acf. The default is
\code{max(.period, 10L)} for \code{feat_acf}, and \code{max(.period, 5L)} for \code{feat_pacf}}
\item{...}{Further arguments passed to \code{\link[stats:acf]{stats::acf()}} or \code{\link[stats:acf]{stats::pacf()}}}
}
\value{
A vector of 3 values: Sum of squared of first 5
partial autocorrelation coefficients of the original series, first differenced
series and twice-differenced series.
For seasonal data, the partial autocorrelation coefficient at the first seasonal
lag is also returned.
}
\description{
Computes various measures based on partial autocorrelation coefficients of the
original series, first-differenced series and second-differenced series.
}
\author{
Thiyanga Talagala
}