Sorry, I though that question 2 was different. For some reason the physical length of the sample data for x and y made it seem like y had more sample data.For linear regression you need a y value for every x value.
You have 26 x and 26 y so you do have equal numbers.
Hi,The data samples x and y for question 2 are unequal. Here, we have more y points than x points. How do I go about solving that?
I just need help with the calculations. Once I know how to do the calculations I can just translate that into java code.
View attachment 148331