See https://stats.stackexchange.com/questions/29860/confidence-interval-of-multivariate-gaussian-distribution for details.
check_inside_elipsoid(data, Sigma, center, bound, suppress_warning = FALSE)
data | data.frame or matrix of data (row is observation), ncol = p, scalar columns |
---|---|
Sigma | covariance matrix (p x p) |
center | center of elipsoid (vector length p) |
bound | contraint for equation of ellipsoid |
suppress_warning | logic to suppress warning if just returning all
|
boolean vector if data is contained in ellipsoid. All FALSE
if
Sigma not PSD