Design of experiments
doe full_factorialdoe full_factorialdoe fractionaldoe fractionaldoe plackett_burmandoe plackett_burmandoe lhsdoe lhsdoe ccddoe ccddoe box_behnkendoe box_behnkendoe effectsdoe response_surfacedoe mixturedoe mixturedoe mixture_fitdoe mixture_fit

doe full_factorial <json_factors>


Description

    Full factorial design: every combination of the levels (standard order, the first factor changes the fastest)

Parameters

    json_factors:   The factors and their levels - String - required
admin
doe full_factorial "{\"temperature\": [60, 80], \"catalyst\": [\"A\", \"B\", \"C\"]}"
mentdb
[{"run": 1, "temperature": 60, "catalyst": "A"}, {"run": 2, "temperature": 80, "catalyst": "A"}, {"run": 3, "temperature": 60, "catalyst": "B"}, {"run": 4, "temperature": 80, "catalyst": "B"}, {"run": 5, "temperature": 60, "catalyst": "C"}, {"run": 6, "temperature": 80, "catalyst": "C"}]

doe full_factorial <json_factors> <json_params>


Description

    Full factorial design with parameters: replicates, randomize (run order), seed

Parameters

    json_factors:   The factors - String - required
    json_params:   The parameters - String - required
admin
doe full_factorial "{\"temperature\": [60, 80], \"pressure\": [1, 2]}" "{\"replicates\": 2, \"randomize\": true, \"seed\": 7}"
mentdb
[{"run": 1, "temperature": 60, "pressure": 1}, {"run": 2, "temperature": 60, "pressure": 2}, {"run": 3, "temperature": 60, "pressure": 2}, {"run": 4, "temperature": 80, "pressure": 1}, {"run": 5, "temperature": 60, "pressure": 1}, {"run": 6, "temperature": 80, "pressure": 2}, {"run": 7, "temperature": 80, "pressure": 2}, {"run": 8, "temperature": 80, "pressure": 1}]

doe fractional <json_factors> <json_generators>


Description

    Fractional factorial 2^(k-p): the base factors in full and the others from generators (D=ABC, factors = letters A, B, C... in order), with the resolution, the defining relation and the aliases of the main effects and 2-factor interactions

Parameters

    json_factors:   The factors [low, high] - String - required
    json_generators:   The generators - String - required
admin
doe fractional "{\"T\": [60, 80], \"P\": [1, 3], \"C\": [0.5, 1.5], \"S\": [100, 200]}" "[\"D=ABC\"]"
mentdb
{"runs": [{"run": 1, "T": 60, "P": 1, "C": 0.5, "S": 100}, {"run": 2, "T": 80, "P": 1, "C": 0.5, "S": 200}, {"run": 3, "T": 60, "P": 3, "C": 0.5, "S": 200}, {"run": 4, "T": 80, "P": 3, "C": 0.5, "S": 100}, {"run": 5, "T": 60, "P": 1, "C": 1.5, "S": 200}, {"run": 6, "T": 80, "P": 1, "C": 1.5, "S": 100}, {"run": 7, "T": 60, "P": 3, "C": 1.5, "S": 100}, {"run": 8, "T": 80, "P": 3, "C": 1.5, "S": 200}], "letters": {"A": "T", "B": "P", "C": "C", "D": "S"}, "resolution": 4, "defining_relation": ["I=ABCD"], "aliases": [{"term": "AB", "aliased_with": ["CD"]}, {"term": "AC", "aliased_with": ["BD"]}, {"term": "AD", "aliased_with": ["BC"]}, {"term": "BC", "aliased_with": ["AD"]}, {"term": "BD", "aliased_with": ["AC"]}, {"term": "CD", "aliased_with": ["AB"]}]}

doe fractional <json_factors> <json_generators> <json_params>


Description

    Fractional factorial with parameters: replicates, randomize, seed

Parameters

    json_factors:   The factors - String - required
    json_generators:   The generators - String - required
    json_params:   The parameters - String - required
