[Eventstudies-commits] r55 - pkg/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 8 14:04:38 CEST 2013


Author: vikram
Date: 2013-04-08 14:04:38 +0200 (Mon, 08 Apr 2013)
New Revision: 55

Modified:
   pkg/vignettes/eventstudies.Rnw
Log:
Added eventstudy graph in vignette

Modified: pkg/vignettes/eventstudies.Rnw
===================================================================
--- pkg/vignettes/eventstudies.Rnw	2013-04-08 11:27:37 UTC (rev 54)
+++ pkg/vignettes/eventstudies.Rnw	2013-04-08 12:04:38 UTC (rev 55)
@@ -199,18 +199,7 @@
 bootstrap to generate distribution of $\bar{CR}$. The bootstrap
 generates confidence interval at 2.5\% and 97.5\% for the estimate.
 
-\subsection{Usage}
-This function has two arguments:
-\begin{enumerate}
-\item \textit{z.e}: This is the re-mapped output of \textit{phys2eventtime}
-\item \textit{to.plot}: If the user wants inference output plot then
-  \textit{to.plot} is equals \textit{TRUE}
-\end{enumerate}
-<<>>=
-result <- inference.Ecar(z.e=es.w.cs, to.plot=FALSE)
-head(result)
-@ 
-\begin{figure}[ht]
+\begin{figure}[t]
   \begin{center}
     \caption{Event on S\&P 500 and response of Nifty}
     \setkeys{Gin}{width=0.8\linewidth}
@@ -223,6 +212,19 @@
 \label{fig:one}
 \end{figure}
 
+\subsection{Usage}
+This function has two arguments:
+\begin{enumerate}
+\item \textit{z.e}: This is the re-mapped output of \textit{phys2eventtime}
+\item \textit{to.plot}: If the user wants inference output plot then
+  \textit{to.plot} is equals \textit{TRUE}
+\end{enumerate}
+<<>>=
+result <- inference.Ecar(z.e=es.w.cs, to.plot=FALSE)
+head(result)
+@ 
+
+
 \section{Identify extreme events}
 \subsection{Conceptual framework}
 This function of the package identifies extreme event and does data



More information about the Eventstudies-commits mailing list