Learn R Programming

erer (version 4.0)

daEsa: Daily returns of 14 public firms from 1990 to 2004

Description

This data set contains daily returns of 14 public firms, three-month treasury bill, and SP 500 Index from 1990 to 2004.

dateEight-digit numbers for date of 1990-2004; the format is YYMMDD, e.g., 19900102 for Jan 2, 1990
tb3mDaily returns for three-month treasury bills
sp500Daily returns for SP 500 Index
bccDaily returns for Boise Cascade
bowDaily returns for Bowater
cskDaily returns for Chesapeake Corp VA
gpDaily returns for Georgia-Pacific
ipDaily returns for International Paper
kmbDaily returns for Kimberly Clark
lpxDaily returns for Louisiana Pacific
mwvDaily returns for MeadWestvaco
pchDaily returns for Potlatch
pclDaily returns for Plum Creek
popDaily returns for Pope and Talbot
tinDaily returns for Temple Inland
wppDaily returns for Wausau Mosinee Paper
wyDaily returns for Weyerhaeuser

Usage

data(daEsa)

Arguments

Format

A data frame object with daily returns for firms or indexes from 1994 to 2004. There are 17 columns and 3747 rows. The date is not regular because there is no trading on weekends and holidays. Therefore, the date is represented by a number, not a date.

Details

This is the transformated data set used in the study of Sun and Liao (2011).

References

Sun, C., and X. Liao. 2011. Effects of litigation under the Endangered Species Act on forest firm values. Journal of Forest Economics 17(4):388-398.

See Also

evReturn; evRisk.

Examples

Run this code
data(daEsa) 
dim(daEsa); colnames(daEsa)
head(daEsa); tail(daEsa)
str(daEsa)

# if dates are stored as a date object in R, then it can be converted into
# numbers as the following example shows.

raw <- as.Date(c('1990-01-02', '1991-11-12')); raw; str(raw)
raw2 <- as.numeric(strftime(raw, format = "%Y%m%d")); raw2; str(raw2)

Run the code above in your browser using DataLab