Determining a marginal of a joint categorical distributionMarginal P.M.F and Conditional Expectation?Compute joint Probability Distribution of Three Random Variable when two joint PDFs of two r.v. are knownGiven the joint distribution of discrete random variables $x$ and $y$ , find the probability distribution of a “centred” version of $x$.Is a compact set of distributions still compact if we fix the marginal distribution?Obtaining the marginal distribution given the joint massFind joint CDF given a joint PDFMarginal distribution of joint discrete random variablesMarginal PMF from a Binomial-like PMFFind the joint distribution of $(Y_1,Y_2)$. Are $Y_1 text and Y_2$ independent?Finding entries of a joint distribution table.

Schwarzchild Radius of the Universe

The use of multiple foreign keys on same column in SQL Server

Patience, young "Padovan"

What makes Graph invariants so useful/important?

New order #4: World

Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?

declaring a variable twice in IIFE

Should I join office cleaning event for free?

Download, install and reboot computer at night if needed

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

A Journey Through Space and Time

Could a US political party gain complete control over the government by removing checks & balances?

TGV timetables / schedules?

What Brexit solution does the DUP want?

What would the Romans have called "sorcery"?

How to make payment on the internet without leaving a money trail?

How do I create uniquely male characters?

What would happen to a modern skyscraper if it rains micro blackholes?

How does one intimidate enemies without having the capacity for violence?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

"which" command doesn't work / path of Safari?

Why is the design of haulage companies so “special”?

Extreme, but not acceptable situation and I can't start the work tomorrow morning



Determining a marginal of a joint categorical distribution


Marginal P.M.F and Conditional Expectation?Compute joint Probability Distribution of Three Random Variable when two joint PDFs of two r.v. are knownGiven the joint distribution of discrete random variables $x$ and $y$ , find the probability distribution of a “centred” version of $x$.Is a compact set of distributions still compact if we fix the marginal distribution?Obtaining the marginal distribution given the joint massFind joint CDF given a joint PDFMarginal distribution of joint discrete random variablesMarginal PMF from a Binomial-like PMFFind the joint distribution of $(Y_1,Y_2)$. Are $Y_1 text and Y_2$ independent?Finding entries of a joint distribution table.













1












$begingroup$


I have a set of $n$ discrete variables $mathcalA = a_1, dots, a_n $, where every $a_i in mathcalA$ can take on the values in $ 0, 1, dots, m $ and $n,m in mathbbN$. I wish to create a joint measure -- an unnormalised probability distribution -- over all joint events described by the variables and then determine a marginal probability distribution over some $a_i in mathcalA$. Each event must obey the following rule: $a_i neq a_j$, if $a_i = k$ and $k > 0.$ That is to say, multiple variables may equal zero in any event, but every non-zero value must be unique. Here is an example for $n = 3$ and $m = 2$:
beginarrayccc hline
a_1 & a_2 & a_3 & phi(a_1, a_2, a_3) \ hline
0 & 0 & 0 & 1 \
0 & 0 & 1 & 1 \
0 & 0 & 2 & 1 \
0 & 1 & 0 & 1 \
0 & 1 & 2 & 1 \
0 & 2 & 0 & 1 \
0 & 2 & 1 & 1 \
1 & 0 & 0 & 1 \
1 & 0 & 2 & 1 \
1 & 2 & 0 & 1 \
2 & 0 & 0 & 1 \
2 & 0 & 1 & 1 \
2 & 1 & 0 & 1 \ hline
& textElsewhere & & 0\ hline
endarray

I wish to create a similar joint measure for an arbitrary $n$ and $m$ and then determine the marginal distribution, $$P(a_i) = frac1K sumlimits_mathcalA - a_i phi(mathcalA) text,$$ where $$ K = sum_mathcalA phi (mathcalA) = sum_k=0^min(m, n) k! binomnk binommk $$ is a normalising constant and $mathcalA - a_i$ denotes the set difference. Quite obviously, all marginal distributions over every $a_j in mathcalA$ are equivalent, as the joint measure is symmetrical. Is it possible to find an expression for this marginal distribution, as I have done for the normalising constant?



Edit. I believe the marginal distribution is given by $$ P(a_i = 0) = frac1K sumlimits_k=0^min(m, n-1) k! binomn-1k binommk $$ and $$ P(a_i neq 0) = frac1K sumlimits_k=0^min(m-1, n-1) k! binomn-1k binomm-1k text;$$ however, I would like to show that $$sum_j=0^m P(a_i = j) = 1 text.$$










share|cite|improve this question











