Learn R Programming

BCT (version 1.2)

SP500: Daily changes in the S&P 500 index

Description

This dataset contains the quantised daily changes in the Standard & Poor<U+2019>s index price, from January 2, 1928 until October 7, 2016. The price changes are quantised to 7 values as follows: If the change between two successive trading days (i 1) and i is smaller than , is set equal to 0; if the change is between and , ; for changes in the intervals (, ], (, 1], (1, 2], and (2, 3] is set equal to 2,3,4 and 5, respectively; and for changes greater than 3, = 6.

Usage

SP500

Arguments

Format

An object of class "character".

References

Yahoo! finance. (yahoo_finance)

Examples

Run this code
# NOT RUN {
BCT(SP500, 10)

# }

Run the code above in your browser using DataLab