R Dataset / Package wooldridge / crime2

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-crime2.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-46511.csv 35.58 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 crime2 data set which pertains to crime2. The crime2 data set is found in the wooldridge R package. You can load the crime2 data set in R by issuing the following command at the console data("crime2"). This will load the data into a variable called crime2. If R says the crime2 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 crime2 R data set. The size of this file is about 36,436 bytes.

Documentation

crime2

Description

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

Usage

data(crime2)

Format

A data.frame with 92 rows and 34 variables:

  • pop. population

  • crimes. total number index crimes

  • unem. unemployment rate

  • officers. number police officers

  • pcinc. per capita income

  • west. =1 if city in west

  • nrtheast. =1 if city in NE

  • south. =1 if city in south

  • year. 82 or 87

  • area. land area, square miles

  • d87. =1 if year = 87

  • popden. people per sq mile

  • crmrte. crimes per 1000 people

  • offarea. officers per sq mile

  • lawexpc. law enforce. expend. pc, $

  • polpc. police per 1000 people

  • lpop. log(pop)

  • loffic. log(officers)

  • lpcinc. log(pcinc)

  • llawexpc. log(lawexpc)

  • lpopden. log(popden)

  • lcrimes. log(crimes)

  • larea. log(area)

  • lcrmrte. log(crmrte)

  • clcrimes. change in lcrimes

  • clpop. change in lpop

  • clcrmrte. change in lcrmrte

  • lpolpc. log(polpc)

  • clpolpc. change in lpolpc

  • cllawexp. change in llawexp

  • cunem. change in unem

  • clpopden. change in lpopden

  • lcrmrt_1. lcrmrte lagged

  • ccrmrte. change in crmrte

Source

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

Examples

 str(crime2)
--

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

R Output Date
Picostat Output - Correlation Coefficients Oct 22, 2020