$endgroup$
















    1












    $begingroup$


    I have a set of $n$ discrete variables $mathcalA = a_1, dots, a_n $, where every $a_i in mathcalA$ can take on the values in $ 0, 1, dots, m $ and $n,m in mathbbN$. I wish to create a joint measure -- an unnormalised probability distribution -- over all joint events described by the variables and then determine a marginal probability distribution over some $a_i in mathcalA$. Each event must obey the following rule: $a_i neq a_j$, if $a_i = k$ and $k > 0.$ That is to say, multiple variables may equal zero in any event, but every non-zero value must be unique. Here is an example for $n = 3$ and $m = 2$:
    beginarrayccc hline
    a_1 & a_2 & a_3 & phi(a_1, a_2, a_3) \ hline
    0 & 0 & 0 & 1 \
    0 & 0 & 1 & 1 \
    0 & 0 & 2 & 1 \
    0 & 1 & 0 & 1 \
    0 & 1 & 2 & 1 \
    0 & 2 & 0 & 1 \
    0 & 2 & 1 & 1 \
    1 & 0 & 0 & 1 \
    1 & 0 & 2 & 1 \
    1 & 2 & 0 & 1 \
    2 & 0 & 0 & 1 \
    2 & 0 & 1 & 1 \
    2 & 1 & 0 & 1 \ hline
    & textElsewhere & & 0\ hline
    endarray

    I wish to create a similar joint measure for an arbitrary $n$ and $m$ and then determine the marginal distribution, $$P(a_i) = frac1K sumlimits_mathcalA - a_i phi(mathcalA) text,$$ where $$ K = sum_mathcalA phi (mathcalA) = sum_k=0^min(m, n) k! binomnk binommk $$ is a normalising constant and $mathcalA - a_i$ denotes the set difference. Quite obviously, all marginal distributions over every $a_j in mathcalA$ are equivalent, as the joint measure is symmetrical. Is it possible to find an expression for this marginal distribution, as I have done for the normalising constant?



    Edit. I believe the marginal distribution is given by $$ P(a_i = 0) = frac1K sumlimits_k=0^min(m, n-1) k! binomn-1k binommk $$ and $$ P(a_i neq 0) = frac1K sumlimits_k=0^min(m-1, n-1) k! binomn-1k binomm-1k text;$$ however, I would like to show that $$sum_j=0^m P(a_i = j) = 1 text.$$










    share|cite|improve this question











    $endgroup$














      1












      1








      1





      $begingroup$


      I have a set of $n$ discrete variables $mathcalA = a_1, dots, a_n $, where every $a_i in mathcalA$ can take on the values in $ 0, 1, dots, m $ and $n,m in mathbbN$. I wish to create a joint measure -- an unnormalised probability distribution -- over all joint events described by the variables and then determine a marginal probability distribution over some $a_i in mathcalA$. Each event must obey the following rule: $a_i neq a_j$, if $a_i = k$ and $k > 0.$ That is to say, multiple variables may equal zero in any event, but every non-zero value must be unique. Here is an example for $n = 3$ and $m = 2$:
      beginarrayccc hline
      a_1 & a_2 & a_3 & phi(a_1, a_2, a_3) \ hline
      0 & 0 & 0 & 1 \
      0 & 0 & 1 & 1 \
      0 & 0 & 2 & 1 \
      0 & 1 & 0 & 1 \
      0 & 1 & 2 & 1 \
      0 & 2 & 0 & 1 \
      0 & 2 & 1 & 1 \
      1 & 0 & 0 & 1 \
      1 & 0 & 2 & 1 \
      1 & 2 & 0 & 1 \
      2 & 0 & 0 & 1 \
      2 & 0 & 1 & 1 \
      2 & 1 & 0 & 1 \ hline
      & textElsewhere & & 0\ hline
      endarray

      I wish to create a similar joint measure for an arbitrary $n$ and $m$ and then determine the marginal distribution, $$P(a_i) = frac1K sumlimits_mathcalA - a_i phi(mathcalA) text,$$ where $$ K = sum_mathcalA phi (mathcalA) = sum_k=0^min(m, n) k! binomnk binommk $$ is a normalising constant and $mathcalA - a_i$ denotes the set difference. Quite obviously, all marginal distributions over every $a_j in mathcalA$ are equivalent, as the joint measure is symmetrical. Is it possible to find an expression for this marginal distribution, as I have done for the normalising constant?



      Edit. I believe the marginal distribution is given by $$ P(a_i = 0) = frac1K sumlimits_k=0^min(m, n-1) k! binomn-1k binommk $$ and $$ P(a_i neq 0) = frac1K sumlimits_k=0^min(m-1, n-1) k! binomn-1k binomm-1k text;$$ however, I would like to show that $$sum_j=0^m P(a_i = j) = 1 text.$$










      share|cite|improve this question











      $endgroup$




      I have a set of $n$ discrete variables $mathcalA = a_1, dots, a_n $, where every $a_i in mathcalA$ can take on the values in $ 0, 1, dots, m $ and $n,m in mathbbN$. I wish to create a joint measure -- an unnormalised probability distribution -- over all joint events described by the variables and then determine a marginal probability distribution over some $a_i in mathcalA$. Each event must obey the following rule: $a_i neq a_j$, if $a_i = k$ and $k > 0.$ That is to say, multiple variables may equal zero in any event, but every non-zero value must be unique. Here is an example for $n = 3$ and $m = 2$:
      beginarrayccc hline
      a_1 & a_2 & a_3 & phi(a_1, a_2, a_3) \ hline
      0 & 0 & 0 & 1 \
      0 & 0 & 1 & 1 \
      0 & 0 & 2 & 1 \
      0 & 1 & 0 & 1 \
      0 & 1 & 2 & 1 \
      0 & 2 & 0 & 1 \
      0 & 2 & 1 & 1 \
      1 & 0 & 0 & 1 \
      1 & 0 & 2 & 1 \
      1 & 2 & 0 & 1 \
      2 & 0 & 0 & 1 \
      2 & 0 & 1 & 1 \
      2 & 1 & 0 & 1 \ hline
      & textElsewhere & & 0\ hline
      endarray

      I wish to create a similar joint measure for an arbitrary $n$ and $m$ and then determine the marginal distribution, $$P(a_i) = frac1K sumlimits_mathcalA - a_i phi(mathcalA) text,$$ where $$ K = sum_mathcalA phi (mathcalA) = sum_k=0^min(m, n) k! binomnk binommk $$ is a normalising constant and $mathcalA - a_i$ denotes the set difference. Quite obviously, all marginal distributions over every $a_j in mathcalA$ are equivalent, as the joint measure is symmetrical. Is it possible to find an expression for this marginal distribution, as I have done for the normalising constant?



      Edit. I believe the marginal distribution is given by $$ P(a_i = 0) = frac1K sumlimits_k=0^min(m, n-1) k! binomn-1k binommk $$ and $$ P(a_i neq 0) = frac1K sumlimits_k=0^min(m-1, n-1) k! binomn-1k binomm-1k text;$$ however, I would like to show that $$sum_j=0^m P(a_i = j) = 1 text.$$







      probability combinatorics probability-distributions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Apr 1 at 8:26







      SCJ

















      asked Mar 31 at 17:09









      SCJSCJ

      385




      385




















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Here's how you prove this is a probability distribution. I have removed the upper limits of the summations; this is allowed since all subsequent terms are zero.
          beginalign
          sum_j=0^m P(a_i=j)
          &=P(a_i=0)+mP(a_ineq 0)
          \&=frac1K sum_kge 0 k! binomn-1k binommk+mcdotfrac1Ksum_kge 0k!binomn-1kbinomm-1k.
          endalign

          Multiplying by $K$,
          beginalign
          Ksum_j=0^m P(a_i=j)
          &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot mcdot binomm-1k
          \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot (k+1)binommk+1
          \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0(k+1)!binomn-1kbinommk+1
          \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 1k!binomn-1k-1binommk
          \ &= 0!binomn-10binomm0+sum_kge 1 k! left[binomn-1k+ binomn-1k-1right]binommk
          \ &= 0!binomn-10binomm0+sum_kge 1 k! binomnkbinommk
          \ &= sum_kge 0 k! binomnkbinommk
          \&=K.
          endalign

          Now divide by $K$.






          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%2f3169633%2fdetermining-a-marginal-of-a-joint-categorical-distribution%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$

            Here's how you prove this is a probability distribution. I have removed the upper limits of the summations; this is allowed since all subsequent terms are zero.
            beginalign
            sum_j=0^m P(a_i=j)
            &=P(a_i=0)+mP(a_ineq 0)
            \&=frac1K sum_kge 0 k! binomn-1k binommk+mcdotfrac1Ksum_kge 0k!binomn-1kbinomm-1k.
            endalign

            Multiplying by $K$,
            beginalign
            Ksum_j=0^m P(a_i=j)
            &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot mcdot binomm-1k
            \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot (k+1)binommk+1
            \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0(k+1)!binomn-1kbinommk+1
            \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 1k!binomn-1k-1binommk
            \ &= 0!binomn-10binomm0+sum_kge 1 k! left[binomn-1k+ binomn-1k-1right]binommk
            \ &= 0!binomn-10binomm0+sum_kge 1 k! binomnkbinommk
            \ &= sum_kge 0 k! binomnkbinommk
            \&=K.
            endalign

            Now divide by $K$.






            share|cite|improve this answer









            $endgroup$

















              1












              $begingroup$

              Here's how you prove this is a probability distribution. I have removed the upper limits of the summations; this is allowed since all subsequent terms are zero.
              beginalign
              sum_j=0^m P(a_i=j)
              &=P(a_i=0)+mP(a_ineq 0)
              \&=frac1K sum_kge 0 k! binomn-1k binommk+mcdotfrac1Ksum_kge 0k!binomn-1kbinomm-1k.
              endalign

              Multiplying by $K$,
              beginalign
              Ksum_j=0^m P(a_i=j)
              &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot mcdot binomm-1k
              \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot (k+1)binommk+1
              \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0(k+1)!binomn-1kbinommk+1
              \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 1k!binomn-1k-1binommk
              \ &= 0!binomn-10binomm0+sum_kge 1 k! left[binomn-1k+ binomn-1k-1right]binommk
              \ &= 0!binomn-10binomm0+sum_kge 1 k! binomnkbinommk
              \ &= sum_kge 0 k! binomnkbinommk
              \&=K.
              endalign

              Now divide by $K$.






              share|cite|improve this answer









              $endgroup$















                1












                1








                1





                $begingroup$

                Here's how you prove this is a probability distribution. I have removed the upper limits of the summations; this is allowed since all subsequent terms are zero.
                beginalign
                sum_j=0^m P(a_i=j)
                &=P(a_i=0)+mP(a_ineq 0)
                \&=frac1K sum_kge 0 k! binomn-1k binommk+mcdotfrac1Ksum_kge 0k!binomn-1kbinomm-1k.
                endalign

                Multiplying by $K$,
                beginalign
                Ksum_j=0^m P(a_i=j)
                &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot mcdot binomm-1k
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot (k+1)binommk+1
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0(k+1)!binomn-1kbinommk+1
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 1k!binomn-1k-1binommk
                \ &= 0!binomn-10binomm0+sum_kge 1 k! left[binomn-1k+ binomn-1k-1right]binommk
                \ &= 0!binomn-10binomm0+sum_kge 1 k! binomnkbinommk
                \ &= sum_kge 0 k! binomnkbinommk
                \&=K.
                endalign

                Now divide by $K$.






                share|cite|improve this answer









                $endgroup$



                Here's how you prove this is a probability distribution. I have removed the upper limits of the summations; this is allowed since all subsequent terms are zero.
                beginalign
                sum_j=0^m P(a_i=j)
                &=P(a_i=0)+mP(a_ineq 0)
                \&=frac1K sum_kge 0 k! binomn-1k binommk+mcdotfrac1Ksum_kge 0k!binomn-1kbinomm-1k.
                endalign

                Multiplying by $K$,
                beginalign
                Ksum_j=0^m P(a_i=j)
                &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot mcdot binomm-1k
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0k!binomn-1kcdot (k+1)binommk+1
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 0(k+1)!binomn-1kbinommk+1
                \ &= sum_kge 0 k! binomn-1k binommk+sum_kge 1k!binomn-1k-1binommk
                \ &= 0!binomn-10binomm0+sum_kge 1 k! left[binomn-1k+ binomn-1k-1right]binommk
                \ &= 0!binomn-10binomm0+sum_kge 1 k! binomnkbinommk
                \ &= sum_kge 0 k! binomnkbinommk
                \&=K.
                endalign

                Now divide by $K$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Apr 1 at 17:25









                Mike EarnestMike Earnest

                27.1k22152




                27.1k22152



























                    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%2f3169633%2fdetermining-a-marginal-of-a-joint-categorical-distribution%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

                    What does it mean to find percent difference when two values are equivalent? The 2019 Stack Overflow Developer Survey Results Are InWhat does “percent of change” mean?Find what percent X is between two numbers?Unable to determine 'original amount' in simple percentage problemsWhat is the correct percent difference formula?How does proportionality hold when quantities are high? And the percentage increase formulaprofit and loss GRE questionProfitability calculationWhat is the difference between $xtimes 0.8$ and $x div 1.2 ? $Finding the percent probability of completing BUDs trainingCalculating Percent Difference with zero and near zero values

                    Why did some early computer designers eschew integers?What register size did early computers use?What other computers used this floating-point format?Why did so many early microcomputers use the MOS 6502 and variants?Why were early computers named “Mark”?Why did expert systems fall?Why were early personal computer monitors not green?When did “Zen” in computer programming become a thing?History of advanced hardwareWere there any working computers using residue number systems?Why did some CPUs use two Read/Write lines, and others just one?

                    How to avoid repetitive long generic constraints in Rust The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceIs it possible to automatically implement a trait for any tuple that is made up of types that all implement the trait?Is there a constraint that restricts my generic method to numeric types?How can foreign key constraints be temporarily disabled using T-SQL?How do I use reflection to call a generic method?How to create a generic array in Java?How to get a class instance of generics type THow is `last` allowed to be called for an Args value?How to implement a trait for a parameterized traitAvoiding PhantomData in a struct to enforce type constraintsIs it possible to return part of a struct by reference?Associated References types as Value Types