Module arima::util

source ·

Functions

  • Center vector, i.e. remove the mean from each element. Returns a tuple containing the centered vector and the mean.
  • Calculate the cumulative sum of a vector.
  • Returns a n-1 vector containing the pairwise difference x_t - x_t-1.
  • Returns a n-1 vector containing the pairwise difference of log(x_t) - log(x_t-1).
  • Calculate the inverse difference of a vector.
  • Returns a n-tau vector containing the time series lagged by tau.
  • Calculate the mean of a vector.