Jan 28, 2019 2:14 PM
| Last Modified: Jan 28, 2019 3:06 PM(2721 views)
Hello, I have such a diagram and want to figure out the equation which produces it:
One can imagine it as a 3-dimentional space with color responces for every S/U/D combination.
I filled S/U/D into a JMP table to fit (some kind of) model but realized immediately, that the response in color code (e.g. 1 for green, 2 for yelow and 3=red) doesn't make much sense.
To my understanding, the equation behind this diagram generates 4x4x3=48 values and colors correspond to certain parts of values. For example, 30% of upper values get red, 25% lower -- green. The rest is yellow.
Jim's suggestion to use a recursive partitioning method is great. The fact is, there is more than one way that you can model this ordinal reponse under different conditions of S, U, and D. Here is a result using ordinal logistic regression: