likelihood | R Documentation |
A function to generate the likelihood of a specific COI value.
likelihood(coi, processed_data, distance = "squared", coi_method = "variant")
The likelihood can be thought of the distance between two curves: the "real" COI curve, generated from the inputted data, and the "simulated" COI curve, which depends on the COI value specified. There are three different methods implemented to compute the distance between two curves:
abs_sum
: Absolute value of sum of difference.
sum_abs
: Sum of absolute difference.
squared
: Sum of squared difference.
The likelihood for a specific COI value.
Other optimization functions:
optimize_coi_regression()
,
optimize_coi()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.