ISmCensus2.DailyWeights

Fore Syntax

DailyWeights: Array;

Fore.NET Syntax

DailyWeights: System.Array;

Description

The DailyWeights property determines weights for weekdays.

Comments

Months contain a different number of working days, and it may affect the final result of time series analysis. Use this property to set weights for each weekday. The sum of weights must be 7. If their sum is not equal to 7, the weights are normalized.

By default, weights of all weekdays are equal to 1. If all elements of the DailyWeights array are equal to 0, this array cannot be normalized and cannot be used in calculation.

Weekday weights are set only for monthly data.

To get normalized weights for weekdays, use the ISmCensus2.NormDailyWeights property.

Example

The property use is given in the example for ISmCensus2.Holday.

See also:

ISmCensus2