LN_hier_existence {BayesLN} | R Documentation |
Function that evaluates the existence conditions for moments of useful quantities in the original data scale when a log-normal linear mixed model is estimated.
LN_hier_existence(X, Z, Xtilde, order_moment = 2, s = 1, m = NULL)
X |
Design matrix for fixed effects. |
Z |
Design matrix for random effects. |
Xtilde |
Covariate patterns used for the leverage computation. |
order_moment |
Order of the posterior moments required to be finite. |
s |
Number of variances of the random effects. |
m |
Vector of size |
This function computes the existence conditions for the moments up to order fixed by order_moment
of the log-normal
linear mixed model specified by the design matrices X
and Z
. It considers the prediction based on multiple
covariate patterns stored in the rows of the Xtilde
matrix.
Both the values of the factors determining the existence condition and the values of the gamma parameters for the different variance components are provided.