| getDSdata {FatTailsR} | R Documentation |
Get DS Dataset
Description
A function to extract the log-returns
of 16 financial series and time series provided by the packages datasets
(EuStockMarkets, sunspot.year) and timeSeries (USDCHF, MSFT, LPP2005REC).
The 16 datasets are converted to a list of numeric without any reference
to the original dates. This list is usually called DS, hence the name.
Usage
getDSdata()
Details
The dataset is usually created by the instruction DS <- getDSdata().
Then, it is used with a call to DS[[j]] with j in 1:16.
"USDCHF" (USDCHF, timeSeries)
"MSFT" (MSFT, timeSeries)
"DAX" (EuStockMarkets, datasets)
"SMI" (EuStockMarkets, datasets)
"CAC" (EuStockMarkets, datasets)
"FTSE" (EuStockMarkets, datasets)
"SBI" (LPP2005REC, timeSeries)
"SPI" (LPP2005REC, timeSeries)
"SII" (LPP2005REC, timeSeries)
"LMI" (LPP2005REC, timeSeries)
"MPI" (LPP2005REC, timeSeries)
"ALT" (LPP2005REC, timeSeries)
"LPP25" (LPP2005REC, timeSeries)
"LPP40" (LPP2005REC, timeSeries)
"LPP60" (LPP2005REC, timeSeries)
"sunspot" (sunspot.year, datasets)
Note that sunspot.year is regularly updated with each new version of
R. The generated dataset is logreturn(sunspot.year + 1000).
See Also
EuStockMarkets, sunspot.year,
TimeSeriesData, regkienerLX,
fitkienerX
Examples
require(timeSeries)
getDSdata
DS <- getDSdata()
attributes(DS)
sapply(DS, length)
sapply(DS, head)