Skip to main content

Questions tagged [error-propagation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
137 views

Catch error propagation

I'd like my function to work only for arrays with all positive members, eg: myf[arr_] := Reverse@arr /; AllTrue[arr, Positive]; So ...
lesobrod's user avatar
  • 1,729
7 votes
2 answers
333 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 ...
Julius Debus's user avatar
6 votes
2 answers
172 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 ...
rhermans's user avatar
  • 36.7k
0 votes
0 answers
30 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.
Rasmitha Voram's user avatar
1 vote
1 answer
70 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 ...
gct's user avatar
  • 135
1 vote
0 answers
242 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 ...
Epideme's user avatar
  • 505
4 votes
1 answer
62 views

How can I capture the generated message inside Check?

Consider the following toy function: ...
Shredderroy's user avatar
  • 5,251
6 votes
1 answer
192 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: ...
EstabanW's user avatar
  • 710
1 vote
2 answers
118 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 = ...
aphy11's user avatar
  • 19
4 votes
3 answers
396 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 ...
Gallagher's user avatar
  • 773
1 vote
1 answer
137 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 ...
divenex's user avatar
  • 636
0 votes
0 answers
59 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 ...
Turgon's user avatar
  • 1,050
6 votes
2 answers
767 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-...
nuwe's user avatar
  • 645
0 votes
0 answers
34 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: ...
surujjd's user avatar
  • 83
4 votes
1 answer
725 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 ...
Emanuele Giordano's user avatar
19 votes
3 answers
608 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 ...
Aaron Eiben's user avatar
0 votes
2 answers
182 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% ...
user8357568's user avatar
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}];
iman karimipour's user avatar
6 votes
3 answers
348 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 ...
rhermans's user avatar
  • 36.7k
3 votes
1 answer
247 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 "...
Guy's user avatar
  • 285
3 votes
1 answer
512 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: ...
Rodrigo's user avatar
  • 1,534
2 votes
1 answer
146 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....
RiPHX's user avatar
  • 45
1 vote
2 answers
160 views

Testing the accuracy of numerically computed derivatives

I am calculating approximate derivatives by using NDSolve`FiniteDifferenceDerivative, so this works: ...
RiPHX's user avatar
  • 45
2 votes
1 answer
590 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 ...
Sherien Hassan's user avatar
0 votes
1 answer
372 views

Properly defining and plotting a function that requires `NSolve`

I want to defined a function that solves some equation numerically: ...
M. Winter's user avatar
  • 273
-2 votes
1 answer
46 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;
Ali's user avatar
  • 347
23 votes
1 answer
451 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}$ ...
Ray Shadow's user avatar
  • 7,836
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 ...
zooby's user avatar
  • 291
1 vote
2 answers
899 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)$ ...
MOOSE's user avatar
  • 159
1 vote
1 answer
78 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 ...
Swagata's user avatar
  • 11
18 votes
2 answers
598 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 ...
Lou's user avatar
  • 3,832
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 ...
user42582's user avatar
  • 4,195
0 votes
0 answers
76 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-...
Priti Nayek's user avatar
0 votes
0 answers
63 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 ...
Priti Nayek's user avatar
1 vote
2 answers
851 views

Error propagation in finding full width at half maximum

I have an equation given by: ...
jsid's user avatar
  • 101
0 votes
0 answers
124 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" ...
user49535's user avatar
  • 1,245
3 votes
1 answer
892 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_{...
OmnipotentEntity's user avatar
1 vote
0 answers
157 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...
John Doe's user avatar
  • 141
19 votes
2 answers
1k 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 ...
rhermans's user avatar
  • 36.7k
0 votes
0 answers
149 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 ...
Django's user avatar
  • 21
6 votes
2 answers
1k views

Error propagation code

I have a code for error propagation :- ...
Dinesh Kumar's user avatar
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)$ ...
Crown42's user avatar
  • 463