Question 6.8.2: The simplest and most common use of trend analysis occurs wh...
The simplest and most common use of trend analysis occurs when the points t0,…,tn can be adjusted so that they are evenly spaced and sum to zero. Fit a quadratic trend function to the data (-2, 3), (-1, 5), (0, 5), (1, 4), and (2, 3).
Learn more on how we answer questions.
The t -coordinates are suitably scaled to use the orthogonal polynomials found in Example 5 of Section 6.7:
The calculations involve only these vectors, not the specific formulas for the orthogonal polynomials. The best approximation to the data by polynomials in P2 is the orthogonal projection given by
p^=⟨p0,p0⟩⟨g,p0⟩p0+⟨p1,p1⟩⟨g,p1⟩p1+⟨p2,p2⟩⟨g,p2⟩p2.
=520p0−101p1−147p2.
and
p^(t)=4−.1t−.5(t2−2) (3).
Since the coefficient of p2 is not extremely small, it would be reasonable to conclude that the trend is at least quadratic. This is confirmed by the graph in Figure 2.
