Database Handicapping Software- JCapper

JCapper Message Board

          JCapper 101
                      -- Data Window Track Weight Report - Q & A

Home Register
Log In
By Data Window Track Weight Report - Q & A
jeff
4/14/2014
11:08:58 AM
From the email inbox over the weekend...


--quote:
"Hey Jeff,

First - I LOVE the Calc Single Race Option! I tried using it before but never seen it update the Manual Changes I made in the HTML Rpt, so I would always re-run an entire Calc Races on everything sitting on 1 of my 3 folders pointed to in DFM......I just found out I was looking in the wrong place! HTML Two is were I should have looked. It literally is the DIFFERENCE between missing a race and possibly making a race. Awesome.

Working on my layering UDMs (right now I do everything by hand and keep track of things in Excel....time consuming to say the least). So, I will be hitting you up this week with 2-3 questions (I want to spend a little more time to see if I can figure things out first, but according to last 2 days, it's not looking good, lol).

Anyway, here's my question : will the Run Styles on Track Wght Rpt ever be changed to match the RunStyles that HDW uses (mostly PS and SS)? If not, in your opinion how would you place a PS style as a P or an S?

Thanks in advance"
--end quote



My reply:

No new programming changes are currently planned for the Data Window Track Weight Report.

Just like you mentioned, the run style table displayed as part of the Data Window Track Weight Report is generic or broad category based. It isn't broken out in detail or comprehensively like the separate Run Style option on the Data Window factors drop down is for HDW subscribers.

That said, below are some cut and paste's of Data Window output that (hopefully) can serve to illustrate the process by which I dig deeper into factors shaping the track weight report itself.

One of the things I did very early on was create an inactive UDM (named _TrackDateExpression) that I use soley for the purpose of generating Track Weight Reports on the fly:

SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE], NOW()) <= 15
AND TRACK='KEE'
AND INTSURFACE <= 3
AND DIST < 1760

Note that the sql expression driving the UDM contains paramters to control the following:

1. The number of calendar days back in time from Now (in this case 15 days.)

2. Track Code (in this case 'KEE')

3. Intsurface (in this case <= 3 or everything except races run on a turf couse.)

4. Dist (in this case less than 1760 yards or races less than 1 mile in distance.)

Note that the UDM itself is stored exactly as shown above.

Note I can easily run the UDM for any and all combinations of track code, surface, dist, or time span simply by editing the stored parameters prior to hitting the Execute button.




Let's look at some data...

Here, I've selected the UDM from the drop down, selected TRACK WEIGHT REPORT from the factors drop down, and hit the Execute button:


query start: 4/14/2014 8:18:46 AM
query end: 4/14/2014 8:18:46 AM
elapsed time: 0 seconds
`
Data Window Settings:
Connected to: C:\JCapper\exe\JCapper2.mdb
999 Divisor Odds Cap: None
Betting Instructions: Testing Purposes Only
`
UDM: _TrackDateExpression
`
SQL: SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE],NOW()) <= 15
AND TRACK='KEE'
AND INTSURFACE <= 3
AND DIST < 1760
`
`
Data Summary Win Place Show
-----------------------------------------------------
Mutuel Totals 544.00 492.40 496.50
Bet -626.00 -626.00 -626.00
-----------------------------------------------------
P/L -82.00 -133.60 -129.50
`
Wins 39 77 114
Plays 313 313 313
PCT .1246 .2460 .3642
`
ROI 0.8690 0.7866 0.7931
Avg Mut 13.95 6.39 4.36
`
`
` Actual Expected Actual/Expected Win
Track Weight Analysis Winners Winners Ratio Roi
CPace 123 11.00 19.33 0.5690 0.2105 (CPace 1)
CompoundLate 123 19.00 19.06 0.9967 1.0864 (CompoundLate 1)
`
Actual Expected Actual/Expected
Run Style Analysis Winners Winners Ratio
E 7.00 7.46 0.9389
EP 2.00 4.82 0.4152
P 9.00 10.02 0.8981
S 14.00 12.95 1.0812
NA 6.00 4.31 1.3926
`
Approximate Track Weight: 5.00 (Speed Tiring)


Looking at the above Track Weight Report, I note that the algorithm analyzing the data (after comparing the ratios between the actual number of winners vs. the number of 'expected' winners for starters ranked 123 in CPace and 123 in CompoundLate respectively) came to the conclusion that the data sample was indicative of a speed tiring track - and "labeled" the data sample as 5.00 or "Speed Tiring."

