R/ri_test1.R

#' Sample dataset 1 for testing the likelihood ratio test
#'
#' Example data for testing the need for a random intercept. Illustrates the need to adjust the p values for a modified LRT.
#' @usage data(ri_test1)
#' @format A data frame with 900 observations from 30 groups and 4 variables:
#' \describe{
#'   \item{y}{The outcome variable.}
#'   \item{w1}{A level-2 predictor.}
#'   \item{x1}{A level-1 predictor}
#'   \item{group}{The cluster identifier}
#' }
"ri_test1"

Try the MLMusingR package in your browser

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

MLMusingR documentation built on May 29, 2024, 7:35 a.m.