admin
doe fractional "{\"a\": [0, 1], \"b\": [0, 1], \"c\": [0, 1], \"d\": [0, 1], \"e\": [0, 1]}" "[\"D=AB\", \"E=AC\"]" "{\"randomize\": true}"
mentdb
{"runs": [{"run": 1, "a": 0, "b": 1, "c": 0, "d": 0, "e": 1}, {"run": 2, "a": 0, "b": 1, "c": 1, "d": 0, "e": 0}, {"run": 3, "a": 1, "b": 1, "c": 0, "d": 1, "e": 0}, {"run": 4, "a": 1, "b": 0, "c": 0, "d": 0, "e": 0}, {"run": 5, "a": 0, "b": 0, "c": 1, "d": 1, "e": 0}, {"run": 6, "a": 0, "b": 0, "c": 0, "d": 1, "e": 1}, {"run": 7, "a": 1, "b": 1, "c": 1, "d": 1, "e": 1}, {"run": 8, "a": 1, "b": 0, "c": 1, "d": 0, "e": 1}], "letters": {"A": "a", "B": "b", "C": "c", "D": "d", "E": "e"}, "resolution": 3, "defining_relation": ["I=ABD", "I=ACE", "I=BCDE"], "aliases": [{"term": "A", "aliased_with": ["BD", "CE"]}, {"term": "B", "aliased_with": ["AD"]}, {"term": "C", "aliased_with": ["AE"]}, {"term": "D", "aliased_with": ["AB"]}, {"term": "E", "aliased_with": ["AC"]}, {"term": "AB", "aliased_with": ["D"]}, {"term": "AC", "aliased_with": ["E"]}, {"term": "AD", "aliased_with": ["B"]}, {"term": "AE", "aliased_with": ["C"]}, {"term": "BC", "aliased_with": ["DE"]}, {"term": "BD", "aliased_with": ["A", "CE"]}, {"term": "BE", "aliased_with": ["CD"]}, {"term": "CD", "aliased_with": ["BE"]}, {"term": "CE", "aliased_with": ["A", "BD"]}, {"term": "DE", "aliased_with": ["BC"]}]}
Used in use cases (1 recipe)

    Process & reactor engineer › Which factors drive the filtration rate?
Often used with

    doe effects

doe plackett_burman <json_factors>


Description

    Plackett-Burman screening design: 8, 12, 16, 20 or 24 runs for up to 7, 11, 15, 19 or 23 factors at 2 levels (main effects only)

Parameters

    json_factors:   The factors [low, high] - String - required
admin
doe plackett_burman "{\"f1\": [0, 1], \"f2\": [0, 1], \"f3\": [0, 1], \"f4\": [0, 1], \"f5\": [0, 1], \"f6\": [0, 1], \"f7\": [0, 1]}"
mentdb
[{"run": 1, "f1": 1, "f2": 1, "f3": 1, "f4": 0, "f5": 1, "f6": 0, "f7": 0}, {"run": 2, "f1": 0, "f2": 1, "f3": 1, "f4": 1, "f5": 0, "f6": 1, "f7": 0}, {"run": 3, "f1": 0, "f2": 0, "f3": 1, "f4": 1, "f5": 1, "f6": 0, "f7": 1}, {"run": 4, "f1": 1, "f2": 0, "f3": 0, "f4": 1, "f5": 1, "f6": 1, "f7": 0}, {"run": 5, "f1": 0, "f2": 1, "f3": 0, "f4": 0, "f5": 1, "f6": 1, "f7": 1}, {"run": 6, "f1": 1, "f2": 0, "f3": 1, "f4": 0, "f5": 0, "f6": 1, "f7": 1}, {"run": 7, "f1": 1, "f2": 1, "f3": 0, "f4": 1, "f5": 0, "f6": 0, "f7": 1}, {"run": 8, "f1": 0, "f2": 0, "f3": 0, "f4": 0, "f5": 0, "f6": 0, "f7": 0}]

doe plackett_burman <json_factors> <json_params>


Description

    Plackett-Burman design with parameters: replicates, randomize, seed

Parameters

    json_factors:   The factors - String - required
    json_params:   The parameters - String - required
