checkTS {CoSMoS}R Documentation

Check generated timeseries

Description

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

Usage

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)


[Package CoSMoS version 2.1.0 Index]