SciPy - Statistical Functions (scipy.stats) Basics
What will be the output of this code snippet?
import numpy as np from scipy import stats data = np.array([5, 7, 8, 9, 10]) mean = np.mean(data) conf_int = stats.t.interval(0.95, len(data)-1, loc=mean, scale=stats.sem(data)) print(conf_int)
