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 ,
@@ -65,6 +68,13 @@ PMCauchyDistribution >> initialize: aNumber1 scale: aNumber2 [
65
68
beta := aNumber2
66
69
]
67
70
71
+ { #category : #information }
72
+ PMCauchyDistribution >> kurtosis [
73
+ " The kurtosis of the receiver is not defined."
74
+
75
+ self shouldNotImplement
76
+ ]
77
+
68
78
{ #category : #information }
69
79
PMCauchyDistribution >> parameters [
70
80
@@ -73,18 +83,26 @@ PMCauchyDistribution >> parameters [
73
83
74
84
{ #category : #information }
75
85
PMCauchyDistribution >> privateInverseDistributionValue: aNumber [
76
- " Private - Answer the number whose acceptance is aNumber."
77
- ^ aNumber = 0
78
- ifTrue: [Float infinity negated]
79
- ifFalse: [aNumber = 1
80
- ifTrue: [Float infinity ]
81
- 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 ] ]
93
+ ]
94
+
95
+ { #category : #information }
96
+ PMCauchyDistribution >> skewness [
97
+ " The skewness of the receiver is not defined."
98
+ self shouldNotImplement
82
99
]
83
100
84
101
{ #category : #information }
85
102
PMCauchyDistribution >> standardDeviation [
86
103
" The standard deviation of the receiver is not defined."
87
- ^ nil
104
+
105
+ self shouldNotImplement
88
106
]
89
107
90
108
{ #category : #information }
@@ -107,5 +125,6 @@ PMCauchyDistribution >> valueAndGradient: aNumber [
107
125
{ #category : #information }
108
126
PMCauchyDistribution >> variance [
109
127
" The variance of the receiver is not defined."
110
- ^ nil
128
+
129
+ self shouldNotImplement
111
130
]
0 commit comments