LogLikelihoodExact: Calculate the log likelihood

View source: R/Likelihood.R

LogLikelihoodExactR Documentation

Calculate the log likelihood

Description

Calculate the log likelihood based on the observations, gate matrix, model matrix and exposure matrix.

Usage

LogLikelihoodExact(Y, gate, model, exposure)

Arguments

Y

(matrix)
The numerical observation matrix with IxJ dimentions

gate

(matrix)
The numerical gate matrix with IxD dimentions

model

(ExpertMatrix)
The JxD ExpertMatrix S6 Class which contained ExpertFunctions

exposure

(matrix)
The Ix1 numerical vector which specify the exposure for each observation.


sparktseung/LRMoE documentation built on March 21, 2022, 3:22 a.m.