"?Degrees of Freedom (df)"?
"Degrees of Freedom (df)"

"Degrees of Freedom (df)"

In the space of data analysis using statistics we often come across a term "degrees of freedom" (short form df). I will try to explain the concept in a intuitive way.

Let's say we are working on a sample of 7 (n) data points and there summation is 100, so by standard definition the degrees of freedom is always (n-1). So in our case it is 6. Let's try to understand why 6 and not 4 or 5.

We start putting in the numbers in a table as shown below. First number being 20 Second number being 12 and so on.

No alt text provided for this image

By the time you are on seventh number you will realise , in order to satisfy the condition of summation of all numbers should be equal to 100, the seven't number has to be 6 (the seventh number (last number) in sample cannot vary (it cannot take any other value than 6)).

No alt text provided for this image

As seen above numbers from 1 to 6 can take any value, but in order to satisfy the condition the seventh number cannot vary and has to take a fixed value to satisfy the summation condition. Hence degrees of freedom in above case is 6.



要查看或添加评论,请登录

Swanand Marathe的更多文章

社区洞察

其他会员也浏览了