Skip to main content

Timeline for Split data into N equal groups

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
Feb 20, 2020 at 13:01 answer added Holger Brandl timeline score: 9
Aug 27, 2018 at 16:22 comment added kjetil b halvorsen Do you mean to preserve only the marginal distributions or the joint distribution?
Jul 26, 2018 at 14:05 review Close votes
Jul 27, 2018 at 11:58
Jan 31, 2018 at 9:12 answer added M. Papenberg timeline score: 9
Apr 15, 2016 at 19:39 answer added Scott Kaiser timeline score: 7
May 1, 2015 at 17:36 history migrated from stackoverflow.com (revisions)
Mar 31, 2015 at 17:30 vote accept CommunityBot
Mar 30, 2015 at 20:14 comment added DWin The question requests a split that preserves the distributions of the variables. Without further information, it's not possible to determine the correct method with which to approach this problem. I vote to migrate this to CV.com
Mar 30, 2015 at 19:40 comment added Alex A. possible duplicate of R language: how to split a data frame
Mar 30, 2015 at 19:39 answer added Alex A. timeline score: 19
Mar 30, 2015 at 19:18 comment added rajpal Yes, looking for the subsets of the original data frame. On your second question, suppose I have values of visit counts from 1 to 10 and decided to create 3 different subsets, so will select some rows in each group from 1 to 4 visit count bucket, some rows from 4 to 7 visit count bucket and some from 7 to 10 visit count bucket and this should be satisfied with respect to all attributes (price, click count and rating). It's like sampling the data into different groups with equal probability of attributes. Hope this helps.
Mar 30, 2015 at 18:58 comment added Alex A. Are you just looking to create N separate data frames that are disjoint subsets of the original? What do you mean by the "same distribution" of price, click count, and ratings?
Mar 30, 2015 at 18:48 history asked Rajpal Kulhari CC BY-SA 3.0