Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ML

Maximum Likelihood


Description

Computes the logarithm of the likelihood of the observations, maximised over all models and parameters.

Usage

ML(input_data, depth)

Arguments

input_data

the sequence to be analysed. The sequence needs to be a "character" object. See the examples section of the BCT/kBCT functions on how to transform any dataset to a "character" object.

depth

maximum memory length.

Value

returns the natural logarithm of the maximum likelihood.

See Also

Examples

# Computing the maximum likelihood of the gene_s dataset 
# with a maximum depth of 5:
ML(gene_s, 5)

BCT

Bayesian Context Trees for Discrete Time Series

v1.1
GPL (>= 2)
Authors
Ioannis Papageorgiou, Valentinian Mihai Lungu, Ioannis Kontoyiannis
Initial release
2020-12-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.