Blog Archives

Predicting Monthly Car Sales: The Residuals are the Story

October 7, 2014
By
Predicting Monthly Car Sales: The Residuals are the Story

I'll produce predictions for US car sales by manufacture every month. There are already several blogs that describe the industry and sales that do a great job. Autoblog by the Numbers and Counting Cars are some to mention. Unli...

Read more »

Predicting Monthly Car Sales for Brands in US: First Step

August 6, 2014
By

I've set out to produce monthly forecasts of monthly car sales by brand in the US. So far I've made a SUTSE dynamic linear model (code on Github) and created a Shiny app (http://sweiss.shinyapps.io/carvis/) as a prototype (no predictions...

Read more »

Mideast Graph 3: Slate Middle East Friendship

July 23, 2014
By
Mideast Graph 3: Slate Middle East Friendship

Slate recently published a great info-graphic about Middle-East Relationships. It shows the relationships (Friend, Enemy, or Complicated) of 13 countries / organizations and the relationships between each pair. One draw back of the chart is that it doe...

Read more »

didYouMean() Function: Using Google to correct errors in Strings

May 22, 2014
By

A function that will take a String as an input and return the "Did you mean.." or "Showing Results for.." from google.com. Good for misspelled names or locations.Githublibrary(RCurl)didYouMean=function(input){  input=gsub(" ", "+", input)  do...

Read more »

Modeling "This Time is Different" in R

April 14, 2014
By
Modeling "This Time is Different" in R

Check out PDF for Equations And Code to run yourself Introduction: “This Time is different” by Reinhart and Rogoff is an empirical history of financial crises and panics.  It describes many economic events such as; inflation, bubbles, and...

Read more »

Modeling "This Time is Different"

April 14, 2014
By
Modeling "This Time is Different"

Check out PDF for Equations And Code to run yourself Introduction: “This Time is different” by Reinhart and Rogoff is an empirical history of financial crises and panics.  It describes many economic events such as; inflation, bubbles, and defaults. The theme that ties these events together is the idea that people have an unrealistic expectation of the future because...

Read more »