You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"A DataFrame is returned which is useful in quantitatively analyzing the relationship of values in one data series with the values in another data series"
232
+
231
233
| df |
232
234
233
235
(self size = aSeries size)
@@ -307,6 +309,8 @@ DataSeries >> first [
307
309
308
310
{ #category : #statistics }
309
311
DataSeries>> firstQuartile [
312
+
"25% of the values in a set are smaller than or equal to the first Quartile of that set"
313
+
310
314
^selfquartile:1
311
315
]
312
316
@@ -319,6 +323,8 @@ DataSeries >> fourth [
319
323
320
324
{ #category : #statistics }
321
325
DataSeries>> fourthQuartile [
326
+
"Fourth Quartile is the maximum value in a set of values"
"Quartiles are three values that split sorted data into four parts, each with an equal number of observations.
520
+
Eg: if the parameter aNumber is 3, the Third Quartile of the data series is returned"
521
+
509
522
^selfquantile: (25* aNumber)
510
523
]
511
524
@@ -593,6 +606,8 @@ DataSeries >> second [
593
606
594
607
{ #category : #statistics }
595
608
DataSeries>> secondQuartile [
609
+
"50% of the values in a set are smaller than or equal to the second Quartile of that set. It is also known as the median"
610
+
596
611
^selfquartile:2
597
612
]
598
613
@@ -679,6 +694,8 @@ DataSeries >> sum [
679
694
680
695
{ #category : #statistics }
681
696
DataSeries>> summary [
697
+
"A data series is returned which is a statistical summary of the data series. With keys as different statistical measures and values as the values returned when those statistical measures are applied on the data series."
698
+
682
699
| summary |
683
700
summary :=self species new.
684
701
summary name:self name.
@@ -716,6 +733,8 @@ DataSeries >> third [
716
733
717
734
{ #category : #statistics }
718
735
DataSeries>> thirdQuartile [
736
+
"75% of the values in a set are smaller than or equal to the third Quartile of that set"
"Calculates the relative frequency of values in the data series. Relative frequency is the ratio of the number of times a value occurs in a set to the total number of values in the set"
760
+
739
761
| countfreq |
740
762
count :=self valueCounts.
741
763
freq := count /self size.
@@ -887,5 +909,7 @@ DataSeries >> withoutNils [
887
909
888
910
{ #category : #statistics }
889
911
DataSeries>> zerothQuartile [
912
+
"Zeroth Quartile is the minimum value in a set of values"
0 commit comments