R/classpps.R

#' classpps data
#'
#' 
#' Two-stage unequal-probability sample without replacement from the population of classes in \emph{classes} data.
#'
#'
#' @format This data frame contains the following columns:
#'
#'\describe{
#'\item{class:}{class ID number}
#'
#'\item{class_size:}{number of students in class}
#'
#'\item{finalweight:}{sampling weight for student}
#'
#'\item{hours:}{number of hours spent studying statistics}
#'}
#'
#' @docType data
#'
#' @usage data(classpps)
#'
#'
#'
#' @keywords datasets
#'
#' @references Lohr (2021), Sampling: Design and Analysis, 3rd Edition. Boca Raton, FL: CRC Press.
#' 
#'@references Lu and Lohr (2021), R Companion for \emph{Sampling: Design and Analysis, 3rd Edition}, 1st Edition. Boca Raton, FL: CRC Press.
#' 
#'
"classpps"

Try the SDAResources package in your browser

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

SDAResources documentation built on Oct. 22, 2021, 5:08 p.m.