UQTk: Uncertainty Quantification Toolkit 3.1.5
|
Header for tools related to Rosenblatt transformation. More...
Go to the source code of this file.
Functions | |
void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi, Array1D< double > &sig) |
Generates a new sample by inverse Rosenblatt defined by a given sample set (xi) and a 'uniform' sample from the unit hypercube. | |
void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi, double bw) |
This is a version of invRos() with the same bandwidth (bw) for all dimensions. | |
void | invRos (Array1D< double > &unif, Array2D< double > &xi, Array1D< double > &newXi) |
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb. | |
void | invRos (Array2D< double > &unif, Array2D< double > &xi, Array2D< double > &newXi) |
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb, and operating on set of uniform samples (rather than one at a time) | |
void | get_opt_KDEbdwth (const Array2D< double > &data, Array1D< double > &bdwth) |
Calculates 'rule of thumb' optimal KDE bandwidths for a multi-dimensional data. | |
void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif, Array1D< double > &sig) |
Given input samples (xi), generates uniform samples by Rosenblatt map whose PDF is defined by a given sample set (xi_data) | |
void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif, double bw) |
This is a version of Rosen() with the same bandwidth (bw) for all dimensions. | |
void | Rosen (Array2D< double > &xi, Array2D< double > &xi_data, Array2D< double > &unif) |
This is a version of Rosen() with an automatic bandwidth selection based on a rule of thumb. | |
Header for tools related to Rosenblatt transformation.
Calculates 'rule of thumb' optimal KDE bandwidths for a multi-dimensional data.
[in] | data | : 2-dimensional array of size corresponding to samples |
[out] | bdwth | : 1-dimensional array of size for dimension-specific KDE bandwidths |
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb.
void invRos | ( | Array1D< double > & | unif, |
Array2D< double > & | xi, | ||
Array1D< double > & | newXi, | ||
Array1D< double > & | sig ) |
Generates a new sample by inverse Rosenblatt defined by a given sample set (xi) and a 'uniform' sample from the unit hypercube.
[in] | unif | : 1-dimensional array of size corresponding to a sample |
[in] | xi | : 2-dimensional array of size corresponding to samples that define the target distribution |
[out] | newXi | : 1-dimensional array of size corresponding to a new sample |
[in] | sig | : 1-dimensional array of size for dimension-specific KDE bandwidths |
void invRos | ( | Array1D< double > & | unif, |
Array2D< double > & | xi, | ||
Array1D< double > & | newXi, | ||
double | bw ) |
This is a version of invRos() with the same bandwidth (bw) for all dimensions.
This is a version of invRos() with an automatic bandwidth selection based on a rule of thumb, and operating on set of uniform samples (rather than one at a time)
[in] | unif | : 2-dimensional array of size corresponding to N samples (uniform) |
[in] | xi | : 2-dimensional array of size corresponding to samples that define the arbitrary target distribution |
[out] | newXi | : 2-dimensional array of size corresponding to a set of N new samples |
This is a version of Rosen() with an automatic bandwidth selection based on a rule of thumb.
void Rosen | ( | Array2D< double > & | xi, |
Array2D< double > & | xi_data, | ||
Array2D< double > & | unif, | ||
Array1D< double > & | sig ) |
Given input samples (xi), generates uniform samples by Rosenblatt map whose PDF is defined by a given sample set (xi_data)
[in] | xi | : 2-dimensional array of size for input samples of the Rosenblatt map |
[in] | xi_data | : 2-dimensional array of size corresponding to samples from PDF defining the Rosenblatt map |
[out] | unif | : 2-dimensional array of size for output samples of the Rosenblatt map; will land in if the input is sampled from the PDF of |
[in] | sig | : 1-dimensional array of size for dimension-specific KDE bandwidths |