Learn R Programming

CircNNTSR (version 2.0)

mnntsmarginal: Marginal density function of the MNNTS model

Description

Marginal density function for one dimension of the MNNTS model

Usage

mnntsmarginal(cestimatesarray, M, component, theta)

Arguments

cestimatesarray
A matrix of prod(M+1)*(R+1), the first R columns are the parameter number and the last column the parameter's c estimators
M
vector of length R with number of components in the MNNTS for each dimension
component
number of the dimension for computing the marginal
theta
an angle in radians (or a vector of angles)

Value

  • The function gives the density function evaluated at theta

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