View source: R/nntsloglikSymmetric.R
| nntsloglikSymmetric | R Documentation | 
Computes the log-likelihood function with NNTS symmetric density for the data
nntsloglikSymmetric(cpars = c(0, 0), M = 0, data)
cpars | 
 Vector of real numbers of dimension M+1. The first M numbers are the squared moduli of the c parameters. The sum must be less than 1/(2*pi). The last number is the mean of symmetry  | 
M | 
 Number of components in the NNTS  | 
data | 
 Vector with angles in radians. The first column is used if data are a matrix  | 
The function returns the value of the log-likelihood function for the data
The default values provide the Uniform circular log-likelihood for the data
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
Fernandez-Duran, J.J., Gregorio-Dominguez, M.M. (2009) Symmetric Circular Distributions Based on Nonnegative Trigonometric Sums. Working Paper, DE-C09.12, Department of Statistics, ITAM, Mexico
nntsloglikSymmetric(c(.01,.02,2),2,t(c(pi,pi/2,2*pi,pi)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.