powered by
Monthly return data for a few stocks, which covers stock prices from November 2015 through October 2018.
stocks_18
A data frame with 36 observations on the following 3 variables.
First day of the month corresponding to the returns.
Google stock price change.
Caterpillar stock price change.
Exxon Mobil stock price change.
d <- stocks_18 dim(d) apply(d[, 2:3], 2, mean) apply(d[, 2:3], 2, sd)
Run the code above in your browser using DataLab