I hope someone can help me with this!
I have an equation given by: a=b+c which gives me a numerical value for a. b and c are values I plug in.
I also have an equation given by a'=b'+c'. The values of b' and c' have multiple different values with associated probabilities. i.e.; b'=2(50% of time) and b'=3 (25% of time) and b'=5 (25% of time). c'=2(10% of time) and b'=3 (85% of time) and b'=5 (5% of time).
Using R programming I was able to write a script that gives me the probability of a'>a. It uses a stochastic process writing out all possible values for a' and compares it to the value of a. All values where a' is > than a, the probabilities are summed together.
I was wondering how I could write out in mathematical terms what I am doing. I was hoping to include it in a paper I am writing.