Re: Using Excel for statistical analysis - a question for problem-solvers
- From: "gimme_this_gimme_that@xxxxxxxxx" <gimme_this_gimme_that@xxxxxxxxx>
- Date: Tue, 19 Feb 2008 11:56:41 -0800 (PST)
Well if Var1,Var2,Var3, and Var4 never change then this brute force
solution of listing all combinations will work for you.
If these variables vary - then you should post on a Operations
Research news group
(dynamic programming is a topic of Operations Research) news group and
ask an algorithic solution. You can work backwards from 29 and then
get a solution list. Probably in milliseconds using VBA.
Dynamic programming is not to be confused with computer programming.
Tee hee.
This enumeration is the classic beginners introduction to dynamic
programming. It's what you read on the first week of class.
Don't be suprised if it takes a few days for you to "get" it. Dynamic
programs are hard to graps if you haven't been introduced to them.
OTHO - if you don't know VBA well enough to program the solution on
your own (once you have it) - then you have no choice - brute force
enumeration is the only thing you can do.
Note that enumeration is very slow! But good enough for personal use
for 29!
On Feb 14, 12:05 pm, mrsethbull...@xxxxxxxxx wrote:
I have a business analytics problem and am looking for some advice.
I have 20 variables, each of which has a value assigned to it (Var1 =
5, Var2 = 8, Var3 = 6, Var4 = 10, Var5 = 2 and so on).
All of these 20 variables can exist in isolation or they can exist
with any combination of the other 19 variables.
What I would like to do is to be able to see all the possible
combinations of these variables in order to see the total values of
different combinations. For example, if one combination is
(Var1+Var2+Var3+Var4 then the value would be 29).
Can anyone suggest how I would go about doing this? By hand, I figure
I would have to make thousands upon thousands of equations (if not
more). So obviously, I'm trying to find a way to automate the
process.
I am well versed in MS Excel and Access. I know a bit of VB, but not
much.
Any help would be appreciated.
SB
.
- References:
- Using Excel for statistical analysis - a question for problem-solvers
- From: mrsethbullock
- Using Excel for statistical analysis - a question for problem-solvers
- Prev by Date: Re: How to tell if cell value is time or not
- Next by Date: Re: Dynamic allocation of rows
- Previous by thread: Re: Using Excel for statistical analysis - a question for problem-solvers
- Next by thread: Re: Using Excel for statistical analysis - a question for problem-solvers
- Index(es):
Relevant Pages
|