Nothing
"_PACKAGE"
#' @importFrom texreg extract
#' @importFrom texreg createTexreg
#' @importFrom DHARMa createDHARMa
#' @importFrom rlang env_has
#' @importFrom rlang env_poke
#' @import Formula
#' @importFrom pbivnorm pbivnorm
#' @importFrom numDeriv hessian
#' @importFrom MASS glm.nb
#' @importFrom MASS mvrnorm
#' @import stats
#' @import utils
#' @import methods
#'
#' @title bizicount: Copula-Based Bivariate Zero-Inflated Count Regression
#' Models
#'
#' @description The package provides regression functions for copula-based
#' bivariate count models based on the paper <doi:10.18637/jss.v109.i01>, with
#' and without zero-inflation, as well as
#' regression functions for univariate zero-inflated count models. Generic
#' methods from the \code{\link[texreg]{texreg-package}} and
#' \code{\link[DHARMa]{DHARMa}} are extended to support this
#' package, namely for the purposes of producing professional tables and
#' carrying out post-estimation diagnostics. A generic for He et al. (2019)'s
#' test for zero-modification is provided, with methods for both `bizicount`
#' and `glm`-class objects.
#'
#' @section Bivariate Functions:
#'
#' \itemize{
#'
#' \item \code{\link{bizicount}} -- The primary function of this package.
#' Carries out copula-based bivariate count regression via maximum likelihood
#' using numerical optimization. Supports both zero-inflated and non-inflated
#' distributions.
#'
#' \item \code{\link{extract.bizicount}} -- Method for the texreg package's
#' \code{\link[texreg]{extract}} generic. Creates a list of texreg objects, one
#' for each margin, for use with that package's other functions.
#'
#' \item \code{\link{make_DHARMa}} -- Creates a list of DHARMa objects, one for
#' each margin, for \code{\link{bizicount}} models. A wrapper around
#' \code{\link[DHARMa]{createDHARMa}}.
#'
#' \item \code{\link{simulate.bizicount}} -- Method that simulates observations
#' using the fitted model's parameters, primarily for use with DHARMa.
#'
#' \item \code{\link{zi_test}} -- Method for testing for marginal zero-modification
#' using the esimated parameters from the model. This test is preferable to the
#' Vuong, Wald, Score, and LR tests. See He et al. (2019).
#'
#'
#' }
#'
#' @section Univariate Functions:
#'
#' \itemize{
#'
#' \item \code{\link{zic.reg}} -- Univariate zero-inflated count regression
#' models via maximum likelihood.
#'
#' \item \code{\link{extract.zicreg}} -- Method for the texreg package's
#' \code{\link[texreg]{extract}} generic. Creates a texreg object that
#' interfaces with that package's methods.
#'
#' \item \code{\link{simulate.zicreg}} -- Method for simulating from the fitted
#' model. Results are generally used for creating DHARMa objects.
#'
#' #' \item \code{\link{zi_test}} -- Method for testing for univariate zero-modification
#' using the esimated parameters from the model. This test is preferable to the
#' Vuong, Wald, Score, and LR tests. See He et al. (2019).
#'
#' }
#'
#' @references <doi:10.18637/jss.v109.i01>
#' @author John Niehaus
#' @name bizicount-package
NULL
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.