checkTS function

Check generated timeseries

Check generated timeseries

Compares generated time series sample statistics with the theoretically expected values.

checkTS(TS, distbounds = c(-Inf, Inf))

Arguments

  • TS: generated timeseries
  • distbounds: distribution bounds (default set to c(-Inf, Inf))

Examples

library(CoSMoS) ## check your generated timeseries x <- generateTS(margdist = 'burrXII', margarg = list(scale = 1, shape1 = .75, shape2 = .25), acsvalue = acs(id = 'weibull', t = 0:30, scale = 10, shape = .75), n = 1000, p = 30, p0 = .5, TSn = 5) checkTS(x)

Other functions in CoSMoS

Related functions from the same R package