November 16, 2024, 12:03:43 PM
Forum Rules: Read This Before Posting


Topic: Nonlinear least squares fit of data  (Read 2798 times)

0 Members and 1 Guest are viewing this topic.

Offline Donut

  • New Member
  • **
  • Posts: 6
  • Mole Snacks: +0/-0
Nonlinear least squares fit of data
« on: September 16, 2009, 10:29:33 PM »
Hey guys,

Im trying to write up a practical report that requires me to "calculate the probability that an Au particle will stick to the surface using a non-linear least squares fit of Abs = kt^1/2. So, I have no idea how to actually 'do' a non-linear least squares fit. I know that once I do have the trend I can then get the k which I can use to calculate my probability.

So basically, does anyone know how to do one of these 'non-linear least squares fit' things in excel? Is it even an option?! Im getting really frustrated!

Thanks!

Offline Yggdrasil

  • Retired Staff
  • Sr. Member
  • *
  • Posts: 3215
  • Mole Snacks: +485/-21
  • Gender: Male
  • Physical Biochemist
Re: Nonlinear least squares fit of data
« Reply #1 on: September 16, 2009, 11:41:47 PM »
Non-linear least squares fitting is not easy to do an AFAIK Excel cannot do it.  You would need some more advanced software like Matlab (perhaps you can get access to matlab from your school).

An alternative would be to convert your relation into a linear relation.  For example, if you plot (Abs)2 v. time, you should get a straight line and Excel can do least-squares linear fitting to give you the slope (it's up to you to figure out how the slope relates to k).

Offline Donut

  • New Member
  • **
  • Posts: 6
  • Mole Snacks: +0/-0
Re: Nonlinear least squares fit of data
« Reply #2 on: September 17, 2009, 12:05:11 AM »
Ok cool, thanks.

Sponsored Links