Learn R Programming

CircNNTSR (version 2.0)

nntsloglikInterval0to1: NNTS log-likelihood function for incidence data defined in the interval [0,1]

Description

Computes the log-likelihood function for incidence data (number of observed values in certain intervals defined in the interval [0,1])

Usage

nntsloglikInterval0to1(data, cutpoints, cpars = 1/sqrt(2 * pi), M = 0)

Arguments

data
number of observations in each interval
cutpoints
vector of size length(data)+1 with the limits of the intervals
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

Value

  • The function gives the value of the log-likelihood function for data