find_lammax | R Documentation |
lambda
Compute the max value of lambda
from Karush-Kuhn-Tucker condition
find_lammax(X)
X |
A n x p data matrix. |
a numeric value
Choi, H., J. Gim, S. Won, Y. J. Kim, S. Kwon, and C. Park, 2017: Network analysis for count data with excess zeros. BMC genetics, 18, no. 1, 1-10.
Park, B., H. Choi, C. Park, 2021: Negative binomial graphical model with excess zeros.
require(ZILGM)
set.seed(1)
n = 100; p = 10; prob = 2 / p;
A = generate_network(p, prob, type = "random")
simul_dat = zilgm_sim(A = A, n = n, p = p, zlvs = 0.1,
family = "negbin", signal = 1.5, theta = 0.5, noise = 0.0)
find_lammax(simul_dat$X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.