Blog
Notes on experiments, code, tools, and readings · Posts 1–10 of 25
-
JSPYSCH
Corsi Blocks Task with jsPsych
This piece of code is revised by Dr Jian Chen based on the published code from R. Gibeau (2021) The Corsi Blocks Task: Variations and coding with jsPsych. The Quantitative Methods for Psychology. 10.20982/tqmp.17.3.p299 In this version, I…
-
JSPYSCH
Dot Enumeration Task with jsPsych
This task was coded with jsPsych v7.2. The source code and materials are available in my GitHub https://github.com/jianch/dotEnumerationTask Here is the key javascript. var jsPsych = initJsPsych({ on_finish: function(){ window.location.hre…
-
SPSS
Install Process in SPSS in MacOS Big Sur
I don't like SPSS, but due to the need of teaching, I have to install SPSS in my own computer. When I tried to install Hayes' Process add-ons in the SPSS, it always said it has no permission to do so. This is quite annoying. So the reason…
-
QUALTRICS
Digit Span Task in Qualtrics
The pandemic makes online psychological experiments very needed in the past few months. One commonly used tool is Qualtrics. I don't have too many complains about Qualtrics except for its ability to DIY cognitive tasks. I don't see why the…
-
MATLAB
Replace MATLAB with Octave in MacOS
It becomes my concern when MATLAB was banned in some Chinese universitites early this year. I am a bit worried that MATLAB might also be banned in every Chinese university in one day. After all, we live in such an uncertain time. How do we…
-
INQUISIT
Embed Youtube video in the Inquisit Web in Windows and Mac
It is necessary to use online video source when you want to present long video clips in an Inquisit Web script. This is because the Inquisit Web server only provides 60MB space for you, although we all pay them a big amount of money, such…
-
QUALTRICS
Change the space between paragraphs in Qualtrics
The space between paragraphs in the Qualtrics might be too large, how to reduce the space? One solution is to add JS code in the “Question JavaScript” to change the padding size or margin size before and after one paragraph. jQuery("#"+thi…
-
BOOKS
Characters in The Brothers Karamazov
I made a figure to illustrate the many characters in Dostoyevsky’s masterpiece: The Brothers Karamazov
-
APPS
Run Multiple Instances of Dropbox in MAC OS
When you want to run more than one instance of Dropbox in your MAC, you only need to add a command line in the system built-in app Automator. See the image for details.
-
NOTES
Plot Heatmap from Eye Tracking Data
There are many ways/toolbox to plot a heat map from eye tracking data. but I prefer DIY Here is the source code: %% Data Structure Explanation % Explanation from Eyelink Programers Guide 3.0 %-----------------------------------------------…