mnntssimulation: MNNTS density simulation function
Description
Simulation for the density function for the MNNTS model
Usage
mnntssimulation(nsim=1, cpars = 1/(2 * pi), M = c(0,0), R=2)
Value
simulations
The function generates nsim random values from the MNNTS density function
conteo
Number of uniform random numbers used for simulations
Arguments
nsim
Number of simulations
cpars
Parameters of the model. A vector of complex numbers of dimension prod(M+1). The first
element is a real and positive number. The first M[1]+1 elements correspond to dimension one, next M[2]+1
elements correspond to dimension two, and so on. The sum of the SQUARED moduli of the c parameters must be
equal to 1/(2*pi).
M
Vector of length R with number of components in the MNNTS for each dimension
R
Number of dimensions
Author
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
References
Fernandez-Duran, J.J. and Gregorio-Dominguez, M.M. (2009)
Multivariate Angular Distributions Based on Multiple Nonnegative Trigonometric Sums,
Working Paper, Statistics Department, ITAM, DE-C09.1