Whether PCE in UQLab can use weighted least square method to calculate coefficient?

I recently tried to do some work on PCE, when using the toolbox do not know how to choose the weighted least square solution coefficient, hope to be solved. In addition, there are some problems in the PCE program I wrote. No matter which orthogonal polynomial is selected as the basis function, the output response does not change under the same input conditions. The diagram is the result obtained using the Hermite and Legendre polynomials as the basis function.

Dear @Wang

As far as I know, there is no option for weighted least squares in QULab. Regarding your other problem, it would be very helpful if you could provide a minimal reproducible example.

Best regards
Styfen