How good is the sinusoidal fit?

  • Thread starter Thread starter astropi
  • Start date Start date
  • Tags Tags
    Fit Sinusoidal
astropi
Messages
47
Reaction score
0
First off, this is NOT a homework question! That is, I'm not doing this for any course. So then, here's the question:

I have some data points to which I fit a sinusoidal curve. I get the best (min) chi-square. Now, the question becomes how good a fit is my sinusoid? I was thinking that I could compare my sinusoid with a flat line and see which is a better fit to the data points. How would people suggest I go about doing this? One person suggested a sum of squares, but could not provide me with more than that (he does not remember much except that it "generally works"). I was hoping someone could provide me with much more details (a reference to look up, some examples perhaps?) I know Wikipedia has tons of pages on sum of squares, but I'm not sure which page to go to. Also, if people have other ideas other than sum of squares I am certainly open to it. I know there is something called an F-test, but I don't know how appropriate that would be here? Anyway, I'm hoping for help! Thanks, and yes my statistics is extremely rusty...
 
Physics news on Phys.org
Simon Bridge said:
The chi-squared statistic is actually the measure of how good the curve fits the data.
http://en.wikipedia.org/wiki/Goodness_of_fit

Thanks for the response, but that's not what I'm looking for here. I have a few options I'm playing with, but I would still be interested in understanding the F-test if someone can explain how it can be applied to what I described above.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
1
Views
1K
Replies
8
Views
2K
Replies
2
Views
1K
Replies
4
Views
5K
Replies
2
Views
1K
Replies
9
Views
4K
Replies
16
Views
3K
Back
Top