sp500: sp500

Description Usage Format References Examples

Description

The sp500 datafile contains a year's worth of close-of-day data for most of the Standard and Poors 500 stocks. The data is in reverse chronological order, with the top row being Dec 31st, 2008.

Usage

1

Format

This data file contains the following items:

sp500.2008

The raw close-of-day data. The first column is of the DJIA index, the second is the S&P 500 index, the rest are individual labeled stocks.

sp500.percent

The daily percentage change.

References

This database was used in the R package "plus".

Examples

1
## See examples in scalreg

Example output

Loading required package: lars
Loaded lars 1.2

Loading required package: MASS

scalreg documentation built on May 1, 2019, 10:55 p.m.