loglikelihood_normal: Calculate the log likelihood for a normally distributed...

View source: R/likelihood_normal.R

loglikelihood_normalR Documentation

Calculate the log likelihood for a normally distributed dependent variable.

Description

Calculate the log likelihood for a normally distributed dependent variable.

Usage

loglikelihood_normal(parameters, predictor, outcome)

Arguments

parameters

the regression parameters. Element one is the intercept, element two is the slope, and element three is the error (root mean square error).

predictor

vector of predictors.

outcome

vector of outcomes.

Value

the log likelihood.


jbryer/VisualStats documentation built on Feb. 27, 2025, 6:19 p.m.