PCE
StatFEMEUCLID.PCE — Module
PCE
This submodule provides all the functionality for building a PCE surrogate from an FEM sample obtained through the Sampling submodule.
Obtaining the PCE surrogate
StatFEMEUCLID.PCE.PolyChaosExpansion — Type
PolyChaosExpansion{T<: Real}Struct for holding the PCE surrogate
StatFEMEUCLID.PCE.PolyChaosExpansion — Method
PolyChaosExpansion(sample::UnivariateFEMSample{T};polynomials::AbstractCanonicalOrthoPoly = GaussOrthoPoly(8),vector_distribution::UnivariateDistribution=Normal(0,1)) where T<:RealRepresent the sampled random variable $Y$(sample) as a Polynomial Chaos Expansion (PCE) surrogate $Y = ∑_{i∈ℕ} cᵢΨᵢ(𝐗)$ with:
- $Ψᵢ$ being a polynomial basis function from
polynomials, default gaussion/probabilists' Hermite of degree 8 - $𝐗$ a random vector of distribution
vector_distribution, default $𝐗∼𝒩(0,1)$, - $cᵢ$ the PCE coefficients to be calculated.
Functions
StatFEMEUCLID.PCE.compute_statistics — Function
compute_statistics(pce::PolyChaosExpansion)Compute mean and standard deviation of the given PCE
StatFEMEUCLID.PCE.covariance — Function
covariance(pce::PolyChaosExpansion{T})::AbstractMatrix{T} where T <: RealCompute covariance matrix of the given PCE
StatFEMEUCLID.PCE.mean — Function
mean(pce::PolyChaosExpansion{T})::AbstractVector{T} where T<:RealCompute mean values of the given PCE