huge.npn {huge} | R Documentation |
Nonparanormal(npn) transformation
Description
Implements the Gausianization to help relax the assumption of normality.
Usage
huge.npn(x, npn.func = "shrinkage", npn.thresh = NULL, verbose = TRUE)
Arguments
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 |
Details
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.
Value
data |
A |
See Also
huge
and huge-package
.
Examples
# 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")