admin
doe plackett_burman "{\"pH\": [6, 8], \"temp\": [25, 37], \"glucose\": [5, 20], \"yeast\": [1, 5]}" "{\"randomize\": true}"
mentdb
[{"run": 1, "pH": 6, "temp": 25, "glucose": 20, "yeast": 5}, {"run": 2, "pH": 8, "temp": 37, "glucose": 5, "yeast": 5}, {"run": 3, "pH": 8, "temp": 25, "glucose": 5, "yeast": 5}, {"run": 4, "pH": 6, "temp": 37, "glucose": 20, "yeast": 5}, {"run": 5, "pH": 6, "temp": 37, "glucose": 5, "yeast": 1}, {"run": 6, "pH": 8, "temp": 37, "glucose": 20, "yeast": 1}, {"run": 7, "pH": 6, "temp": 25, "glucose": 5, "yeast": 1}, {"run": 8, "pH": 8, "temp": 25, "glucose": 20, "yeast": 1}]

doe lhs <n> <json_factors>


Description

    Latin hypercube sample: n points in the ranges, one per stratum of each factor, maximin (the best of 50 tries); for simulations and computer experiments

Parameters

    n:   The number of points - Number - required
    json_factors:   The ranges {"name": [min, max]} - String - required
admin
doe lhs 5 "{\"x\": [0, 10], \"y\": [100, 200]}"
mentdb
[{"run": 1, "x": 0.073, "y": 115.4093}, {"run": 2, "x": 4.9677, "y": 197.8809}, {"run": 3, "x": 3.3101, "y": 151.9767}, {"run": 4, "x": 8.7915, "y": 179.5207}, {"run": 5, "x": 7.8803, "y": 121.5417}]

doe lhs <n> <json_factors> <json_params>


Description

    Latin hypercube with parameters: tries, seed, decimals

Parameters

    n:   The number of points - Number - required
    json_factors:   The ranges - String - required
    json_params:   The parameters - String - required
admin
doe lhs 4 "{\"temperature\": [20, 80]}" "{\"seed\": 3, \"decimals\": 1}"
mentdb
[{"run": 1, "temperature": 20.6}, {"run": 2, "temperature": 37.1}, {"run": 3, "temperature": 57.2}, {"run": 4, "temperature": 73.1}]

doe ccd <json_factors>


Description

    Central composite design: 2^k factorial points, 2k axial points (rotatable alpha), center points; for a quadratic response surface

Parameters

    json_factors:   The factors [low, high] - String - required
admin
doe ccd "{\"temperature\": [60, 80], \"time\": [30, 90]}"
mentdb
[{"run": 1, "type": "factorial", "temperature": 60, "time": 30}, {"run": 2, "type": "factorial", "temperature": 80, "time": 30}, {"run": 3, "type": "factorial", "temperature": 60, "time": 90}, {"run": 4, "type": "factorial", "temperature": 80, "time": 90}, {"run": 5, "type": "axial", "temperature": 55.8578643763, "time": 60}, {"run": 6, "type": "axial", "temperature": 84.1421356237, "time": 60}, {"run": 7, "type": "axial", "temperature": 70, "time": 17.5735931288}, {"run": 8, "type": "axial", "temperature": 70, "time": 102.4264068712}, {"run": 9, "type": "center", "temperature": 70, "time": 60}, {"run": 10, "type": "center", "temperature": 70, "time": 60}, {"run": 11, "type": "center", "temperature": 70, "time": 60}, {"run": 12, "type": "center", "temperature": 70, "time": 60}, {"run": 13, "type": "center", "temperature": 70, "time": 60}, {"run": 14, "type": "center", "temperature": 70, "time": 60}]

doe ccd <json_factors> <json_params>


Description

    Central composite design with parameters: alpha (rotatable, face or a number), center (number of center points), randomize, seed, replicates

Parameters

    json_factors:   The factors - String - required
    json_params:   The parameters - String - required
