Programming

Programming related posts

In this category you will find posts that are related to programming and should be interesting for psychologists, cognitive scientists, and neuroscientists. Well, almost every researcher would probably find some of the information useful at some time!

Every research psychologist, cognitive scientist, and neuroscientist, should know how to program.. Knowing how to program and write scripts will make many of a researchers everyday tasks much easier. For instance, instead of going through line after line of raw data you can write a Python script that runs through each cell in each column. Furthermore, you get the possibility to use more advanced, and cutting edge, statistical techniques by using R statistical programming environment.

Another example might be to create experiments using PsychoPy (either by coding using Python or using the drag-and-drop interface) and the cheap and open-source Arduino microcontroller. Also, coding is fun and relaxing!

Python apps and libraries for creating experiments

In this post, I will describe the existing free Python applications and libraries for creating experiments.  So far, I have only used PsychoPy, but I plan to test most of them. At least the ones that seem to be still maintained. All applications and libraries are open-source, which makes it possible to download the source […]

Python apps and libraries for creating experiments Read More »

reverse scoring in R

Reverse Scoring using R Statistical Environment

In this tutorial, you will learn how to do reverse scoring in R. Specifically, we will use 1) base R to reverse selected variables (e.g., questionnaire items), and 2) we will use the Psych package. Reverse scoring Many instruments (e.g., questionnaires) contain items phrased so that a strong agreement indicates something negative (e.g., “When there

Reverse Scoring using R Statistical Environment Read More »

Scroll to Top