data.gen.Logistic {synthesis}R Documentation

Logistic map

Description

Generates a time series using the logistic map.

Usage

data.gen.Logistic(
  nobs = 5000,
  r = 4,
  start = runif(n = 1, min = 0, max = 1),
  s,
  do.plot = TRUE
)

Arguments

nobs

Length of the generated time series. Default: 5000 samples.

r

The r parameter. Default: 4

start

A numeric value indicating the starting value for the time series. If the starting point is not specified, it is generated randomly.

s

The level of noise, default 0.

do.plot

Logical value. If TRUE (default value), a plot of the generated Logistic system is shown.

Details

The logistic map is defined as follows:

x_n = r \cdot x_{n-1} \cdot (1 - x_{n-1})

Value

A vector of time series.

References

Constantino A. Garcia (2019). nonlinearTseries: Nonlinear Time Series Analysis. R package version 0.2.7. https://CRAN.R-project.org/package=nonlinearTseries

Examples

Logistic.map=data.gen.Logistic(nobs = 1000, do.plot=TRUE)

[Package synthesis version 1.2.5 Index]