Learn R Programming

relevance (version 2.1)

d.negposChoice: Data of an 'anchoring' experiment in psychology

Description

Is a choice influenced by the formulation of the options?

Here is the question: Confronted with a new contagious disease, the government has a choice between action A that would save 200 out of 600 people or action B which would save all 600 with probability 1/3. This was the 'positive' description. The negative one was that either (A) 400 would die or (B) all 600 would die with probability 2/3.

The dataset encompasses the results for Penn State (US) and Tilburg (NL) universities.

Usage

data("d.negposChoice")

Arguments

Format

A data frame with 4 observations on the following 4 variables.

uni

character: university

negpos

character: formulation of the options

A

number of students choosing option A

B

number of students choosing option B

Examples

Run this code
data(d.negposChoice)

d1 <- d.negposChoice[d.negposChoice$uni=="PSU",-1]
(r1 <- twosamples(table=d1[,-1]))
d2 <- d.negposChoice[d.negposChoice$uni=="Tilburg",-1]
r2 <- twosamples(table=d2[,-1])

Run the code above in your browser using DataLab