--quote:"I am trying to write a UDM that finds horses shortening up or cutting back.
As on the HTML report you find -1 for a horse going from 8F to 7F etc.
I create the UDM but it seems to only work on Positive numbers......horses that are stretching out. I am screwing up I am sure on the min/max value entry. I am using "distance shift" as the factor but no matter what I try in the min/max values...... i can't get it right?
Any suggestions?" --end quote There are many different ways to accomplish this. You have the following factors at your disposal:
Preset Filters such as: R2S require Route to Sprint
and: 6.0FMIN avoid distance < 6.0 furlongs
as well as selecting specific distances in the Distance Drop Down in the UDM Wizard
and setting min and max val for Distance Shift in the UDM Wizard
Let's work through an example...
Let's say for the sake of argument you want to create a UDM that flags horses shortening up:
specifically from any of the following three distances: 1 Mile, 1 Mile & 70 yds, and 1 1/16 Miles
to the following distance: 7f
1. In the UDM Wizard, when creating (or modifying) the UDM, select the 7f distance from the Distance Drop and hit the Save button.
2. Next, you want to set the min and max values for Distance Shift. Think it through first. Cutting back from 1 Mile (or 8.0f) to 7.0f is a distance shift of -1. That's your Max value. Cutting back from 1 1/16 Miles (or 8.5f) to 7.0f is a distance shift of -1.5. That's your Min value.
Grab Distance Shift from the factors drop down. Click the Test Box. Key in -1.5 as your Min val. Key in -1.0 as your Max val. Hit the Save Button.
That's it!!! You now have a UDM that flags horses cutting back from 1 Mile, 1 Mile & 70 yds, and 1 1/16 Miles to 7f. From there (hopefully) you'll be able through R&D to find other factors capable of improving it.
The key for me when I do this for myself (and in teaching others how to do this) is to get people to lay out exactly what they want to do first before trying to think up a solution.
And if a solution isn't readily apparent, help is (usually) no further away than a post or two in this forum.
Running the above UDM through the Data Window against my calendar yr 2007 database...
UDM Definition: CutBack_4Ralph Divisor: # UDM Def Divisor: 999 Surface Req: *ANY Surface* Distance Req: 7f
Distance Shift: MinVal= -1.5 MaxVal= -1 Running Style: ALL
Data Window Settings: Divisor = 999 Odds Cap: None Filters Applied:
Surface: (ALL*) 7f From Index File: C:\2007\pl_Complete_History.txt
Data Summary Win Place Show Mutuel Totals 5942.30 5936.40 5770.30 Bet -7612.00 -7612.00 -7612.00 Gain -1669.70 -1675.60 -1841.70
Wins 427 861 1291 Plays 3806 3806 3806 PCT .1122 .2262 .3392
ROI 0.7806 0.7799 0.7581 Avg Mut 13.92 6.89 4.47
By: CPace Rank
Rank Gain Bet Roi Wins Plays Pct Impact 1 15.00 458.00 1.0328 45 229 .1965 1.7515 2 -53.10 582.00 0.9088 44 291 .1512 1.3477 3 -63.40 684.00 0.9073 60 342 .1754 1.5637 4 -252.80 846.00 0.7012 56 423 .1324 1.1800 5 -281.60 976.00 0.7115 51 488 .1045 0.9315 6 -291.30 988.00 0.7052 49 494 .0992 0.8841 7 -387.00 982.00 0.6059 38 491 .0774 0.6898 8 -423.80 764.00 0.4453 26 382 .0681 0.6067 9 -97.80 534.00 0.8169 23 267 .0861 0.7678 10 1.60 346.00 1.0046 14 173 .0809 0.7213 11 117.90 240.00 1.4913 11 120 .0917 0.8171 12 13.60 128.00 1.1063 5 64 .0781 0.6964 13 37.00 48.00 1.7708 3 24 .1250 1.1142 14 -12.60 32.00 0.6063 1 16 .0625 0.5571 15 10.60 2.00 6.3000 1 1 1.0000 8.9133 16 -2.00 2.00 0.0000 0 1 .0000 0.0000
-jp
.
|