Twooutcome
Twooutcome refers to a random variable or experiment that can yield exactly two possible outcomes. In probability and statistics, such cases are typically encoded as 0 and 1, representing a binary outcome such as success/failure, yes/no, or event occurs/not occurs. The standard model for a single two-outcome trial is the Bernoulli distribution with parameter p, the probability of the outcome coded as 1.
If X follows a Bernoulli distribution with parameter p, then P(X = 1) = p and P(X = 0)
Two-outcome variables are widely used across disciplines. In experimental design, quality control, and survey sampling, binary
Related concepts include binary or dichotomous variables, two-valued logic, and Bernoulli processes. While framed in discrete