Simulate-tsModel: Simulates from a tsModel-class

Description Usage Arguments Value

Description

Simulate produces a numeric vector of length n with data simulated according to the sim_function defined in the tsModel-class. To use this function the par slot has to be set, either by calling Estimate or directly via setParameter.

Usage

1
2
## S4 method for signature 'tsModel'
Simulate(object, n)

Arguments

object

the simulation will be based on this tsModel-class

n

length of the simulated data, will be rounded down if it is not a whole number

Value

Returns a numeric vector of length n, that contains data, simulated according to the slot sim_function and par in the tsModel-class object.


QPBoot documentation built on May 2, 2019, 4:34 a.m.