0 Shares

On this page, you will find the Python tutorials related to carrying out statistical analysis. For instance, you will find a range of guides on how to do Python ANOVA, Bayesian analysis, and so on. Most of the posts, on data analysis in Python, use the packages statsmodels, NumPy, SciPy, and Pandas.

## Python ANOVA

In this section, you will find the tutorials on how to carry out ANOVA in Python.

### Between Subjects ANOVA in Python

In the first post, you will learn four methods to do Python ANOVA. Specifically, you will learn how to carry out one-way ANOVA in Python as well as some theory behind it. Furthermore, you will learn post-hoc analysis among other things.

In the second, post you will learn three ways to carry out ANOVA in Python (see here). Specifically, you will learn how to carry out two-way ANOVA using Python.

### Within Subjects (Repeated Measures) ANOVA in Python

In this section, you will find the blog posts about how to carry out repeated measures ANOVA in Python. This kind of ANOVA is simple to carry out using both pyvttbl and pingouin.

#### One-Way ANOVA for Repeated Measures

First, you will learn how to carry out within-subjects ANOVA in Python using the package rpy2. That is, you will learn how to use r-packages from Python to do data analysis.

Second, you will learn about repeated measures ANOVA in Python using the packages pyvttbl, statsmodels, and pingouin. Note, the links on the previous sentence all lead to the posts about using these packages. However, I’d suggest that you focus on using statsmodels or pingouin because pyvttbl is not maintained anymore.

#### Two-Way ANOVA for Repeated Measures

Third, you will learn how to carry out two-way ANOVA for repeated measures in Python.

## MANOVA in Python

There’s also a blog post about how to carry out Multivariate Analysis of Variance (MANOVA) in Python. In this post, you will learn how to use statsmodels to do a Python MANOVA. This technique may, furthermore, be useful if you have multivariate data (multiple dependent variables).

## Probabilistic Programming in Python

In the post, probabilistic programming in Python, you will how to use PyMC3 and ArviZ, to do Bayesian statistics in Python. Note that this post is based on an excerpt from the second chapter of a book (see the post). Specifically, you will learn how to install and use PyMC3 and ArviZ.

0 Shares
Share via