The only real conclusion I draw from that is that early speed horses have been getting the worst of it in sprint races at KEE while horses that don't expend a lot of energy trying to make the top in the early part of their races have been getting the best of it.

More to come...



-jp


.





Reply
jeff
4/14/2014
11:22:33 AM
Here, I've executed the same UDM... but this time, I selected Running Style from the factors drop down before hitting the Execute button:


query start: 4/14/2014 8:20:35 AM
query end: 4/14/2014 8:20:36 AM
elapsed time: 1 seconds
`
Data Window Settings:
Connected to: C:\JCapper\exe\JCapper2.mdb
999 Divisor Odds Cap: None
Betting Instructions: Testing Purposes Only
`
UDM: _TrackDateExpression
`
SQL: SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE],NOW()) <= 15
AND TRACK='KEE'
AND INTSURFACE <= 3
AND DIST < 1760
`
`
Data Summary Win Place Show
-----------------------------------------------------
Mutuel Totals 544.00 492.40 496.50
Bet -626.00 -626.00 -626.00
-----------------------------------------------------
P/L -82.00 -133.60 -129.50
`
Wins 39 77 114
Plays 313 313 313
PCT .1246 .2460 .3642
`
ROI 0.8690 0.7866 0.7931
Avg Mut 13.95 6.39 4.36
`
`
By: Running Style

Value P/L Bet Roi Wins Plays Pct Impact
-----------------------------------------------------------------------
0 -29.40 136.00 0.7838 7 68 .1029 0.8262 E
15 -53.00 72.00 0.2639 2 36 .0556 0.4459 EP
30 -19.80 32.00 0.3813 2 16 .1250 1.0032 P
45 -16.80 106.00 0.8415 8 53 .1509 1.2114 PS
60 24.60 142.00 1.1732 11 71 .1549 1.2434 S
75 -11.20 54.00 0.7926 3 27 .1111 0.8917 SS
90 23.60 84.00 1.2810 6 42 .1429 1.1465 U



Keeping in mind that this is a small data sample... but it does appear that E and EP types have been getting the worst of it. (And that's really the only take-away I get after looking at this data sample.)

Note that unlike the run style table on the track weight report, here, by selecting Running Style from the factors drop down prior to executing the UDM, the resulting data sample does contain a full breakout by run style.


More to come...



-jp


.


Reply
jeff
4/14/2014
11:58:15 AM
Here, I've executed the same UDM... but this time, I selected Q Speed Points Number from the factors drop down before hitting the Execute button:


query start: 4/14/2014 8:20:35 AM
query end: 4/14/2014 8:20:36 AM
elapsed time: 1 seconds
`
Data Window Settings:
Connected to: C:\JCapper\exe\JCapper2.mdb
999 Divisor Odds Cap: None
Betting Instructions: Testing Purposes Only
`
UDM: _TrackDateExpression
`
SQL: SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE],NOW()) <= 15
AND TRACK='KEE'
AND INTSURFACE <= 3
AND DIST < 1760
`
`
Data Summary Win Place Show
-----------------------------------------------------
Mutuel Totals 544.00 492.40 496.50
Bet -626.00 -626.00 -626.00
-----------------------------------------------------
P/L -82.00 -133.60 -129.50
`
Wins 39 77 114
Plays 313 313 313
PCT .1246 .2460 .3642
`
ROI 0.8690 0.7866 0.7931
Avg Mut 13.95 6.39 4.36
`
`
By: Q Speed Points Number
`
Q SpdPts P/L Bet Roi Wins Plays Pct Impact
-----------------------------------------------------------------------
0 60.00 140.00 1.4286 13 70 .1857 1.4905
1 28.40 128.00 1.2219 7 64 .1094 0.8778
2 5.20 66.00 1.0788 6 33 .1818 1.4592
3 -50.40 78.00 0.3538 2 39 .0513 0.4116
4 -20.00 44.00 0.5455 4 22 .1818 1.4592
5 -58.20 112.00 0.4804 6 56 .1071 0.8599
6 -5.00 16.00 0.6875 1 8 .1250 1.0032
7 -30.00 30.00 0.0000 0 15 .0000 0.0000
8 -12.00 12.00 0.0000 0 6 .0000 0.0000


Once again keeping in mind that this is a small data sample... but it does appear that horses expending energy attempting to make the top in the early parts of their races in sprints at KEE have been taking the worst of it.

And that's really the only take-away I would get after looking at this data sample in isolation.

However, even though these are small data samples... This is the third data sample for the same races that seems to be saying the same thing.

Each paints its own picture. My interpretation is that the pictures painted are building a case that the KEE surface over the past 15 calendar days has been shaping the outcome in sprint races in such a way that horses with early speed have had their chances of winning compromised.

None of this guarantees the surface at KEE will behave that way for the remainder of the meet. Weather and track maintenance play a huge role in all of this. For example, the track super could easily decide to make the surface more speed friendly by rolling the surface to compress it. He could also accomplish the same effect by using shorter harrows in the "rakes" being dragged behind the tractors.

Appraising track surface early in a race day is a skillset unto itself. In addition to looking at data samples from the recent past (like the ones posted above) I like to note things such as wind speed and direction today (sometimes a glimpse at the infield flag and/or the tails and manes of horses as they parade is a tell.) Other indicators that I find useful are how far the hooves of horses disappear into the surface as they parade in front of the grandstand along with the degree of banking built into the course itself - in the backstretch, turns, and the stretch itself. I've sometimes seen severe changes in banking implemented with no announcement in the middle of a meet - and seen it produce a 180 degree change in the way a course is playing as a result. (It pays to watch head on replays.)





-jp


.



Reply
NYMike
4/2/2015
12:37:41 PM
Jeff,
The SQL expression that you used to target the last 15 days is interesting. Is there any way to create a "live" track weight report UDM that would fire say if the track weight changed over the last 15 days? Say I have done my research and found a track that typically is speed favoring at 6 furlongs, can I write a UDM to identify when this track moves to speed tiring at 6F over the last 15 day period?

Thanks,

Mike

Reply
jeff
4/2/2015
11:47:21 PM
Active UDMs aren't designed to do that. (Although having that ability with a single calc races mouse click would be a HUGE time saver.)

That said, what you are describing is VERY doable as a situational query.

There are lots of good examples in the Statistical programs thread:
http://www.jcapper.com/messageboard/TopicReader.asp?topic=1799&forum=General

Scroll down and look at the post I made about 5.5f dirt races at MNR.

Hint: Timestamp is: 3/24/2015 2:36:33 PM


-jp

.



~Edited by: jeff  on:  4/2/2015  at:  11:47:21 PM~

Reply
jeff
4/3/2015
12:17:30 AM
As mentioned in my posts from a year ago, maintaining a set of inactive track profile UDMs like the _TrackDateExpression UDM shown above can be a relatively painless way (vs. situational queries) to stay on top of things.

Every few days, in the morning as part of your prep work prior to live play, bring up the Data Window, bring up your inactive track profile UDMs and execute them with the data broken out BY TRACK.

Below is a cut and paste of Data Window results where I've edited my _TrackDateExpression UDM to return the most recent 15 calendar days of CPace ranks 1 and 2 in 6f dirt sprints:


query start: 4/2/2015 8:03:45 PM
query end: 4/2/2015 8:03:46 PM
elapsed time: 1 seconds
`
Data Window Settings:
Connected to: C:\JCapper\exe\JCapper2.mdb
999 Divisor Odds Cap: None
Betting Instructions: Testing Purposes Only
`
UDM: _TrackDateExpression
`
SQL: SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE],NOW()) <= 15
AND RANKF20 <= 2
AND INTSURFACE = 1
AND DIST = 1320
`
`
Data Summary Win Place Show
-----------------------------------------------------
Mutuel Totals 1477.40 1278.40 1254.20
Bet -1492.00 -1492.00 -1492.00
-----------------------------------------------------
P/L -14.60 -213.60 -237.80
`
Wins 177 298 382
Plays 746 746 746
PCT .2373 .3995 .5121
`
ROI 0.9902 0.8568 0.8406
Avg Mut 8.35 4.29 3.28
`
`
****************************************************************************************
BY TRACK sorted by Track Code Run Date: 4/2/2015 8:03:46 PM
****************************************************************************************
WIN WIN WIN PLACE PLACE
TRACK PLAYS WINS PCT IMPACT ROI PLACES PCT ROI
****************************************************************************************
AQU 2 0 0 0 0 1 0.5 0.65
FGX 46 8 0.1739 0.7329 0.7978 18 0.3913 1.0717
FON 76 17 0.2237 0.9428 0.8079 32 0.4211 0.7822
GGX 40 11 0.275 1.159 0.7975 16 0.4 0.7025
GPX 28 3 0.1071 0.4514 0.3286 7 0.25 0.4089
HAW 36 8 0.2222 0.9365 0.6083 13 0.3611 0.5722
LRL 22 7 0.3182 1.3411 1.7091 9 0.4091 0.8682
MNR 50 11 0.22 0.9272 0.662 21 0.42 0.898
MVR 38 7 0.1842 0.7763 0.6395 13 0.3421 0.6447
OPX 108 23 0.213 0.8977 1.2935 43 0.3981 1.0657
PEN 66 22 0.3333 1.4048 1.3455 29 0.4394 0.9159
PHA 56 12 0.2143 0.9032 0.7054 17 0.3036 0.742
RIL 4 0 0 0 0 1 0.25 0.65
SAX 22 5 0.2273 0.958 0.7455 7 0.3182 0.8273
SUN 26 9 0.3462 1.4591 1.4923 13 0.5 1.0654
TAM 26 8 0.3077 1.2969 1.6923 14 0.5385 1.1346
TPX 34 6 0.1765 0.7439 1.2059 13 0.3824 0.8132
TUP 36 12 0.3333 1.4048 0.9417 17 0.4722 0.7736
WRD 30 8 0.2667 1.1241 1.35 14 0.4667 0.9967
****************************************************************************************
19 Track Codes from file: StarterHistory Table
****************************************************************************************



