Questions tagged [uncertainty]

The uncertainties package is a python package that transparently handles calculations with numbers with uncertainties (like 3.14±0.01). It can also yield the derivatives of any expression.

The uncertainties package is a python package that transparently handles calculations with numbers with uncertainties (like 3.14±0.01). It can also yield the derivatives of any expression.

Tag usage

Questions on tag should be about implementation and programming problems.
Consider whether your question might be better suited to Cross Validated, the StackExchange site for statistics, machine learning and data analysis.

138 questions
0
votes
1 answer

Predictive distribution with Monte Carlo

I want to obtain a distribution over each prediction point i.e. for each value of dependent variable y. In the dependent variable y, I have 199 observations and for each observation, I want a distribution.So my output should be a matrix of 199*100.…
0
votes
1 answer

Lmfit gives -1 correlation and large uncertainty (python)

I am trying to fit a model function to a curve using the lmfit module. The curve that I am fitting is set up as follows: e(x) = exp(-(x-X)/x0) for x larger or equal than X, 0 otherwise. G(x) = (1/sqrt(2*pi)*sigma) * exp(-x^2/2*sigma^2) The model fit…
ksh
  • 23
  • 5
0
votes
1 answer

Curve fitting with error bars, Matlab

I have some measurements in Matlab that I wanna use to fit a exponential curve. To this measurements I have different uncertainty. How do I fit a exponential curve with this uncertainty balanced?
user4079167
  • 11
  • 1
  • 2
0
votes
1 answer

How to handle uncertainty in position?

I am working on a car following problem and the measurements I am receiving are uncertain ( I know that the noise model is gaussian and it's variance is also known). How do I select my next action in such kind of uncertainty? Basically how should I…
devil in the detail
  • 2,905
  • 17
  • 15
0
votes
0 answers

Infer incomplete rules

How can I infer rules with incomplete facts as input? For example, I only has X eat flies as input: - {cf(croaks) 1.0}, {cf(eats flies) 1.0}, {cf(a frog) 1.0} - If X 'croaks' and X 'eats flies' Then X is 'a frog' {cf 1.0} If X is 'a frog' Then…
MiP
  • 499
  • 1
  • 7
  • 16
0
votes
2 answers

How does numpy handle data files with uncertainty values, e.g., 0.6499(6)?

Here is a snippet of a large data set I am working with: # p* T* P* U* P*_cs U*_cs Steps dt* 0.1 6.0 0.6499(6) -0.478(2) 0.6525 -0.452 30000 0.002 0.2 6.0 1.442(1) -0.942(2) 1.452 -0.890 30000 …
Steven C. Howell
  • 16,902
  • 15
  • 72
  • 97
0
votes
1 answer

Uncertainties / errors for non-continuous minimizer in Octave

I am currently using fminsearch to minimize a non-continuous function, with x = vector of 7 variables. It works well but has two problems (for me): 1) it is slow, 2) more importantly it doesn't return any uncertainties / errors for the variables in…
user46655
  • 11
  • 7
0
votes
1 answer

Determine Uncertainty in Peak Value of Spectrum (Standard Error or Parameter Error)

I want to extract the position of a peak from a spectrum (energy spectrum of scattered photons). To do so, I am using scipy.optimize.curve_fit to fit a Gaussian to the region of the spectrum that resembles the Gaussian. How do I find the uncertainty…
0
votes
1 answer

variable uncertainty corresponding to nominal value

I just startet using the uncertainties module found at http://pythonhosted.org/uncertainties/index.html# Suppose we have an experimental setup with a temperature sensor which was calibrated. Now consider that the calibration yielded a variable…
DavidT
  • 79
  • 10
0
votes
1 answer

Calculate Uncertainty of Percentage in R and plot in scatter plot

I have this data set where I calculate the percentage of fall given an age. Total Members is the whole date by a given age, and members fallen is the amount of falls within the total member. age status membersFallen totalMember percentage 37 1…
Pedro Martins
  • 110
  • 2
  • 8
0
votes
1 answer

R - mc2d Monte Carlo package, level of uncertainty

I have the following question regarding the mc2d package for Monte Carlo simulations. Given a mc node, i.e. a mc object. How can we get the uncertainty for the values of the distribution? For instance, as an input distribution I am using an uniform…
0
votes
1 answer

Google Maps for Mobile - Blue Circle of Uncertainty

When GPS positioning is unavailable (or even when it is available sometimes), Google Maps for mobile shows a blue circle of uncertainty around the blue self-localization dot. What exactly (statistically) does this blue circle represent? Is it the…
0
votes
1 answer

Generate a 2D/3D/n-dimensional uncertain data set with/without label

I am going to work on uncertainty visualization. My main problem is finding/generating a 2D/3D/n-dimensional data set with uncertain data. How do I can generate/create a data set which includes uncertain data (with and/or without label)? Is there…
BlueBit
  • 300
  • 1
  • 3
  • 17
0
votes
0 answers

Error list plot with Errors on both variables in Mathematica

I am analysing some data in Mathematica for a lab report and having some trouble finding a way to plot error bars (uncertainties) on both the vertical and horizontal axes. I have imported the ErrorBarPlots function to do it. I currently have my data…
Jayden
  • 33
  • 2
  • 6
0
votes
1 answer

Design for max hash size given N-digit numerical input and collision related target

Assume a hacker obtains a data set of stored hashes, salts, pepper, and algorithm and has access to unlimited computing resources. I wish to determine a max hash size so that the certainty of determining the original input string is nominally equal…
crokusek
  • 5,345
  • 3
  • 43
  • 61
1 2 3
9
10