# Uncertanty in a non-linear regression with least squares method

**1. The problem statement, all variables and given/known data**

Ok, so i’m trying to fit a set of data (21000 points to be exact) to a sine function.

**2. Relevant equations**

Y = A*sin(ωt)

**3. The attempt at a solution**

I used NumPy to get the parameters A and ω with the least squares method. So far, so good. However, i appear to have reached an impass, this values don’t have an uncertanty that accompanies them.

My question is: how do i propagate the error in the amplitude and the frecuency? In a quick web search I have not found any helpful inside in anything different of uncertanty of slopes in linear regressions. Can you recommend literature or websites that cover this topic? Bear in mind a freshman undergrad level of computer expertise and experimentation skill.

Thanks in advance

http://ift.tt/1ok87CA

## Leave a comment