SciPy - Curve Fitting and Regression
Identify the error in this code snippet for calculating a 90% confidence interval:
from scipy.stats import t sample_mean = 10 sample_std = 2 n = 25 se = sample_std / n interval = t.interval(0.90, n-1, loc=sample_mean, scale=se) print(interval)
