Help me optimize a list in Excel.
September 28, 2006 1:33 PM
Subscribe
Help me optimize a list in Excel. (Excel gurus welcome!)
I have a group of 20 items. The first ten items go in List 1, the second ten go in List 2. Each item has 6 characteristics (expressed in numbers). I want List 1 and List 2 to be as similar as possible in terms of the characteristics of the items that make it up.
The way I'm doing this presently in Excel is by running a t-Test on each of the characteristics of the first ten numbers and the second ten numbers. The p-value the t-Test returns tells me how similar they are. The closer to 1 the value is, the more similar the Lists are. I'm repeatedly ordering the items randomly to get different orderings of all the items. The value of the t-Test in Excel changes dynamically with every ordering. Ultimately, I'm trying to find the optimum ordering (or at least a very good one) of the items so that the values returned by the t-Test are all very close to 1.
Right now, I'm just pressing sort on Column A (see attached image and Excel file) over and over until I get a good set of p-values from the t-Tests. There must be a programmatic way to do this though. Can anyone help me out?
The files in question
here. To make it work, just repeatedly sort Col A.
This whole setup is hard to explain, so please leave me any questions you have and I'll answer them as best I can.
Thanks!
posted by pealco to computers & internet (3 comments total)
posted by pealco at 1:34 PM on September 28, 2006