Learn R Programming

CircNNTSR (version 2.0)

nntsmanifoldnewtonestimationinterval0to2pi: Parameter estimation for grouped data defined in [0,2*pi]

Description

Parameter estimation for incidence data (number of observed values in certain intervals defined over [0,2*pi])

Usage

nntsmanifoldnewtonestimationinterval0to2pi(data, cutpoints, 
subintervals,M = 0, iter=1000, initialpoint = FALSE, cinitial)

Arguments

data
Frequency of data on each interval
cutpoints
Vector with the limits of intervals. The length of cutpoints has to be 1 plus the length of data
subintervals
algo
M
Number of components in the NNTS
iter
Number of iterations
initialpoint
TRUE if an initial point for the optimization algorithm will be used
cinitial
A vector of size M+1, the first element is real and the next M elements are complex (values for $c_0$ and $c_1, ...,c_M$).The sum of the squared moduli of the parameters must be equal to 1/(2*pi)

Value

  • cestimatesA matrix of M+1 * 2, the first column parameter number and the second column the parameter's c estimators
  • loglikOptimum loglikelihood value
  • AICValue of Akaike's Information Criterion
  • BICValue of Bayesian Information Criterion
  • gradnormerrorError's gradient after last iteration