asym.v.e | R Documentation |
asym.v.e produces estimated asymptotic covariance matrix of the first p-1 maximum entropy weights (because the p weights sum to 1).
asym.v.e(X, w, h)
X |
n by p maxtrix containing observations of p biomarkers of n subjects. |
w |
maximum entropy weights for dateset X with bandwidth h used |
h |
bandwidth for kernel density estimation. |
library(MASS)
# a three biomarkers dataset generated from independent normal(0,1)
X = mvrnorm(n = 100, mu=rep(0,3), Sigma=diag(3), tol = 1e-6, empirical = FALSE, EISPACK = FALSE)
h = 1
w <- entropy.weight(X,h)
asym.v.e(X,w,h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.