cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-817258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%85%81%E8%A8%B1%E7%9A%84%E7%B5%84%E5%90%88%E5%BE%9E%20DoE%20%E4%B8%AD%E5%88%AA%E9%99%A4%E6%9F%90%E5%80%8B%E5%9B%A0%E7%B4%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%81%3C%2FP%3E%3CP%3E%E6%88%91%E6%83%B3%E8%A8%AD%E8%A8%88%E4%B8%80%E5%80%8B%E5%AF%A6%E9%A9%97%E4%BE%86%E6%B8%AC%E8%A9%A6%E6%A9%9F%E5%99%A8%E4%B8%AD%E7%9A%84%E6%9C%80%E4%BD%B3%E8%A8%AD%E7%BD%AE%EF%BC%8C%E5%85%B6%E4%B8%AD%E4%B8%80%E5%80%8B%E5%9B%A0%E7%B4%A0%E6%B1%BA%E5%AE%9A%E6%88%91%E6%98%AF%E5%90%A6%E6%87%89%E8%A9%B2%E6%B8%AC%E8%A9%A6%E5%85%B6%E4%BB%96%E5%9B%A0%E7%B4%A0%E3%80%82%E7%B0%A1%E5%8C%96%E5%95%8F%E9%A1%8C%EF%BC%8C%E5%81%87%E8%A8%AD%E6%A9%9F%E5%99%A8%E6%9C%89%E4%B8%80%E5%80%8B%20(A)%20%E6%B0%B4%E9%96%A5%EF%BC%9A%E9%96%8B%2F%E9%97%9C%E3%80%82%E5%A6%82%E6%9E%9C%E6%B0%B4%E9%96%A5%E6%89%93%E9%96%8B%EF%BC%8C%E9%82%A3%E9%BA%BC%E6%88%91%E6%83%B3%E6%B8%AC%E8%A9%A6%20(B)%20%E7%86%B1%E6%B0%B4%2F%E5%86%B7%E6%B0%B4%E5%92%8C%20(C)%205%20%E8%87%B3%207%20mL%2Fs%20%E4%B9%8B%E9%96%93%E7%9A%84%E6%B5%81%E9%80%9F%E3%80%82%E7%95%B6%E6%B0%B4%E9%96%A5%E9%97%9C%E9%96%89%E6%99%82%EF%BC%8CB%E5%92%8CC%E6%B2%92%E6%9C%89%E6%84%8F%E7%BE%A9%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E8%A9%B2%E5%A6%82%E4%BD%95%E8%A8%AD%E8%A8%88%E9%80%99%E6%A8%A3%E7%9A%84%E5%AF%A6%E9%A9%97%EF%BC%9F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%A6%82%E6%8B%AC%3C%2FP%3E%3CP%3E1)%20%E5%A6%82%E6%9E%9C%20A%20%3D%20on%EF%BC%8C%E5%89%87%E6%B8%AC%E8%A9%A6%20B%20%E5%92%8C%20C%3C%2FP%3E%3CP%3E2)%20%E5%A6%82%E6%9E%9C%20A%20%3D%20%E9%97%9C%E9%96%89%EF%BC%8C%E8%AB%8B%E5%8B%BF%E6%B8%AC%E8%A9%A6%20B%20%E5%92%8C%20C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-817258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%AF%A6%E9%A9%97%E8%A8%AD%E8%A8%88%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%A6%96%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-817275%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%85%81%E8%A8%B1%E7%9A%84%E7%B5%84%E5%90%88%E5%BE%9E%20DoE%20%E4%B8%AD%E5%88%AA%E9%99%A4%E4%B8%80%E5%80%8B%E5%9B%A0%E7%B4%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817275%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E5%97%A8%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F47297%22%20target%3D%22_blank%22%3E%40PValueEnemy%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E7%9A%84%E8%A8%AD%E8%A8%88%E7%B4%84%E6%9D%9F%E8%88%87%E5%85%88%E5%89%8D%E9%97%9C%E6%96%BC%E7%A6%81%E6%AD%A2%E7%B5%84%E5%90%88%2F%E5%B5%8C%E5%A5%97%E5%9B%A0%E7%B4%A0%E4%B8%BB%E9%A1%8C%E7%9A%84%E6%96%87%E7%AB%A0%E9%9D%9E%E5%B8%B8%E7%9B%B8%E4%BC%BC%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E9%96%B1%E8%AE%80%E4%BB%A5%E4%B8%8B%E5%B8%96%E5%AD%90%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FDisallowed-Combinations-not-working%2Fm-p%2F780710%23U780710%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E4%B8%8D%E5%85%81%E8%A8%B1%E7%9A%84%E7%B5%84%E5%90%88%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%3C%2FA%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FDesign-of-Experiment-Optional-Mixture-Additives%2Fm-p%2F782982%23U782982%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E5%AF%A6%E9%A9%97%E8%A8%AD%E8%A8%88-%E5%8F%AF%E9%81%B8%E7%9A%84%E6%B7%B7%E5%90%88%E6%B7%BB%E5%8A%A0%E5%8A%91%3C%2FA%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FMeasurement-plan-DoE-where-factors-can-be-present-or-absent%2Fm-p%2F801491%23U801491%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E6%B8%AC%E9%87%8F%E8%A8%88%E5%8A%83%20(DoE)%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%9B%A0%E7%B4%A0%E5%8F%AF%E4%BB%A5%E5%AD%98%E5%9C%A8%E6%88%96%E4%B8%8D%E5%AD%98%E5%9C%A8%E3%80%82%E7%9B%B8%E4%BA%92%E4%BD%9C%E7%94%A8%E5%92%8C%E6%BF%83%E5%BA%A6%E6%98%AF%E4%BB%A4%E4%BA%BA%E6%84%9F%E8%88%88%E8%B6%A3%E7%9A%84%E3%80%82%3C%2FA%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FNested-DOE-with-continous-factors%2Fm-p%2F674509%23U674509%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-forum-thread%20lia-fa-icon%20lia-fa-forum%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E5%85%B7%E6%9C%89%E9%80%A3%E7%BA%8C%E5%9B%A0%E5%AD%90%E7%9A%84%E5%B5%8C%E5%A5%97%20DOE%EF%BC%9F%3C%2FA%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E5%B0%8D%E6%96%BC%E6%82%A8%E7%9A%84%E6%83%85%E6%B3%81%EF%BC%8C%E5%8F%AF%E8%83%BD%E6%9C%89%E5%A4%9A%E7%A8%AE%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%2F%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95%EF%BC%9A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ESimply%20use%2Fadd%20a%200%20level%20for%20factors%20B%20and%20C%20(you%20don't%20need%20a%20factor%20A%20for%20valve).%20B%20can%20become%20a%203-levels%20categorical%20factor%20(no%20water%2Fhot%2Fcold)%20and%20C%20could%20be%20discrete%20numeric%20with%20values%200%2C%205%20and%207.%20If%20factors%20B%20is%20different%20from%20%22no%20water%22%20and%20C%20is%20different%20from%200%2C%20it%20means%20the%20valve%20is%20on.%20Perhaps%20you%20will%20have%20to%20use%20disallowed%20combinations%20or%20a%20candidate%20set%20approach%20to%20avoid%20combinations%20with%20B%20different%20from%20%22no%20water%22%20and%20C%20%3D%200%20OR%20B%20%3D%20%22no%20water%22%20and%20C%20different%20from%200.%3CBR%20%2F%3EExample%20of%20such%20design%20with%20interaction%20and%20quadratic%20effect%20for%20C%20%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Victor_G_0-1732205578752.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Victor_G_0-1732205578752.png%22%20style%3D%22width%3A%20394px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Victor_G_0-1732205578752.png%22%20style%3D%22width%3A%20394px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F70485i9EE526D093848951%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Victor_G_0-1732205578752.png%22%20alt%3D%22Victor_G_0-1732205578752.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%0A%3CP%3E%E7%B4%84%E6%9D%9F%EF%BC%9A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EB%20%3D%3D%20%22No%20water%22%20%26amp%3B%20C%20%26gt%3B%3D%200.1%20%7C%20(B%20%3D%3D%20%22Hot%22%20%7C%20B%20%3D%3D%20%22Cold%22)%20%26amp%3B%20C%20%26lt%3B%3D%200.1%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E5%92%8C%E8%85%B3%E6%9C%AC%EF%BC%9A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EDOE(%0A%09Custom%20Design%2C%0A%09%7BAdd%20Response(%20Maximize%2C%20%22Y%22%2C%20.%2C%20.%2C%20.%20)%2C%0A%09Add%20Factor(%20Categorical%2C%20%7B%22No%20water%22%2C%20%22Hot%22%2C%20%22Cold%22%7D%2C%20%22B%22%2C%200%20)%2C%0A%09Add%20Factor(%20Discrete%20Numeric%2C%20%7B0%2C%205%2C%207%7D%2C%20%22C%22%2C%200%20)%2C%20Set%20Random%20Seed(%201774495%20)%2C%0A%09Number%20of%20Starts(%2042311%20)%2C%20Add%20Term(%20%7B1%2C%200%7D%20)%2C%20Add%20Term(%20%7B1%2C%201%7D%20)%2C%0A%09Add%20Term(%20%7B2%2C%201%7D%20)%2C%20Add%20Potential%20Term(%20%7B2%2C%202%7D%20)%2C%20Add%20Term(%20%7B1%2C%201%7D%2C%20%7B2%2C%201%7D%20)%2C%0A%09Set%20Sample%20Size(%2018%20)%2C%20Disallowed%20Combinations(%0A%09%09B%20%3D%3D%20%22No%20water%22%20%26amp%3B%20C%20%26gt%3B%3D%200.1%20%7C%20(B%20%3D%3D%20%22Hot%22%20%7C%20B%20%3D%3D%20%22Cold%22)%20%26amp%3B%20C%20%26lt%3B%3D%200.1%0A%09)%2C%20Simulate%20Responses(%200%20)%2C%20Save%20X%20Matrix(%200%20)%2C%20Make%20Design%7D%0A)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3E%E4%BD%BF%E7%94%A8%E5%80%99%E9%81%B8%E9%9B%86%E6%96%B9%E6%B3%95%EF%BC%8C%E5%BB%BA%E7%AB%8B%E4%B8%80%E5%80%8B%E5%8C%85%E5%90%AB%E6%89%80%E6%9C%89%E5%8F%AF%E8%83%BD%E7%B5%84%E5%90%88%E7%9A%84%E8%A1%A8%EF%BC%8C%E7%84%B6%E5%BE%8C%E5%88%AA%E9%99%A4%E4%B8%8D%E5%8F%AF%E8%83%BD%E7%9A%84%E7%B5%84%E5%90%88%EF%BC%88%E6%84%8F%E5%91%B3%E8%91%97%E9%96%A5%E9%96%80%E9%97%9C%E9%96%89%E4%B8%94%20B%20OR%20C%20%E4%B8%8D%E5%90%8C%E6%96%BC%200%2F%E2%80%9C%E7%84%A1%E6%B0%B4%E2%80%9D%EF%BC%8C%E6%88%96%E8%80%85%E9%96%A5%E9%96%80%E6%89%93%E9%96%8B%E4%B8%94%20B%20%3D%E2%80%9C%E7%84%A1%E6%B0%B4%E2%80%9D%E4%B8%A6%E4%B8%94C%20%3D%200%EF%BC%89%E3%80%82%E5%9C%A8%E8%87%AA%E8%A8%82%E8%A8%AD%E8%A8%88%E4%B8%AD%E4%BD%BF%E7%94%A8%E6%AD%A4%E5%80%99%E9%81%B8%E9%9B%86%E5%8F%AF%E7%9B%B4%E6%8E%A5%E5%BB%BA%E7%AB%8B%E5%9F%BA%E6%96%BC%E9%80%99%E4%BA%9B%E5%8D%94%E8%AE%8A%E6%95%B8%E9%81%8B%E8%A1%8C%E7%9A%84%E8%A8%AD%E8%A8%88%E3%80%82%E9%80%99%E4%BD%BF%E5%BE%97%E8%83%BD%E5%A4%A0%E5%9C%A8%E8%A8%AD%E8%A8%88%E4%B8%AD%E8%87%AA%E7%84%B6%E5%9C%B0%E6%96%BD%E5%8A%A0%E8%A4%87%E9%9B%9C%E7%9A%84%E7%B4%84%E6%9D%9F%EF%BC%8C%E8%80%8C%E7%84%A1%E9%9C%80%E6%8C%87%E5%AE%9A%E5%AE%83%E5%80%91%E3%80%82%E7%84%B6%E8%80%8C%EF%BC%8C%E6%87%89%E8%A9%B2%E7%89%B9%E5%88%A5%E6%B3%A8%E6%84%8F%E6%A8%A1%E5%9E%8B%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%B0%87%E7%B4%84%E6%9D%9F%E5%BE%88%E5%A5%BD%E5%9C%B0%E7%B4%8D%E5%85%A5%E6%A8%A1%E5%9E%8B%E4%B8%AD%E3%80%82%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E7%84%A1%E8%AB%96%E5%A6%82%E4%BD%95%EF%BC%8C%E6%88%91%E8%AA%8D%E7%82%BA%E4%BD%A0%E7%9A%84%E5%9B%A0%E7%B4%A0%20A%20%E5%8F%AF%E8%83%BD%E6%98%AF%E5%A4%9A%E9%A4%98%E7%9A%84%EF%BC%8C%E5%9B%A0%E7%82%BA%E5%AE%83%E8%88%87%E5%9B%A0%E7%B4%A0%20B%20%E5%92%8C%20C%20%E7%9A%84%E5%80%BC%E7%9B%B4%E6%8E%A5%E7%9B%B8%E9%97%9C%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E7%AC%AC%E4%B8%80%E5%80%8B%E5%9B%9E%E8%A6%86%E8%83%BD%E7%B5%A6%E6%82%A8%E4%B8%80%E4%BA%9B%E6%83%B3%E6%B3%95%EF%BC%8C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-817308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%85%81%E8%A8%B1%E7%9A%84%E7%B5%84%E5%90%88%E5%BE%9E%20DoE%20%E4%B8%AD%E5%88%AA%E9%99%A4%E4%B8%80%E5%80%8B%E5%9B%A0%E7%B4%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E6%AD%A3%E5%9C%A8%E6%8F%8F%E8%BF%B0%E5%B5%8C%E5%A5%97%E8%A8%AD%E8%A8%88%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E4%BB%A5%E4%B8%8B%E6%98%AF%E6%9C%89%E9%97%9C%E5%B5%8C%E5%A5%97%E7%9A%84%E4%B8%80%E4%BA%9B%E8%B3%87%E8%A8%8A%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.1%2F%3Fos%3Dmac%26amp%3Bsource%3Dapplication%23page%2Fjmp%2Fstatistical-details-for-variance-components.shtml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.1%2F%3Fos%3Dmac%26amp%3Bsource%3Dapplication%23page%2Fjmp%2Fstatistical-details-for-variance-components.shtml%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E5%9C%A8%E9%80%99%E8%A3%A1%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpmc.ncbi.nlm.nih.gov%2Farticles%2FPMC9098003%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpmc.ncbi.nlm.nih.gov%2Farticles%2FPMC9098003%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%84%8F%E8%AD%98%E5%88%B0%E9%80%8F%E9%81%8E%E5%B5%8C%E5%A5%97%E4%BD%A0%E4%B8%8D%E6%9C%83%E5%BE%97%E5%88%B0%E4%BA%A4%E4%BA%92%EF%BC%8C%E4%BD%86%E4%BD%A0%E6%9C%83%E5%BE%97%E5%88%B0%E4%B8%BB%E8%A6%81%E6%95%88%E6%9E%9C%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
PValueEnemy
Level II

Using disallowed combinations to remove a factor from the DoE

Hello!

I want to design an experiment to test the best setup in a machine where one of the factors define if I should test the other factors. Simplifying the problem, suppose the machine have a (A) water valve: on/off. If the water valve is on, then I want to test (B) hot/cold water and (C) flow rate between 5 and 7 mL/s. When the water valve is off, B and C does not make sense.

How should I design an experiment this way?

 

Summary

1) If A = on, then test B and C

