<div dir="ltr">Dear Rahul,<div><br></div><div>As you have daily series as response series and monthly series as event series, you can follow one of the two options.</div><div>1. Convert daily FX rate to end of month FX rate, and perform event study analysis.</div>
<div>2. Get event dates from EOM event series, and get response for daily FX rate. Here, you would not find any clustered events or mixed events in event series unless your window width is more than 30 days. </div><div><br>
</div><div>I will suggest you to go with 2nd option, which will give you more number of observations.</div><div><br></div><div>Regards</div><div>Vikram Bahure</div><div>Consultant</div><div>NIPFP</div><div>New Delhi.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 9:40 PM, Rahul Choudhry <span dir="ltr"><<a href="mailto:rahul.choudhry@gmail.com" target="_blank">rahul.choudhry@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Vikram & Ajay,<div><br></div><div>Thanks a lot for getting back to me. I have printed out the paper and will go through it.</div>
<div><br></div><div>Vikram, I appreciate the explanation you have provided and how it relates to what I am trying to accomplish. I had one quick clarification question though. Since my events happens once every month (EOM when report is released), whereas the FX rates (close rate) changes daily, the number of elements in response time series > event time series.</div>

<div><br></div><div>In order to make the number of elements in the event time series vector =  response time series, do I just carry through the value until it changes at the end of month.</div><div><br></div><div>So my z object to use in eesPlot would be something like following</div>

<div><br></div><div>Date                                   Unemployment Rate ( Event)               FX</div><div><br></div><div>01-Nov-2013                                 5.5                                          1.5</div>

<div>02-Nov-2013                                 5.5                                           1.47</div><div>03-Nov-2013                                 5.5                                           1.6</div><div>..                                                 5.5                                            1.54</div>

<div>..</div><div>..</div><div>29-Nov-2013                                  5.5                                         1.6</div><div>30-Nov-2013                                  5.2                                          1.4</div>

<div>01-Dec-2013             ..(continues as 5.2 till 31-Dec-2013)</div><div><br></div><div><br></div><div>Thanks for your help again !</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Rahul</div><div>
<br></div></font></span></div><div class="gmail_extra"><div><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Nov 26, 2013 at 10:11 AM, Ajay Shah <span dir="ltr"><<a href="mailto:ajayshah@mayin.org" target="_blank">ajayshah@mayin.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Use <a href="http://macrofinance.nipfp.org.in/releases/PatnaikShahSingh2013_Foreign_Investors.html" target="_blank">http://macrofinance.nipfp.org.in/releases/PatnaikShahSingh2013_Foreign_Investors.html</a> as the main page for the paper.</div>


<div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On 26 November 2013 19:38, Vikram Bahure <span dir="ltr"><<a href="mailto:economics.vikram@gmail.com" target="_blank">economics.vikram@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Rahul,  <div><br></div><div>Thank you for your note of appreciation.  </div><div><br></div><div>The 'eesPlot' function, replicates the Patnaik, Shah and Singh (2013) paper, <a href="http://onlinelibrary.wiley.com/doi/10.1111/j.1468-2362.2013.12032.x/abstract" target="_blank">Foreign investors under stress Evidence from India</a>. The paper uses modified event study methodology, which deals with clustered events and purges out mixed events before performing event study.  </div>



<div><br></div><div>For instance, your response series is FX rate (FX) and event series is Unemployment rate (UR). Methodology: </div><div>1. Defining event: With the help of all the data, we get a distribution of UR which is used to define event series. Extreme events on both sides of the tail are used in event series and tail is defined using 'prob.value' argument. ('prob.value=5' is 5% of tail on both sides). </div>



<div>2. Mixed events: There can be cases when right tail event is next to left tail event in an event series UR. With difficulty to interpret these results, we discard them.  </div><div>3. Clustered events: After extracting tail events and discarding mixed events, there can be cases where we find consecutive left or right tail events. We fuse all the consecutive events into a single event and their respective response series. </div>



<div>4. Event study: Once we have modified event series (UR) and response series (FX), event study graph is generated.  </div><div><br></div><div>I hope this was helpful. For more detailed understanding, I will suggest you to <a href="http://onlinelibrary.wiley.com/doi/10.1111/j.1468-2362.2013.12032.x/abstract" target="_blank">download the paper.</a>  </div>



<div><br></div><div>Regards </div><div>Vikram Bahure </div><div>Consultant </div><div>NIPFP </div><div>New Delhi.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Nov 26, 2013 at 10:54 AM, Rahul Choudhry <span dir="ltr"><<a href="mailto:rahul.choudhry@gmail.com" target="_blank">rahul.choudhry@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>First of all thanks a lot for putting this awesome package. I have been using it for the past one week or so for event profiling and looking at the impact of macro-economic events on various currencies.<br>




<br></div>I was going through the package manual at the link below and trying to understand other functions in the package.<br><a href="http://cran.r-project.org/web/packages/eventstudies/eventstudies.pdf" target="_blank">http://cran.r-project.org/web/packages/eventstudies/eventstudies.pdf</a><br>




<br></div>In particular I am trying to get my head around eesPlot function better and if I can use it in my analysis. <br></div>I am trying to analyse the FX rates of G10 currencies (wrt USD) and how they behave with the release of US economic reports (eg Monthly unemployment numbers). In other words, my response series would be daily FX rate returns for a particular currency. However, when it comes to event series, I am not really sure of what I should be using. <br>




<br></div>Following is a snippet of the file showing daily returns of different Forex rates<br><br>



        
        
        
        
        
        



