This helper function calculates the summary of the input data set. The
function takes in the sliced data set and the calculated trading frequency,
and calculate statistics about the market value, returns and volatility for
later display.
Usage
stat_calculation(x.list)
Value
f A list that contains all calculated numbers.
Arguments
x.list
is the input data set. Such data set has been sliced by
slice_data function, and is labeled as "intermediate data set".