# Joint Probability Distribution

**Formula:**`P(B|A) = P(AB) / P(A)`

## Introduction to Joint Probability Distribution

Joint probability distribution is a technique used in probability theory to represent the probability of events A and B occurring together. In this formula, ** P(B|A)** represents the conditional probability of event B given event A,

**is the probability of both events A and B occurring, and**

*P(AB)***is the probability of event A occurring.**

*P(A)*## Parameter usage:

`pA`

= probability of event A`pB`

= probability of event B`pAB`

= probability of both events A and B occurring

## Output:

`P(B|A)`

= conditional probability of event B given event A

## Data validation

The probabilities should be between 0 and 1.

## Summary

This formula calculates the conditional probability of event B given event A using the probabilities of both events occurring together and the probability of event A occurring.