Description
Sets or returns the type of distribution (e.g. Normal, Lognormal, etc.)
Syntax
object.DistType
Arguments
None.
Return Value
(RDKDistributionType) – the type of the distribution. The list of possible distribution types are:
| Possible Distribution Types | |
| RDKDistTypeNONE | RDKDistTypeINVGAUSS |
| RDKDistTypeBETA | RDKDistTypeLOGISTIC |
| RDKDistTypeBETAGENERAL | RDKDistTypeLOGLOGISTIC |
| RDKDistTypeBETASUBJ | RDKDistTypeLOGNORM |
| RDKDistTypeBINOMIAL | RDKDistTypeLOGNORM2 |
| RDKDistTypeCHISQ | RDKDistTypeNEGBIN |
| RDKDistTypeCUMUL | RDKDistTypeNORMAL |
| RDKDistTypeDISCRETE | RDKDistTypePARETO |
| RDKDistTypeDUNIFORM | RDKDistTypePARETO2 |
| RDKDistTypeERF | RDKDistTypePEARSON5 |
| RDKDistTypeERLANG | RDKDistTypePEARSON6 |
| RDKDistTypeEXPON | RDKDistTypePERT |
| RDKDistTypeEXTVALUE | RDKDistTypePOISSON |
| RDKDistTypeGAMMA | RDKDistTypeRAYLEIGH |
| RDKDistTypeGENERAL | RDKDistTypeSTUDENT |
| RDKDistTypeGEOMET | RDKDistTypeTRIANG |
| RDKDistTypeHISTOGRM | RDKDistTypeTRIGEN |
| RDKDistTypeHYPERGEO | RDKDistTypeUNIFORM |
| RDKDistTypeINTUNIFORM | RDKDistTypeWEIBULL |
Example
'Create a normal with a mean of 22 and a stdev of 5:
Dim dist as New RDKDistribution
With dist
.DistType = RDKDistTypeNormal
.Arg(1) = 22
.Arg(2) = 5
End With