loglikLMM {marqLevAlg} | R 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
[Package marqLevAlg version 2.0.8 Index]