A question of probability.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1













A box contains $N$ tickets numbered $1,2, cdots , N$. From this box $n$ tickets are drawn without replacement. What is the probability that the largest number drawn is $M$? What if the tickets were drawn with replacement?




For the case "without replacement" I found the answer to be $$frac n(M-1)!(N-n)! N!(M-n)!$$ and for the case "with replacement" I found the answer to be $$frac sum limits_r=0^n-1 n_P_ r M-1 choose r N^n.$$



Are they correct at all? Please check it.



Thank you very much.







share|cite|improve this question





















  • What's $n_P_ r$?
    – joriki
    Jul 21 at 6:15










  • Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
    – drhab
    Jul 21 at 6:16











  • $n_P_r$ means $frac n! (n-r)!$.
    – Debabrata Chattopadhyay.
    Jul 21 at 6:29














up vote
1
down vote

favorite
1













A box contains $N$ tickets numbered $1,2, cdots , N$. From this box $n$ tickets are drawn without replacement. What is the probability that the largest number drawn is $M$? What if the tickets were drawn with replacement?




For the case "without replacement" I found the answer to be $$frac n(M-1)!(N-n)! N!(M-n)!$$ and for the case "with replacement" I found the answer to be $$frac sum limits_r=0^n-1 n_P_ r M-1 choose r N^n.$$



Are they correct at all? Please check it.



Thank you very much.







share|cite|improve this question





















  • What's $n_P_ r$?
    – joriki
    Jul 21 at 6:15










  • Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
    – drhab
    Jul 21 at 6:16











  • $n_P_r$ means $frac n! (n-r)!$.
    – Debabrata Chattopadhyay.
    Jul 21 at 6:29












up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1






A box contains $N$ tickets numbered $1,2, cdots , N$. From this box $n$ tickets are drawn without replacement. What is the probability that the largest number drawn is $M$? What if the tickets were drawn with replacement?




For the case "without replacement" I found the answer to be $$frac n(M-1)!(N-n)! N!(M-n)!$$ and for the case "with replacement" I found the answer to be $$frac sum limits_r=0^n-1 n_P_ r M-1 choose r N^n.$$



Are they correct at all? Please check it.



Thank you very much.







share|cite|improve this question














A box contains $N$ tickets numbered $1,2, cdots , N$. From this box $n$ tickets are drawn without replacement. What is the probability that the largest number drawn is $M$? What if the tickets were drawn with replacement?




For the case "without replacement" I found the answer to be $$frac n(M-1)!(N-n)! N!(M-n)!$$ and for the case "with replacement" I found the answer to be $$frac sum limits_r=0^n-1 n_P_ r M-1 choose r N^n.$$



Are they correct at all? Please check it.



Thank you very much.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 21 at 6:06
























asked Jul 21 at 5:59









Debabrata Chattopadhyay.

13611




13611











  • What's $n_P_ r$?
    – joriki
    Jul 21 at 6:15










  • Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
    – drhab
    Jul 21 at 6:16











  • $n_P_r$ means $frac n! (n-r)!$.
    – Debabrata Chattopadhyay.
    Jul 21 at 6:29
















  • What's $n_P_ r$?
    – joriki
    Jul 21 at 6:15










  • Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
    – drhab
    Jul 21 at 6:16











  • $n_P_r$ means $frac n! (n-r)!$.
    – Debabrata Chattopadhyay.
    Jul 21 at 6:29















What's $n_P_ r$?
– joriki
Jul 21 at 6:15




What's $n_P_ r$?
– joriki
Jul 21 at 6:15












Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
– drhab
Jul 21 at 6:16





Answer on first question is correct. For second question you better use $P(X=M)=P(Xleq M)-P(Xleq M-1)$ where $X$ denotes largest number. I cannot recognize the notation that you use.
– drhab
Jul 21 at 6:16













$n_P_r$ means $frac n! (n-r)!$.
– Debabrata Chattopadhyay.
Jul 21 at 6:29




$n_P_r$ means $frac n! (n-r)!$.
– Debabrata Chattopadhyay.
Jul 21 at 6:29










1 Answer
1






active

oldest

votes

















up vote
0
down vote













It is better to stick to formal notation unless you define yours.



Suppose $X_i$ is the random variable denoting the number on the $i$th ticket drawn, $i=1,2,cdots,n$.



Denote $max (X_1,X_2,cdots,X_n)$ by $X_(n)$. We seek the probability mass function of $X_(n)$.



For sampling without replacement, the required probability is



beginalign
P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
\&=fracbinomMnbinomNn-fracbinomM-1nbinomNn
\&=begincasesdfracbinomM-1n-1binomNn&,text if M=n,n+1,cdots,N\\quad0&,text otherwise endcases
endalign



No need to simplify further by breaking the binomial coefficient into factorials.



For sampling with replacement, the probability is simply



beginalign
P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
\&=left(fracMNright)^n-left(fracM-1Nright)^n
\&=begincasesfrac1N^nleft(M^n-(M-1)^nright)&,text if M=1,2,cdots,N\\quad0&,text otherwise endcases
endalign



