00:01
So in this one you want the linear regression and the least squares, which it doesn't say if that's the correct method or not, but i'm assuming that's the most popular one, means your slope is capital n, which is the number of data values, times the sum of the product x times y minus the sum of x times the sum of y divided by n times the sum of x squared minus the sum of x squared, and b, remember y equals mx plus b, is the sum of y minus m times the sum of x all divided by capital m, capital n, and our x values are the grams, 65, 75, 85, 95, 105, 115, 125, and the sum of x squared minus the sum of y squared times the sum of x squared, and when we add those up, sum part, we get 665, then y was our vitamin c content, 15 .9 and so on, and that sum would be 208 .4, x squared is just squaring the 65 to get 4 ,225, squaring the 75 to get 5 ,625 and so on, and you'll get a total of 65 .5...