mnntsmarginal {CircNNTSR}R Documentation

Marginal density function of the MNNTS model

Description

Marginal density function for one dimension of the MNNTS model evaluated at a point

Usage

mnntsmarginal(cestimatesarray, M, component, theta)

Arguments

cestimatesarray

Matrix of prod(M+1)*(R+1). The first R columns are the parameter number, and the last column is the c parameter's 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 returns the density function evaluated at theta

Author(s)

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

Examples

	set.seed(200)
M<-c(2,3)
R<-length(M)
data(Nest)
data<-Nest
est<-mnntsmanifoldnewtonestimation(data,M,R,100)
est
cest<-est$cestimates
mnntsmarginal(cest,M,1,pi)

[Package CircNNTSR version 2.2-1 Index]