Marginal probability

To explain what marginal probability is, we need a contingency table. A contingency table is a table in which we show frequency for 2 variables.

One variable is used to categorize rows and the other is used to categorize columns.

Suppose a company specializes in training students to pass the GED test. The company had 200 students last year.

The following contingency table show their pass rates broken down by sex.

Contingency table

In the table above, the variable that categorizes rows is the sex. This variable can be males or females.

The variable that categorizes columns is the result. This variable can be pass or fail.

Did you notice the followings?

  • The number of males + females = 102 + 98 = 200
  • The number of students who passed + the number of students who failed = 114 + 86 = 200
  • The number of females who failed the GED test is equal to 30 


Now that you understand what a contingency table is, what is marginal probability ?

In the table above, there are 4  events.

  • A student is a male
  • A student is a female
  • A student has passed
  • A student has failed


The probability of each of these 4 events is called marginal probability or simple probability

The 4 marginal probabilities can be calculated as follows

P(A student is a male) =  
Number of males / Total number of students

P(A student is a male) =  
102 / 200
= 0.51

P(A student is a female) =  
Number of females / Total number of students

P(A student is a female) =  
98 / 200
= 0.49

P(A student has passed) =  
Number of students who passed / Total number of students

P(A student has passed) =  
114 / 200
= 0.57

P(A student has failed) =  
Number of students who failed / Total number of students

P(A student has failed) =  
86 / 200
= 0.43

The marginal probabilities are shown along the right side and along the bottom of the table below.

Marginal probabilities

Recent Articles

  1. Mean of a Discrete Random Variable

    Jul 20, 21 10:08 AM

    Learn to calculate the mean of a discrete random variable with this easy to follow lesson

    Read More

Enjoy this page? Please pay it forward. Here's how...

Would you prefer to share this page with others by linking to it?

  1. Click on the HTML link code below.
  2. Copy and paste it, adding a note of your own, into your blog, a Web page, forums, a blog comment, your Facebook account, or anywhere that someone would find this page valuable.