Learn R Programming

DREGAR (version 0.1.0.0)

generateAR: Generating stationary autoregressive coefficients

Description

Generating stationary autoregressive coefficients

Usage

generateAR(n = 1, l = -1, u = 1 , min.distance = .Machine$double.eps , sort.coeff = FALSE)

Arguments

n
The number of coefficients
l
Lower bound for coefficients
u
Upper bound for coefficients
min.distance
Minimum distance amongst all pair of coefficients
sort.coeff
Logical flag. If TRUE, then resulting coefficients are sorted descending

See Also

dregar , sim.dregar

Examples

Run this code
  generateAR(3 , -1 , 1 , .01 )

Run the code above in your browser using DataLab