Hello,
I have been using the new Stochastic PCE module to create surrogate models of a stochastic simulator and I recently noticed a discrepancy between the standard deviation output by calling the uq_print function and the standard deviation saved in the model structure. The following screenshot indicates the discrepancy as observed when working with my model.
As you can see, the discrepancy is quite significant!
I tested this on the SPCE example (Stochastic SIR) provided as well and noticed the same discrepancy. (I am unable to provide a screenshot of this due to the age of my account)
This seems quite odd, can you clarify if this is a mistake in my understanding or in the processing of the metamodel?
P.S. I did some more testing and found that if I compute as standard deviation as
mySPCE.SPCE.Moments.Var - mySPCE.SPCE.Sigma^2
I get the same result as is displayed in uq_print.