Erik Marsja
  • Home
  • Programming
    • Python Tutorials
      • Data Analysis
      • Pandas Tutorials
      • Data Visualization
      • Python for Data Collection Tutorials
    • R
  • CV
  • Contact
  • Python & R resources
Select Page
Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

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...
Python Scientific Notation & How to Suppress it in Pandas & NumPy

Python Scientific Notation & How to Suppress it in Pandas & NumPy

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...
How to Make a Violin plot in Python using Matplotlib and Seaborn

How to Make a Violin plot in Python using Matplotlib and Seaborn

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...
How to use Python to Perform a Paired Sample T-test

How to use Python to Perform a Paired Sample T-test

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...
How to use Square Root, log, & Box-Cox Transformation in Python

How to use Square Root, log, & Box-Cox Transformation in Python

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,...
Levene’s & Bartlett’s Test of Equality (Homogeneity) of Variance in Python

Levene’s & Bartlett’s Test of Equality (Homogeneity) of Variance in Python

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...
« Older Entries

Latest Posts

  • Sum Across Columns in R – dplyr & base April 1, 2023
  • Plot Prediction Interval in R using ggplot2 March 23, 2023
  • Probit Regression in R: Interpretation & Examples March 14, 2023
  • How to Create a Sankey Plot in R: 4 Methods March 11, 2023
  • How to Calculate Z Score in R March 5, 2023
  • How to Standardize Data in R February 26, 2023
  • How to Make a Residual Plot in R & Interpret Them using ggplot2 February 19, 2023
  • How to do a Kruskal-Wallis Test in R February 12, 2023
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS