I have a app im making that will predict the outcome of a TWO MAN race. Lets say there is 10 different racers , each have won and lost many times to each other .

i need help figuring out how to get vb to do the math to figure out based on previous races who will have the highest percentage chance of winning in the two man race

i have a form with a drop down with 5 racers in each drop down and a Race button i want to hit race and then get the odds on which racer will win by looking at past races and the opponents last ten race outcomes

i have the racers records in a different text file for each racer

any help would be great been racking my brain

# How should i approach creating this VB algorithm

Page 1 of 1## 2 Replies - 726 Views - Last Post: 01 November 2012 - 11:39 AM

### #1

# How should i approach creating this VB algorithm

Posted 01 November 2012 - 09:22 AM

##
**Replies To:** How should i approach creating this VB algorithm

### #2

## Re: How should i approach creating this VB algorithm

Posted 01 November 2012 - 10:50 AM

Technically, this isn't a VB question at all, it's a maths question.

I don't want to sound harsh, but how about googling for odds calculations or probability.

Once you have the formula, getting it into code should be fairly straight forward.

Try this link as a starting point.

I don't want to sound harsh, but how about googling for odds calculations or probability.

Once you have the formula, getting it into code should be fairly straight forward.

Try this link as a starting point.

This post has been edited by **maj3091**: 01 November 2012 - 10:52 AM

### #3

## Re: How should i approach creating this VB algorithm

Posted 01 November 2012 - 11:39 AM

thanks for the help .

Page 1 of 1