Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
        my $newsample = $original_sample->slice($indices);
        return $newsample;
    }
    
  2. or download this
    # get a random sample with replacement from input vector
    # 2nd param is a RNG object which will select N random
    ...
        $sorted_means->at(int(0.05*$M)),
        $sorted_means->at(int(0.95*$M))
    ];
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
        }
        return $array_to_return_results;
    }