[Eventstudies-commits] r309 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 2 15:53:30 CEST 2014


Author: chiraganand
Date: 2014-05-02 15:53:29 +0200 (Fri, 02 May 2014)
New Revision: 309

Modified:
   pkg/man/eventstudy.Rd
Log:
Added one more firm in the lmAMM eventstudy example.

Modified: pkg/man/eventstudy.Rd
===================================================================
--- pkg/man/eventstudy.Rd	2014-05-02 11:27:09 UTC (rev 308)
+++ pkg/man/eventstudy.Rd	2014-05-02 13:53:29 UTC (rev 309)
@@ -221,11 +221,11 @@
 
 ## Event study using Augment Market Model
 data("AMMData")
-events <- data.frame(outcome.unit = "Infosys",
+events <- data.frame(outcome.unit = c("Infosys", "TCS"),
                      event.when = c("2012-04-01", "2012-06-01"),
                      stringsAsFactors = FALSE)
 
-es <- eventstudy(firm.returns = AMMData[, "Infosys", drop = FALSE],
+es <- eventstudy(firm.returns = AMMData[, c("Infosys", "TCS")],
                  eventList = events,
                  width = 10,
                  type = "lmAMM",



More information about the Eventstudies-commits mailing list