Questions tagged [error-propagation]
The error-propagation tag has no usage guidance.
41
questions
7
votes
2
answers
257
views
Measurement error propagation onto fitting-parameters
I have a dataset consisting of (t,y) Tuples, where each y has a known measurement error (standard deviation). I would like to fit a trapaze-function into the data and obtain the fitting paramaters and ...
6
votes
2
answers
147
views
How to deal with Around[list] not evaluating if the list elements have Around Head instead of being numeric?
Background
I like using Around for data analysis so I can easily keep track of measurement spread and uncertainties. It also automatically produces plots with error ...
0
votes
0
answers
29
views
What are the most common errors faced by a beginer while using mathematica? any precautions to avoid them? [duplicate]
I would like to know the errors basically faced by beginners while using Mathematica. Are there any precautions or any lookouts to avoid or verify these errors while using mathemetica.
1
vote
1
answer
68
views
How can I define unique epsilons with bounded range for floating point analysis?
I'd like to use Mathematica for analyzing error bounds in floating point code. To do this, we can use the standard model for floating point error:
$$flt(a\oplus b) = (a\oplus b)(1+\epsilon_i)$$
Where ...
1
vote
0
answers
183
views
ListLinePlot is not a list of numbers or pairs of numbers
I am getting this error
'ListLinePlot is not a list of numbers or pairs of numbers'
However I'm not really sure what it means, the data set is a list of pairs of numbers. Even the more complex version ...
4
votes
1
answer
59
views
How can I capture the generated message inside Check?
Consider the following toy function:
...
6
votes
1
answer
183
views
VectorAround problem
I am trying to replicate an example give here of correlated variables (it's similar to a more complex problem I'm working on).
I've included the example data and method for convenience:
...
1
vote
2
answers
117
views
Nonlinear fit where expression has uncertain numbers [closed]
I am trying to fit my data (which has error) to an expression of the form $y = \frac{a}{(bx+c)^2}$, where b and c are the parameters I wish to estimate. a is a known number with an uncertainty : $a = ...
4
votes
3
answers
389
views
How to Plot big data without wrong values?
I have to plot a big file with 10 data (data01{x1,y1}, data02{x2,y2}, ...., data10{x10,y10}), for example for data01 (here is the link of data01) I get this plot with some wrong values
...
1
vote
1
answer
111
views
How to isolate uncertainty in formula involving Around[]?
If I compute with Mathematica
Exp[Around[v, dv]] //PowerExpand
I get
Around[Exp[v], dv*Exp[v]]
with the uncertainty ...
0
votes
0
answers
49
views
`Around` with multiple errors
To my knowledge, Around only deals with one error. That means it can't deal with multiple sources of errors. For example, a number may have both statistic ...
6
votes
2
answers
534
views
Correlated uncertainties
navigating through the docs. of Around one can read in the details that
When Around is used in computations, uncertainties are by default
propagated using a first-...
0
votes
0
answers
30
views
How to copy a number from an error message? [duplicate]
Is there any way to copy a number from an error message and assign it to a variable, without manually doing it?
For instance, I am trying to solve some coupled Differential equations as follows:
...
4
votes
1
answer
625
views
Around error propagation
I understand that when Around is used in computations, uncertainties are by default propagated using a first-order series approximation, assuming no correlations. On the other hand this makes it ...
19
votes
3
answers
604
views
Mathematica 12.x: Don't use Accumulate or Differences on Around objects!
Bug introduced in 12.0 or earlier and persisting through 12.2 or later
It seems we've discovered a bug! The following is a summary of the problem and possible workarounds. Scroll down to ORIGINAL ...
0
votes
2
answers
170
views
Relative error with bands plot
I have 2 sets of data imported from excel file, Let say
A = 20
21
22
...
30A
B= 0
1
2
3
...
10
I want to plot A with a relative error of 10%
...
0
votes
1
answer
76
views
plotting error in 3D
What is the problem related to the following plot?
Definition of geometry
RR = ImplicitRegion[((Sqrt[x^2 + y^2] - 9))^2 + z^2 <= 1, {x, y, z}];
6
votes
3
answers
321
views
Higher order Around, for large error propagation
TLDR question:
How to redefine Around to work with higher order approximation.
Motivation
From the documentation
Around
...
3
votes
1
answer
227
views
Half-absorbing boundary conditions
I'm trying to solve the spherically symmetric wave equation
$$0 = (\partial_t^2 - \partial_r^2 + 1)\phi(t,r)\,,$$
where $\phi(t,0) = 0$. Without doing anything fancy, we can solve this equation "...
3
votes
1
answer
453
views
Estimate errors during integration of interpolated data
I am interested into calculating the errors associated with an integration over interpolated data. Suppose I have something like this:
...
2
votes
1
answer
144
views
Testing the accuracy of numerically computed derivatives - alternative method
So I have asked this question earlier today:
Testing the accuracy of numerically computed derivatives,
This method works well for DifferenceOrder methods but upon reading https://reference.wolfram....
1
vote
2
answers
158
views
Testing the accuracy of numerically computed derivatives
I am calculating approximate derivatives by using NDSolve`FiniteDifferenceDerivative, so this works:
...
2
votes
1
answer
543
views
How to find the Maximal Absolute Error?
I found this fit but I do not understand how to find the maximal absolute error nor do I understand what it is really. I do not see what it is I would compare, would it be ...
0
votes
1
answer
336
views
Properly defining and plotting a function that requires `NSolve`
I want to defined a function that solves some equation numerically:
...
-2
votes
1
answer
44
views
Error of a function containing complex numbers
Please, what is the statistical error formula of the function f (uncertainty) by Mathematica code:
a=x+I y ; b=u+I v;
f=Abs[a]^2+Abs[b]^2;
23
votes
1
answer
444
views
How to get an absolute value of Around?
Around is a useful feature of Mathematica 12 to work with uncertain data.
x = Around[-1, {0.5, 1.5}]
$-1.0^{+1.5}_{-0.5}$
...
13
votes
3
answers
1k
views
How does the Around command at zero work?
I enter:
Around[0,0.5]^2
and I get 0.
This is a bit strange. Around[0,0.5] is supposed to represent numbers between -0.5 and 0.5. So by my estimates the square ...
1
vote
2
answers
810
views
Estimating the uncertainty in the slope of a straight line given the uncertainty in the data points
Basically I have some datapoints on the form $(x_i,y_i)$
...
1
vote
1
answer
77
views
Error propagation with complex number [duplicate]
I have an expression of a physical observable in which some input parameters are taken. The corresponding errors of these input parameters are given. To get the error of this observable what code I ...
18
votes
2
answers
585
views
Around usage results
Why is
Around[10, 1]^2
+- 20
and
Around[10, 1] Around[10, 1]
giving 100 +- 14 ?
Just curious I would suspect them to ...
10
votes
1
answer
158
views
Why does Success[...][key] work and Failure[...][key] doesn't work?
I'm trying to figure out what is a quick way to add error reporting to my user defined functions. I was experimenting with Success and ...
0
votes
0
answers
75
views
Error plotting in 2D
I have some data: along Y axis: 5.86*10^(-8),2.56*10^(-8),3.21*10^(-8) with error 0.58, 0.25 and 0.32 respectively.
along X axis: there are some range corresponding each value of Y axis such as:
0.1-...
0
votes
0
answers
61
views
error bar plotting with some range
In the following pic I want to show the error bar plotting with some given data: Y axis: 5.86*10^(-8) with error .58*10^(-8) and X axis: 0.1 to 2 (that means there is a range), 2.56*10^(-8) with error ...
1
vote
2
answers
747
views
Error propagation in finding full width at half maximum
I have an equation given by:
...
0
votes
0
answers
116
views
How to use "Chop" kind of operation on whole mathematica file
In an array of steps including logarithms and integrations, I am finding the problem of small imaginary parts of some o/p's which are complicating/inhibiting the further steps.
I found that "Chop" ...
3
votes
1
answer
812
views
Propagate error through `FindFit`
I have several sampled points $(x_i, y_i)$ with mutually independent error on the y coordinate $\sigma_{y_i}$. For simplicity, I'm assuming no error in the x coordinates ($\sigma_{x_i} \ll \sigma_{...
1
vote
0
answers
151
views
Determining the intersection of two functions with errors on parameters
Let's assume I want to calculate the intersection points of two functions $f(x)$ and $g(x)$. That is simple enough, I define my functions, e.g. like so and use Solve...
19
votes
2
answers
991
views
Error and uncertainty propagation: Is using Precision/Accuracy a sound strategy?
Questions
What are the available resources to deal with experimental error and uncertainty propagation in Mathematica?
Given that Mathematica already uses linearized model of error propagation on ...
0
votes
0
answers
147
views
Error propagation with NDSolve and periodic boundary conditions
I'm trying to solve the problem of heat conduction through soil with periodic temperature variations on the surface.
For now I'm working with a 1D model but I see that the solution doesn't work, it ...
6
votes
2
answers
1k
views
Error propagation code
I have a code for error propagation :-
...
24
votes
4
answers
1k
views
Create an adaptive amount of local variables for error propagation
I intend to write a function which calculates the result and the error for any formula with any amount of variables using the Gauß Error Propagation.
The error $\mathrm{d}R$ for a function $A(a,b,c)$ ...