% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_simu.R
\docType{data}
\name{data_nb_model}
\alias{data_nb_model}
\title{Example Dataset}
\format{
A data object that contains
\describe{
  \item{\code{y}}{A vector of 300 observations of non-negative counts.}
  \item{\code{X}}{A 300 \eqn{\times} 600 matrix containing all training data.}
  \item{\code{mod.idx}}{A list of modality indices: columns 1--200, 201--400,
  and 401--600 form modalities 1, 2, and 3.}
  \item{\code{theta}}{The true Negative-Binomial dispersion used to generate
  the counts, \eqn{\theta = 0.5}. It may be supplied to \code{\link{mglm.test}}
  through the \code{theta} argument; otherwise it is estimated from the data.}
}
}
\usage{
data_nb_model
}
\description{
A toy dataset to demonstrate robust (Median-of-Means) estimation on
multimodal Negative-Binomial models with heavy-tailed responses. The counts
are strongly overdispersed (variance-to-mean ratio near 19, with roughly
half of the observations equal to zero).
}
\keyword{datasets}
