Definition
With as a Joint Probability Mass Function or Joint PDF With observed samples The likelihood function Can be calculated as:
Example
For Bernoulli Trials We flip coins, and we observe IID sample Note that this is the probability of getting the sample .