View source: R/likelihood_normal.R
loglikelihood_normal | R Documentation |
Calculate the log likelihood for a normally distributed dependent variable.
loglikelihood_normal(parameters, predictor, outcome)
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. |
the log likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.