- #1
shad0w2000
- 6
- 0
Hi,
I have a set of datapoints (x_i,y_i) and I am going to make a best fit to y = c*Exp(a/x)
Making the fit isn't the problem (Mathematica, etc. can handle this), but what I need is the error on a.
What I have done so far is something like this:
P(c,a | {x_i,y_i} ) = k * P( {x_i,y_i} | c,a ) using Bayes.
And then
P({(x_1,y_1),(x_2,y_2),...}|c,a) = product of ( P(x_i,y_i | c,a) ) for all i's.
which is proportional with
product of ( P(y_i | x_i, c,a) )
But I can't get any further than this :)
Can anyone help me with this ?
Thanks in advance
I have a set of datapoints (x_i,y_i) and I am going to make a best fit to y = c*Exp(a/x)
Making the fit isn't the problem (Mathematica, etc. can handle this), but what I need is the error on a.
What I have done so far is something like this:
P(c,a | {x_i,y_i} ) = k * P( {x_i,y_i} | c,a ) using Bayes.
And then
P({(x_1,y_1),(x_2,y_2),...}|c,a) = product of ( P(x_i,y_i | c,a) ) for all i's.
which is proportional with
product of ( P(y_i | x_i, c,a) )
But I can't get any further than this :)
Can anyone help me with this ?
Thanks in advance