Marino David
2013-Dec-16 07:16 UTC
[R] How to choose data from two sets of data to ensure that the choosed data has a better normal feature?
Hi R mailing listers: Assume that there are two sets of data (denoted as A and B) with the same size, say 100X1. And I try to select a new set of data (100X1) that has a better normal feature from these two sets. Better normal feature means that the histogram shape of the constructed set of data is more normal bell-shaped. The choose rule is that the i-th element of new set is from i-th element of A or B. Any suggest is greatly appreciated. Thank you! David [[alternative HTML version deleted]]
Jeff Newmiller
2013-Dec-16 07:59 UTC
[R] How to choose data from two sets of data to ensure that the choosed data has a better normal feature?
Your question as posed is incomplete, because you have not specified what the mean and standard deviation are of the distribution that you wish to use as the target. Two histograms may each have an excellent fit to different distributions, such that neither can be faulted as a poor fit to a normal distribution, yet mixing the two would only make things worse. Nor does picking and choosing bins make sense to me even if they are from the same distribution (normally you pool all the data if they are from the same distribution). This is not a statistics theory forum, but posting a solution to this nonsensical problem would be irresponsible. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. Marino David <davidmarino838 at gmail.com> wrote:>Hi R mailing listers: > >Assume that there are two sets of data (denoted as A and B) with the >same >size, say 100X1. And I try to select a new set of data (100X1) that has >a >better normal feature from these two sets. Better normal feature means >that the histogram shape of the constructed set of data is more normal >bell-shaped. The choose rule is that the i-th element of new set is >from >i-th element of A or B. > >Any suggest is greatly appreciated. > >Thank you! > >David > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.