I am writing a system that collects values from our devices (CRAH, Generators, etc) compute the trend of the data, and determine if an alarm should be raised.(adsbygoogle = window.adsbygoogle || []).push({});

For testing I have a point generator and I want it to follow fairly realistic norms. Currently I generate a new point as:

p.Y = p'.Y + rand.NextDouble()-.5; | p' is the previous point, and Y is the value being generated (p.X is a point in time)

This is taking the value of the last point and adding a random variant that is +- .5.

The problem is that rand will generate a totally linear grouping of numbers. What I want to do is put that point through a computation so that the next point follows a bell curve. Therefore it is more likely to generate a difference of (say) .09 - -.09 then it is .5 and .5 is closer to a 0 chance of generation than any other point.

I've used google and searched a few math forums but most of the discussion is from data analysis after the fact not during generation of the points.

Any suggestions on a formulae that would produce the desired distribution?

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Deriving points conforming to bell curve

Loading...

Similar Threads for Deriving points conforming | Date |
---|---|

I Derivation of the Cantor set | Oct 3, 2017 |

I Density, distribution and derivative relationship (stats) | May 15, 2017 |

I Weibull distribution derivation | May 1, 2017 |

I Deriving convolution | Sep 24, 2016 |

I Likelihood of some points fitting a derived function... | Sep 9, 2016 |

**Physics Forums - The Fusion of Science and Community**