admin
doe ccd "{\"temperature\": [60, 80], \"time\": [30, 90]}" "{\"alpha\": \"face\", \"center\": 3}"
mentdb
[{"run": 1, "type": "factorial", "temperature": 60, "time": 30}, {"run": 2, "type": "factorial", "temperature": 80, "time": 30}, {"run": 3, "type": "factorial", "temperature": 60, "time": 90}, {"run": 4, "type": "factorial", "temperature": 80, "time": 90}, {"run": 5, "type": "axial", "temperature": 60, "time": 60}, {"run": 6, "type": "axial", "temperature": 80, "time": 60}, {"run": 7, "type": "axial", "temperature": 70, "time": 30}, {"run": 8, "type": "axial", "temperature": 70, "time": 90}, {"run": 9, "type": "center", "temperature": 70, "time": 60}, {"run": 10, "type": "center", "temperature": 70, "time": 60}, {"run": 11, "type": "center", "temperature": 70, "time": 60}]

doe box_behnken <json_factors>


Description

    Box-Behnken design (3 to 7 factors, 3 levels, no extreme corner) with center points

Parameters

    json_factors:   The factors [low, high] - String - required
admin
doe box_behnken "{\"a\": [0, 10], \"b\": [0, 1], \"c\": [5, 15]}"
mentdb
[{"run": 1, "type": "edge", "a": 0, "b": 0, "c": 10}, {"run": 2, "type": "edge", "a": 0, "b": 1, "c": 10}, {"run": 3, "type": "edge", "a": 10, "b": 0, "c": 10}, {"run": 4, "type": "edge", "a": 10, "b": 1, "c": 10}, {"run": 5, "type": "edge", "a": 0, "b": 0.5, "c": 5}, {"run": 6, "type": "edge", "a": 0, "b": 0.5, "c": 15}, {"run": 7, "type": "edge", "a": 10, "b": 0.5, "c": 5}, {"run": 8, "type": "edge", "a": 10, "b": 0.5, "c": 15}, {"run": 9, "type": "edge", "a": 5, "b": 0, "c": 5}, {"run": 10, "type": "edge", "a": 5, "b": 0, "c": 15}, {"run": 11, "type": "edge", "a": 5, "b": 1, "c": 5}, {"run": 12, "type": "edge", "a": 5, "b": 1, "c": 15}, {"run": 13, "type": "center", "a": 5, "b": 0.5, "c": 10}, {"run": 14, "type": "center", "a": 5, "b": 0.5, "c": 10}, {"run": 15, "type": "center", "a": 5, "b": 0.5, "c": 10}]

doe box_behnken <json_factors> <json_params>


Description

    Box-Behnken design with parameters: center, randomize, seed, replicates

Parameters

    json_factors:   The factors - String - required
    json_params:   The parameters - String - required
admin
doe box_behnken "{\"a\": [0, 10], \"b\": [0, 1], \"c\": [5, 15]}" "{\"center\": 1}"
mentdb
[{"run": 1, "type": "edge", "a": 0, "b": 0, "c": 10}, {"run": 2, "type": "edge", "a": 0, "b": 1, "c": 10}, {"run": 3, "type": "edge", "a": 10, "b": 0, "c": 10}, {"run": 4, "type": "edge", "a": 10, "b": 1, "c": 10}, {"run": 5, "type": "edge", "a": 0, "b": 0.5, "c": 5}, {"run": 6, "type": "edge", "a": 0, "b": 0.5, "c": 15}, {"run": 7, "type": "edge", "a": 10, "b": 0.5, "c": 5}, {"run": 8, "type": "edge", "a": 10, "b": 0.5, "c": 15}, {"run": 9, "type": "edge", "a": 5, "b": 0, "c": 5}, {"run": 10, "type": "edge", "a": 5, "b": 0, "c": 15}, {"run": 11, "type": "edge", "a": 5, "b": 1, "c": 5}, {"run": 12, "type": "edge", "a": 5, "b": 1, "c": 15}, {"run": 13, "type": "center", "a": 5, "b": 0.5, "c": 10}]

doe effects <json_runs> <response> <json_factors>


Description

    Effects of a 2-level design: main effects and 2-factor interactions (coded -1 / +1, confounded interactions skipped), sorted by size, with t tests when there are residual degrees of freedom, else Lenth's margin of error

