What is Degree of freedom

Degree of freedom is a concept in statistics that describes the number of independent variables that can be varied in a given experiment or analysis. It is also used to describe the number of ways in which a system can move or change.