optframework.pbm.pbm_quick_test module

Created on Tue Feb 18 13:40:32 2025

class optframework.pbm.pbm_quick_test.PBMQuickTest(solver)[source]

Bases: object

QMOM(NDF_shape='normal')[source]

Perform Quadrature Method of Moments (QMOM) test.

Parameters:

NDF_shape (str): Shape of the distribution (“normal”, “gamma”, “lognormal”, “beta”).

Returns:

tuple: Original moments, QMOM moments, and GQMOM moments.

QMOM_normal(NDF_shape='normal')[source]

Perform QMOM test with normalization.

Parameters:

NDF_shape (str): Shape of the distribution (“normal”, “gamma”, “lognormal”, “beta”, “mono”).

Returns:

tuple: Original moments, QMOM moments, and GQMOM moments.

CHyQMOM_2d()[source]

Perform 2D Conditional Hyperbolic Quadrature Method of Moments (CHyQMOM) test.

Returns:

tuple: Original moments and CHyQMOM moments.

CQMOM_2d(use_central)[source]

Perform 2D Conditional Quadrature Method of Moments (CQMOM) test.

Parameters:

use_central (bool): Flag to use central moments.

Returns:

tuple: Original moments and CQMOM moments.