mmrisk_instrument
Code to run experiment for "Risk taking on behalf of others: Does the timing of uncertainty revelation matter?" by Alexander W. Cappelen, Erik Ø. Sørensen, Bertil Tungodden and Xiaogeng Xu.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.6%) to scientific vocabulary
Repository
Code to run experiment for "Risk taking on behalf of others: Does the timing of uncertainty revelation matter?" by Alexander W. Cappelen, Erik Ø. Sørensen, Bertil Tungodden and Xiaogeng Xu.
Basic Info
- Host: GitHub
- Owner: ErikOSorensen
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Size: 1.99 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
mmrisk_instrument
Code to run experiment for "Risk taking on behalf of others: Does the timing of uncertainty revelation matter?" by Alexander W. Cappelen, Erik Ø. Sørensen, Bertil Tungodden and Xiaogeng Xu.
This code runs as a Django project. The files distributed here are configured to run as a local project with the development server. For proper production run, more infrastructure is needed.
- A proper database. The experiment was run in the summer of 2019 with Postgres.
- A webserver. The experiment was run in the summer of 2019 with Apache.
Extracting information
In the extracting_information directory, there are two files. These are run after the
online survey part to do 1) extract the feedback to be sent to participants by text
message by the service provder, 2) extract data for analysis purposes, and 3) extract
the information to be provided to the mTurk recipients.
These functions and scripts must be evaluated in the Django environment of the experiment.
extract_data.py:- The
feedback_filefunction extracts the text message feedback to be provided to survey participants (feedback_mmr2.csv). - The
get_datafunction extracts three files with data for analysis purposes: players.csv: Running id of participants, treatment, status (whether they completed or not) and a time stamp for when the participant registered.decisions.csv: For each individual, and each decision, which die they faced, what the safe amount was, and whether they chose to take risk. Also a timestamp.answers.csv: One row for each of the participant and each non-incentivized question, and what the response was.
- The
extract_payments.py: A script that connects to the database and generates the mTurk-payments (and messages) to be provided to the recipients, written topayments_mmrisk.csv.
Owner
- Name: Erik Ø. Sørensen
- Login: ErikOSorensen
- Kind: user
- Location: Norway
- Company: NHH Norwegian School of Economics
- Website: http://statsokonomen.no/
- Repositories: 2
- Profile: https://github.com/ErikOSorensen
Professor of economics at NHH Norwegian School of Economics. Works on social preferences and applied econometrics.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: MMRISK instrument
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Erik Ø.
family-names: Sørensen
email: erik.sorensen@nhh.no
affiliation: NHH Norwegian School of Economics
orcid: 'https://orcid.org/0000-0002-7155-4188'
- given-names: Xiaogeng
family-names: Xu
email: xiaogeng.xu@hanken.fi
affiliation: Hanken School of Economics
orcid: 'https://orcid.org/0000-0002-3679-1698'
abstract: >-
Code to run experiment for "Risk taking on behalf of
others: Does the timing of uncertainty revelation matter?"
By Alexander W. Cappelen, Erik Ø. Sørensen, Bertil
Tungodden and Xiaogeng Xu.
license: BSD-3-Clause
GitHub Events
Total
- Release event: 1
- Push event: 3
- Create event: 1
Last Year
- Release event: 1
- Push event: 3
- Create event: 1