Description Usage Arguments Value Author(s) References
View source: R/DictDensityFit.R
Given a vector of measurements for N samples (e.g, for a given methylation sites), and a collection of Gaussian kernels truncated between 0 and 1, estimate a weighted combination of kernels to approximate the distribution of measurements.
1 | DictDensityFit(X,mu,Sigma,Concentration = 0.1,NumDraws = 1000)
|
X |
a vector of measurements for N samples (e.g, for a given methylation sites). The entries must be continuous between 0 and 1. |
mu |
Vector of kernel means. |
Sigma |
Vector of kernel standard deviations |
Concentration |
Dirichlet hyperparameter for kernel weights |
NumDraws |
Number of MCMC draws for posterior inference. |
Returns a vector giving the weight of each kernel, averaged over the MCMC draws.
Eric F. Lock
Lock, E. F. & Dunson, D. B. (2015). Shared kernel Bayesian screening. Biometrika, 102 (4): 829-842.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.