Brett, there are many ways to analyze this problem, and yours is probably a lot simpler, but I wanted to use MATLAB and Bayes’ Rule in this case, because I was stuck in a bad snowstorm and I wanted to rest long enough to recover from fatigue before going out to resume snow shoveling! ]]>

I like to think about the Monty Hall question this way:

What if there were 1000 doors (instead of 3), only one of which contained a car? Suppose you were asked to choose a door, and then Monty (who knows where the car is) opened all the remaining doors except one. He then asks if you want to change your pick. Seems clear that you should switch, doesn’t it? ;)

]]>Just a quick question:

Can we use

randi([2,3])

instead of

randsample([2,3],1)

if one doesn’t has the Statistics Toolbox insatalled and can’t use the randsample function?

The results I get are the same with both solutions.

Best,

Dominik

MapReduce was added to MATLAB to provide another option to develop algorithms for processing and analyzing big data sets that are hard to process within the memory of a typical workstation or desktop. The following webinar provides an overview of many of these capabilities as well as guidelines for applying them.

http://www.mathworks.com/videos/tackling-big-data-with-matlab-97711.html

We also have information on using MapReduce on your workstation or desktop as well as how to execute your MATLAB MapReduce code within Hadoop clusters on data stored in HDFS which can be found here:

http://www.mathworks.com/discovery/matlab-mapreduce-hadoop.html

To answer your question on regression models, here are specific examples of models implemented using MapReduce that you may be interested in:

Logistic Regression in MapReduce:

http://www.mathworks.com/help/matlab/import_export/using-mapreduce-to-fit-a-logistic-regression-model.html

Covariance using MapReduce:

http://www.mathworks.com/help/matlab/import_export/using-mapreduce-to-compute-covariance-and-related-quantities.html

Let us know if you find this helpful and how MapReduce works for you.

]]>May I ask if we can use MapReduce/Datastore to be able to make a Regression Model or a Neural Network Model?

I do think it is possible but is there an example about this? or it has some limitations?

Thanks,

Ian Alferez