Question: Consider the problem of fitting a function of the form H(x) = b0 +b1 sin(x) to the data (x1,y1),...,(xn,yn). What are the least squares solutions
Consider the problem of fitting a function of the form H(x) = b0 +b1 sin(x) to the data (x1,y1),...,(xn,yn). What are the least squares solutions for b0 and b1?
Hint: While this looks different than what we've studied in lecture, it turns out that it's quite similar. What if we define a change of variables, such that zi = sin(xi)?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
