public class RandomSamplesEx3 extends Object
Selects a sample from a data set.
Consider the Wolfer Sunspot Data (Anderson 1971, p. 660) consisting of the
number of sunspots observed each year from 1749 through 1924. In this
example, the getSamples()
method is used to randomly select 5
observations from the total 176 observations. The sampled indices are
returned via getIndices()
.
Constructor and Description |
---|
RandomSamplesEx3() |
public static void main(String[] args)
Copyright © 2020 Rogue Wave Software. All rights reserved.