<table cols="10" cellspacing="0" border="0">
        <colgroup width="77"></colgroup>
        <colgroup span="2" width="49"></colgroup>
        <colgroup width="66"></colgroup>
        <colgroup span="6" width="49"></colgroup>
        <tbody><tr>
                <td align="LEFT" height="16">Date</td>
                <td align="LEFT">EUR</td>
                <td align="LEFT">JPY</td>
                <td align="LEFT">CHF</td>
                <td align="LEFT">GBP</td>
                <td align="LEFT">CAD</td>
                <td align="LEFT">AUD</td>
                <td align="LEFT">NZD</td>
                <td align="LEFT">NOK</td>
                <td align="LEFT">SEK</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/3/2000</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/4/2000</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">-0.016</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">-0.005</td>
                <td align="RIGHT">-0.009</td>
                <td align="RIGHT">-0.011</td>
                <td align="RIGHT">0.004</td>
                <td align="RIGHT">0.01</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/5/2000</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">-0.011</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">0.003</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">0.004</td>
                <td align="RIGHT">-0.005</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0.001</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/6/2000</td>
                <td align="RIGHT">-0.002</td>
                <td align="RIGHT">-0.01</td>
                <td align="RIGHT">0.005</td>
                <td align="RIGHT">0.003</td>
                <td align="RIGHT">-0.007</td>
                <td align="RIGHT">-0.004</td>
                <td align="RIGHT">-0.005</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">-0.002</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/7/2000</td>
                <td align="RIGHT">-0.002</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">-0.011</td>
                <td align="RIGHT">-0.006</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">0.001</td>
                <td align="RIGHT">0.003</td>
                <td align="RIGHT">-0.003</td>
                <td align="RIGHT">-0.006</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/10/2000</td>
                <td align="RIGHT">-0.003</td>
                <td align="RIGHT">0.001</td>
                <td align="RIGHT">-0.003</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0.001</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">-0.007</td>
                <td align="RIGHT">-0.004</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/11/2000</td>
                <td align="RIGHT">0.007</td>
                <td align="RIGHT">-0.007</td>
                <td align="RIGHT">0.006</td>
                <td align="RIGHT">0.007</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0.003</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">0.007</td>
                <td align="RIGHT">0.006</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/12/2000</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">-0.002</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">0</td>
                <td align="RIGHT">0.004</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">-0.002</td>
        </tr>
        <tr>
                <td align="LEFT" height="16">1/13/2000</td>
                <td align="RIGHT">-0.005</td>
                <td align="RIGHT">-0.002</td>
                <td align="RIGHT">-0.006</td>
                <td align="RIGHT">-0.001</td>
                <td align="RIGHT">0.002</td>
                <td align="RIGHT">0.015</td>
                <td align="RIGHT">0.011</td>
                <td align="RIGHT">0.004</td>
                <td align="RIGHT">0</td>
        </tr>
</tbody></table>



<br><div><br></div><div>Following is a snippet of Unemployment data.  ( it is released at the end of every month). If I make a daily time series, every month from Day 1 till end of month, I will be carrying the numbers from the end of last month when new data comes in.<br>




<br>



        
        
        
        
        
        



<table cols="3" cellspacing="0" border="0">
        <colgroup width="107"></colgroup>
        <colgroup span="2" width="80"></colgroup>
        <tbody><tr>
                <td align="LEFT" bgcolor="#4F81BD" height="20" valign="BOTTOM"><b><font color="#FFFFFF">Date</font></b></td>
                <td align="LEFT" bgcolor="#4F81BD" valign="BOTTOM"><b><font color="#FFFFFF">Actual Line</font></b></td>
                <td align="LEFT" bgcolor="#4F81BD" valign="BOTTOM"><b><font color="#FFFFFF">Survey Median Line</font></b></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">01/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">02/29/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4.1</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">03/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4.1</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">04/30/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">3.9</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">05/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4.1</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">3.9</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">06/30/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">07/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">08/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4.1</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">09/30/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">3.9</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4.1</font></td>
        </tr>
        <tr>
                <td align="RIGHT" height="20" valign="BOTTOM"><font color="#000000">10/31/2000</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">3.9</font></td>
                <td align="RIGHT" valign="BOTTOM"><font color="#000000">4</font></td>
        </tr>
</tbody></table>



<br></div><div>-- <br></div><div>Any assistance provided would be very helpful.<br><br><br></div><div>Thanks for your time.<br><br></div><div>Rahul<br></div><div><br><br><br><br><div><div><div><div><div>Regards,<br>Rahul<br>




Cell: <a href="tel:312%20480%205469" value="+13124805469" target="_blank">312 480 5469</a>
</div></div></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
Eventstudies-discussion mailing list<br>
<a href="mailto:Eventstudies-discussion@lists.r-forge.r-project.org" target="_blank">Eventstudies-discussion@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/eventstudies-discussion" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/eventstudies-discussion</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Eventstudies-discussion mailing list<br>
<a href="mailto:Eventstudies-discussion@lists.r-forge.r-project.org" target="_blank">Eventstudies-discussion@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/eventstudies-discussion" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/eventstudies-discussion</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Ajay Shah<br><a href="mailto:ajayshah@mayin.org" target="_blank">ajayshah@mayin.org</a><br><a href="http://www.mayin.org/ajayshah" target="_blank">http://www.mayin.org/ajayshah</a><br>

<a href="http://ajayshahblog.blogspot.com" target="_blank">http://ajayshahblog.blogspot.com</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><div class="im">Regards,<br>Rahul<br>Cell: 312 480 5469
</div></div>
</blockquote></div><br></div>