ll.measure: Negative log-likelihood

Description Usage Arguments Value

View source: R/measureFunctions.R

Description

Calculate the negative log likelihood for model results compaired to paired data mean and normal standard deviation.

Usage

1
ll.measure(model, data, sd)

Arguments

model

numerics not associated with (mean, standard deviation) pairs, likely model results

data

numerics mean associated with (mean, standard deviation) pairs, likely data results

sd

numerics standard deviation (normal) associated with (mean, standard deviation) pairs, likely data results

Value

a numeric scalar 2 times the sum of, the difference between the model and data, squared, divided by the standard deviation. 2 ∑{(\frac{m-d}/{s})^2}


ktoddbrown/rtedem documentation built on May 20, 2019, 7:05 p.m.