Post Reply 
Error margins
10-28-2024, 08:35 PM
Post: #14
RE: Error margins
(10-28-2024 05:47 PM)carey Wrote:  The issue with calculating derivatives numerically is that the process of numerical differentiation (taking a difference divided by a difference) dramatically increases noise (i.e., error).

You are absolutely right in what you say, in particular if you are trying to calculate the derivative of a function with added fluctuations, but that is not what I meant. To propagate error you need to take the derivative of the formula used to calculate the value based on the parameters, instead of putting pen to paper to work out the partial derivatives I just programmed that function as an RPN program and had a program that then approximated the derivative with a numerical method (evaluating the function at the point of interest and varying the value of one parameter at a time). It is good for any function and involves approximating the function locally with a polynomial of any desired degree, it is most definitely not good for experimental data with noise, but good for mathematical functions. I used degree=3, which is overkill, but in my defense I have to say I was reading a book on numerical methods at the time and had a 41 in my hands!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Error margins - Maximilian Hohmann - 10-27-2024, 01:45 PM
RE: Error margins - Thomas Klemm - 10-27-2024, 02:51 PM
RE: Error margins - Albert Chan - 10-28-2024, 03:33 PM
RE: Error margins - born2laser - 10-28-2024, 04:59 PM
RE: Error margins - Albert Chan - 10-28-2024, 05:34 PM
RE: Error margins - carey - 10-28-2024, 05:47 PM
RE: Error margins - born2laser - 10-28-2024 08:35 PM
RE: Error margins - carey - 10-28-2024, 09:37 PM
RE: Error margins - Albert Chan - 10-29-2024, 03:07 PM
RE: Error margins - LinusSch - 10-27-2024, 06:12 PM
RE: Error margins - dm319 - 10-28-2024, 08:23 AM
RE: Error margins - LinusSch - 10-28-2024, 03:02 PM
RE: Error margins - dm319 - 10-28-2024, 03:31 PM
RE: Error margins - raprism - 10-28-2024, 07:24 PM
RE: Error margins - Albert Chan - 10-28-2024, 08:08 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 07:49 PM
RE: Error margins - Mark Power - 10-28-2024, 08:39 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 10:24 PM
RE: Error margins - Thomas Klemm - Today, 11:27 AM
RE: Error margins - Thomas Klemm - Today, 11:28 AM



User(s) browsing this thread: 6 Guest(s)