# What Do the Odds Say? Buy Stocks Begin of Year?

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**Timely Portfolio**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

At some point in 2013, I read (can’t remember where) that 2012 was a rare year for the S&P 500 where no day’s closing price was lower than the closing price for the first day. So if you bought on the first day of 2012, you never had a loss for the entire year. Well, the same thing happened 2013, so I just had to do some analysis. Below is a dimple.js chart built using rCharts with the minimum close price for the year divided by the close price for the first day of that year.

*data source: Yahoo! Finance, Standard & Poors*

To

**leave a comment**for the author, please follow the link and comment on their blog:**Timely Portfolio**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.