I am looking for a mathematical method of determining how relatively close a data set is, to fitting a generic sine wave (in other words, $\sin(x)$). In my mind, this would be something like an R squared value for a linear regression, except for a sine wave. I would like to be clear that I am not looking for a way to fit data to a sinusoidal function.
So if my data looked something like the following, how close is that to being ($\sin(x)$). Again, I am not looking to do a curve fit for this data. Also, the data was just plucked from Google images as an example of what I am talking about.
Read the comments below for some additional clarification.
