PC Review


Reply
 
 
trouble
Guest
Posts: n/a
 
      19th Oct 2003
Hi,

I need to fit some data points to a function: y = A.(1 - exp(-B.x))
and get the best-fit values of A and B.

It seems excel comes with some push button fitting functions (linear,
polynomial) but not custom ones. Is this the case? If so, what do
people generally use to fit their data?

Thanks,
Ciao.
 
Reply With Quote
 
 
 
 
Jerry W. Lewis
Guest
Posts: n/a
 
      19th Oct 2003
Put trial values for A and B in two cells.
Create a new column with an estimated value (based on the A and B cells)
for each observation in the data set.
In another cell, calculate:
- the sum of squared differences between actual and estimated
observations (for least squares estimation) or
- the sum of absolute differences between actual and estimated
observations (for least absolute deviation estimation) ...
Use Solver to minimize that sum by changing the values of A and B.

Jerry

trouble wrote:

> Hi,
>
> I need to fit some data points to a function: y = A.(1 - exp(-B.x))
> and get the best-fit values of A and B.
>
> It seems excel comes with some push button fitting functions (linear,
> polynomial) but not custom ones. Is this the case? If so, what do
> people generally use to fit their data?
>
> Thanks,
> Ciao.


 
Reply With Quote
 
trouble
Guest
Posts: n/a
 
      20th Oct 2003
"Jerry W. Lewis" <post_a_reply@no_e-mail.com> wrote in message news:<3F930458.705@no_e-mail.com>...
> Put trial values for A and B in two cells.
> Create a new column with an estimated value (based on the A and B cells)
> for each observation in the data set.
> In another cell, calculate:
> - the sum of squared differences between actual and estimated
> observations (for least squares estimation) or
> - the sum of absolute differences between actual and estimated
> observations (for least absolute deviation estimation) ...
> Use Solver to minimize that sum by changing the values of A and B.
>
> Jerry
>


Damn, is that the only way? How am I going to teach that to non-mathematicians???
 
Reply With Quote
 
Jerry W. Lewis
Guest
Posts: n/a
 
      21st Oct 2003
Write a macro?

Jerry

trouble wrote:

> "Jerry W. Lewis" <post_a_reply@no_e-mail.com> wrote in message news:<3F930458.705@no_e-mail.com>...
>
>>Put trial values for A and B in two cells.
>>Create a new column with an estimated value (based on the A and B cells)
>>for each observation in the data set.
>>In another cell, calculate:
>>- the sum of squared differences between actual and estimated
>>observations (for least squares estimation) or
>>- the sum of absolute differences between actual and estimated
>>observations (for least absolute deviation estimation) ...
>>Use Solver to minimize that sum by changing the values of A and B.
>>
>>Jerry
>>
>>

>
> Damn, is that the only way? How am I going to teach that to non-mathematicians???


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save 60% on Data Entry, Data Conversion, Data Processing Services byOffshore-Data-Entry dataentryoffshore@gmail.com Microsoft Excel Programming 0 4th Jun 2008 04:02 PM
Save 60% on Data Entry, Data Conversion, Data Processing Services byOffshore-Data-Entry dataentryoffshore@gmail.com Microsoft Excel Programming 0 4th Jun 2008 04:00 PM
Professional Data Conversion,Data Formats and Affordable Data EntryServices by Data Entry India Data Entry India Microsoft Access Form Coding 0 31st Mar 2008 11:50 AM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing admin.dataentryoutsourcing@gmail.com Microsoft Excel Misc 0 20th Mar 2008 12:45 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing admin.dataentryoutsourcing@gmail.com Microsoft Access Form Coding 0 20th Mar 2008 12:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 AM.