Why is Monte Carlo integration randomly sampled?












2












$begingroup$


As I understand, Monte Carlo integration uses stochastic sampling to sample points.



Obviously, you would need many samples to reach an accurate result, but why does this process have to be random?



Would using a symmetrical grid of very dense samples (e.g. a 1 million by 1 million grid) achieve the same goal?



Are there any benefits to random sampling?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:42










  • $begingroup$
    So how is random sampling faster?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:45








  • 1




    $begingroup$
    Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:54










  • $begingroup$
    Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:55






  • 1




    $begingroup$
    Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
    $endgroup$
    – LutzL
    Oct 19 '18 at 10:06
















2












$begingroup$


As I understand, Monte Carlo integration uses stochastic sampling to sample points.



Obviously, you would need many samples to reach an accurate result, but why does this process have to be random?



Would using a symmetrical grid of very dense samples (e.g. a 1 million by 1 million grid) achieve the same goal?



Are there any benefits to random sampling?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:42










  • $begingroup$
    So how is random sampling faster?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:45








  • 1




    $begingroup$
    Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:54










  • $begingroup$
    Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:55






  • 1




    $begingroup$
    Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
    $endgroup$
    – LutzL
    Oct 19 '18 at 10:06














2












2








2


1



$begingroup$


As I understand, Monte Carlo integration uses stochastic sampling to sample points.



Obviously, you would need many samples to reach an accurate result, but why does this process have to be random?



Would using a symmetrical grid of very dense samples (e.g. a 1 million by 1 million grid) achieve the same goal?



Are there any benefits to random sampling?










share|cite|improve this question











$endgroup$




As I understand, Monte Carlo integration uses stochastic sampling to sample points.



Obviously, you would need many samples to reach an accurate result, but why does this process have to be random?



Would using a symmetrical grid of very dense samples (e.g. a 1 million by 1 million grid) achieve the same goal?



Are there any benefits to random sampling?







calculus integration numerical-methods stochastic-integrals monte-carlo






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 8 '18 at 22:53







Prithvi Boinpally

















asked Oct 19 '18 at 9:39









Prithvi BoinpallyPrithvi Boinpally

234




234












  • $begingroup$
    Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:42










  • $begingroup$
    So how is random sampling faster?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:45








  • 1




    $begingroup$
    Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:54










  • $begingroup$
    Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:55






  • 1




    $begingroup$
    Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
    $endgroup$
    – LutzL
    Oct 19 '18 at 10:06


















  • $begingroup$
    Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:42










  • $begingroup$
    So how is random sampling faster?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:45








  • 1




    $begingroup$
    Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
    $endgroup$
    – Matti P.
    Oct 19 '18 at 9:54










  • $begingroup$
    Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
    $endgroup$
    – Prithvi Boinpally
    Oct 19 '18 at 9:55






  • 1




    $begingroup$
    Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
    $endgroup$
    – LutzL
    Oct 19 '18 at 10:06
















$begingroup$
Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
$endgroup$
– Matti P.
Oct 19 '18 at 9:42




$begingroup$
Yes, using a symmetrical grid would be a solution also. But it's very very very time consuming to operate on a million times a million points, even on a powerful computer.
$endgroup$
– Matti P.
Oct 19 '18 at 9:42












$begingroup$
So how is random sampling faster?
$endgroup$
– Prithvi Boinpally
Oct 19 '18 at 9:45






$begingroup$
So how is random sampling faster?
$endgroup$
– Prithvi Boinpally
Oct 19 '18 at 9:45






1




1




$begingroup$
Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
$endgroup$
– Matti P.
Oct 19 '18 at 9:54




$begingroup$
Because you need much fewer points. And due to the random nature of the process, the answer will still be relatively reliable.
$endgroup$
– Matti P.
Oct 19 '18 at 9:54












$begingroup$
Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
$endgroup$
– Prithvi Boinpally
Oct 19 '18 at 9:55




$begingroup$
Could you elaborate on the math behind why there are fewer samples needed? Does it have anything to do with convergence?
$endgroup$
– Prithvi Boinpally
Oct 19 '18 at 9:55




1




1




$begingroup$
Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
$endgroup$
– LutzL
Oct 19 '18 at 10:06




$begingroup$
Monte-Carlo with $N$ points has an error of $O(1/sqrt{N})$. Sampling over a grid in $d$ dimensions of $n$ sample coordinates per dimension gives a total of $N=n^d$ points. Thus you would need an integration method with error order $d/2$ to beat Monte-Carlo. Low-discrepancy sequences, also called quasi-random or sub-random, provide a Monte-Carlo error of even $O(1/N)$ which makes beating it with grid-sampling even harder.
$endgroup$
– LutzL
Oct 19 '18 at 10:06










1 Answer
1






active

oldest

votes


















1












$begingroup$

It doesn't have to be completely random. In fact, using semirandom sample points is an active area of research. For instance the Latin Hypercube or Sobol' sequence.



The reason it often is random is that nonrandom sample points can magnify certain biases present in the function to be estimated. And also, of course, because it's easier.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2961833%2fwhy-is-monte-carlo-integration-randomly-sampled%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    It doesn't have to be completely random. In fact, using semirandom sample points is an active area of research. For instance the Latin Hypercube or Sobol' sequence.



    The reason it often is random is that nonrandom sample points can magnify certain biases present in the function to be estimated. And also, of course, because it's easier.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      It doesn't have to be completely random. In fact, using semirandom sample points is an active area of research. For instance the Latin Hypercube or Sobol' sequence.



      The reason it often is random is that nonrandom sample points can magnify certain biases present in the function to be estimated. And also, of course, because it's easier.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        It doesn't have to be completely random. In fact, using semirandom sample points is an active area of research. For instance the Latin Hypercube or Sobol' sequence.



        The reason it often is random is that nonrandom sample points can magnify certain biases present in the function to be estimated. And also, of course, because it's easier.






        share|cite|improve this answer









        $endgroup$



        It doesn't have to be completely random. In fact, using semirandom sample points is an active area of research. For instance the Latin Hypercube or Sobol' sequence.



        The reason it often is random is that nonrandom sample points can magnify certain biases present in the function to be estimated. And also, of course, because it's easier.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Oct 19 '18 at 13:10









        dbxdbx

        1,622312




        1,622312






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2961833%2fwhy-is-monte-carlo-integration-randomly-sampled%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?