Blog Archives

Shiny, R, d3 Adaptation of Mike Bostock’s Calendar

December 13, 2012
By
Shiny, R, d3 Adaptation of Mike Bostock’s Calendar

The idea with all the posts http://timelyportfolio.blogspot.com/search/label/shiny was to learn both d3 and shiny by iterating through multiple experiments.  This example adaptation was my quickest yet at about 30 minutes.  Mike Bostock had d...

Read more »

more d3 with shiny and R (CPI from bls.gov)

December 12, 2012
By
more d3 with shiny and R (CPI from bls.gov)

Extending the marginal success achieved in d3 Showreel Combined with R and Shiny  d3 and r interacting through shiny I have converted http://bl.ocks.org/3891711 to use data supplied by an R load of http://bls.gov CPI data through Rstudio's Shin...

Read more »

d3 Showreel Combined with R and Shiny

December 10, 2012
By
d3 Showreel Combined with R and Shiny

Since the d3 portion of the example provide in my last post d3 and r interacting through shiny was so weak, I thought it would be interesting to combine the much more compelling Showreel Example with the same stock data.  However, this time the da...

Read more »

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 »