logLikFun.norm: Calculation of the Log-likelihood assuming Identially, Independenzly and Normally Distributed errors
Description
Calculates the i-th log-likelihood of each y-yhat pair as described in Seber.2004spsh.
Usage
logLikFun.norm(y, yhat, sigma)
Arguments
y
A vector of n observed properties/variables of interest.
yhat
A vector of n model simulated properties/variables of interest.
sigma
A vector of length 1 considering homoscedastic residuals.
Value
log-likelihood value of an normal distribution with N~(0, sigma^2)
Details
The underlying assumption is, that the model residuals (errors) are independently, and identically distributed (i.i.d.) following a normal distribution.
Alternatively consider using dnorm.