Navigation:  MCL Reference > Arguments and Variables of MCL functions >

The cIncluding Argument

Print this Topic Previous pageReturn to chapter overviewNext page

A jockey may take part in more than one race in a meeting. A stable may start more than one horse in a race. When we are doing analysis on a race, especially a coming race, usually we do not want data of other races of the same day to be included. For example, we are doing statistics for a jockey in the 6 th race of the meeting on 20/3/2008, usually we do not want data of other races of the same meeting, say the 4 th race of in the same day, to be counted. The cIncluding parameter can control whether races in the same meeting are taken into account.

 

cIncluding

Description

 

If you do not pass any value to the cIncluding parameter, races in the same meeting will not be taken into account by default.

'D'

Starts of the same meeting will be taken into account. However, starts in the same race will still be excluded. 'D' is not applicable to horse records because a horse will not start twice in one meeting.

'R'

Starts in the same meeting including those in the same race will be taken into account. 'R' is only applicable to stable records because only stable can have 2 starts in the same race.

'C' (only for statistics)

Including the underlying start, i.e., all horses in the same day, same race and underlying start. Only valid for statistical functions.

 

For example, the average rating figure returned by the following functions will be different.

 

SrAverage('SrRating( )',20)

Starts in the same meeting are not counted

SrAverage('SrRating( )',20,,'D')

Starts in the same meeting, excluding the same race, will be counted.

SrAverage('SrRating( )',20,,'R')

Starts in the same meeting, including the same race, will be counted.

 

 


Page url: http://www.racematenet.com/english/help/index.html?the_cincluding_argument.htm