Learn R Programming

stockPortfolio (version 1.2)

stock94: Data for 24 stocks and 1 index, 1994-9

Description

Sixty monthly stock observations from 1994-10-03 to 1999-09-01 for 24 stocks in six industries. There is also a 25th column for an index, the S&P500.

Usage

data(stock94)

Arguments

Format

The format is numerical with 60 rows and 25 columns. The column names provide the tickers, and row names describe the dates.

Source

Yahoo Finance.

Details

See stock94Info for a breakdown of the stocks by industry.

See Also

stock94Info, stock99, stock04, stockModel

Examples

Run this code
data(stock94)
data(stock94Info)
sm <- stockModel(stock94, model='SIM', index=25,
                 industry=stock94Info$industry)

Run the code above in your browser using DataLab