Binary categorical variable

ID: binary-categorical-variable

A categorical variable with two possible categories. Coding an event as one and its complement as zero makes the sample mean of that indicator variable equal to the event's sample proportion.

New to topics? Read the docs here!