A quick eyeball scan through the track codes will tell you that PEN-SUN-TAM have been speed favoring lately.


****************************************************************************************
BY TRACK sorted by Track Code Run Date: 4/2/2015 8:22:13 PM
****************************************************************************************
WIN WIN WIN PLACE PLACE
TRACK PLAYS WINS PCT IMPACT ROI PLACES PCT ROI
****************************************************************************************
PEN 66 22 0.3333 1.4048 1.3455 29 0.4394 0.9159
SUN 26 9 0.3462 1.4591 1.4923 13 0.5 1.0654
TAM 26 8 0.3077 1.2969 1.6923 14 0.5385 1.1346



Of course, much of the time the results aren't going to be that clear cut.

Before you can apply critical thinking to the results set you need a clear understanding of what the big picture looks like.

To that end, the above sql expression can easily be modified to show you the big picture. Just change "DATEDIFF('D',[DATE],NOW()) <= 15" to "DATEDIFF('D',[DATE],NOW()) <= 180"

Note: Making that edit will have your query showing you CPace rank 1 and 2 performance in 6f dirt sprints for the most recent 180 days - which should be enough data to give you an idea of what the big picture looks like.


query start: 4/2/2015 8:22:06 PM
query end: 4/2/2015 8:22:13 PM
elapsed time: 7 seconds
`
Data Window Settings:
Connected to: C:\JCapper\exe\JCapper2.mdb
999 Divisor Odds Cap: None
Betting Instructions: Testing Purposes Only
`
UDM: _TrackDateExpression
`
SQL: SELECT * FROM STARTERHISTORY
WHERE DATEDIFF('D',[DATE],NOW()) <= 180
AND RANKF20 <= 2
AND INTSURFACE = 1
AND DIST = 1320
`
`
Data Summary Win Place Show
-----------------------------------------------------
Mutuel Totals 13608.70 13758.20 13734.00
Bet -16080.00 -16080.00 -16080.00
-----------------------------------------------------
P/L -2471.30 -2321.80 -2346.00
`
Wins 1730 3120 4181
Plays 8040 8040 8040
PCT .2152 .3881 .5200
`
ROI 0.8463 0.8556 0.8541
Avg Mut 7.87 4.41 3.28




By comparing individual track rows from the first data set to the big picture, the track codes with the greatest deviation (one way or the other) should stick out.

For example: PEN-SUN-TAM are three track codes where the most recent 15 day performance for CPace ranks 1 and 2 sticks out vs. the big picture benchmark (above.)

That said, no way to know ahead of time with 100% certainty whether or not the recent speed favoring trend at PEN-SUN-TAM continues - or whether these track codes revert back to the norm.

My "lean" after looking at these results and doing a little critical thinking is that the flat bet roi (0.9902 across all tracks) for the 15 day sample is too good to be true.

Even if the surfaces themselves continue to be speed favoring - in my opnion it's likely that other bettors are going to catch on - and as they do - the avg. win mutuel for early runners will drop accordingly.

That said, no way to know ahead of time if my prediction (that some reverting of the norm is going to take place) is right or wrong.

The best that queries like these can really do is make you aware of what the big picture looks like and when a smaller data set represents a departure from it.

Note about the above queries: CPace is assigned to slot #F20 in my sql factor setup. Thus the reference to RANKF20 in the above sql expressions.

-jp

.


Reply
Reply

Copyright © 2018 JCapper Software              back to the JCapper Message Board              www.JCapper.com