oh opps thought you were in uni since this was posted in the general maths section
anyways, you can't apply what i said above to non linear regressions, what I stated was OLS (ordinary least squares), to apply it to the functional form you have given me takes much more work... well it's definitely simplified down in VCE but I'm not sure what you are expected to do.
Ohk sorry for the ambiguity within my post (I'm currently doing the International Baccalaureate, a similar program to VCE) , basically I have conducted an experiment within physics, the results show a hyperbolic relationship.
I have to find an equation for the relationship that best fits the data, the equation must be in the form in my previous post, that is:
y=(b(c+a))/((x+a))-b.
Now through trial and error on Graphmatica I have come up with several graphs to model the relationship, looking at a graph with both functions and the actual results however doesn't tell me which function is more accurate model. My teacher told me that to see which graph is a better fit, a goodness of fit formula can be used.
I believed he said to use something called 'residual mean square' (not quite sure if this is what it is called), and I think he said something along the lines of:
1: Write down the actual results, so the x and y values (the Independent Variable is x and Dependent Variable is y)
2: Write down the values of y given when a specific x value is put into the equation (so you have the x-value (the independent variable) and you want to see its result (the y value) so you put it into the equation).
3: Take away the predicted values of y (the values of y achieved from the equation), from the actual values, giving a difference between the model's prediction and the actual observation.
4: Square and then square root this 'difference value' to give an absolute value for the difference between the equations prediction for the value and the actual value
5: Sum up all of these absolute values for all the data points, the bigger the number the bigger the difference between the model and the actual data?
What I want to know is if the above method for finding 'goodness of fit' correct and that is how it should be done, does a smaller 'sum of absolute differences' mean it better models the data? I have two functions and I have used the method I stated above, ? a method which I'm not sure if I'm recalling correctly ?, and seeing which gives a smaller sum, I am thus using that function. Is this the correct approach to quantitatively distinguish which function better models the actual data?
Thanks a tonne TrueTears for your in-depth answer, sorry I wasn't clear enough.