Skip to main content
Exercises 22.7
22. Introduction to Statistics / Exercises 22.7 / Problem 1
Problem 1

For the average daily temperatures T = [-9, -7, -1, 7, 14, 19, 22, 21, 16, 9, 2, -6] and t = [0.5, 1.5, ..., 11.5], find the least-squares curve T = m * cos[π/6(t - 0.5)] + b.