This is an internal function that is only exposed on the public API for unit testing purposes.
sumDnorm(x, mean, sd)
x | Vector of i.i.d. Gaussian random varibles |
---|---|
mean | Vector of means |
sd | Vector of standard deviations |
log-likelihood of x
The sum of the log-likelihoods (log of the product of the likelihoods) for independent, identically-distributed, Gaussian random variables. Note: this Rcpp function is thread-safe, unlike the equivalent alternatives.
#> [1] -136.3695