Generating Two Independent Standard Normal Variables












0












$begingroup$


Image of problem



I have a problem with this explanation, the book says we can generate Y1 Y2 from X1 X2
but when we want to answer questions about the distribution of X1 X2 we take arctan which returns values in range (-PI/2,PI/2) even though we X1 X2 range is (0,1) I understand it makes no difference in the part when we calculate uniform pdf from inverse since it is 1 for each X1 X2 but I can't understand how it works in Jacobian. I think author made jump here and didn't want to go into details










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    this process is Box-Muller transform
    $endgroup$
    – Adam Jochna
    Dec 2 '18 at 1:47
















0












$begingroup$


Image of problem



I have a problem with this explanation, the book says we can generate Y1 Y2 from X1 X2
but when we want to answer questions about the distribution of X1 X2 we take arctan which returns values in range (-PI/2,PI/2) even though we X1 X2 range is (0,1) I understand it makes no difference in the part when we calculate uniform pdf from inverse since it is 1 for each X1 X2 but I can't understand how it works in Jacobian. I think author made jump here and didn't want to go into details










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    this process is Box-Muller transform
    $endgroup$
    – Adam Jochna
    Dec 2 '18 at 1:47














0












0








0





$begingroup$


Image of problem



I have a problem with this explanation, the book says we can generate Y1 Y2 from X1 X2
but when we want to answer questions about the distribution of X1 X2 we take arctan which returns values in range (-PI/2,PI/2) even though we X1 X2 range is (0,1) I understand it makes no difference in the part when we calculate uniform pdf from inverse since it is 1 for each X1 X2 but I can't understand how it works in Jacobian. I think author made jump here and didn't want to go into details










share|cite|improve this question









$endgroup$




Image of problem



I have a problem with this explanation, the book says we can generate Y1 Y2 from X1 X2
but when we want to answer questions about the distribution of X1 X2 we take arctan which returns values in range (-PI/2,PI/2) even though we X1 X2 range is (0,1) I understand it makes no difference in the part when we calculate uniform pdf from inverse since it is 1 for each X1 X2 but I can't understand how it works in Jacobian. I think author made jump here and didn't want to go into details







statistics random-variables random






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 2 '18 at 1:46









Adam JochnaAdam Jochna

1




1








  • 1




    $begingroup$
    this process is Box-Muller transform
    $endgroup$
    – Adam Jochna
    Dec 2 '18 at 1:47














  • 1




    $begingroup$
    this process is Box-Muller transform
    $endgroup$
    – Adam Jochna
    Dec 2 '18 at 1:47








1




1




$begingroup$
this process is Box-Muller transform
$endgroup$
– Adam Jochna
Dec 2 '18 at 1:47




$begingroup$
this process is Box-Muller transform
$endgroup$
– Adam Jochna
Dec 2 '18 at 1:47










1 Answer
1






active

oldest

votes


















0












$begingroup$


arctan which returns values in range (-PI/2,PI/2)




Actually the inverse trigonometric functions can be defined with several ranges. In your formula, it's clear that they are taking the range $[0,2pi]$



Regarding the Jacobian (and the proof in general) of this Box-Muller transform, there are many answers:



Box-Muller Transform Normality



proof of Box–Muller transform (polar form)



https://stats.stackexchange.com/questions/188183/some-details-about-the-box-muller-transform-method






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%2f3022115%2fgenerating-two-independent-standard-normal-variables%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









    0












    $begingroup$


    arctan which returns values in range (-PI/2,PI/2)




    Actually the inverse trigonometric functions can be defined with several ranges. In your formula, it's clear that they are taking the range $[0,2pi]$



    Regarding the Jacobian (and the proof in general) of this Box-Muller transform, there are many answers:



    Box-Muller Transform Normality



    proof of Box–Muller transform (polar form)



    https://stats.stackexchange.com/questions/188183/some-details-about-the-box-muller-transform-method






    share|cite|improve this answer











    $endgroup$


















      0












      $begingroup$


      arctan which returns values in range (-PI/2,PI/2)




      Actually the inverse trigonometric functions can be defined with several ranges. In your formula, it's clear that they are taking the range $[0,2pi]$



      Regarding the Jacobian (and the proof in general) of this Box-Muller transform, there are many answers:



      Box-Muller Transform Normality



      proof of Box–Muller transform (polar form)



      https://stats.stackexchange.com/questions/188183/some-details-about-the-box-muller-transform-method






      share|cite|improve this answer











      $endgroup$
















        0












        0








        0





        $begingroup$


        arctan which returns values in range (-PI/2,PI/2)




        Actually the inverse trigonometric functions can be defined with several ranges. In your formula, it's clear that they are taking the range $[0,2pi]$



        Regarding the Jacobian (and the proof in general) of this Box-Muller transform, there are many answers:



        Box-Muller Transform Normality



        proof of Box–Muller transform (polar form)



        https://stats.stackexchange.com/questions/188183/some-details-about-the-box-muller-transform-method






        share|cite|improve this answer











        $endgroup$




        arctan which returns values in range (-PI/2,PI/2)




        Actually the inverse trigonometric functions can be defined with several ranges. In your formula, it's clear that they are taking the range $[0,2pi]$



        Regarding the Jacobian (and the proof in general) of this Box-Muller transform, there are many answers:



        Box-Muller Transform Normality



        proof of Box–Muller transform (polar form)



        https://stats.stackexchange.com/questions/188183/some-details-about-the-box-muller-transform-method







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 2 '18 at 21:30

























        answered Dec 2 '18 at 2:55









        leonbloyleonbloy

        41.1k645107




        41.1k645107






























            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%2f3022115%2fgenerating-two-independent-standard-normal-variables%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?