Drawing Balls of Different Colors from an Urn












0












$begingroup$


Let consider an urn model containing $n$ balls such that $m_g$ balls are green, $m_r$ are red and $m_b$ are blue and we have $n = m_g + m_r +m_b$.



Especially this means that the $m_g$ green balls are indistinguishable with respect to each other (and the same game for red and blue ones)



We draw $l le n$ times without placing the balls back.



My question how many posibilities there exist for different $l$-draws taking the order and the indistinguishability of balls of same color into account.



More generally: the urn contains $m_1, m_2, ..., m_k$ balls with $sum _i ^k m_i =n$ such that the $m_j$ are undistiguishable and one make $l$ draws without placing the balls back.



What is the cardinality of the resulting probability space?



Could anybody explain if there exist an intuitive way to describe and the count all cases?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
    $endgroup$
    – Mike Earnest
    Jan 28 at 18:11










  • $begingroup$
    @MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
    $endgroup$
    – KarlPeter
    Jan 28 at 18:13
















0












$begingroup$


Let consider an urn model containing $n$ balls such that $m_g$ balls are green, $m_r$ are red and $m_b$ are blue and we have $n = m_g + m_r +m_b$.



Especially this means that the $m_g$ green balls are indistinguishable with respect to each other (and the same game for red and blue ones)



We draw $l le n$ times without placing the balls back.



My question how many posibilities there exist for different $l$-draws taking the order and the indistinguishability of balls of same color into account.



More generally: the urn contains $m_1, m_2, ..., m_k$ balls with $sum _i ^k m_i =n$ such that the $m_j$ are undistiguishable and one make $l$ draws without placing the balls back.



What is the cardinality of the resulting probability space?



Could anybody explain if there exist an intuitive way to describe and the count all cases?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
    $endgroup$
    – Mike Earnest
    Jan 28 at 18:11










  • $begingroup$
    @MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
    $endgroup$
    – KarlPeter
    Jan 28 at 18:13














0












0








0





$begingroup$


Let consider an urn model containing $n$ balls such that $m_g$ balls are green, $m_r$ are red and $m_b$ are blue and we have $n = m_g + m_r +m_b$.



Especially this means that the $m_g$ green balls are indistinguishable with respect to each other (and the same game for red and blue ones)



We draw $l le n$ times without placing the balls back.



My question how many posibilities there exist for different $l$-draws taking the order and the indistinguishability of balls of same color into account.



More generally: the urn contains $m_1, m_2, ..., m_k$ balls with $sum _i ^k m_i =n$ such that the $m_j$ are undistiguishable and one make $l$ draws without placing the balls back.



What is the cardinality of the resulting probability space?



Could anybody explain if there exist an intuitive way to describe and the count all cases?










share|cite|improve this question











$endgroup$




Let consider an urn model containing $n$ balls such that $m_g$ balls are green, $m_r$ are red and $m_b$ are blue and we have $n = m_g + m_r +m_b$.



Especially this means that the $m_g$ green balls are indistinguishable with respect to each other (and the same game for red and blue ones)



We draw $l le n$ times without placing the balls back.



My question how many posibilities there exist for different $l$-draws taking the order and the indistinguishability of balls of same color into account.



More generally: the urn contains $m_1, m_2, ..., m_k$ balls with $sum _i ^k m_i =n$ such that the $m_j$ are undistiguishable and one make $l$ draws without placing the balls back.



What is the cardinality of the resulting probability space?



Could anybody explain if there exist an intuitive way to describe and the count all cases?







probability combinatorics stochastic-analysis






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 28 at 0:30







KarlPeter

















asked Jan 28 at 0:21









KarlPeterKarlPeter

5841316




5841316












  • $begingroup$
    Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
    $endgroup$
    – Mike Earnest
    Jan 28 at 18:11










  • $begingroup$
    @MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
    $endgroup$
    – KarlPeter
    Jan 28 at 18:13


















  • $begingroup$
    Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
    $endgroup$
    – Mike Earnest
    Jan 28 at 18:11










  • $begingroup$
    @MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
    $endgroup$
    – KarlPeter
    Jan 28 at 18:13
















$begingroup$
Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
$endgroup$
– Mike Earnest
Jan 28 at 18:11




$begingroup$
Are you saying the order of the balls matters? That is, GBB is considered different from BBG?
$endgroup$
– Mike Earnest
Jan 28 at 18:11












