Splits the sample into training and honest subsamples.

sample_split(n, training_frac = 0.5)

Arguments

n

Size of the sample to be split.

training_frac

Fraction of units for the training sample.

Value

A list storing the indexes for the two different subsamples.

Author

Riccardo Di Francesco