The file "LogisticRegression.zip" contains computer code and results to reproduce the analysis reported in Rausch, M., & Zehetleitner, M. (2017). Should metacognition be measured by logistic regression? Consciousness and Cognition. 49, 291-312. doi: 10.1016/j.concog.2017.02.007
The file "Analysis.r" contains the r script of the analysis. The file "Functions.r" contains required functions. The file "Data.RData" contains all the results as reported in the paper. The file "Rausch&Zehetleitner2016.RData" contains the confidence data used to demonstrate model fitting and has been published as Rausch, M., & Zehetleitner, M. (2016). Visibility is not equivalent to confidence in a low contrast orientation discrimination task. Frontiers in Psychology, 7, 591. doi:10.3389/fpsyg.2016.00591.
To reproduce the analysis, download and unpack all data on your local hard drive.
The R script begins with setting the path; please insert the path to the folder whereever you have stored the files.
We conducted the analysis on using R 3.1.1 (64-bit) and the R packages ggplot2 1.0 (needed for visualization), plyr 1.8.1 (only need for model fitting), and BayesFactor 0.9.9 on a PC with Windows 10.
All material is licensed under a CC-BY 4.0 license. For a human-readable summary of what you are allowed to do with that piece of work, see http://creativecommons.org/licenses/by/4.0/