logLik_sglm_nocluster: Compute the marginal likelihood of a data point

Description Usage Arguments Value

Description

This assumes no knowledge of the individual random intercept from and simulates unobserved subjects.

Usage

1
logLik_sglm_nocluster(mod, y, indiv)

Arguments

y

the observed data

indiv

a character vector index to the individual

The

model

Value

A matrix with the same dimensions as extract(mod, "y_pred")[[1]] i.e. samples x obs containing the gaussian likelihood of each y_pred sample.

[[1]: R:[1


cfhammill/hierarchyTrees documentation built on Feb. 8, 2020, 2:54 a.m.