log.lik: Find the log likelihood of a normal distribution

Description Usage Arguments Value Author(s) Examples

View source: R/log.lik.R

Description

Find the log likelihood of a normal distribution.

Usage

1
  log.lik(x = data, mu, var)

Arguments

x

data.

mu

estimated mean.

var

estimated variance.

Value

ll logliklihood of the distribution

Author(s)

Damon McCafferty damon.mccafferty@economics.utah.edu

Examples

1
2
x = rnorm(100, 3, 7)
log.lik(x,3,7)

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.