Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Best fitting curve

Hi,
Maybe someone out there can help me!
I have a list of 500 experimental values. I also have a list of 500
predicted values which I predicted with an excel mathematical model I
generated. The excel model lets me change certain variable values which in
turn regenerates and gives me a new set of 500 numbers each time a variable
is changed. I wish to figure out which set of variables genertates a data set
which most closely matches my experimental data. At the moment I have the
data on numerous line graphs to visualise and some sets of variables look
very similar. How would I statistically evaluate these data sets to reveal
which is in fact the best fit?
Many thanks for reading this. I hope I've made it clear and understandable.

  #2   Report Post  
Posted to microsoft.public.excel.programming
TOM TOM is offline
external usenet poster
 
Posts: 2
Default Best fitting curve

It depends on what kind of model you have. One of the simplest
measures is the least-squared-error. Find the difference between
each experimental value and the model's prediction for that value, square
that
difference, and them sum up the squared differences for all 500 of the data
pairs [measured, predicted] for each of your models. The model with the
smallest LSE is the best estimator.

If your model is linear, Excel has a built-in linear regression tool set.

-- Tom





"ladee_bird" wrote in message
...
Hi,
Maybe someone out there can help me!
I have a list of 500 experimental values. I also have a list of 500
predicted values which I predicted with an excel mathematical model I
generated. The excel model lets me change certain variable values which in
turn regenerates and gives me a new set of 500 numbers each time a
variable
is changed. I wish to figure out which set of variables genertates a data
set
which most closely matches my experimental data. At the moment I have the
data on numerous line graphs to visualise and some sets of variables look
very similar. How would I statistically evaluate these data sets to reveal
which is in fact the best fit?
Many thanks for reading this. I hope I've made it clear and
understandable.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Best fitting curve

To exapnd a little on Tom's answer, I'll assume your experimental values are
in A1:A500 and the corresponding model values are in B1:B500. Sounds like
the model is nonlinear (if it is linear you only have to find slope and
intercept, use LINEST as Tom said).

You'll want to use Solver to minimize the sum of the square errors:

* Add a column of errors, =(A1-B1)^2 in C1:C500
* Set C501 = SUM(C1:C500).

To find the optimal model parameters, select Solver from the Tools menu, set
C501 as the target cell you want to *minimize*, add your model inputs as the
variables Solver should change, then press Solve.


"ladee_bird" wrote in message
...
Hi,
Maybe someone out there can help me!
I have a list of 500 experimental values. I also have a list of 500
predicted values which I predicted with an excel mathematical model I
generated. The excel model lets me change certain variable values which in
turn regenerates and gives me a new set of 500 numbers each time a
variable
is changed. I wish to figure out which set of variables genertates a data
set
which most closely matches my experimental data. At the moment I have the
data on numerous line graphs to visualise and some sets of variables look
very similar. How would I statistically evaluate these data sets to reveal
which is in fact the best fit?
Many thanks for reading this. I hope I've made it clear and
understandable.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Best fitting curve

Thank you both very much!


"Christopher Merrill" wrote:

To exapnd a little on Tom's answer, I'll assume your experimental values are
in A1:A500 and the corresponding model values are in B1:B500. Sounds like
the model is nonlinear (if it is linear you only have to find slope and
intercept, use LINEST as Tom said).

You'll want to use Solver to minimize the sum of the square errors:

* Add a column of errors, =(A1-B1)^2 in C1:C500
* Set C501 = SUM(C1:C500).

To find the optimal model parameters, select Solver from the Tools menu, set
C501 as the target cell you want to *minimize*, add your model inputs as the
variables Solver should change, then press Solve.


"ladee_bird" wrote in message
...
Hi,
Maybe someone out there can help me!
I have a list of 500 experimental values. I also have a list of 500
predicted values which I predicted with an excel mathematical model I
generated. The excel model lets me change certain variable values which in
turn regenerates and gives me a new set of 500 numbers each time a
variable
is changed. I wish to figure out which set of variables genertates a data
set
which most closely matches my experimental data. At the moment I have the
data on numerous line graphs to visualise and some sets of variables look
very similar. How would I statistically evaluate these data sets to reveal
which is in fact the best fit?
Many thanks for reading this. I hope I've made it clear and
understandable.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Curve fitting Z=f( X & Y) [email protected] Charts and Charting in Excel 2 October 29th 07 12:37 PM
Curve Fitting Tayseer Charts and Charting in Excel 1 October 7th 07 12:12 PM
curve fitting [email protected] Charts and Charting in Excel 1 June 3rd 06 07:06 PM
curve fitting a charging capacitor type curve mcgradys Excel Discussion (Misc queries) 4 November 15th 05 12:46 PM
best curve fitting ladee_bird Charts and Charting in Excel 1 September 20th 05 07:25 AM


All times are GMT +1. The time now is 12:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"