Blog Archives

d3 and r interacting through shiny

December 7, 2012
By
d3 and r interacting through shiny

I was amazed and delighted by the Reconstruct Gene Networks Using Shiny.  Jeff accomplished what I knew was possible but had absolutely no idea how to implement.  With the boost, I went to work combining his d3 force layout with my d3 experim...

Read more »

Apple Compared to Others with ggthemes

December 5, 2012
By
Apple Compared to Others with ggthemes

For a happy person delightfully concentrated in Apple, I wanted to show Apple’s performance versus Microsoft and Cisco in decades 1(1990-2000) and 2 (2000-2012).  I thought this would give me a good chance to try out the very interesting work be...

Read more »

Drawdown Determined Position Size

November 19, 2012
By
Drawdown Determined Position Size

This caught my eye as I searched for some more academic research on my favorite risk measure drawdown. Yang, Z. George and Zhong, Liang,Optimal Portfolio Strategy to Control Maximum Drawdown - The Case of Risk Based Dynamic Asset Allocation (February ...

Read more »

Unbelievable and Amazing R Shiny–Web Parameter Test in 1.5 Hours

November 9, 2012
By
Unbelievable and Amazing R Shiny–Web Parameter Test in 1.5 Hours

Life keeps getting better and better.  Yesterday, I discovered the absolutely unbelievable and amazing work RStudio has done with Shiny employing one of my favorite R packages websockets.  As proof of the ease and quality, within a couple of ...

Read more »

Cash–Opportunity Lost or Opportunity Gained

November 7, 2012
By
Cash–Opportunity Lost or Opportunity Gained

Tom Brakke from http://researchpuzzle.com/ wrote a great thought piece Cash as Trash, Cash as King, and Cash as a Weapon for the CFA Institute blog.  My favorite part comes in the last paragraph: “That’s the kind of analysis that should be br...

Read more »

Resurrect Posts on Japan and the Yen

October 22, 2012
By
Resurrect Posts on Japan and the Yen

As the Yen and Japan continue to get more interesting in my mind, I just wanted to resurrect some posts that I have done on Japan and the Yen and sort them by my favorites. Japan Trade by Geographic RegionJapanese Trade and the YenJapan Intentional or...

Read more »

Japanese Government Bond (JGB) Data Since 1974

October 16, 2012
By
Japanese Government Bond (JGB) Data Since 1974

The Ministry of Finance Japan very generously provides data on JGBs back to 1974.  Here is a quick example how to pull it into R and then graph it. From TimelyPortfolio R code in GIST (do raw for copy/paste):

Read more »

Life on the Big International Frontier

October 16, 2012
By
Life on the Big International Frontier

Although I have used the Kenneth French data library extensively in various posts, I have not yet used the international data sets paired with the wonderful paper. Eugene F. Fama and Kenneth R. French (2012) "Size, Value, and Momentum in International...

Read more »

Not Much of a Grand Finale. What if We Go To 0?

October 15, 2012
By
Not Much of a Grand Finale. What if We Go To 0?

When I ask the question “What if the US 10 year goes to 0?", most do not know the effect, the catalyst, or if 0 has ever happened before.  The math is fairly simple to do in Excel or with an old-school calculator, but let’s use RQuantLib to do...

Read more »

Emerging as Low Vol

October 2, 2012
By
Emerging as Low Vol

Extending the series begun with When Russell 2000 is Low Vol, I thought I should take a look at Emerging Market stocks during periods of low relative volatility to the S&P 500.  So you can replicate even without access to expensive data, let

Read more »