Re: [R] Division of data set with some restriction

2016-01-25 Thread Jim Lemon
Hi Muhammad, There are a large number of approximate answers to your problem. One easy one is to ensure that the standard deviations of the subgroups are maximally different by dividing the observations into "mids" (observations close to the mean) and "tails" (observations far from the mean). The f

Re: [R] Division of data set with some restriction

2016-01-25 Thread Bert Gunter
Muhammed: 1. Please post in plain text, not HTML, as HTML tends to get mangled (this is the stated policy on this list). This may have happened to your post, so I am not entirely sure what you want. 2. However, an assumption that you appear to be making is false: it is not in general possible to

[R] Division of data set with some restriction

2016-01-25 Thread Muhammad Kashif
Dear Group members Can any one help to code this situation. Suppose we have a population with some mean and a standard deviation. Then , there are n1 observations out of n which are less than or equal to n. Also, there are n2 observations out of n which are greater than . We divide the wh