1
+ "
2
+ PMCauchyDistribution is a continuous probability distribution, depending of 2 parameters: mu and beta.
3
+ "
1
4
Class {
2
5
#name : #PMCauchyDistribution ,
3
6
#superclass : #PMProbabilityDensity ,
@@ -67,7 +70,9 @@ PMCauchyDistribution >> initialize: aNumber1 scale: aNumber2 [
67
70
68
71
{ #category : #information }
69
72
PMCauchyDistribution >> kurtosis [
70
- self shouldNotImplement
73
+ " The kurtosis of the receiver is not defined."
74
+
75
+ self shouldNotImplement
71
76
]
72
77
73
78
{ #category : #information }
@@ -78,24 +83,26 @@ PMCauchyDistribution >> parameters [
78
83
79
84
{ #category : #information }
80
85
PMCauchyDistribution >> privateInverseDistributionValue: aNumber [
81
- " Private - Answer the number whose acceptance is aNumber."
82
- ^ aNumber = 0
83
- ifTrue: [Float infinity negated]
84
- ifFalse: [aNumber = 1
85
- ifTrue: [Float infinity ]
86
- ifFalse: [( ( aNumber - (1 / 2 )) * Float pi) tan * beta + mu]].
86
+ " Answer the number whose acceptance is aNumber."
87
+
88
+ ^ aNumber = 0
89
+ ifTrue: [ Float infinity negated ]
90
+ ifFalse: [ aNumber = 1
91
+ ifTrue: [ Float infinity ]
92
+ ifFalse: [ ((aNumber - (1 / 2 )) * Float pi) tan * beta + mu ] ]
87
93
]
88
94
89
95
{ #category : #information }
90
- PMCauchyDistribution >> skewness [
91
-
92
- self shouldNotImplement
96
+ PMCauchyDistribution >> skewness [
97
+ " The skewness of the receiver is not defined. "
98
+ self shouldNotImplement
93
99
]
94
100
95
101
{ #category : #information }
96
102
PMCauchyDistribution >> standardDeviation [
97
103
" The standard deviation of the receiver is not defined."
98
- ^ nil
104
+
105
+ self shouldNotImplement
99
106
]
100
107
101
108
{ #category : #information }
0 commit comments