Creating mathematical model from table of permutations?

In summary: F1' or something similar.In summary, a conversation is discussing the creation of a mathematical model from a table of possible permutations. The table contains a list of combinations of variables and their corresponding education estimates. Each variable has a limited set of possibilities and represents factors like experience level and location. The table has 34 permutations, but not all are possible due to restrictions. The goal is to move the table into a more flexible database system, but creating a background model to represent the table is proving difficult. Suggestions are welcome, but it seems that a statistical approach may be more appropriate due to the categorical variables predicting a continuous outcome. The term "model" is not specific to database terminology and could potentially be represented by a mathematical formula or
  • #1
jjc
21
0
I am trying to create a mathematical model from a table of possible permutations. The table essentially consists of a list of various combinations of variables (there are 7 of them) and then an education guesstimate of how long that combination would take. Each variable is restricted to a limited set of possibilities, usually 3 or 4. The variables represent things like, how experienced is this person? = [Beginner, Moderate, Advanced, Expert]. So the variables aren't necessarily hard numbers.Here the actual set that I am working with:

A1 B1 C1 D1 E1 F1 G1 12
A1 B2 C1 D2 E2 F1 G1 88
A1 B2 C1 D3 E2 F2 G1 200
A1 B2 C1 D3 E2 F1 G1 160
A1 B2 C1 D3 E3 F2 G1 240
A1 B2 C1 D3 E3 F1 G1 200
A1 B2 C1 D4 E2 F1 G1 72
A2 B3 C2 D5 E2 F3 G2 72
A2 B3 C3 D6 E2 F3 G2 120
A2 B3 C4 D5 E2 F3 G3 96
A2 B3 C5 D6 E3 F3 G2 96
A2 B3 C5 D3 E2 F3 G2 72
A2 B3 C6 D5 E2 F3 G2 60
A2 B3 C6 D6 E2 F3 G2 80
A2 B3 C6 D7 E2 F3 G2 40
A2 B4 C6 D5 E4 F3 G2 24
A2 B4 C6 D6 E4 F3 G2 32
A2 B4 C6 D7 E4 F3 G2 16
A2 B5 C2 D5 E2 F3 G2 56
A2 B5 C3 D6 E2 F3 G2 64
A2 B5 C4 D5 E3 F3 G3 72
A2 B5 C5 D6 E3 F3 G2 96
A2 B5 C5 D3 E2 F3 G2 72
A2 B5 C6 D5 E5 F3 G2 40
A2 B5 C6 D6 E2 F3 G2 56
A2 B5 C6 D6 E3 F3 G2 96
A2 B5 C6 D7 E6 F3 G2 16
A2 B5 C6 D7 E8 F3 G2 32
A2 B5 C6 D8 E7 F3 G2 24
A3 B6 C6 D9 E4 F3 G4 4
A3 B6 C6 D10 E4 F3 G4 8
A3 B6 C6 D11 E4 F3 G4 12
A3 B4 C6 D9 E4 F3 G4 2
A3 B4 C6 D10 E4 F3 G4 4
A3 B4 C6 D11 E4 F3 G4 8

Each column is ostensibly 'added' to the next column, with the number being the RHS of the equals sign.

The table consists of 34 permutations. The guesstimated total is based on past data, but isn't a hard and fast mathematical correlation. And to top it all off, certain combinations are excluded; i.e. not all permutations are possible. E.g. one of the variables is 'location'. It has possible values of 'inside' and 'outside'. If it is 'outside' then the variable for 'needed equipment' is restricted (because certain pieces of equipment can't go outside).

This is all currently defined in a spreadsheet with conditional pick lists in each of 7 columns. I want to move it into a database system, and am trying to create the background model to represent this table. Something that is a bit more flexible and not just a strict lookup. (I want to do it better than the spreadsheet did. :))

So...I think that I can work through and try to find some specific values for each variable just using the simultaneous equations. The issue comes up in trying to represent the restrictions and the weighting of certain variables (e.g. an experienced person might make 2 or 3 other variables take less time).

Restrictions might have to just be boiled down to programming logic during data entry, I suppose. Maybe weighting isn't that important and it would all work out in the equation solving and be sufficiently accurate. This model is just a design guideline and not meant for anything that needs to be TERRIBLY exact. :)

Any suggestions are welcome.

Thanks,
J
 
Last edited:
Mathematics news on Phys.org
  • #2
Hmmm...that's not going to work, is it? Each instance of a variable is itself, really, a new variable. They aren't coefficients in front of the same variable, necessarily. So simultaneous equations doesn't really apply, it seems.

So now I am thinking I need to figure out how much a transition from one to another changes the result, and track that in some way...
 
  • #3
