SimpleRandomSampling Class |
Namespace: Novacta.Analytics
The SimpleRandomSampling type exposes the following members.
Name | Description | |
---|---|---|
SimpleRandomSampling |
Initializes a new instance of
the SimpleRandomSampling class.
|
Name | Description | |
---|---|---|
InclusionProbabilities |
Gets the inclusion probabilities of the
population units.
(Overrides RandomSamplingInclusionProbabilities.) | |
PopulationSize |
Gets the size of the population from which this
instance draws samples.
(Overrides RandomSamplingPopulationSize.) | |
RandomNumberGenerator |
Gets or sets the basic random generator for this instance.
(Inherited from RandomDevice.) | |
SampleSize |
Gets the size of the samples drawn by this
instance.
(Overrides RandomSamplingSampleSize.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NextDoubleMatrix |
Draws a random sample represented as a DoubleMatrix
instance.
(Overrides RandomSamplingNextDoubleMatrix.) | |
NextIndexCollection |
Draws a sample represented as an IndexCollection
instance.
(Overrides RandomSamplingNextIndexCollection.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The current implementation of the SimpleRandomSampling class is based on the Donald E. Knuth's Algorithm S (Selection sampling technique, p. 142)[1] .