Hi
I'm working on a bit of software attempting to automate JMP 9 in C#, what I'm attempting to do is create a DoE, fill the data table with my results and then fit the model. I can get as far as generating the DoE and filling the datatable but I'm getting stuck at the final stage of fitting the model. My code looks a little like this (part of a larger class with Response, Factor and Term properties) :
JMP.Application jmp = new JMP.Application();
jmp.Visible = true;
JMP.DOECustom doe = jmp.CreateDOECustom();
foreach (JMPResponse response in this.Responses)
{
doe.AddResponse(response.ResponseType, response.Name, response.Minimum, response.Maximum, 1);
}
foreach (JMPContinuousFactor factor in this.Factors)
{
doe.AddContinuousFactorWithName(factor.Name, factor.Minimum, factor.Maximum);
}
foreach (JMPTerm term in this.Terms)
{
doe.AddTerms(term.AsIntArray());
}
doe.MakeDesign();
JMP.DataTable dt = doe.MakeTable();
// Do bit's and pieces to fill the table
What I'd like to do next is Fit the model and then (hopefully) extract the various coefficients, t statistics and so on from each of the terms. I can't really find anything obvious in the documentation or the code samples that lets me do this.
Any help appreciated.