Parameters

    json_runs:   The runs with the response - String - required
    response:   The response field - String - required
    json_factors:   The factor fields - String - required
admin
doe effects "[{\"A\": -1, \"B\": -1, \"C\": -1, \"D\": -1, \"y\": 45}, {\"A\": 1, \"B\": -1, \"C\": -1, \"D\": -1, \"y\": 71}, {\"A\": -1, \"B\": 1, \"C\": -1, \"D\": -1, \"y\": 48}, {\"A\": 1, \"B\": 1, \"C\": -1, \"D\": -1, \"y\": 65}, {\"A\": -1, \"B\": -1, \"C\": 1, \"D\": -1, \"y\": 68}, {\"A\": 1, \"B\": -1, \"C\": 1, \"D\": -1, \"y\": 60}, {\"A\": -1, \"B\": 1, \"C\": 1, \"D\": -1, \"y\": 80}, {\"A\": 1, \"B\": 1, \"C\": 1, \"D\": -1, \"y\": 65}, {\"A\": -1, \"B\": -1, \"C\": -1, \"D\": 1, \"y\": 43}, {\"A\": 1, \"B\": -1, \"C\": -1, \"D\": 1, \"y\": 100}, {\"A\": -1, \"B\": 1, \"C\": -1, \"D\": 1, \"y\": 45}, {\"A\": 1, \"B\": 1, \"C\": -1, \"D\": 1, \"y\": 104}, {\"A\": -1, \"B\": -1, \"C\": 1, \"D\": 1, \"y\": 75}, {\"A\": 1, \"B\": -1, \"C\": 1, \"D\": 1, \"y\": 86}, {\"A\": -1, \"B\": 1, \"C\": 1, \"D\": 1, \"y\": 70}, {\"A\": 1, \"B\": 1, \"C\": 1, \"D\": 1, \"y\": 96}]" "y" "[\"A\", \"B\", \"C\", \"D\"]"
mentdb
{"runs": 16, "mean": 70.0625, "df_residual": 5, "effects": [{"term": "A", "effect": 21.625, "coefficient": 10.8125, "t": 8.554299452310774, "p_value": 3.595891683934038E-4}, {"term": "A x C", "effect": -18.125, "coefficient": -9.0625, "t": -7.169788558295157, "p_value": 8.208468176196249E-4}, {"term": "A x D", "effect": 16.625, "coefficient": 8.3125, "t": 6.576426746574178, "p_value": 0.0012200139977023294}, {"term": "D", "effect": 14.625, "coefficient": 7.3125, "t": 5.7852776642795405, "p_value": 0.00217180536331818}, {"term": "C", "effect": 9.875, "coefficient": 4.9375, "t": 3.906298593829775, "p_value": 0.011337142552897417}, {"term": "B", "effect": 3.125, "coefficient": 1.5625, "t": 1.2361704410853718, "p_value": 0.27129685102881673}, {"term": "B x C", "effect": 2.375, "coefficient": 1.1875, "t": 0.9394895352248827, "p_value": 0.3906126392706466}, {"term": "C x D", "effect": -1.125, "coefficient": -0.5625, "t": -0.4450213587907339, "p_value": 0.6749088951922642}, {"term": "B x D", "effect": -0.375, "coefficient": -0.1875, "t": -0.14834045293024462, "p_value": 0.8878709866310039}, {"term": "A x B", "effect": 0.125, "coefficient": 0.0625, "t": 0.049446817643414874, "p_value": 0.9624776610019452}]}
Used in use cases (1 recipe)

    Process & reactor engineer › Which factors drive the filtration rate?
Often used with

    doe fractional

doe response_surface <json_runs> <response> <json_factors>


Description

    Quadratic response surface: coefficients with their tests, R2, the stationary point, the predicted response there and its nature (maximum, minimum or saddle point)

Parameters

    json_runs:   The runs with the response - String - required
    response:   The response field - String - required
    json_factors:   The factor fields - String - required
