R Dataset / Package wooldridge / crime4

How To Create a Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Stacked Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Pie Chart

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Compute the Mean

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Plot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How to Compute the Median

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Boxplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Correlation Coefficient

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Cumulative Frequency Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Dotplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Hollow Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Numerical Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Pie Chart

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Plot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Regression

Stem and Leaf Plots

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Visual Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.
Embed
<iframe src="https://embed.picostat.com/r-dataset-package-wooldridge-crime4.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-57324.csv 524.07 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0
Dataset Help

On this Picostat.com statistics page, you will find information about the crime4 data set which pertains to crime4. The crime4 data set is found in the wooldridge R package. You can load the crime4 data set in R by issuing the following command at the console data("crime4"). This will load the data into a variable called crime4. If R says the crime4 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 crime4 R data set. The size of this file is about 536,646 bytes.

Documentation

crime4

Description

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

Usage

data(crime4)

Format

A data.frame with 630 rows and 59 variables:

  • county. county identifier

  • year. 81 to 87

  • crmrte. crimes committed per person

  • prbarr. 'probability' of arrest

  • prbconv. 'probability' of conviction

  • prbpris. 'probability' of prison sentenc

  • avgsen. avg. sentence, days

  • polpc. police per capita

  • density. people per sq. mile

  • taxpc. tax revenue per capita

  • west. =1 if in western N.C.

  • central. =1 if in central N.C.

  • urban. =1 if in SMSA

  • pctmin80. perc. minority, 1980

  • wcon. weekly wage, construction

  • wtuc. wkly wge, trns, util, commun

  • wtrd. wkly wge, whlesle, retail trade

  • wfir. wkly wge, fin, ins, real est

  • wser. wkly wge, service industry

  • wmfg. wkly wge, manufacturing

  • wfed. wkly wge, fed employees

  • wsta. wkly wge, state employees

  • wloc. wkly wge, local gov emps

  • mix. offense mix: face-to-face/other

  • pctymle. percent young male

  • d82. =1 if year == 82

  • d83. =1 if year == 83

  • d84. =1 if year == 84

  • d85. =1 if year == 85

  • d86. =1 if year == 86

  • d87. =1 if year == 87

  • lcrmrte. log(crmrte)

  • lprbarr. log(prbarr)

  • lprbconv. log(prbconv)

  • lprbpris. log(prbpris)

  • lavgsen. log(avgsen)

  • lpolpc. log(polpc)

  • ldensity. log(density)

  • ltaxpc. log(taxpc)

  • lwcon. log(wcon)

  • lwtuc. log(wtuc)

  • lwtrd. log(wtrd)

  • lwfir. log(wfir)

  • lwser. log(wser)

  • lwmfg. log(wmfg)

  • lwfed. log(wfed)

  • lwsta. log(wsta)

  • lwloc. log(wloc)

  • lmix. log(mix)

  • lpctymle. log(pctymle)

  • lpctmin. log(pctmin)

  • clcrmrte. lcrmrte - lcrmrte[_n-1]

  • clprbarr. lprbarr - lprbarr[_n-1]

  • clprbcon. lprbconv - lprbconv[_n-1]

  • clprbpri. lprbpri - lprbpri[t-1]

  • clavgsen. lavgsen - lavgsen[t-1]

  • clpolpc. lpolpc - lpolpc[t-1]

  • cltaxpc. ltaxpc - ltaxpc[t-1]

  • clmix. lmix - lmix[t-1]

Source

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

Examples

 str(crime4)
--

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

Recent Queries For This Dataset

No queries made on this dataset yet.