hsumloglike: Add log-likelihoods across subjects at the hyper level

Description Usage Arguments

View source: R/utils.R

Description

An external sum log likelihoods for hyper parameters.

Usage

1
hsumloglike(ps, pp, prior)

Arguments

ps

a nsubject x npar matrix

pp

a temporary pp.prior values extracted from phi. The temporary pp.prior has no attached parameter names. phi is two-element list. First element is a location array of nchain x npar x nmc; second element is a scale array of nchain x npar x nmc.

prior

prior distributions at data level


ggdmc documentation built on Sept. 2, 2018, 1:03 a.m.