Matlab function for the calculation of G-efficiency and D-efficiency coefficients of D-optimal DoE ?
3 views (last 30 days)
Show older comments
I have designed a fractional factorial DoE but I was not able to make the full test plan (1 experiment over the 16 is missing). But, due to the regulation constraints, I have 11 additional experimental conditions, that I would like to valorise for getting the best of this DoE. I would like to determine the D-optimal coeffcient in order to see if I can get a sufficiently good quality for my DoE. Is there a Matlab function that calculate this coefficient ? What about the G-efficiency coefficient ? Thanks by advance and best regards.
0 Comments
Answers (2)
Tom Lane
on 7 Nov 2012
The D-optimal design maximizes the determinant of X'*X where X is the design matrix. If you have the Statistics Toolbox you could do things like this:
>> x = x2fx(fracfact('a b c d abcd'),'linear');
>> log(det(x'*x))
ans =
16.6355
>> log(det(x(2:end,:)'*x(2:end,:)))
ans =
16.1655
>> 2*sum(log(svd(x)))
ans =
16.6355
Notice the last one operates directly on x and would be okay even if det(x'*x) overflowed. You could append your other 11 rows to x to compute the value for your design. I don't think that would be an issue in your problem, though.
I'm less familiar with G-optimal designs, but my impression is that you'll want to compute things like
diag(x*((x'*x)\x'))
0 Comments
Philippe
on 20 Nov 2012
3 Comments
Yangyang Liu
on 10 Dec 2020
Thank you very much for your prompt reply.
I think I need to try as much as you do.
Thanks again.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!