例1 import numpy as np import matplotlib.pyplot as plt from scipy import stats rx1 = np.array([54.52, 55.14, 55.80, 56.43, 57.08, 57.71, 58.35, 58.97, 59.61, 60.25]) #纵坐标 t1 = np.linspace(20.5, 47.5, 10) #横坐标 a = stats.linregress(t1, rx1) #求线性回归方程 k =