by Erik Marsja | Aug 29, 2022 | Experimental Design, Open Science, Open Source, Programming, Psychology, Psychopy, Python
In this PsychoPy tutorial, you will learn how to create the Psychomotor Vigilance Task (PVT) using some but not that much coding. However, as the setup for this test has a random interstimulus interval (ISI), we will create a Psychomotor Vigilance Test with a duration...
by Erik Marsja | Aug 20, 2021 | Programming, Python
In Python, it is possible to print numbers in scientific notation using base functions and NumPy. Specifically, you will learn how to use Python to print large or small (i.e., floating point) numbers in scientific notation using three different methods. In the final...
by Erik Marsja | Jan 4, 2021 | Programming, Python
In this Python data visualization tutorial, we are going to learn how to create a violin plot using Matplotlib and Seaborn. Now, there are several techniques for visualizing data (see the post 9 Data Visualization Techniques You Should Learn in Python for some...
by Erik Marsja | Nov 22, 2020 | Programming, Python
In this Python data analysis tutorial, you will learn how to perform a paired sample t-test in Python. First, you will learn about this type of t-test (e.g. when to use it, the assumptions of the test). Second, you will learn how to check whether your data follow the...
by Erik Marsja | Nov 19, 2020 | Programming, Python
In this tutorial, related to data analysis in Python, you will learn how to deal with your data when it is not following the normal distribution. One way to deal with non-normal data is to transform your data. In this post, you will learn how to carry out Box-Cox,...
by Erik Marsja | Oct 22, 2020 | Programming, Python
In this Python tutorial, you will learn how to 1) perform Bartlett’s Test, and 2) Levene’s Test. Both are tests that are testing the assumption of equal variances. Equality of variances (also known as homogeneity of variance, and homoscedasticity) in population...