Looks nice.
The difficulty in applying map-reduce to Stan (what they
call, more descriptive, "divide and recombine"), is
that we don't have any parallelization below the Markov
chain level (unlike the Passage sampler from PRL).
But it would allow us to execute different R functions
on different machines.
It should be really helpful for imputation when you have
many types of missing data and want to impute them
simultaneously. For instance, you could take all 1000 or 2000
predictors from those big election surveys and impute
the missingness all at once.
It should also be really useful for Andrew's "secret weapon"
(build a bunch of separate models for different groups of
data [and display them together]).
This won't make existing R functions any faster --- you need whole
new conceptions of the algorithms that can be shoehorned
into the map-reduce (what they call, more descriptively,
"divide and recombine"). So you won't just be able to run
lmer for a really large N. It will make it very easy
to run something like lmer on many small models. So it'd
be awesome for the "secret weapon" if there were many many
piles of data.
I'm not going to be the first one to say "hree-pay" out loud!
- Bob