R Dataset / Package MASS / SP500

On this R-data statistics page, you will find information about the SP500 data set which pertains to Returns of the Standard and Poors 500. The SP500 data set is found in the MASS R package. You can load the SP500 data set in R by issuing the following command at the console data("SP500"). This will load the data into a variable called SP500. If R says the SP500 data set is not found, you can try installing the package by issuing this command install.packages("MASS") 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 SP500 R data set. The size of this file is about 28,775 bytes.

Returns of the Standard and Poors 500

Description

Returns of the Standard and Poors 500 Index in the 1990's

Usage

SP500

Format

A vector of returns of the Standard and Poors 500 index for all the trading days in 1990, 1991, ..., 1999.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-mass-sp500.html" width="100%" height="100%" style="border:0px"></iframe>