Instead of doing a search to find the slope which gives the best fit for same starting point to the global warming record one can use a formula to estimate the best slope. The formula for s
min below uses vector notation and the products are dot products. A function is needed to compute s
min since one has to use vectors whose lengths are determined by the length of the period specified by m
j.
The formula gives values which are nearly identical to those found by the search as the plot shows. The calculation using the formula takes less time.
No comments:
Post a Comment