Estimate the likelihood of a given segment using the discrete multivariate estimation, but code runs more slowly due to R implementation
r_multivariate(data, na.omit = TRUE)
Matrix to estimate the multivariate of. Each row is considered to be an observation, and each column is considered to be a different variable.
If true, omits NAs from the dataset.
The estimate of the Discrete Maximum Likelihood for the dataframe provided.
This log likelihood function is implemented in R in order to be used to
benchmark against the multivariate()
version implemented in C++ for
performance.