R/dataI.R

#' Simulated data from zero-inflated exponential regression model
#'
#' Simulated data was generated with x1 following a Bernoulli distribution with a success probability of 0.4, x2 following a standard normal distribution, and y following a zero-inflated inverse Gaussian regression model.
#'
#'
#' @name dataI
#' @format A data frame which contains x1, x2 and y.
#' \describe{
#'   \item{y}{the response variable}
#'   \item{x1}{Binary covariate}
#'   \item{x2}{Continuous covariate}
#' }
#' @seealso \code{\link{UHM}},\code{\link{ZIHR}}
"dataI"

Try the UHM package in your browser

Any scripts or data that you put into this service are public.

UHM documentation built on May 29, 2024, 10:42 a.m.