Python ANOVA using Statsmodels and Pandas

36K views Sep 26, 2023
marsja.se

In this short tutorial we will learn how to carry out one-way ANOVA in Python. Make sure you subscribe to the channel if you haven't: http://bit.ly/SUB2EM In this ANOVA tutorial we are using the packages Pandas and Statsmodels. It's VERY simple and straight forward! As a bonus you will also learn how to load data from a csv file using pandas read_csv method. It is on this dataset that we do the data analysis but you can use your own data to carry out the statistical tests using Python. However, you can check my short tutorial dedicated to reading and writing csv files using Pandas here: https://youtu.be/NiOPFFmHkVA Obviously, you will need to install Pandas and Statsmodel do ANOVA in Python: » How to install Statsmodels: http://www.statsmodels.org/dev/install.html » How to install Pandas: https://pandas.pydata.org/pandas-docs/stable/install.html » Link to the Plantgrowth dataset used in the tutorial: https://vincentarelbundock.github.io/Rdatasets/csv/datasets/PlantGrowth.csv

#Programming