R/depress.R

#' @title Depression dataset
#' @description The depress data frame has 8,893 rows and 5 columns from the National Health and Nutrition Examination Survey (NHANES) 2009–2010.
#' @usage depress
#' @format Sample survey data
#' \describe{
#' \item{depression}{binary response variable indicating whether the participant has depression (=1) or not (=0)}
#' \item{mercury}{a numeric vector giving the log-transformed total blood mercury in micro-grams per litre}
#' \item{age}{0 of particiapant is female and 1 if they are male}
#' \item{gender}{age of the participant}
#' \item{weight}{a numeric vector giving the sampling-weight.}
#' }
#' @source Xing, L., Zhang, X., Burstyn, I., & Gustafson, P. (2021). On logistic Box–Cox regression for flexibly estimating the shape and strength of exposure‐disease relationships. Canadian Journal of Statistics, 49(3), 808-825.
"depress"

Try the lboxcox package in your browser

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

lboxcox documentation built on May 29, 2024, 5:48 a.m.