admin
doe response_surface "[{\"x1\": -1, \"x2\": -1, \"y\": 70.3}, {\"x1\": 1, \"x2\": -1, \"y\": 75.8}, {\"x1\": -1, \"x2\": 1, \"y\": 72.1}, {\"x1\": 1, \"x2\": 1, \"y\": 81.6}, {\"x1\": -1.414, \"x2\": 0, \"y\": 68.55}, {\"x1\": 1.414, \"x2\": 0, \"y\": 79.76}, {\"x1\": 0, \"x2\": -1.414, \"y\": 72.87}, {\"x1\": 0, \"x2\": 1.414, \"y\": 79.23}, {\"x1\": 0, \"x2\": 0, \"y\": 80.0}, {\"x1\": 0, \"x2\": 0, \"y\": 80.2}, {\"x1\": 0, \"x2\": 0, \"y\": 79.9}, {\"x1\": 0, \"x2\": 0, \"y\": 80.1}, {\"x1\": 0, \"x2\": 0, \"y\": 79.8}]" "y" "[\"x1\", \"x2\"]"
mentdb
{"runs": 13, "coefficients": [{"term": "intercept", "estimate": 80.0000182432759, "se": 0.11718129860812122, "t": 682.7029499887409, "p_value": 0}, {"term": "x1", "estimate": 3.8569498994348157, "se": 0.09264694749344371, "t": 41.630620368876784, "p_value": 1.2034790941584106E-9}, {"term": "x2", "estimate": 2.0744432409293805, "se": 0.09264694749344371, "t": 22.39084283997788, "p_value": 8.964889897100647E-8}, {"term": "x1 x x2", "estimate": 1, "se": 0.13101267708022807, "t": 7.632849143198801, "p_value": 1.2288158443229946E-4}, {"term": "x1^2", "estimate": -2.9611585154579885, "se": 0.09936680839484395, "t": -29.800278013273093, "p_value": 1.2348770450643087E-8}, {"term": "x2^2", "estimate": -2.0133722840160857, "se": 0.09936680839484395, "t": -20.262020251427916, "p_value": 1.7871003010760944E-7}], "r2": 0.9979772846129609, "adjusted_r2": 0.9965324879079329, "stationary_point": {"x1": 0.7705557982439649, "x2": 0.7065258277764728}, "predicted_response": 82.21883966153536, "nature": "maximum", "eigenvalues": [-1.798371587072334, -3.1761592124017404]}

doe mixture <components>


Description

    Mixture design (the proportions sum to 1): simplex centroid (default) or simplex lattice {q, m}

Parameters

    components:   The number of components - Number - required
admin
doe mixture 3
mentdb
{"components": 3, "design": "centroid", "runs": 7, "lower": [0, 0, 0], "rows": [[1, 0, 0], [0, 1, 0], [0, 0, 1], [0.5, 0.5, 0], [0.5, 0, 0.5], [0, 0.5, 0.5], [0.3333333333, 0.3333333333, 0.3333333333]]}

doe mixture <components> <json_params>


Description

    Mixture design with parameters: design (lattice or centroid), degree (lattice), lower (minimum proportion of each component: L-pseudocomponents), axial (check blends), center

Parameters

    components:   The number of components - Number - required
    json_params:   The parameters - String - required
admin
doe mixture 3 "{\"design\": \"lattice\", \"degree\": 2, \"lower\": [0.1, 0, 0]}"
mentdb
{"components": 3, "design": "lattice", "runs": 6, "lower": [0.1, 0, 0], "rows": [[1, 0, 0], [0.55, 0.45, 0], [0.55, 0, 0.45], [0.1, 0.9, 0], [0.1, 0.45, 0.45], [0.1, 0, 0.9]]}
Used in use cases (1 recipe)

    Process & reactor engineer › Formulation of a three-component blend (mixture design)
Often used with

    doe mixture_fit

doe mixture_fit <json_proportions> <json_responses>


Description

    Scheffe mixture model (quadratic by default, no intercept): coefficients with tests, R2, adjusted R2, best blend on the simplex inside the range of the data

Parameters

    json_proportions:   The proportions of each blend (rows sum to 1) - String - required
    json_responses:   The responses - String - required
