mple {bgms} | R Documentation |
The function mple
estimates the parameters for the ordinal MRF
by optimizing the joint pseudolikelihood with the Newton-Raphson method.
mple(
x,
convergence_criterion = sqrt(.Machine$double.eps),
maximum_iterations = 1000,
thresholds,
interactions
)
x |
A dataframe or matrix with |
convergence_criterion |
The convergence criterion for the
pseudoposterior values in the EM algorithm. Defaults to
|
maximum_iterations |
The maximum number of EM iterations used. Defaults
to |
thresholds |
A matrix with |
interactions |
A matrix with |
A list containing:
interactions
: A matrix with p
rows and p
columns,
containing the maximum pseudolikelihood estimates of the pairwise
associations in the off-diagonal elements.
thresholds
: A matrix with p
rows and max(m)
columns, containing the maximum pseudolikelihood estimates of the category
thresholds for each node.