def convert_slope(x_data, y_data, zb1_sample):
    '''Converts normalized b1 sample back to original scale.

    :Arguments:
    x_data: original predictor data list.
    y_data: original predicted data list.
    zb1_sample: normalized parameter samples.

    '''

    y_sd = np.sqrt(np.var(y_data))
    x_sd = np.sqrt(np.var(x_data))
    b1 = zb1_sample * (x_sd / y_sd)
    return b1
dataset/ETHPy150Open erikson84/BayesDataAnalysisWithPyMC/BayesDataAnalysisWithPymc/normalize.py/convert_slope/swapped operands of `/`