Repository for Ong, Goodman, & Zaki (CogSci 2015): "Near Miss"
HTML JavaScript TeX CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Near Miss

This repository contains materials for the following paper:

Ong, D. C., Goodman, N. D., & Zaki, J. (2015). Near-misses sting even when they are uncontrollable. Proceedings of the 37th Annual Meeting of the Cognitive Science Society, 1775-1780.

This repository is maintained by Desmond Ong. Questions, comments, requests for clarification or replication, etc, should be directed to desmond (dot) ong (at) stanford (dot) edu


The meta-analysis reported in the non-archival version of this CogSci paper was added into a revised version of Ong, Zaki, & Goodman, which is currently under review. This revision was made after the CogSci paper was accepted. The data and analysis code for that paper can be found at


The data for the first 2 experiments presented in the paper are in the /data folder.

Analysis code

Analysis code is provided in nearMiss_analysis.Rmd (a R Markdown document).

The file contains all the R code necessary to replicate the analyses reported in the paper (excluding the meta-analysis, which can be found at


See for the output of our analysis code, side-by-side with the paper.

Sample Experiments

A sample of our experiments is also included in the repository.

If you do finish an experiment, you'll also see a mockup of the data that would've been collected, had it been running live. The complete experiments can be loaded using the following links: