| bayes4psy-datasets {bayes4psy} | R Documentation |
Datasets for bayes4psy examples Example datasets for use in rstanarm examples and vignettes. The datasets were extracted from the internal MBLab http://www.mblab.si repository. MBLab is a research lab at the Faculty of Arts, Department of Psychology, University of Ljubljana, Slovenia.
Description
Datasets for bayes4psy examples Example datasets for use in rstanarm examples and vignettes. The datasets were extracted from the internal MBLab http://www.mblab.si repository. MBLab is a research lab at the Faculty of Arts, Department of Psychology, University of Ljubljana, Slovenia.
Format
adaptation_level_small-
Small dataset on subjects picking up weights and determining their weights from 1..10.
Source: Internal MBLab repository.
50 obs. of 3 variables
-
sequencesequence index. -
weightactual weight of the object. -
responsesubject's estimation of weight.
-
adaptation_level-
Data on subjects picking up weights and determining their weights from 1..10.
Source: Internal MBLab repository.
2900 obs. of 6 variables
-
subjectsubject index. -
groupgroup index. -
partfirst or second part of the experiment. -
sequencesequence index. -
weightactual weight of the object. -
responsesubject's estimation of weight.
-
#'
after_images_opponent_process-
Colors predicted by the opponent process theory.
Source: Internal MBLab repository.
6 obs. of 7 variables
-
stimuliname of the color stimuli. -
rvalue of the R component in the RGB model. -
gvalue of the G component in the RGB model. -
bvalue of the B component in the RGB model. -
hvalue of the H component in the HSV model. -
svalue of the S component in the HSV model. -
vvalue of the V component in the HSV model.
-
#'
after_images_opponent_stimuli-
Stimuli used in the after images experiment.
Source: Internal MBLab repository.
6 obs. of 7 variables
-
r_svalue of the R component in the RGB model. -
g_svalue of the G component in the RGB model. -
b_svalue of the B component in the RGB model. -
stimuliname of the color stimuli. -
h_svalue of the H component in the HSV model. -
s_svalue of the S component in the HSV model. -
v_svalue of the V component in the HSV model.
-
#'
after_images_trichromatic-
Colors predicted by the trichromatic theory.
Source: Internal MBLab repository.
6 obs. of 7 variables
-
stimuliname of the color stimuli. -
rvalue of the R component in the RGB model. -
gvalue of the G component in the RGB model. -
bvalue of the B component in the RGB model. -
hvalue of the H component in the HSV model. -
svalue of the S component in the HSV model. -
vvalue of the V component in the HSV model.
-
#'
after_images-
Data gathered by the after images experiment.
Source: Internal MBLab repository.
1311 obs. of 12 variables
-
subjectsubject index. -
rtreaction time. -
rvalue of the R component in the RGB model of subject's response. -
gvalue of the G component in the RGB model of subject's response. -
bvalue of the B component in the RGB model of subject's response. -
stimuliname of the color stimuli. -
r_svalue of the R component in the RGB model of the shown stimulus -
g_svalue of the G component in the RGB model of the shown stimulus -
b_svalue of the B component in the RGB model of the shown stimulus -
h_svalue of the H component in the HSV model of the shown stimulus -
s_svalue of the S component in the HSV model of the shown stimulus -
v_svalue of the V component in the HSV model of the shown stimulus
-
#'
flanker-
Data gathered by the flanker experiment.
Source: Internal MBLab repository.
8256 obs. of 5 variables
-
subjectsubject index. -
groupgroup index. -
congruenctytype of stimulus. -
resultwas subject's reponse correct or wrong? -
rtreaction time.
-
#'
stroop_extended-
All the data gathered by the Stroop experiment.
Source: Internal MBLab repository.
41068 obs. of 5 variables
-
subjectsubject ID. -
condtype of condition. -
rtreaction time. -
accwas subject's reponse correct or wrong? -
ageage of subject.
-
#'
stroop_simple-
All the data gathered by the Stroop experiment.
Source: Internal MBLab repository.
61 obs. of 5 variables
-
subjectsubject ID. -
reading_neutralaverage response time for reading neutral stimuli. -
naming_neutralaverage response time for naming neutral stimuli. -
reading_incongruentaverage response time for reading incongruent stimuli. -
naming_incongruentaverage response time for naming incongruent stimuli.
-
Examples
# Example of Bayesian bootstraping on 'adaptation_level_small' dataset
# linear function of seqence vs. response
lm_statistic <- function(data) {
lm(sequence ~ response, data)$coef
}
# load data
data <- adaptation_level_small
# bootstrap
data_bootstrap <- b_bootstrap(data, lm_statistic, n1=1000, n2=1000)