alyalko
08-28-2007, 05:13 AM
I'm looking to code all possible cases of weighting 5 variables by 20% increments. here is an example
1 2 3 4 5
100 0 0 0 0
80 20 0 0 0
80 0 20 0 0
80 0 0 20 0
80 0 0 0 20
60 40 0 0 0
60 0 40 0 0
60 0 0 40 0
60 0 0 0 40
60 20 20 0 0
60 20 0 20 0
60 20 0 0 20
and so on...
anyone have a good idea as to how to code this?
1 2 3 4 5
100 0 0 0 0
80 20 0 0 0
80 0 20 0 0
80 0 0 20 0
80 0 0 0 20
60 40 0 0 0
60 0 40 0 0
60 0 0 40 0
60 0 0 0 40
60 20 20 0 0
60 20 0 20 0
60 20 0 0 20
and so on...
anyone have a good idea as to how to code this?