Description Usage Arguments Value References See Also
This function generates null samples of a given subset of variables for Gaussian copula covariates.
1 | sample.g_copula.nulls(X, S, K, gamma_X.list_S, sigma_X.list_S, verbose = FALSE)
|
X |
a n by p matrix, containing the Gaussian vectors before applying the probability integral transform |
S |
a subset of covariates, for which null samples are constructed. |
K |
number of null replicates. |
gamma_X.list_S |
a list of length |S|, with each element being the linear coefficient of the given covariate on the other covariates (before the probability integral transform). |
sigma_X.list_S |
a list of length |S|, with each element being the variance of the conditional distribution (before the probability integral transform). |
verbose |
whether to show intermediate progress (default: FALSE). |
A list of length |S|, with each element being a (n*K)-dimensional vector, which contains K set of null samples.
LZ-LJ:2020floodgate
Other sampling:
cosuff.g_copula.nulls()
,
cosuff.gaussian.nulls()
,
sample.gaussian.nulls()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.