Learn R Programming

pguIMP (version 0.0.0.3)

dLogLikelihood: dLogLikelihood

Description

Calculates the log Likelihood of a normally distributed event.

Usage

dLogLikelihood(x = "numeric", pars = c(mu = 0, sigma = 1))

Arguments

x

The x-value(numeric)

pars

Numeric vector with two entries c(mu, sigma). Where mu is the expectation value and sigma is the standard deviation. (numeric)

Value

The logLikelihood. (numeric)

Examples

Run this code
# NOT RUN {
y <- pguIMP::dLogLikelihood(x=5, pars = c(mu=0.0, sigma=1.0))
# }

Run the code above in your browser using DataLab