1. Learn
  2. /
  3. Courses
  4. /
  5. Experimental Design in Python

Connected

Exercise

Analytical normality in an agricultural experiment

Carrying on from your previous work, your visual inspections of the data indicate it may not be a normal dataset overall, but that the initial time point may be.

Build on your previous work by using analytical methods to determine the normality of the dataset.

The DataFrame chicken_data has been read in for you, and the following package imports have been run already:

import pandas as pd
from scipy.stats import shapiro
from scipy.stats import anderson

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Run a Shapiro-Wilk test of normality on the 'weight' column and print the test statistic and p-value.