loglikLMM: Log-likelihood of a linear mixed model with random intercept

View source: R/exemple.R

loglikLMMR Documentation

Log-likelihood of a linear mixed model with random intercept

Description

Log-likelihood of a linear mixed model with random intercept

Usage

loglikLMM(b, Y, X, ni)

Arguments

b

numeric vector specifying the parameter's values in the following order : first the fixed effects and then the standard deviation of the random intercept and of the independent error

Y

numeric vector including the dependent outcome vector ordered by subject

X

numeric matrix including the covariates

ni

interger vector giving the number of repeated measures for each subject

Value

the log-likelihood of the linear mixed model at point b


VivianePhilipps/marqLevAlgParallel documentation built on Oct. 18, 2023, 2:16 p.m.