qut | R Documentation |
automatic selection of nuclear norm regularization parameter
qut(Y, cov, lambda2 = 0, q = 0.95, N = 100, reff = T, ceff = T)
Y |
A matrix of counts (contingency table). |
cov |
A (np)xK matrix of K covariates about rows and columns |
lambda2 |
A positive number, the regularization parameter for covariates main effects |
q |
A number between |
N |
An integer. The number of parametric bootstrap samples to draw. |
reff |
[boolean] whether row effects should be fitted, default value is TRUE |
ceff |
[boolean] whether column effects should be fitted, default value is TRUE |
the value of $lambda_QUT$ to use in LoRI.
X = matrix(rnorm(30), 15)
Y = matrix(rpois(15, 1:15), 5)
lambda = qut(Y,X, 10, N=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.