Git Product home page Git Product logo

compared_in_pairs's Introduction

Code and data for Noguchi and Stewart (2014)

Noguchi, T., & Stewart, N. (2014). In the attraction, compromise, and similarity effects, alternatives are repeatedly compared in pairs on single dimensions. Cognition, 132, 44โ€“56. doi: 10.1016/ j.cognition.2014.03.006

Choice Data

The database data.sqlite3 contains four tables: instruction, choiceset, participant and trial. The first two tables, instruction and choiceset, contain the materials used in the experiment: the instruction table records text messages presented at each trial, and the choiceset table records values of alternatives. The other two tables, participant and trial, contain the collected data: the participant table records whether participant was engaged in the task, and the trial table records participants' responses. The R script shows how to load the collected data onto a single data frame. Dependencies

The R script uses the following libraries:

RSQLite https://github.com/rstats-db/RSQLite

Hmisc http://biostat.mc.vanderbilt.edu/wiki/Main/Hmisc

dplyr https://github.com/hadley/dplyr

tidyr https://github.com/hadley/tidyr

ggplot2 http://ggplot2.org/

Fixation Data

The sqlite3 database fixation.sqlite3 contains one table: fixation. This table has 6 columns:

  • participant_id
  • trial
  • within_trial_index: 0 indicates the first fixation after the trial onset, 1 indicates the second fixation, 2 indicates the third fixation, and so on
  • alternative
  • attribute
  • duration: fixation duration in milliseconds

LICENSE

The article is licensed under Creative Commons Attribution 3.0. The other files are under Creative Commons Attribution 4.0. If you find the data or the script useful, please cite the above paper in your work.

compared_in_pairs's People

Contributors

neil-stewart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.