R Dataset / Package pscl / iraqVote

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-pscl-iraqvote.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-19261.csv 4.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 iraqVote data set which pertains to U.S. Senate vote on the use of force against Iraq, 2002. . The iraqVote data set is found in the pscl R package. You can load the iraqVote data set in R by issuing the following command at the console data("iraqVote"). This will load the data into a variable called iraqVote. If R says the iraqVote data set is not found, you can try installing the package by issuing this command install.packages("pscl") 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 iraqVote R data set. The size of this file is about 4,688 bytes.

Documentation

U.S. Senate vote on the use of force against Iraq, 2002.

Description

On October 11, 2002, the United States Senate voted 77-23 to authorize the use of military force against Iraq. This data set lists the “Ayes” and “Nays” for each Senator and some covariates.

Usage

data(iraqVote)

Format

A data frame with 100 observations on the following 6 variables.

y

a numeric vector, the recorded vote (1 if Aye, 0 if Nay)

state.abb

two letter abbreviation for each state

name

senator name, party and state, e.g., AKAKA (D HI)

rep

logical, TRUE for Republican senators

state.name

name of state

gorevote

numeric, the vote share recorded by Al Gore in the corresponding state in the 2000 Presidential election

Details

The only Republican to vote against the resolution was Lincoln Chafee (Rhode Island); Democrats split 29-22 in favor of the resolution.

Source

Keith Poole, 107th Senate Roll Call Data. ftp://voteview.com/sen107kh.ord The Iraq vote is vote number 617.

David Leip's Atlas of U.S. Presidential Elections. http://uselectionatlas.org

References

Jackman, Simon. 2009. Bayesian Analysis for the Social Sciences. Wiley: Chichester. Example 8.3.

Examples

data(iraqVote)
## probit model
glm1 <- glm(y ~ gorevote + rep,
            data=iraqVote,
            family=binomial(link=probit))
--

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

Recent Queries For This Dataset

No queries made on this dataset yet.