$begingroup$
@MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
$endgroup$
– KarlPeter
Jan 28 at 18:13




$begingroup$
@MikeEarnest: Yes. If not then I guess that the problem would be solved by multinomial hypergeometric distribution, right?
$endgroup$
– KarlPeter
Jan 28 at 18:13










1 Answer
1






active

oldest

votes


















1












$begingroup$

The obvious answer is
$$
sum_{substack{a_1+a_2+dots+a_k=ell\0le a_ile m_i}}binom{ell}{a_1,a_2,dots,a_k}
$$

but this is an unwieldy summation.



A less obvious answer: Let $E_m(x)=sum_{i=0}^m frac{x^i}{i!}$ be the partial exponential series. The size of your sample space is
$$
ell![x^ell]prod_{j=1}^k E_{m_j}(x)
$$

Here, $[x^ell] f(x)$ denotes the coefficient of $x^ell$ in the power series $f(x)$. This at least lets you compute the size much quicker, since polynomials can be multiplied quickly using the Fast Fourier Transform.






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%2f3090295%2fdrawing-balls-of-different-colors-from-an-urn%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$

    The obvious answer is
    $$
    sum_{substack{a_1+a_2+dots+a_k=ell\0le a_ile m_i}}binom{ell}{a_1,a_2,dots,a_k}
    $$

    but this is an unwieldy summation.



    A less obvious answer: Let $E_m(x)=sum_{i=0}^m frac{x^i}{i!}$ be the partial exponential series. The size of your sample space is
    $$
    ell![x^ell]prod_{j=1}^k E_{m_j}(x)
    $$

    Here, $[x^ell] f(x)$ denotes the coefficient of $x^ell$ in the power series $f(x)$. This at least lets you compute the size much quicker, since polynomials can be multiplied quickly using the Fast Fourier Transform.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      The obvious answer is
      $$
      sum_{substack{a_1+a_2+dots+a_k=ell\0le a_ile m_i}}binom{ell}{a_1,a_2,dots,a_k}
      $$

      but this is an unwieldy summation.



      A less obvious answer: Let $E_m(x)=sum_{i=0}^m frac{x^i}{i!}$ be the partial exponential series. The size of your sample space is
      $$
      ell![x^ell]prod_{j=1}^k E_{m_j}(x)
      $$

      Here, $[x^ell] f(x)$ denotes the coefficient of $x^ell$ in the power series $f(x)$. This at least lets you compute the size much quicker, since polynomials can be multiplied quickly using the Fast Fourier Transform.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        The obvious answer is
        $$
        sum_{substack{a_1+a_2+dots+a_k=ell\0le a_ile m_i}}binom{ell}{a_1,a_2,dots,a_k}
        $$

        but this is an unwieldy summation.



        A less obvious answer: Let $E_m(x)=sum_{i=0}^m frac{x^i}{i!}$ be the partial exponential series. The size of your sample space is
        $$
        ell![x^ell]prod_{j=1}^k E_{m_j}(x)
        $$

        Here, $[x^ell] f(x)$ denotes the coefficient of $x^ell$ in the power series $f(x)$. This at least lets you compute the size much quicker, since polynomials can be multiplied quickly using the Fast Fourier Transform.






        share|cite|improve this answer









        $endgroup$



        The obvious answer is
        $$
        sum_{substack{a_1+a_2+dots+a_k=ell\0le a_ile m_i}}binom{ell}{a_1,a_2,dots,a_k}
        $$

        but this is an unwieldy summation.



        A less obvious answer: Let $E_m(x)=sum_{i=0}^m frac{x^i}{i!}$ be the partial exponential series. The size of your sample space is
        $$
        ell![x^ell]prod_{j=1}^k E_{m_j}(x)
        $$

        Here, $[x^ell] f(x)$ denotes the coefficient of $x^ell$ in the power series $f(x)$. This at least lets you compute the size much quicker, since polynomials can be multiplied quickly using the Fast Fourier Transform.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 29 at 0:54









        Mike EarnestMike Earnest

        25.9k22151




        25.9k22151






























            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%2f3090295%2fdrawing-balls-of-different-colors-from-an-urn%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

            MongoDB - Not Authorized To Execute Command

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

            How to fix TextFormField cause rebuild widget in Flutter