In statistics and data analysis degrees of freedom refers to the total number of independent parameters. Each time we add some form of contsraint this reduces the degrees of freedom. For example if we have ten numbers but the sum and product are constrained to be particular values, then there are eight degrees of freedom.