mnntsplotwithmarginals: Plots a MNNTS bivariate density together with the marginals
Description
Plots the MNNTS bivariate density function together with the marginals
Usage
mnntsplotwithmarginals(cestimates, M, ...)
Arguments
cestimates
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. It is the output of mnntsmanifoldnewtonestimation $cestimates.
M
vector of length R with number of components in the MNNTS for each dimension
...
arguments passed to function plot
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
M<-c(2,3)
R<-length(M)
data(Nest)
data<-Nest
est<-mnntsmanifoldnewtonestimation(data,M,R,1000)
est
cest<-est$cestimates
mnntsplotwithmarginals(cest, M)