Last data update: 2014.03.03

R: List of the names of files downloaded from the "Analysis of...
TsayFilesR Documentation

List of the names of files downloaded from the "Analysis of Financial Data" web site.

Description

A list organized by chapter and text vs. exercises of the files downloaded from the web site associated with Tsay (2005) Analysis of Financial Time Series, 2nd ed. (Springer) and stored in "~library/FinTS/scripts/TsayFiles". These facilitate the process of creating and updating the 'FinTS' package (and documenting the creation process).

Usage

TsayFiles
FinTS.url

Format

  • TsayFiles A list with names 'ch01', 'ch02', ..., 'ch12' for components describing the files associated with the corresponding chapter.

    Each chapter component is a list with 'text' and 'exercises' components, where 'text' and 'exercises' are each a character array giving names for 'data', 'file', 'url', and 'found' for the data referenced in the text or exercises of that chapter:

    • data 'file' without the extension, e.g, 'd-ibmvwewsp6203' for daily simple returns of IBM, VW, EW, SP (7/3/62-12/31/03) = 'file' without the extension.

    • file short file name = 'data' plus the extension, e.g., 'd-ibmvwewsp6203'.txt' for daily simple returns of IBM, VW, EW, SP (7/3/62-12/31/03)

    • url universal resource locator for the data, e.g.,

      "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-ibmvwewsp6203.txt"

    • found 'TRUE' if the data were found, 'FALSE' if the attempt to access the url failed.

    NOTES:

    (1) 13 files are referenced twice, and 2 are referenced three times on the web page. This redundancy is retained in 'TsayFiles'.

    (2) A few files (most noticably some with with '.dat' extension) are referenced in the HTML code without an apparent visible link. These 'invisible files' are retained in 'TsayFiles'.

  • FinTS.url A character string giving the universal resource locator (URL) associated with the Tsay (2005) book:

    FinTS.url <- "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2"

Source

Tsay (2005) Analysis of Financial Time Series, 2nd ed. (Springer)

Examples

data(TsayFiles)
TsayFiles$ch01$exercises

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(FinTS)
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/FinTS/TsayFiles.Rd_%03d_medium.png", width=480, height=480)
> ### Name: TsayFiles
> ### Title: List of the names of files downloaded from the "Analysis of
> ###   Financial Data" web site.
> ### Aliases: FinTS.url TsayFiles
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(TsayFiles)
> TsayFiles$ch01$exercises
                 data           file              
d-3stock.txt     "d-3stock"     "d-3stock.txt"    
d-tyc9099.dat    "d-tyc9099"    "d-tyc9099.dat"   
m-ibm3dx7503.txt "m-ibm3dx7503" "m-ibm3dx7503.txt"
m-mel7399.dat    "m-mel7399"    "m-mel7399.dat"   
d-fxca00.txt     "d-fxca00"     "d-fxca00.txt"    
d-fxuk00.txt     "d-fxuk00"     "d-fxuk00.txt"    
d-fxjp00.txt     "d-fxjp00"     "d-fxjp00.txt"    
d-fxeu00.txt     "d-fxeu00"     "d-fxeu00.txt"    
                 url                                                                     
d-3stock.txt     "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-3stock.txt"    
d-tyc9099.dat    "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-tyc9099.dat"   
m-ibm3dx7503.txt "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/m-ibm3dx7503.txt"
m-mel7399.dat    "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/m-mel7399.dat"   
d-fxca00.txt     "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-fxca00.txt"    
d-fxuk00.txt     "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-fxuk00.txt"    
d-fxjp00.txt     "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-fxjp00.txt"    
d-fxeu00.txt     "http://faculty.chicagogsb.edu/ruey.tsay/teaching/fts2/d-fxeu00.txt"    
                 found  
d-3stock.txt     "TRUE" 
d-tyc9099.dat    "FALSE"
m-ibm3dx7503.txt "TRUE" 
m-mel7399.dat    "FALSE"
d-fxca00.txt     "TRUE" 
d-fxuk00.txt     "TRUE" 
d-fxjp00.txt     "TRUE" 
d-fxeu00.txt     "TRUE" 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>