This README.txt file was generated on 2021-09-30 by Catherine Hobbs.

GENERAL INFORMATION

1. Title of Dataset: Depression_Optimistic_Belief_Updating

2. Author Information
	A. Principal Investigator Contact Information
		Name: Catherine Hobbs	
		Institution: University of Bath
		Address: Department of Psychology, University of Bath, BA2 7AY
		Email: c.hobbs@bath.ac.uk

	B. Associate or Co-investigator Contact Information
		Name: Katherine S Button	
		Institution: University of Bath
		Address: Department of Psychology, University of Bath, BA2 7AY
		Email: k.s.button@bath.ac.uk
 

3. Date of data collection: 2021-03-08 to 2021-04-11

4. Geographic location of data collection: Collected remotely online

5. Information about funding sources that supported the collection of the data: This study was funded by a GW4 BioMed MRC Doctoral Training Partnership awarded to Catherine Hobbs.

SHARING/ACCESS INFORMATION

1. Licenses/restrictions placed on the data: CC BY 4.0

2. Links to publications that cite or use the data: TBC

3. Links to other publicly accessible locations of the data: N/A

4. Links/relationships to ancillary data sets: N/A

5. Was data derived from another source?: No
6. Recommended citation for this dataset: Hobbs C, Shah P, Button K S. (2021). Dataset for ‘Is depression associated with reduced optimistic belief updating?’.
DATA & FILE OVERVIEW

1. File List: 
- Data
o Data Dictionary
* DataDictionary
o Raw
* Depressed_screening
* Healthy_screening
* Phase_1_2_3_3b_DC_Qs_1
* Phase_1_2_3_3b_DC_Qs_2
* Phase_1_2_3_3b_DC_Task
* prolific_IDs
o Passed 7 or more attention checks
* task_event_levels_qs_reduced_attention
o Passed all attention checks
* task_event_level_qs
- Code
o Optimism_Analysis.RMD
o Questionnaire_Task_Cleaning.R

2. Relationship between files, if important: 
The data for this study has been separated into three parts (1) the raw files produced by screening and test data (2) the cleaned data file that reflect the data analysis reported in our paper, and (3) a cleaned data file for participants that failed a single attention check, we did not analyse these participants data but have included the data for potential future research.

The code for this study has been separated into two files (1) the code used to analyse the data for this study as reported in our manuscript, (2) the code used to clean raw data.

To allow for use of this data using non-proprietary software we have provided .csv files. However, all raw data was imported into R using .xlsx files, and cleaned data was imported using.rdata files. It is therefore recommended to use the .xlsx files for the raw data and the R dataframe files for the cleaned data if also using the accompanying R scripts.

3. Additional related data collected that was not included in the current data package: 
Data that may have identified participants has been removed. 

4. Are there multiple versions of the dataset? No

METHODOLOGICAL INFORMATION

1. Description of methods used for collection/generation of data: 
This study was pre-registered on Open Science Framework (https://osf.io/f2t9p), which details the study methodology and data analysis plans. Briefly, this study aimed to examined whether individuals experiencing depression differ in optimistic belief updating for positive and negative life events compared to healthy controls. 

2. Methods for processing the data: 
All data was cleaned and analysed using R. 

3. Instrument- or software-specific information needed to interpret the data: 
R version 4.0.5

4. Data specific Information 
Full details of the variables included in each dataset are available in the data dictionary files.


