rmixnorm.ts: AR-type random variables from mixture of normals

View source: R/rmixmorm.R

rmixnorm.tsR Documentation

AR-type random variables from mixture of normals

Description

Simulating AR type random variables from mixture of normals

Usage

rmixnorm.ts(n, means.ar.par.list, sigmas.list, weights, yinit = 0)

Arguments

n

a positive integer. Number of samples.

means.ar.par.list

parameters in AR(p) within each mixing component

sigmas.list

variance list

weights

weight in each list

yinit

initial values

Details

This function simulates random samples from a finite mixture of Gaussian distribution where the mean from each components are AR(p) process.

Value

vector of n follows a mixture distribution

Author(s)

Feng Li, Central University of Finance and Economics.

References

Li 2010 JSPI


thiyangt/fformpp documentation built on Jan. 5, 2024, 5:44 a.m.