Displaying 1 result from an estimated 1 matches for "attritees".
2012 Apr 24
1
Splitting data into test and train (80:20) kepping attributes similar
Hi,
I am trying to do some predictive modeling around attrition and want to split the dataset into test and train (80:20) and keep the ratio of attritees:non attrites same.
In my dataset the attrition indicator is coded as 0(for non-attritees) and 1 (for attritees) and I want to keep the ratio of 0's to 1 similar.
I apologize for this trivial question but this is my second week with R.
Thanks,
Doy
American Express made the following annota...