Skip to contents

This function calculates the log-likelihood of a given probability density function (pdf) using the negative sum of the logarithm of the pdf evaluated at each value of t.

Usage

log_likelihood(pdf)

Arguments

pdf

A probability density function.

Value

The log-likelihood function.