1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Estimate a number within two (or more) overlapping ranges of number

  1. Apr 29, 2012 #1
    Hi everyone,

    Let's say a simulation outputs a range of estimates with various accuracy level, ranging from 30% to 100%, with the range given at 30% being widest and the range at 100% being the narrowest. The ultimate goal of this simulation is to arrive at a single number within the estimated range.

    For example, 30% estimate is 185 to 285 and 100% estimate is 219 to 249. (There are intermediate estimated ranges with accuracy ranging from 31% to 99%, but i've left out for now.)

    The result of the simulation: 235. Not sure what the algorithm was for the simulation (I was leaning toward RNG), but given the information of the different sets of ranges, can we predict this number reliably and if so, how does such method work? Will having more sets of ranges give a more reliable prediction?

    I've been told that if we model each range as a linear function as followed:

    f(x)= (285-185)x + 185
    g(x)= (249-219)x + 219

    Then finding the intersection of the two lines will yield the answer:

    Set f(x)=g(x), solve for x, and sub it back into f(x), yielding f(34/70)=233.4


    233.4 is so really close to the actual 235. This method mirrors linear interpolation isn't it? So same questions as above (if this is how we predict the number, how/why does it work? and can we improve on our prediction, perhaps with more ranges?), if someone could kindly answers, thanks!
    Last edited: Apr 29, 2012
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted