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

Description Usage Arguments Value

View source: R/exemple.R

Description

Log-likelihood of a linear mixed model with random intercept

Usage

1
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


marqLevAlg documentation built on April 2, 2021, 1:05 a.m.