fitting hierarchical model

started blog post...
Merge branch 'master' of https://github.com/dchudz/misc