huge.npn | R Documentation |
Implements the Gausianization to help relax the assumption of normality.
huge.npn( x, npn.func = "shrinkage", npn.thresh = NULL, verbose = TRUE, na.last = "keep" )
x |
The |
npn.func |
The transformation function used in the npn transformation. If |
npn.thresh |
The truncation threshold used in nonparanormal transformation, ONLY applicable when |
verbose |
If |
na.last |
for controlling the treatment of NAs. If TRUE, missing values in the data are put last; if FALSE, they are put first; if NA, they are removed; if "keep" they are kept with rank NA. See also |
The nonparanormal extends Gaussian graphical models to semiparametric Gaussian copula models.Motivated by sparse additive models, the nonparanormal method estimates the Gaussian copula by marginally transforming the variables using smooth functions.Computationally, the estimation of a nonparanormal transformation is very efficient and only requires one pass of the data matrix.
data |
A |
huge
and huge-package
.
# generate nonparanormal data L = huge.generator(graph = "cluster", g = 5) L$data = L$data^5 # transform the data using the shrunken ECDF Q = huge.npn(L$data) # transform the non-Gaussian data using the truncated ECDF Q = huge.npn(L$data, npn.func = "truncation") # transform the non-Gaussian data using the truncated ECDF Q = huge.npn(L$data, npn.func = "skeptic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.