admin
doe mixture_fit "[[1,0,0],[1,0,0],[0.5,0.5,0],[0.5,0.5,0],[0.5,0.5,0],[0,1,0],[0,1,0],[0,0.5,0.5],[0,0.5,0.5],[0,0.5,0.5],[0,0,1],[0,0,1],[0.5,0,0.5],[0.5,0,0.5],[0.5,0,0.5]]" "[11.0,12.4,15.0,14.8,16.1,8.8,10.0,10.0,9.7,11.8,16.8,16.0,17.7,16.4,16.6]"
mentdb
{"model": "quadratic", "n": 15, "coefficients": [{"term": "x0", "estimate": 11.699999999999998, "se": 0.6036923425424947, "t": 19.380732826135556, "p_value": 1.198019372594672E-8, "lower": 10.334353043191046, "upper": 13.06564695680895}, {"term": "x1", "estimate": 9.399999999999999, "se": 0.6036923425424947, "t": 15.570845176553354, "p_value": 8.152448116582889E-8, "lower": 8.034353043191047, "upper": 10.76564695680895}, {"term": "x2", "estimate": 16.4, "se": 0.6036923425424947, "t": 27.166155414412234, "p_value": 6.01284355639109E-10, "lower": 15.034353043191047, "upper": 17.76564695680895}, {"term": "x0*x1", "estimate": 19.000000000000025, "se": 2.6082490224215498, "t": 7.284580512316286, "p_value": 4.640660584764866E-5, "lower": 13.099730791567612, "upper": 24.900269208432437}, {"term": "x0*x2", "estimate": 11.40000000000001, "se": 2.6082490224215493, "t": 4.37074830738977, "p_value": 0.001795132281917633, "lower": 5.499730791567597, "upper": 17.30026920843242}, {"term": "x1*x2", "estimate": -9.599999999999994, "se": 2.6082490224215498, "t": -3.6806301535913795, "p_value": 0.005070512153833029, "lower": -15.500269208432407, "upper": -3.699730791567581}], "r2": 0.9513555199620335, "adjusted_r2": 0.92433080882983, "residual_sd": 0.8537498983243802, "best_blend_max": {"x0": 0.3, "x1": 0, "x2": 0.7}, "predicted": 17.384}

doe mixture_fit <json_proportions> <json_responses> <json_params>


Description

    Mixture model with parameters: model (linear, quadratic, special_cubic), names, maximize (true: best blend maximizes, false: minimizes), level

Parameters

    json_proportions:   The proportions - String - required
    json_responses:   The responses - String - required
    json_params:   The parameters - String - required
admin
doe mixture_fit "[[1,0,0],[0,1,0],[0,0,1],[0.5,0.5,0],[0.5,0,0.5],[0,0.5,0.5],[0.33,0.33,0.34]]" "[11.7, 9.4, 16.4, 15.3, 16.9, 10.5, 14.6]" "{\"model\": \"linear\", \"names\": [\"A\", \"B\", \"C\"]}"
mentdb
{"model": "linear", "n": 7, "coefficients": [{"term": "A", "estimate": 14.389577619308834, "se": 2.1651244257009137, "t": 6.6460742156426, "p_value": 0.002660899174348197, "lower": 8.378228505815626, "upper": 20.40092673280204}, {"term": "B", "estimate": 9.989577619308834, "se": 2.1651244257009137, "t": 4.613858446530119, "p_value": 0.0099268046078409, "lower": 3.9782285058156255, "upper": 16.000926732802043}, {"term": "C", "estimate": 16.237849698299506, "se": 2.161436937942009, "t": 7.51252530816847, "p_value": 0.00168024439960468, "lower": 10.236738692144323, "upper": 22.23896070445469}], "r2": 0.4818385713988341, "adjusted_r2": 0.22275785709825124, "residual_sd": 2.631512374652347, "best_blend_max": {"A": 0, "B": 0, "C": 1}, "predicted": 16.237849698299506}
Used in use cases (1 recipe)

    Process & reactor engineer › Formulation of a three-component blend (mixture design)
Often used with

    doe mixture