Principal components and screening DoEHello - I am currently using PCA on 60+ descriptors of chemical elements to reduce the dimensionality and convert "element" from a categorical variable to a continuous variable. However, I cannot find a simple way to use a set of factors with lots of required level combinations. My two thoughts are the "set covariate factors" or the disallowed combinations script. However covariate runs A) has a weird suggestion of the number of runs equaling the number of levels of my PC's, even without me checking the "Include all selected covariate rows in the design" and
seems antithetical to the concept of PCA, which generates uncorrelated components. The disallowed combinations script I assume would work (haven't explored it yet), but I have never played with JSL and so I wanted to see if anyone had any suggestions before I go down that road.
Thanks so much!
P.S. I also included the (unfinished) table and a separate one for the PC's that I'm using to generate the DoE if that helps.
Advanced Statistical ModelingAutomation and ScriptingDesign of ExperimentsWindowsRe: Principal components and screening DoEYou can add a covariate factor. JMP will assume that you want to use every row in the covariate data table. Reduce the number of runs, though, and JMP will find the optimal subset of rows. It will highlight them in the source data table, too.
Re: Principal components and screening DoEAh that makes sense then. Thanks!
Re: Principal components and screening DoEHi,
I think that you might need to add a bit more explanation of what you are trying to achieve. Can you elaborate on "use a set of factors with lots of required level combinations."
Using PCA to reduce the dimensionality of a system like this is a fairly standard approach. The next step is often to build an experiment using the principal components as covariate factors and selecting candidates to give good coverage of the principal components space.
In the attached example with solvents, PCA reduces the solvent properties to 2 components (essentially "polarity" and "bulkiness"). These components are then used as covariate factors in Custom Design to select 9 solvents to estimate the response surface model. You can see the 9 solvents selected cover the PC space, and hence the original descriptor space, very nicely:

I hope this helps,
Phil
Re: Principal components and screening DoEOne more question. If I am doing this with two sets of covariates (one PC set for elements, and another for solvents), how would I do this? I tried to put another set in the table that has data occupying different rows than the first PC's just as a trial (as seen below), and the design failed
Thanks.

Re: Principal components and screening DoEHi @Phil_Kay - Yes so that's exactly what I meant. I worded it that way because I was talking about what I was trying to get JMP to do on a mechanical level, rather than ask a more statistical question. The solvent plot you shared is exactly the kind of thing I'm planning on doing, with both solvents and f-block metals, though I can't figure out how to put both sets of PC's into a DoE simultaneously without JMP thinking the PC's are all covariates of each other.
Re: Principal components and screening DoEIt's a good question (re: selecting 2 different types of materials in a DOE) . I don't think there is an easy way to do this. But I think that a workaround is possible.
The workaround would be to create a table with 1 row for every possible combination of solvents and f-block metals. So the number of rows would = number of solvents * number of metals. I would have to think about the easiest way to create this.
You would need columns of PCs for solvents, and columns of PCs for metals (I think you could create these before or after the big table of all combinations). Then use all PC columns as the covariate factors.
Re: Principal components and screening DoEYou cannot combine two sets of PCAs as covariates. Custom Desing considers the table of covariate values as the runs in your design to be completed with the levels of the other factors. JMP finds the optimal factor levels in combination with the covariate combinations. Operationally and philosophically, you would need a covariate data table with the metals and the solvents. Still, there is no meaningful way to match the metals and the solvents row-by-row. They are truly independent.
Re: Principal components and screening DoESo I used Microsofts power query functionality in Excel to make the paired table of covariates like @Phil_Kay suggested, and I've attached it, but @Mark_Bailey you said "Still, there is no meaningful way to match the metals and the solvents row-by-row." Does this mean you don't think this would work, or just its more the brute force method than one that makes meaningful sense?
Re: Principal components and screening DoECombining the metal table and the solvent table using a Cartesian join will give you all possible pairings of metals and solvents. Then you can optimally subset this table with Custom Design. I was thinking in the 'Custom Design' box, not the 'do-it-yourself box' as Phil was.
Re: Principal components and screening DoEOh I understand. I guess I assumed Phil was saying "...and then throw it into custom design." That makes sense. Thanks!
Not sure if I should put this into a new question, but I am also using two different heat treatments (microwave and thermal), which normally would be fine as a categorical variable, but there is also a switch of a second factor associated with the different levels of the "heat treatment type" factor: Microwave makes more sense to control the "power input" as an additional factor, while thermal makes more sense to use the "temperature" set point as a factor. My guess is that the only thing to do would be two DoE's for the different heat treatment methods, but just thought I'd ask if y'all had any thoughts.
If this should be a second question, I'll be happy to make a new one.
Re: Principal components and screening DoEYes, I think that would be good to put in a separate question. But briefly, I think your options are to either run separate experiments for muwave and thermal. Or you could have a categorical factor for heat treatment with combinations of type and level, e.g. thermal_100C, thermal_120C, muwave_200W, muwave_300W. I think that you could even analyse the data in this way having run the experiments separately.
Re: Principal components and screening DoE@Phil_Kay Awesome. I posted the question as its own, as you suggested, so I guess we can continue there, as I do have a question or two. Thanks! https://community.jmp.com/t5/Discussions/DoE-where-choice-of-factor-changes-with-the-levels-of-another/m-p/577901#M78544