simTt: Simulate T_t

View source: R/simTt.R

simTtR Documentation

Simulate T_t

Description

Subroutine of simXt(). Function to simulate T_t: the trend component of X_t.

Usage

simTt(N = 1000, numFreq = 20, bandwidth = NULL, b = NULL, w = NULL)

Arguments

N

integer; The length of the output series

numFreq

integer; The number of sinusoids to generate

bandwidth

integer; Value is plugged into a negative exponent (base 10) and defines some interval in which to sample frequencies. If specified, 'bandwidth' must be at least -log10(1/numFreq). If unspecified, freq = runif(numFreq,0,1)

b

numeric; If specified, a vector of custom coefficients on each sinusoid

w

numeric; If specified, a vector of custom periods for each sinusoid


castels/interpTools documentation built on June 7, 2024, 4:20 p.m.