2) If A = off, then don't test B and C

1 ACCEPTED SOLUTION

Accepted Solutions
Victor_G
Super User

Re: Using disallowed combinations to remove a factor from the DoE

Hi @PValueEnemy,

 

Your design constraint is very similar to previous post about this topic of disallowed combinations /nested factors.

You can read the following posts :

Disallowed Combinations not working 

Design of Experiment - Optional Mixture Additives 

Measurement plan (DoE) where factors can be present or absent. Interactions and concentrations are o... 

Nested DOE with continous factors? 

 

There may be several solutions/workarounds for your situation :

  1. Simply use/add a 0 level for factors B and C (you don't need a factor A for valve). B can become a 3-levels categorical factor (no water/hot/cold) and C could be discrete numeric with values 0, 5 and 7. If factors B is different from "no water" and C is different from 0, it means the valve is on. Perhaps you will have to use disallowed combinations or a candidate set approach to avoid combinations with B different from "no water" and C = 0 OR B = "no water" and C different from 0.
    Example of such design with interaction and quadratic effect for C :
    Victor_G_0-1732205578752.png

    Disallowed combinations/Constraint : 

    B == "No water" & C >= 0.1 | (B == "Hot" | B == "Cold") & C <= 0.1

    And script :

    DOE(
    	Custom Design,
    	{Add Response( Maximize, "Y", ., ., . ),
    	Add Factor( Categorical, {"No water", "Hot", "Cold"}, "B", 0 ),
    	Add Factor( Discrete Numeric, {0, 5, 7}, "C", 0 ), Set Random Seed( 1774495 ),
    	Number of Starts( 42311 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
    	Add Term( {2, 1} ), Add Potential Term( {2, 2} ), Add Term( {1, 1}, {2, 1} ),
    	Set Sample Size( 18 ), Disallowed Combinations(
    		B == "No water" & C >= 0.1 | (B == "Hot" | B == "Cold") & C <= 0.1
    	), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
    )


  2. Use a candidate set approach, by creating a table with all possible combinations, and then remove impossible ones (implying valve is off and B OR C is different from 0/"no water", or valve is on and B = "no water" AND C = 0). Use this candidate set in the Custom design to directly create a design based on these covariate runs. This enable to force complex constraints naturally in the design without having to specify them. A specific care should however be adressed to the model so that the constraints are well incorporated in the model.

 

Anyway, I think your factor A  may be redundant, as it is directly correlated to the values of factors B and C.

Hope this first response will give you some ideas,

Victor GUILLER

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

View solution in original post

2 REPLIES 2
Victor_G
Super User

Re: Using disallowed combinations to remove a factor from the DoE

Hi @PValueEnemy,

 

Your design constraint is very similar to previous post about this topic of disallowed combinations /nested factors.

You can read the following posts :

Disallowed Combinations not working 

Design of Experiment - Optional Mixture Additives 

Measurement plan (DoE) where factors can be present or absent. Interactions and concentrations are o... 

Nested DOE with continous factors? 

 

There may be several solutions/workarounds for your situation :

  1. Simply use/add a 0 level for factors B and C (you don't need a factor A for valve). B can become a 3-levels categorical factor (no water/hot/cold) and C could be discrete numeric with values 0, 5 and 7. If factors B is different from "no water" and C is different from 0, it means the valve is on. Perhaps you will have to use disallowed combinations or a candidate set approach to avoid combinations with B different from "no water" and C = 0 OR B = "no water" and C different from 0.
    Example of such design with interaction and quadratic effect for C :
    Victor_G_0-1732205578752.png

    Disallowed combinations/Constraint : 

    B == "No water" & C >= 0.1 | (B == "Hot" | B == "Cold") & C <= 0.1

    And script :

    DOE(
    	Custom Design,
    	{Add Response( Maximize, "Y", ., ., . ),
    	Add Factor( Categorical, {"No water", "Hot", "Cold"}, "B", 0 ),
    	Add Factor( Discrete Numeric, {0, 5, 7}, "C", 0 ), Set Random Seed( 1774495 ),
    	Number of Starts( 42311 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
    	Add Term( {2, 1} ), Add Potential Term( {2, 2} ), Add Term( {1, 1}, {2, 1} ),
    	Set Sample Size( 18 ), Disallowed Combinations(
    		B == "No water" & C >= 0.1 | (B == "Hot" | B == "Cold") & C <= 0.1
    	), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
    )


  2. Use a candidate set approach, by creating a table with all possible combinations, and then remove impossible ones (implying valve is off and B OR C is different from 0/"no water", or valve is on and B = "no water" AND C = 0). Use this candidate set in the Custom design to directly create a design based on these covariate runs. This enable to force complex constraints naturally in the design without having to specify them. A specific care should however be adressed to the model so that the constraints are well incorporated in the model.

 

Anyway, I think your factor A  may be redundant, as it is directly correlated to the values of factors B and C.

Hope this first response will give you some ideas,

Victor GUILLER

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)
statman
Super User

Re: Using disallowed combinations to remove a factor from the DoE

You are describing a nested deign.

 

Here is some information about nesting:

 

https://www.jmp.com/support/help/en/18.1/?os=mac&source=application#page/jmp/statistical-details-for...

 

and here:

https://pmc.ncbi.nlm.nih.gov/articles/PMC9098003/

 

Realize with nesting you do not get interactions, but you will get main effects.

"All models are wrong, some are useful" G.E.P. Box

Recommended Articles