Check Log-linear component of the CGM Prior.
DESCRIPTION:
Checks the parameters in a log-linear component of the conditional
gaussian model prior. This routine is not normally called directly by
users.
USAGE:
check.Cgm.prior(prior, algorithm = "em", object)
REQUIRED ARGUMENTS:
- prior
-
an object of class
"priorLoglin"
containing the prior.
- algorithm
-
character, either
"em"
for the EM algorithm,
or
"da"
for data augmentation or multiple imputation.
The value of the prior depends on the algorithm.
- object
-
an object of class
"preCgm"
. This object is only used for
"data.dependent"
priors.
VALUE:
a scalar or vector containing the appropriate prior for the model.
SEE ALSO:
.
EXAMPLES:
priorObject <- priorLoglin(type = "n")
object <- preCgm(language)
check.Cgm.prior(prior = priorObject, algorithm = "da",
object = object)