Degrees of freedom refers to the maximum number of logically independent values, which are values that have the freedom to vary, in the data sample.