MulaiMulai sekarang secara gratis

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

Latihan ini adalah bagian dari kursus

Experimental Design in Python

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Run a Shapiro-Wilk normality test on the weight column
test_statistic, p_value = ____

print(f"p: {round(____, 4)} test stat: {round(____, 4)}")
Edit dan Jalankan Kode