R Dataset / Package Stat2Data / Markets
On this R-data statistics page, you will find information about the Markets data set which pertains to Markets. The Markets data set is found in the Stat2Data R package. You can load the Markets data set in R by issuing the following command at the console data("Markets"). This will load the data into a variable called Markets. If R says the Markets data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Markets R data set. The size of this file is about 1,457 bytes.
Markets
Description
Daily changes in two stock market indices
Format
A dataset with 56 observations on the following 5 variables.
DJIAch | Change in Dow Jones Industrial Average |
Date | Date: 06-Aug-09 to 02-Nov-09 |
Nik225ch | Change in Nikkei 225 stock average |
Up | Indicator for positive Nikkei change |
lagNik | Previous day's Nikkei change |
Details
This dataset contains data on daily changes from two stock markets over 56 days from 06-Aug-09 to 02-Nov-09. The Dow Jones Industrial Average is based in New York and the Nikkei 225 is a stock index in Japan.
Source
Dow Jones Industrial Average: http://markets.cbsnews.com/cbsnews/quote/historical?Month=11&Symbol=310… Historical Nikkei 225 index: http://markets.cbsnews.com/cbsnews/quote/historical?Month=11&Symbol=992…
Dataset imported from https://www.r-project.org.