Learn R Programming

robmed (version 0.1.1)

covML: Maximum likelihood estimator of mean vector and covariance matrix

Description

Compute the maximum likelihood estimator of the mean vector and the covariance matrix.

Usage

covML(x, ...)

Arguments

x

a numeric matrix or data frame.

additional arguments are currently ignored.

Value

An object of class "covML" with the following components:

center

a numeric vector containing the mean vector estimate.

cov

a numeric matrix containing the covariance matrix estimate.

n

an integer giving the number of observations.

References

Zu, J. and Yuan, K.-H. (2010) Local influence and robust procedures for mediation analysis. Multivariate Behavioral Research, 45(1), 1--44.

See Also

testMediation, fitMediation