This question is actually a result of my misunderstanding of NumPy's polyfit function and LINEST. Doing the following:
numpy.polyfit(x,y,1)
gave me the correct result because it performs a linear regression using the sample x
and y
values like LINEST.