Skip to content

Commit ac7932b

Browse files
committed
Added comments
1 parent d22b94a commit ac7932b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/DataFrame/DataFrame.class.st

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ DataFrame >> first [
906906

907907
{ #category : #statistics }
908908
DataFrame >> firstQuartile [
909+
"25% of the values in a set are smaller than or equal to the first Quartile of that set"
909910

910911
^ self applyToAllColumns: #firstQuartile
911912
]
@@ -1201,6 +1202,7 @@ DataFrame >> inspectionItems: aBuilder [
12011202

12021203
{ #category : #statistics }
12031204
DataFrame >> interquartileRange [
1205+
"The Inter Quartile Range is the difference between the third Quartile and the first Quartile"
12041206

12051207
^ self applyToAllColumns: #interquartileRange
12061208
]
@@ -1276,6 +1278,7 @@ DataFrame >> max [
12761278

12771279
{ #category : #statistics }
12781280
DataFrame >> median [
1281+
"50% of data points have a value smaller or equal to the median . The median of a set of values is the middle value of the set when the set is arranged in increasing order."
12791282

12801283
^ self applyToAllColumns: #median
12811284
]
@@ -1444,6 +1447,7 @@ DataFrame >> privateRowNames: anArray [
14441447

14451448
{ #category : #statistics }
14461449
DataFrame >> range [
1450+
"Range is the difference between the highest value and the lowest value in a set"
14471451

14481452
^ self applyToAllColumns: #range
14491453
]
@@ -1974,6 +1978,7 @@ DataFrame >> sortDescendingBy: columnName [
19741978

19751979
{ #category : #statistics }
19761980
DataFrame >> stdev [
1981+
"Standard deviation is a measure of how dispersed the data is in relation to the average"
19771982

19781983
^ self applyToAllColumns: #stdev
19791984
]
@@ -1995,6 +2000,7 @@ DataFrame >> tail: aNumber [
19952000

19962001
{ #category : #statistics }
19972002
DataFrame >> thirdQuartile [
2003+
"75% of the values in a set are smaller than or equal to the third Quartile of that set"
19982004

19992005
^ self applyToAllColumns: #thirdQuartile
20002006
]
@@ -2041,6 +2047,7 @@ DataFrame >> transposed [
20412047

20422048
{ #category : #statistics }
20432049
DataFrame >> variance [
2050+
"variance measures how far each number in the set is from the average value of the set. It is the square of standard deviation."
20442051

20452052
^ self applyToAllColumns: #variance
20462053
]

0 commit comments

Comments
 (0)