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:<jdnew...@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 <davidmarino...@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@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.

______________________________________________
R-help@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.

Reply via email to