R Dataset / Package wooldridge / prison

Documentation

On this Picostat.com statistics page, you will find information about the prison data set which pertains to prison. The prison data set is found in the wooldridge R package. You can load the prison data set in R by issuing the following command at the console data("prison"). This will load the data into a variable called prison. If R says the prison data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the prison R data set. The size of this file is about 383,138 bytes.


prison

Description

Data loads lazily. Type data(prison) into the console.

Usage

data(prison)

Format

A data.frame with 714 rows and 45 variables:

  • state. alphabetical; DC = 9

  • year. 80 to 93

  • govelec. =1 if gubernatorial election

  • black. proportion black

  • metro. proportion in metro. areas

  • unem. proportion unemployed

  • criv. viol. crimes per 100,000

  • crip. prop. crimes per 100,000

  • lcriv. log(criv)

  • lcrip. log(crip)

  • gcriv. lcriv - lcriv_1

  • gcrip. lcrip - lcrip_1

  • y81. =1 if year == 81

  • y82.

  • y83.

  • y84.

  • y85.

  • y86.

  • y87.

  • y88.

  • y89.

  • y90.

  • y91.

  • y92.

  • y93.

  • ag0_14. prop. pop. 0 to 14 yrs

  • ag15_17. prop. pop. 15 to 17 yrs

  • ag18_24. prop. pop. 18 to 24 yrs

  • ag25_34. prop. pop. 25 to 34 yrs

  • incpc. per capita income, nominal

  • polpc. police per 100,000 residents

  • gincpc. log(incpc) - log(incpc_1)

  • gpolpc. lpolpc - lpolpc_1

  • cag0_14. change in ag0_14

  • cag15_17. change in ag15_17

  • cag18_24. change in ag18_24

  • cag25_34. change in ag25_34

  • cunem. change in unem

  • cblack. change in black

  • cmetro. change in metro

  • pris. prison pop. per 100,000

  • lpris. log(pris)

  • gpris. lpris - lpris[_n-1]

  • final1. =1 if fnl dec on litig, curr yr

  • final2. =1 if dec on litig, prev 2 yrs

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Examples

 str(prison)
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-26543.csv 374.16 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0