def METHOD_NAME(x, joint_distribution):
    """
    Static method: PDF of standardized distributions associated to Hermite or Legendre polynomials.
    :param x: Input data generated from a joint probability distribution
    :param joint_distribution: joint probability distribution from :py:mod:`UQpy` distribution object
    :return: Value of standardized PDF calculated for x
    """
    inputs_number = len(x[0, :])
    pdf_val = 1
    s = Polynomials.standardize_sample(x, joint_distribution)
    if inputs_number == 1:
        marginals = [joint_distribution]
    else:
        marginals = joint_distribution.marginals
    for i in range(inputs_number):
        if type(marginals[i]) == Normal:
            pdf_val *= (stats.norm.pdf(s[:, i]))
        elif type(marginals[i]) == Uniform:
            pdf_val *= (stats.uniform.pdf(s[:, i], loc=-1, scale=2))
        else:
            raise TypeError("standardize_pdf is defined only for Uniform and Gaussian marginal distributions")
    return pdf_val