Erik Marsja
  • Home
  • Programming
    • Python Tutorials
      • Data Analysis
      • Pandas Tutorials
      • Data Visualization
      • Python for Data Collection Tutorials
    • R
  • CV
  • About
  • Python & R resources
  • Contact
Select Page
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...
Pandas Count Occurrences in Column – i.e. Unique Values

Pandas Count Occurrences in Column – i.e. Unique Values

by Erik Marsja | Sep 30, 2020 | Programming, Python

In this Pandas tutorial, you are going to learn how to count occurrences in a column. There are occasions in data science when you need to know how many times a given value occurs. This can happen when you, for example, have a limited set of possible values that you...
How to Convert a Float Array to an Integer Array in Python with NumPy

How to Convert a Float Array to an Integer Array in Python with NumPy

by Erik Marsja | Sep 27, 2020 | Programming, Python

In this short NumPy tutorial, we are going to learn how to convert a float array to an integer array in Python. Specifically, here we are going to learn by example how to carry out this rather simple conversion task. First, we are going to change the data type from...
« Older Entries

Recent Posts

  • How to Calculate Five-Number Summary Statistics in R
  • How to Make a Violin plot in Python using Matplotlib and Seaborn
  • How to use $ in R: 6 Examples – list & dataframe (dollar sign operator)
  • How to Rename Column (or Columns) in R with dplyr
  • How to Take Absolute Value in R – vector, matrix, & data frame
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS