I would like to know how uqlab associates the PCE coefficients with the indices in its basis.
Formulate it differently, I would like if UqLab follows the order that is presented in the book “RISK AND RELIABILITY IN GEOTECHNICAL ENGINEERING”, chapter 6, Tab.6.2, (written by M. Sudret) for the storing of the coefficients.
I built a polynomial basis on another software and I try to use the coefficients calculated by UqLab and I have difficulties to match the coefficients with the right indices of my basis.
I know that my question is a bit out of the scope of other questions asked on the forum but I hope you can answer me anyway.
I am just a UQlab user, so I do not know all the coding structure of the toolbox. However, I have been working with PCE and UQlab for a while now, so I try to give you an answer.
You can check the degree of each univariate polynomial with the command
full(<yourPCEstruct>.PCE.Basis.Indices)
As an example, you have a PCE computed for a model of dimensionality M=2 (as in the picture you just added). The indices will look like as
Hi , i m working on a problem where we have 3 independent variables and 1 dependent variable on that and i want to fit a curve into that , but the coefficients which it displays even by using the uq_PCE_prettyprint_coefficients don’t make any sense , when the input values are manually inserted into the polynomial. There are some predicted values which the code is giving me using evaluate function , but they are different from the ones which i manually get. Could you help me out.