Here the random variables $X_1,X_2,cdots,X_n$ are independent unlike in the previous case.






share|cite|improve this answer























    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2858275%2fa-question-of-probability%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    It is better to stick to formal notation unless you define yours.



    Suppose $X_i$ is the random variable denoting the number on the $i$th ticket drawn, $i=1,2,cdots,n$.



    Denote $max (X_1,X_2,cdots,X_n)$ by $X_(n)$. We seek the probability mass function of $X_(n)$.



    For sampling without replacement, the required probability is



    beginalign
    P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
    \&=fracbinomMnbinomNn-fracbinomM-1nbinomNn
    \&=begincasesdfracbinomM-1n-1binomNn&,text if M=n,n+1,cdots,N\\quad0&,text otherwise endcases
    endalign



    No need to simplify further by breaking the binomial coefficient into factorials.



    For sampling with replacement, the probability is simply



    beginalign
    P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
    \&=left(fracMNright)^n-left(fracM-1Nright)^n
    \&=begincasesfrac1N^nleft(M^n-(M-1)^nright)&,text if M=1,2,cdots,N\\quad0&,text otherwise endcases
    endalign



    Here the random variables $X_1,X_2,cdots,X_n$ are independent unlike in the previous case.






    share|cite|improve this answer



























      up vote
      0
      down vote













      It is better to stick to formal notation unless you define yours.



      Suppose $X_i$ is the random variable denoting the number on the $i$th ticket drawn, $i=1,2,cdots,n$.



      Denote $max (X_1,X_2,cdots,X_n)$ by $X_(n)$. We seek the probability mass function of $X_(n)$.



      For sampling without replacement, the required probability is



      beginalign
      P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
      \&=fracbinomMnbinomNn-fracbinomM-1nbinomNn
      \&=begincasesdfracbinomM-1n-1binomNn&,text if M=n,n+1,cdots,N\\quad0&,text otherwise endcases
      endalign



      No need to simplify further by breaking the binomial coefficient into factorials.



      For sampling with replacement, the probability is simply



      beginalign
      P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
      \&=left(fracMNright)^n-left(fracM-1Nright)^n
      \&=begincasesfrac1N^nleft(M^n-(M-1)^nright)&,text if M=1,2,cdots,N\\quad0&,text otherwise endcases
      endalign



      Here the random variables $X_1,X_2,cdots,X_n$ are independent unlike in the previous case.






      share|cite|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        It is better to stick to formal notation unless you define yours.



        Suppose $X_i$ is the random variable denoting the number on the $i$th ticket drawn, $i=1,2,cdots,n$.



        Denote $max (X_1,X_2,cdots,X_n)$ by $X_(n)$. We seek the probability mass function of $X_(n)$.



        For sampling without replacement, the required probability is



        beginalign
        P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
        \&=fracbinomMnbinomNn-fracbinomM-1nbinomNn
        \&=begincasesdfracbinomM-1n-1binomNn&,text if M=n,n+1,cdots,N\\quad0&,text otherwise endcases
        endalign



        No need to simplify further by breaking the binomial coefficient into factorials.



        For sampling with replacement, the probability is simply



        beginalign
        P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
        \&=left(fracMNright)^n-left(fracM-1Nright)^n
        \&=begincasesfrac1N^nleft(M^n-(M-1)^nright)&,text if M=1,2,cdots,N\\quad0&,text otherwise endcases
        endalign



        Here the random variables $X_1,X_2,cdots,X_n$ are independent unlike in the previous case.






        share|cite|improve this answer















        It is better to stick to formal notation unless you define yours.



        Suppose $X_i$ is the random variable denoting the number on the $i$th ticket drawn, $i=1,2,cdots,n$.



        Denote $max (X_1,X_2,cdots,X_n)$ by $X_(n)$. We seek the probability mass function of $X_(n)$.



        For sampling without replacement, the required probability is



        beginalign
        P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
        \&=fracbinomMnbinomNn-fracbinomM-1nbinomNn
        \&=begincasesdfracbinomM-1n-1binomNn&,text if M=n,n+1,cdots,N\\quad0&,text otherwise endcases
        endalign



        No need to simplify further by breaking the binomial coefficient into factorials.



        For sampling with replacement, the probability is simply



        beginalign
        P(X_(n)=M)&=P(X_(n)le M)-P(X_(n)le M-1)
        \&=left(fracMNright)^n-left(fracM-1Nright)^n
        \&=begincasesfrac1N^nleft(M^n-(M-1)^nright)&,text if M=1,2,cdots,N\\quad0&,text otherwise endcases
        endalign



        Here the random variables $X_1,X_2,cdots,X_n$ are independent unlike in the previous case.







        share|cite|improve this answer















        share|cite|improve this answer



        share|cite|improve this answer








        edited Jul 21 at 8:06


























        answered Jul 21 at 7:51









        StubbornAtom

        3,78111134




        3,78111134






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858275%2fa-question-of-probability%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?