Publications by "We think therefore we R"
Modelling returns using PCA : Evidence from Indian equity market
As my finance term paper, I investigated an interesting question where I tried to identify macroeconomic variables that explain the returns on equities. Much of the debate has already taken place on this topic which has given rise to two competing theories of asset pricing viz. CAPM (capital asset pricing theory or single factor model) and APT (a...
6071 sym
Memoization in R : Illustrative example
I came across a nice problem at project euler that gave me sense of satisfaction that was unusual, I think that because I don’t usually get the solutions right the first time as I did in this case. Anyhow, I shall try and decode the R codes that I used in simple English language and Mathematics.Let me first illustrate the brute force method, t...
2673 sym
Revisiting basic macroeconomics : Illustrations with R
PrologueAfter 3 semesters of studying economics at IGIDR, the basics of macroeconomics still elude me. What policy shifts what curve? What determines the slope of IS-LM and AD-AS curves? What exactly was Keynes contribution to Economics? How do all these curves move in tandem? Well, I would not be surprised if you are a graduate student in econom...
9205 sym 10 img 4 tbl
GARCH estimation using maximum likelihood
In my previous post I presented my findings from my finance project under the guidance of Dr Susan Thomas. The results in my paper suggested that there are macroeconomic variables, particularly the INR/USD exchange rates, that help us understand the dynamics of stock returns. Although the results that I obtained were significant at 5% level, the ...
4755 sym
"Fear of floating exchange rate" or "fear of losing international reserves".
We were recently required to do an assignment for the International Finance course where we had to investigate the policy that the emerging economies adopt towards holding international reserves. A recent research paper at the NBER by Joshua Aizenman and Yi Sun demonstrated that many emerging economies are averse to the idea of losing internatio...
9395 sym 4 img 2 tbl
M-O-M vs Y-O-Y inflation rates in India
Some time back I came across this article, by one of our alumni who is currently at NIPFP, which presents some caveats and shortcomings of different measure of inflation in India in a concise manner. Since my master’s thesis topic revolves around inflation; I was in a better position to appreciate the author’s insightful critique. It might ha...
4435 sym 8 img
Term structure of interest rate spread volatility : Unit root test
Recently, I was working on my master’s thesis and came across an interesting observation regarding the term structure of interest rate spread volatility that I wish to share. Let me first try and throw some light on the jargon that I have used. To begin with, term structure of interest rates is basically a curve plotting the market expectation...
4502 sym 10 img 4 tbl
Measuring persistence in a time series : Application of rolling window regression
During my final semester at IGIDR I did a project paper in macroeconomics involving timeseries econometrics. The concept that I focused on my study was unit root, which I have touched upon in my earlier posts. This study presents a novel applicative aspect of unit root test called persistence. We investigate the level of persistence exhibited...
7830 sym 4 img 2 tbl
Dealing with different object types in a vector in R
I came across a little problem while dealing with a vector in R which had one of the most simple solutions. These are, in my opinion, the most annoying problems with the most simple and commonsensical solution. Anyways, yet again Utkarsh comes to rescue and slaps me with the realization that no matter what one does nothing can match an open mind ...
1795 sym R (406 sym/4 pcs)