February 2016

Python ANOVA

Four Ways to Conduct One-Way ANOVA with Python

One-way ANOVA in Python can be performed using several libraries, each with its own strengths. In this tutorial, I will show four approaches: SciPy, Statsmodels, pyvttbl, and a manual calculation to illustrate how the test works behind the scenes. Before looking at the code, I will briefly introduce the basic theory behind one-way ANOVA. If […]

Four Ways to Conduct One-Way ANOVA with Python Read More »

Repeated measures ANOVA using Python

Repeated measures ANOVA in Python is useful when you want to analyze data from within-subjects or repeated-measures designs. Although several Python packages now support this analysis, it was not always straightforward to perform using only Python. At the time this tutorial was written, statsmodels did not include repeated measures ANOVA, and one common solution was

Repeated measures ANOVA using Python Read More »

descriptive statistics in python

Descriptive Statistics in Python using Pandas

Descriptive statistics in Python are easy to calculate with Pandas. Whether you want a quick overview of your data or need summary statistics before fitting a statistical model, Pandas includes built-in functions for the most common descriptive measures. In this tutorial, you’ll learn how to calculate descriptive statistics for a Pandas DataFrame and interpret the

Descriptive Statistics in Python using Pandas Read More »

Scroll to Top