Computes the log-likelihood function with NNTS density for data
Usage
nntsloglik(data, cpars = 1/sqrt(2 * pi), M = 0)
Value
The function returns the value of the log-likelihood function for the data
Arguments
data
Vector with observed angles in radians.
cpars
Vector of complex numbers of dimension M+1. The first element is a real and positive number.
The sum of the squared moduli of the c parameters must be equal to 1/(2*pi).
M
Number of components in the NNTS
Author
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
References
Fernandez-Duran, J.J. (2004). Circular Distributions Based on Nonnegative Trigonometric Sums, Biometrics, 60(2), 499-503.