[Eventstudies-commits] r139 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 24 17:39:20 CEST 2013


Author: vikram
Date: 2013-08-24 17:39:20 +0200 (Sat, 24 Aug 2013)
New Revision: 139

Modified:
   pkg/R/eventstudy.R
Log:
Changed the AMM argument in eventstudy funciton

Modified: pkg/R/eventstudy.R
===================================================================
--- pkg/R/eventstudy.R	2013-08-23 22:07:19 UTC (rev 138)
+++ pkg/R/eventstudy.R	2013-08-24 15:39:20 UTC (rev 139)
@@ -24,8 +24,7 @@
 ### Run models
   ## AMM
   if (type == "AMM") {
-    amm.type <- "residual"
-    tmp.outputModel <- AMM(amm.type = amm.type, firm.returns = firm.returns, ...)
+    tmp.outputModel <- AMM(firm.returns = firm.returns, ...)
     outputModel <- zoo(coredata(tmp.outputModel),index(tmp.outputModel))
   }
 



More information about the Eventstudies-commits mailing list