A dummy variable is a numerical variable used in regression analysis to represent subgroups of the sample in your study. It allows the inclusion of categorical data in statistical models by assigning binary values, typically 0 or 1, to indicate the absence or presence of a categorical effect that may be expected to shift the outcome variable.