apaNChooseK.Random(n, k, s, DoAllowSubsets)
Excel
=apaNChooseK.Random(n, k, s, DoAllowSubsets)Result
Randomly selects k out of n items. Returns an indicator vector.
Syntax
n: number of items available
k: number of items selected
s: number of selections
DoAllowSubsets: TRUE to select 1 to k items (subset resampling), FALSE to select k items (classical bootstrapping)
