cmle: Estimate the parameters for the seasonal model given the...

View source: R/time_utils.r

cmleR Documentation

Estimate the parameters for the seasonal model given the aggregated vector of event times.

Description

Optimize the function neg.log.like recursively calling clme1 and cmle2.

Usage

cmle(data, n.cycles = 10, start = NULL, save.on.dir = TRUE)

Arguments

data

A numeric vector of event times.

n.cycles

integer. Number of times the conditional optimizers are called.#

start

numeric. Starting parameters (not yet implemented).

save.on.dir

logical. If TRUE, will save the inferred parameter in 'timefactor_parameters.RData'.

Value

numeric. A 2D 2x4 matrix with the estimated parameters.

Examples

cmle(data)

mcavallaro/rancovr documentation built on April 17, 2025, 7:21 p.m.