R Dataset / Package wooldridge / driving

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

Documentation

driving

Description

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

Usage

data(driving)

Format

A data.frame with 1200 rows and 56 variables:

  • year. 1980 through 2004

  • state. 48 continental states, alphabetical

  • sl55. speed limit == 55

  • sl65. speed limit == 65

  • sl70. speed limit == 70

  • sl75. speed limit == 75

  • slnone. no speed limit

  • seatbelt. =0 if none, =1 if primary, =2 if secondary

  • minage. minimum drinking age

  • zerotol. zero tolerance law

  • gdl. graduated drivers license law

  • bac10. blood alcohol limit .10

  • bac08. blood alcohol limit .08

  • perse. administrative license revocation (per se law)

  • totfat. total traffic fatalities

  • nghtfat. total nighttime fatalities

  • wkndfat. total weekend fatalities

  • totfatpvm. total fatalities per 100 million miles

  • nghtfatpvm. nighttime fatalities per 100 million miles

  • wkndfatpvm. weekend fatalities per 100 million miles

  • statepop. state population

  • totfatrte. total fatalities per 100,000 population

  • nghtfatrte. nighttime fatalities per 100,000 population

  • wkndfatrte. weekend accidents per 100,000 population

  • vehicmiles. vehicle miles traveled, billions

  • unem. unemployment rate, percent

  • perc14_24. percent population aged 14 through 24

  • sl70plus. sl70 + sl75 + slnone

  • sbprim. =1 if primary seatbelt law

  • sbsecon. =1 if secondary seatbelt law

  • d80. =1 if year == 1980

  • d81.

  • d82.

  • d83.

  • d84.

  • d85.

  • d86.

  • d87.

  • d88.

  • d89.

  • d90.

  • d91.

  • d92.

  • d93.

  • d94.

  • d95.

  • d96.

  • d97.

  • d98.

  • d99.

  • d00.

  • d01.

  • d02.

  • d03.

  • d04. =1 if year == 2004

  • vehicmilespc.

Source

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

Examples

 str(driving)
--

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

Recent Queries For This Dataset

No queries made on this dataset yet.