Skip to contents

logpdf = new(lpdfvec, loglik, logpr)

This is a class where each instance contains two lpdf instances and can be manipulated as a single instance. It presumes both are based on the same outermod instance, thus they share hyperparameters. However the model parameters are concatenated. Currently also includes variations on marginal adjustments.

Currently it is designed only for a pair, but the ordering is arbitrary.

Arguments

loglik

one reference to a lpdf instance

logpr

another reference to a lpdf instance that shares outermod with loglik

Value

no returns, this is a class which contains methods

Fields

lpdfvec$domarg

A boolean that controls if marginal adjustment is done

See also

base class: lpdf