def normalize(data):
    '''Normalizes a set of data.

    '''

    mean = np.mean(data)
    sd = np.sqrt(np.var(data))
    z_data = (data - mean) / sd
    return z_data
dataset/ETHPy150Open erikson84/BayesDataAnalysisWithPyMC/BayesDataAnalysisWithPymc/normalize.py/normalize/original