- #1
Kazza_765
- 171
- 0
Hi all,
I have a question regarding least-squares, and I'm certain I can't be the first one to encounter it, but I've had no luck searching the literature for a solution. Here it is:
Say we have a non-linear least-squares optimisation problem. We have data points [itex]y_i[/itex] and a model [itex]y(x_i;{\bf a})[/itex] where [itex]\bf a[/itex] is a vector of parameters we wish to fit to the data. The merit function of course is
[tex]\chi^2 = \sum^N_{i=1}[\frac{y_i - y(x_i;{\bf a})}{\sigma_i}][/tex]
And we can get our parameter uncertainty estimates from the Hessian matrix.
Now let's say that the model we wish to fit to the data is [itex]y(x_i;{\bf a};{\bf b})[/itex] where [itex]\bf a[/itex] is still our vector of fitted parameters, and [itex]\bf b[/itex] is a vector of fixed parameters. At this stage nothing has changed, I've just re-written y(x_i) to make the non-fitted parameters explicit.
We can go ahead and get our uncertainties for [itex]\bf a[/itex] in the same manner as before. My question, however, is this:
Suppose there are uncertainties in [itex]\bf b[/itex]. How do we incorporate those uncertainties into the estimated uncertainty of [itex]\bf a[/itex]?
As an example of the problem: Say we wish to fit three lorentzians of known width to some data. The amplitudes and centroids are fitted parameters (ie. [itex]\bf a[/itex]), and the widths are fixed parameters (ie. [itex]\bf b[/itex]). Perhaps we know the widths from theory, or from another experiment.
Using the Hessian matrix we can get an uncertainty in the amplitudes of the lorentzians. However, if there is also uncertainty in the widths then this will increase our uncertainty in the amplitudes. The uncertainty in the width needs to be incorporated into the problem somehow, but I have no idea where to start with it.
I'm sure there must already be a solution out there for a problem like this. I'm just not sure where to find it. Any help would be much appreciated.
Thankyou
I have a question regarding least-squares, and I'm certain I can't be the first one to encounter it, but I've had no luck searching the literature for a solution. Here it is:
Say we have a non-linear least-squares optimisation problem. We have data points [itex]y_i[/itex] and a model [itex]y(x_i;{\bf a})[/itex] where [itex]\bf a[/itex] is a vector of parameters we wish to fit to the data. The merit function of course is
[tex]\chi^2 = \sum^N_{i=1}[\frac{y_i - y(x_i;{\bf a})}{\sigma_i}][/tex]
And we can get our parameter uncertainty estimates from the Hessian matrix.
Now let's say that the model we wish to fit to the data is [itex]y(x_i;{\bf a};{\bf b})[/itex] where [itex]\bf a[/itex] is still our vector of fitted parameters, and [itex]\bf b[/itex] is a vector of fixed parameters. At this stage nothing has changed, I've just re-written y(x_i) to make the non-fitted parameters explicit.
We can go ahead and get our uncertainties for [itex]\bf a[/itex] in the same manner as before. My question, however, is this:
Suppose there are uncertainties in [itex]\bf b[/itex]. How do we incorporate those uncertainties into the estimated uncertainty of [itex]\bf a[/itex]?
As an example of the problem: Say we wish to fit three lorentzians of known width to some data. The amplitudes and centroids are fitted parameters (ie. [itex]\bf a[/itex]), and the widths are fixed parameters (ie. [itex]\bf b[/itex]). Perhaps we know the widths from theory, or from another experiment.
Using the Hessian matrix we can get an uncertainty in the amplitudes of the lorentzians. However, if there is also uncertainty in the widths then this will increase our uncertainty in the amplitudes. The uncertainty in the width needs to be incorporated into the problem somehow, but I have no idea where to start with it.
I'm sure there must already be a solution out there for a problem like this. I'm just not sure where to find it. Any help would be much appreciated.
Thankyou