This strikes me almost as a statistical problem; you have a group of categorical variables predicting a continuous variable. On it's face, this problem would warrant something like analysis of variance, but the fact that only certain combinations are allowed makes it a bit trickier.
 
Last edited:
  • #4
trying to create the background model to represent this table

Explain exactly what this means. Can the model be written in a general purpose programming language? - or is the form of the model limited by the database software? Or are you talking about a single mathematical expression that defines something like a polynomial in all those variables?

The study of databases is a field in computer science and it has its own terminology - for all I know a "model" for a database structure might be a technical term.
 
  • #5
@Number Nine: Yes, I was sort of wondering the same thing, if this might be more a statistical question. (Or at least I was after I realized my error in my first conception of trying to solve with simultaneous equations.)

@Stephen: I wasn't implying 'model' in DB specific terms. Our system (FileMaker) has a built in scripting system, but can still be fairly flexible in terms of defining things.

I am trying to achieve some granularity on each term, so that they can be simply added up to reach a final number, or that I can represent the results of the table in a single formula type thing. They will have some affect on each other though, so a polynomial may be what it breaks down to. I was just trying to avoid recreating the look up table (that table of variables/results that I posted). I want to take the table and create a formula or be able to define individual values for each variable to calculate results. This would make it more flexible and usable if things change in the future.

- J
 
  • #6
I'm still confused about what the model does. I don't see how it is used.

For databases, we have the problem of data entry, data retrieval. For the data itself we have various problems of prediction like "for a randomly selected entry, if A = 2 and B = 4, what is the probability that C = 6".

I don't know which type of problem the model is supposed to address. I don't know what achieving "granuality" means - I assume a "term" means a category like 'A', 'B',...
 
  • #7
By granularity I am trying to go from needing an entire matching line to find a resulting number, e.g: A2 B5 C5 D6 E3 F3 G2 = 96

to a system where each individual variable contributes it's particular specific share. In the case above, trying to define A2 = 13, B5 = 10, etc. (Just pulling numbers out of the air.) Hopefully, then, a new combination can be used that wasn't in the original table. And also, hopefullly, I wouldn't have to recreate the entire logic of the table in the programming.

And, it may be that a look up table is really the best route.

Yes, by '...granularity of each term...' I was referring to each category of variables (i.e. A1, A2, A3...).
 
  • #8
What, specifically, do the variables mean?
 
  • #9
They are more like descriptions of states. As originally mentioned, they are things like Experience (low, med, high), location (in, out), time (1-2 hrs, 3-4 hrs, ...), equipment (none, some, lots), computer work (none, some, lots), etc.

Yes, you asked specifically, but that is what you get. :) Does something more specific matter?

- J
 
  • #10
jjc said:
By granularity I am trying to go from needing an entire matching line to find a resulting number, e.g: A2 B5 C5 D6 E3 F3 G2 = 96

So this has to do with data retrieval? What kind of query do you hope to make that will retrieve a line?

to a system where each individual variable contributes it's particular specific share. In the case above, trying to define A2 = 13, B5 = 10, etc. (Just pulling numbers out of the air.) Hopefully, then, a new combination can be used that wasn't in the original table.

I don't understand that passage at all.


Yes, by '...granularity of each term...' I was referring to each category of variables (i.e. A1, A2, A3...).

I thought the categories were 'A', 'B', 'C' etc. and that the numbers were answers for the categories, so A2 meant A = 2.
 

1. How do you create a mathematical model from a table of permutations?

To create a mathematical model from a table of permutations, you can use a variety of methods depending on the complexity of the table. Some common techniques include using factorial notation, creating a set of equations based on the patterns in the table, or using a computer program to generate a model.

2. Why is it important to create a mathematical model from a table of permutations?

Creating a mathematical model allows you to better understand the patterns and relationships within the table of permutations. This can help in making predictions and solving problems related to the data in the table.

3. Can a mathematical model be created for any table of permutations?

Yes, a mathematical model can be created for any table of permutations. However, the complexity and accuracy of the model may vary depending on the complexity of the table and the techniques used to create the model.

4. What are some real-world applications of mathematical models created from tables of permutations?

Mathematical models created from tables of permutations can be applied in various fields such as economics, biology, physics, and engineering. They can be used to make predictions, analyze data, and solve problems.

5. Is there a specific process to follow when creating a mathematical model from a table of permutations?

There is no one specific process to follow when creating a mathematical model from a table of permutations. However, it is important to carefully analyze the data, identify any patterns or relationships, and choose appropriate techniques and variables to accurately represent the data in the model.

Similar threads

Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Replies
5
Views
2K
Replies
2
Views
2K
  • General Math
Replies
1
Views
2K
Replies
1
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
Replies
2
Views
1K
Back
Top