Skip to content

This repository were used for analyzing data from my behavioral experiments

Notifications You must be signed in to change notification settings

hcp4715/SalientGoodSelf

Repository files navigation

Notebook for "Self-referencing prioritizes moral character on perceptual matching"

Authors: Hu Chuan-Peng, Kaiping Peng, Jie Sui

Corresponding email address: hcp4715@hotmail.com

Purpose

This repository is an on-going notebook that analyzes results from a series of experiments on prioritization of good person in perceptual matching task. In total, ten experiments were included (total N = 404).

The scripts were made public to increasing the transparency and reproducibility of this study, all de-identified raw data were uploaded.

Links:

Preprint: https://psyarxiv.com/39zgf/

OSF Project: https://osf.io/83dyj/

Zenodo: https://doi.org/10.5281/zenodo.8031073

Scripts & their functions:

This repo included scripts from raw data pre-processing to manuscript generating (using papaja).

Key scripts

Initial.r: The r script for initialization, using in Notebook_Pos_Self_Salience_APA.rmd.

Initial_suppl_simple: The r script for initialization, using in Suppl_Materials_individual_Exp.rmd.

Load_save_data.r: I used this script to read raw data (.csv files) of each experiment.

Notebook_Pos_Self_Salience_APA.rmd: the main Rmarkdown file that include the latest analysis and results.

Notebook_Pos_Self_Salience_APA.pdf: the output from the above-mentioned r markdown file that presenting the latest results.

general_method.rmd: the method section of the above rmd file.

Suppl_Materials_individual_Exp.rmd: the supplementary RMarkdown file for individual studies.

Suppl_Materials_individual_Exp.pdf: the output of the above supplementary RMarkdown file.

Folder structure

root_dir
│   README.md
│   Initial.r
│   Initial_suppl_simple.r
│   Load_save_data.r            # load data from each exp, exclude invalid participants' data and save
│   AllData.RData               # all data
│   Data4manu.RData             # all data for the current manuscript
│   Exp_info_all.csv            # information about all exp included in the current manuscript
│   general_method.rmd
│   Notebook_Pos_Self_Salience_APA.rmd
│   Notebook_Pos_Self_Salience_APA.pdf
│   Suppl_Materials_individual_Exp_simple.rmd
│   Suppl_Materials_individual_Exp_simple.pdf
│   endnote.bib
│   r-reference.bib
│
└───exp1a
│   │   rawdata_behav_exp1a_201404_export_2019.csv
│   │   rawdata_behav_exp1a_201704_export_2019.csv
│   
└───exp1b
│   │   rawdata_behav_exp1b_201410_export_2019.csv
│   │   rawdata_behav_exp1b_201705_export_2019.csv
│
└───exp1c
│   │   rawdata_behav_exp1c_export_2019.csv
│
└───exp2
│   │   rawdata_behav_exp2_201405_export_2019.csv
│
└───exp3a
│   │   rawdata_behav_exp3a_2014_export_2019.csv
│
└───exp3b
│   │   rawdata_behav_exp3b_201704_export_2019.csv
│
└───exp4a
│   │   rawdata_behav_exp4a_2015_export_2019.csv
│   │   rawdata_behav_exp4a_2017_export_2019.csv
│
└───exp4b
│   │   rawdata_behav_exp4b_2015_export_2019.csv
│   │   rawdata_behav_exp4b_2017_export_2019.csv
│
└───exp5_specificity
│   │   rawdata_behav_exp5_2016_export_2019.csv
│
└───exp6a_erp1
│   │   rawdata_ERP_exp6a_201412_export_2019.csv
│
└───exp6b_erp2
│   │   rawdata_erp_exp6b_d1_2016_export_2019.csv
│
└───exp7 
│   │   rawdata_behav_exp7a_2016.csv  # data from Hu et al 2020, collabra: psychology
│   │   rawdata_behav_exp7b_2018.csv  # data from Hu et al 2020, collabra: psychology
│
└───scales
    │   FADGS_dataset4_1_clean.csv  # questionnaire data, see Liu et al 2020, J Open Psych Data

About

This repository were used for analyzing data from my behavioral experiments

Resources

Stars

Watchers

Forks

Packages

No packages published