Description Usage Arguments Value See Also
Estimate the moral graph using the penalized ZINB regression based on the zero-inflated count sample data
1 2 3 4 5 |
dat |
the zero-inflated count sample data with n observations and p variables |
filter |
a binary matrix indicating the initial filter prior to the
variable selection in ZINB regression. Default is |
bic |
the criterion used to create the graph, could be "BIC", "extBIC" or "extBICGG". Default is "extBIC". |
unpenalizedx, unpenalizedz |
Additional unpenalized covariates for
negative binomial and logistic regression respectively. Default is
|
lambdas, taus |
specific tuning parameter values you want to run the
model with. Default is |
nlambda, ntau |
number of unique lambda and tau values - default are 30 and 5. |
naPercent |
allowable percentage of observations with missing values - default is .4. |
warmStart |
default is 'cond', which resets the starting point to the original starting point when non-convergence happens. Other options are TRUE, which keeps previous estimates as starting points for estimation for the next tuning parameter; FALSE uses the same starting point for all tp. |
bicgamma |
the parameter used in the extended BIC. Default is |
maxOptimIT |
maximum number of iterations for numerical optimization (BFGS) after the EM algorithm. By default is set to 50. Convergence time is long. |
eps |
threshold for convergence for the EM algorithm - default is 1e-5. |
start |
default is 'jumpstart', which estimates the starting coefficients
from penalized negative binomial estimation and logistic regression based on
the penalized library. If set to |
returns the estimated moral graph.
penZINB
for the penalized zero-inflated negative
binomial model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.