[Eventstudies-commits] r331 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu May 15 01:11:10 CEST 2014
Author: chiraganand
Date: 2014-05-15 01:11:09 +0200 (Thu, 15 May 2014)
New Revision: 331
Modified:
pkg/man/eventstudy.Rd
Log:
Added information on na.fill, added market model example.
Modified: pkg/man/eventstudy.Rd
===================================================================
--- pkg/man/eventstudy.Rd 2014-05-14 18:56:58 UTC (rev 330)
+++ pkg/man/eventstudy.Rd 2014-05-14 23:11:09 UTC (rev 331)
@@ -87,6 +87,8 @@
series, use \sQuote{[} with \code{drop = FALSE} for subsetting the
data set. See \code{\link{phys2eventtime}} for more details.
+ \sQuote{NA} values in the returns data are converted to \code{0}.
+
\dQuote{type} currently supports:
\itemize{
\item{\dQuote{marketResidual}: uses \code{\link{marketResidual}}
@@ -103,7 +105,8 @@
}
Arguments to a model type can be sent inside \sQuote{...}. See
- \sQuote{Model arguments} section for details on accepted fields.
+ \sQuote{Model arguments} section for details on accepted
+ fields.
\dQuote{remap} can take three values:
\itemize{
@@ -215,7 +218,7 @@
data("SplitDates")
data("OtherReturns")
-## Event study without adjustment
+ # Event study without adjustment
es <- eventstudy(firm.returns = StockPriceReturns,
eventList = SplitDates,
width = 10,
@@ -227,7 +230,21 @@
str(es)
plot(es)
-## Event study using Augmented Market Model
+ # Event study using Market Model
+es <- eventstudy(firm.returns = StockPriceReturns,
+ eventList = SplitDates,
+ width = 10,
+ type = "marketResidual",
+ to.remap = TRUE,
+ remap = "cumsum",
+ inference = TRUE,
+ inference.strategy = "bootstrap",
+ market.returns = OtherReturns[, "NiftyIndex"],
+ )
+str(es)
+plot(es)
+
+ # Event study using Augmented Market Model
events <- data.frame(outcome.unit = c("Infosys", "TCS"),
event.when = c("2012-04-01", "2012-06-01"),
stringsAsFactors = FALSE)
More information about the Eventstudies-commits
mailing list