Select your font size 
 
about us products & services consulting & support news & events contact us
You can compute a conditional probability from joint distribution data by dividing the relevant joint probability.

Joint probability - Ontario

print this article 
 

The most basic method for computing a conditional probability using a probability format is:

P(A | B) = P(A & B) / P(B)

This probability format is identical to the frequency format, except for the probability operator P( ) surrounding the numerator and denominator terms. The P(A & B) term denotes the joint probability of A and B occurring together. To understand how the joint probability P(A & B) can be computed from cross-tabulated data, consider the following hypothetical data (taken from pp. 147-48 of Grimstead and Snell's online texbook):

 -Smokes+Smokes  Totals  
-Cancer 401050
+Cancer 7310
Totals 471360

To convert this table of frequencies to a table of probabilities, you divide each cell frequency by the total frequency (60). Note that dividing by the total frequency also ensures that Cancer x Smokes cell probabilies sum to 1 and permits you to refer to the silver area of the table below as the joint probability distribution of Cancer and Smoking.

 -Smokes+Smokes  Totals  
-Cancer 40 / 6010 / 6050 / 60
+Cancer 7 / 603 / 6010 / 60
Totals 47 / 6013 / 6060 / 60

To compute the probability of cancer given that a person smokes P(+Cancer | +Smokes), you can simply substitute the values from this table into the above formula as follows:

P(+Cancer | +Smokes) = ( 3 / 60 ) / ( 13 / 60) = 0.05 / .217 = 0.23

Note that you could have derived this value from the table of frequencies as well:

P(+Cancer | +Smokes) = 3 / 13 = 0.23

How do you interpret this result? Using the recommended approach of communicating risk in terms of frequencies, you might say that of the next 100 smokers you enounter, you can expect 23 of them to experience cancer in their lifetime. What is the probability of getting cancer if you do not smoke?

P(+Cancer | -Smokes) = ( 7 / 60 ) / ( 47 / 60) = 0.117 / .783 = 0.15

So it appears that you are more likely to get cancer if you smoke than if you do not smoke, even though the tallies appearing in the table might not have initially given you that impression. It is interesting to speculate on what the true conditional probabilities might be for various types of cancer given various criteria for defining someone as a smoker.

A "cohort" research methodology would also require you to equate smokers and non-smokers on other variables like age, gender, and weight so that smoking, and not these other co-variates, can be isolated as the root cause of the different cancer rates.

To summarize, you can compute a conditional probability (+Cancer | +Smokes) from joint distribution data by dividing the relevant joint probability P(+Cancer & +Smokes) by the relevant marginal probability P(+Smokes). As you might imagine, it is often easier and more feasible to derive estimates of a conditional probability from summary tables like this, rather than expecting to apply more data-intensive enumeration methods.



Page:   1  2  3  4  5  6  7  8  9  10  11 Next Page: Deriving Bayes Theorem

The content shown in this page was first published by IBM developerWorks and is reprinted with permission from Paul Meagher (www.datavore.com)


Transparen Corporation - Recently Updated Pages

Most Recent Website and Regional Updates

 Transparen Corporation Canada Day Celebrations July 1, 2006
Transparen Corp. is proud of its Canadian heritage, and gladly celebrates Canada Day every year. Look back at previous Canada Days to learn about Transparen's history.

 
 Timing Upgrades - Factors Affecting Time Between Purchases for Tech Toys
It is possible to understand client purchase decisions by performing a regression analysis. By forming strategies based on the results, companies can optimize strategic programs to maximize profits.

 
 Federal Candidates Weigh In On Fairness
McGuinty government posts responses to Ontario?s call for fairness.

 
 Ontario Pays Tribute To Fallen Firefighters
McGuinty government honours families at Queen?s Park, fire fighter memorial.

 
 Ontario Celebrates Its Olympic Athletes
Premier McGuinty Passes The Torch With Pan Am Bid

 
 Ontario Supports Craft Brewers
The Government of Ontario is making an $8-million commitment to help ensure the prosperity of small brewers for many years to come.

 
 New Honda Engine Plant Drives Green Jobs
McGuinty Government Calls Plant A Vote Of Confidence In Ontario?s Skilled Workers

 
 Turning Innovation Into Ontario Jobs
Today, the government intends to introduce Ideas for the Future Act, 2008, that, if passed, would provide a 10-year corporate income tax exemption for new companies that turn home-grown ideas into Ontario jobs and products.

 
 Speaking Up For Ontario
Premier urges Ontarians to sign petition and stand up for fairness.

 
 Improving Care for Ontario?s Youngest Patients
McGuinty Government Improving Access To Care And Reducing Wait Times For Kids

 
 Moving Ontario Forward, Together
McGuinty Government?s Latest Progress Report Tells Stories Of Real People

 
 Making Ontario More Competitive At Home And Abroad
Cabinet Shuffle Focuses On Strengthening Economy

 

Google
 
Web transparen.com

Contact Information

Related Information

 
  TORONTO ON
LONDON ON
OTTAWA ON
HAMILTON ON
 
 
E C M | © 2003-2007 Transparen Corp.      

Standardized Services: Data Recovery Service / Creative Services / Premium Web Hosting Services / System Administration Tech Support Services
Recent Projects: Full-Service Mortgage and Financing Company / System to manage flights from Vancouver to Tofino / Photo exchange verification service
Our Vancouver BC Server Proudly Hosts: automated parking and revenue control systems, leafside lane at southlands, cost effective alternative power sources, the photo genie, pacific forage bag supply, sunburst medical, neosonic design, roger mahler photography - passionate, intriguing, desirable, the connection between east and west, affordable flights to victoria and tofino, low interest mortgage brokers in vancouver, richmond, surrey, toronto, mortgage brokers in calgary
Toronto, Ottawa, Kanata, Hamilton, London - view entire list