logLik_ept: Compute the likelihood for a tree model

Description Usage Arguments Value

Description

Compute the likelihood for a tree model

Usage

1
logLik_ept(mod, y)

Arguments

mod

A stan model with at least y_pred and sigma_model

y

The y data

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.