modelNO {ConNEcT}R Documentation

Generate data with model-based approach ignoring auto-dependence

Description

This function generates a new time serie that is similar to the original one in relative frequency, but not in auto-dependence by drawing from a Bernoulli distribution with the relative frequency as parameter.

Usage

modelNO(vec)

Arguments

vec

Time series vector

Value

Time series vector that is similar to the original one considering relative frequency

Examples

ts=rep(c(1,1,1,1,1,0,0,0,0,0),15)
modelNO(ts)


[Package ConNEcT version 0.7.27 Index]