R/campus.R

#' campus
#'
#' Wooldridge Source: These data were collected by Daniel Martin, a former MSU undergraduate, for a final project. They come from the FBI Uniform Crime Reports and are for the year 1992. Data loads lazily.
#'
#' @section Notes: Colleges and universities are now required to provide much better, more detailed crime data. A very rich data set can now be obtained, even a panel data set for colleges across different years. Statistics on male/female ratios, fraction of men/women in fraternities or sororities, policy variables – such as a “safe house” for women on campus, as was started at MSU in 1994 – could be added as explanatory variables. The crime rate in the host town would be a good control.
#'
#' Used in Text: pages 131-132
#'
#' @docType data
#'
#' @usage data('campus')
#'
#' @format A data.frame with 97 observations on 7 variables:
#' \itemize{
#'  \item \strong{enroll:} total enrollment
#'  \item \strong{priv:} =1 if private college
#'  \item \strong{police:} employed officers
#'  \item \strong{crime:} total campus crimes
#'  \item \strong{lcrime:} log(crime)
#'  \item \strong{lenroll:} log(enroll)
#'  \item \strong{lpolice:} log(police)
#' }
#' @source \url{https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041}
#' @examples  str(campus)
"campus"
 
 

Try the wooldridge package in your browser

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

wooldridge documentation built on May 3, 2023, 5:06 p.m.