Hello everyone. I'm new to SDQL and first time posting
here.
Let's say we have this simple query to generate plays: D and o:R1 = 0 and op:R1
> 0. This will give us the dog play. We also want to see how often this dog team goes over its team total when there is a play. I'm guessing that there's a formula to come up
with the team total based on the game total and/or game moneylines. How do we query this?
Please let me know if my questions are unclear. Thank you so much for your help and time.
Rotogrinders :
Each team’s projected runs would then be calculated with the following formula:
= (SPREAD + TOTAL RUNS/2) + ((Spread Moneyline Probability Percent * Projected Runs)/2)Thank you, Ognj3n, for your help.
To be honest, I don't know how to write a query that includes all the
parameters from the Rotogrinders or the Twoplustwo formula and that it will
work.
Does my query below make sense?
runs >= (total/2 +1)
We want this query to tell us that our team's total runs for the game is
greater than or equal to the sum of (game total divided by 2) +1. Example: game
total is 8; query is true if our team's total run is five or more. Thanks.
| 1274-1125 (0.24, 53.1%) | ||||||
| RL: | 677-1109 (-1.22, 37.9%) |
Thank you very much, Ognj3n.
I'm slowly grasping your logic now. The way my brain works, I understand the X>=(total-1)*0.5 example more. (X being the total runs scored by the team, either dog or fav.)
Ognj3n, for the Favorite team, we need to change from X>=(total-1)*0.5 to X>=(total+1)*0.5, correct? Thank you.