def _getUnitNormalDeviation(zscore):
    '\n        Utility function used by Scale of Results\n\n        Looks up the Unit Normal Deviation based on the Z-Score (Proportion/Probability)\n        http://en.wikipedia.org/wiki/Standard_normal_table\n\n        @ToDo: Move to S3Statistics module\n    '
    UNIT_NORMAL = ((0.0, 0.0, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09), (0.0, 0.5, 0.504, 0.508, 0.512, 0.516, 0.5199, 0.5239, 0.5279, 0.5319, 0.5359), (0.1, 0.5398, 0.5438, 0.5478, 0.5517, 0.5557, 0.5596, 0.5636, 0.5675, 0.5714, 0.5753), (0.2, 0.5793, 0.5832, 0.5871, 0.591, 0.5948, 0.5987, 0.6026, 0.6064, 0.6103, 0.6141), (0.3, 0.6179, 0.6217, 0.6255, 0.6293, 0.6331, 0.6368, 0.6406, 0.6443, 0.648, 0.6517), (0.4, 0.6554, 0.6591, 0.6628, 0.6664, 0.67, 0.6736, 0.6772, 0.6808, 0.6844, 0.6879), (0.5, 0.6915, 0.695, 0.6985, 0.7019, 0.7054, 0.7088, 0.7123, 0.7157, 0.719, 0.7224), (0.6, 0.7257, 0.7291, 0.7324, 0.7357, 0.7389, 0.7422, 0.7454, 0.7486, 0.7517, 0.7549), (0.7, 0.758, 0.7611, 0.7642, 0.7673, 0.7703, 0.7734, 0.7764, 0.7794, 0.7823, 0.7852), (0.8, 0.7881, 0.791, 0.7939, 0.7967, 0.7995, 0.8023, 0.8051, 0.8078, 0.8106, 0.8133), (0.9, 0.8159, 0.8186, 0.8212, 0.8238, 0.8264, 0.8289, 0.8315, 0.834, 0.8365, 0.8389), (1.0, 0.8415, 0.8438, 0.8461, 0.8485, 0.8508, 0.8531, 0.8554, 0.8577, 0.8509, 0.8621), (1.1, 0.8643, 0.8665, 0.8686, 0.8708, 0.8729, 0.8749, 0.877, 0.879, 0.881, 0.883), (1.2, 0.8849, 0.8869, 0.8888, 0.8907, 0.8925, 0.8944, 0.8962, 0.898, 0.8997, 0.90147), (1.3, 0.9032, 0.9049, 0.90658, 0.90824, 0.90988, 0.91149, 0.91309, 0.91466, 0.91621, 0.91774), (1.4, 0.91924, 0.92073, 0.9222, 0.92364, 0.92507, 0.92647, 0.92785, 0.92922, 0.93056, 0.93189), (1.5, 0.93319, 0.93448, 0.93574, 0.93699, 0.93822, 0.93943, 0.94062, 0.94179, 0.94295, 0.94408), (1.6, 0.9452, 0.9463, 0.94738, 0.94845, 0.9495, 0.95053, 0.95154, 0.95254, 0.95352, 0.95449), (1.7, 0.95543, 0.95637, 0.95728, 0.95818, 0.95907, 0.95994, 0.9608, 0.96164, 0.96246, 0.96327), (1.8, 0.96407, 0.96485, 0.96562, 0.96638, 0.96712, 0.96784, 0.97856, 0.96926, 0.96995, 0.97062), (1.9, 0.97128, 0.97193, 0.97257, 0.9732, 0.97381, 0.97441, 0.975, 0.97558, 0.97615, 0.9767), (2.0, 0.97725, 0.97778, 0.97831, 0.97882, 0.97932, 0.97982, 0.9803, 0.98077, 0.98124, 0.98169), (2.1, 0.98214, 0.98257, 0.983, 0.98341, 0.98382, 0.98422, 0.98461, 0.985, 0.98537, 0.98574), (2.2, 0.9861, 0.98645, 0.98679, 0.98713, 0.98745, 0.98778, 0.98809, 0.9884, 0.9887, 0.98899), (2.3, 0.98928, 0.98956, 0.98983, 0.990097, 0.990358, 0.990613, 0.990863, 0.991106, 0.991344, 0.991576), (2.4, 0.991802, 0.992024, 0.99224, 0.992451, 0.992656, 0.992857, 0.993053, 0.993244, 0.993431, 0.993613), (2.5, 0.99379, 0.993963, 0.994132, 0.994297, 0.994457, 0.994614, 0.994766, 0.994915, 0.99506, 0.995201), (2.6, 0.995339, 0.995473, 0.995604, 0.995731, 0.995855, 0.995975, 0.996093, 0.996207, 0.996319, 0.996427), (2.7, 0.996533, 0.996636, 0.996736, 0.996833, 0.996928, 0.99702, 0.99711, 0.997197, 0.997282, 0.997365), (2.8, 0.997445, 0.997523, 0.997599, 0.997673, 0.997744, 0.997814, 0.997882, 0.997948, 0.998012, 0.998074), (2.9, 0.998134, 0.998193, 0.99825, 0.998305, 0.998359, 0.998411, 0.99846, 0.998511, 0.998559, 0.998605), (3.0, 0.99865, 0.998694, 0.998736, 0.998777, 0.998817, 0.998856, 0.998893, 0.99893, 0.998965, 0.998999), (3.1, 0.9990324, 0.9990646, 0.9990957, 0.999126, 0.9991553, 0.9991836, 0.9992112, 0.9992378, 0.9992636, 0.9992886), (3.2, 0.9993129, 0.9993363, 0.999359, 0.999381, 0.9994024, 0.999423, 0.9994429, 0.9994623, 0.999481, 0.9994991), (3.3, 0.9995166, 0.9995335, 0.9995499, 0.9995658, 0.9995811, 0.9995959, 0.9996103, 0.9996242, 0.9996376, 0.9996505), (3.4, 0.9996631, 0.9996752, 0.9996869, 0.9996982, 0.9997091, 0.9997197, 0.9997299, 0.9997398, 0.9997493, 0.9997585), (3.5, 0.9997674, 0.9997759, 0.9997842, 0.9997922, 0.9997999, 0.9998074, 0.9998146, 0.9998215, 0.9998282, 0.9998347), (3.6, 0.9998409, 0.9998469, 0.9998527, 0.9998583, 0.9998637, 0.9998689, 0.9998739, 0.9998787, 0.9998834, 0.9998879), (3.7, 0.9998922, 0.9998964, 0.99990039, 0.99990426, 0.99990799, 0.99991158, 0.99991504, 0.99991838, 0.99992159, 0.99992468), (3.8, 0.99992765, 0.99993052, 0.99993327, 0.99993593, 0.99993848, 0.99994094, 0.99994331, 0.99994558, 0.99994777, 0.99994988), (3.9, 0.9999519, 0.99995385, 0.99995573, 0.99995753, 0.99995926, 0.99996092, 0.99996253, 0.99996406, 0.99996554, 0.99996696), (4.0, 0.99996833, 0.99996964, 0.9999709, 0.99997211, 0.99997327, 0.99997439, 0.99997546, 0.99997649, 0.99997748, 0.99997843), (4.1, 0.99997934, 0.99998022, 0.99998106, 0.99998186, 0.99998263, 0.99998338, 0.99998409, 0.99998477, 0.99998542, 0.99998605), (4.2, 0.99998665, 0.99998723, 0.99998778, 0.99998832, 0.99998882, 0.99998931, 0.99998978, 0.999990226, 0.999990655, 0.999991066), (4.3, 0.99999146, 0.999991837, 0.999992199, 0.999992545, 0.999992876, 0.999993193, 0.999993497, 0.999993788, 0.999994066, 0.999994332), (4.4, 0.999994587, 0.999994831, 0.999995065, 0.999995288, 0.999995502, 0.999995706, 0.999995902, 0.999996089, 0.999996268, 0.999996439), (4.5, 0.999996602, 0.999996759, 0.999996908, 0.999997051, 0.999997187, 0.999997318, 0.999997442, 0.999997561, 0.999997675, 0.999997784), (4.6, 0.999997888, 0.999997987, 0.999998081, 0.999998172, 0.999998258, 0.99999834, 0.999998419, 0.999998494, 0.999998566, 0.999998634), (4.7, 0.999998699, 0.999998761, 0.999998821, 0.999998877, 0.999998931, 0.999998983, 0.999999032, 0.9999990789, 0.9999991235, 0.9999991661), (4.8, 0.9999992067, 0.9999992453, 0.9999992822, 0.9999993173, 0.9999993508, 0.9999993827, 0.9999994131, 0.999999442, 0.9999994696, 0.9999994958), (4.9, 0.9999995208, 0.9999995446, 0.9999995673, 0.9999995889, 0.9999996094, 0.9999996289, 0.9999996475, 0.9999996652, 0.9999996821, 0.9999996981))
    unitDeviation = 0.0
    for j in range(1, 50):
        if (zscore == UNIT_NORMAL[j][1]):
            unitDeviation = UNIT_NORMAL[j][0]
        elif ((UNIT_NORMAL[j][1] < zscore) and (zscore < UNIT_NORMAL[(j + 1)][1])):
            for i in range(2, 10):
                if ((UNIT_NORMAL[j][(i - 1)] < zscore) and (zscore <= UNIT_NORMAL[j][i])):
                    unitDeviation = (UNIT_NORMAL[j][0] + UNIT_NORMAL[0][i])
            if (zscore > UNIT_NORMAL[j][10]):
                unitDeviation = UNIT_NORMAL[(j + 1)][0]
    if (zscore > UNIT_NORMAL[50][10]):
        unitDeviation = 5.0
    return unitDeviation
Utility function used by Scale of Results

Looks up the Unit Normal Deviation based on the Z-Score (Proportion/Probability)
http://en.wikipedia.org/wiki/Standard_normal_table

@ToDo: Move to S3Statistics module
def _getUnitNormalDeviation(zscore):
    '\n        Utility function used by Scale of Results\n\n        Looks up the Unit Normal Deviation based on the Z-Score (Proportion/Probability)\n        http://en.wikipedia.org/wiki/Standard_normal_table\n\n        @ToDo: Move to S3Statistics module\n    '
    UNIT_NORMAL = ((0.0, 0.0, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09), (0.0, 0.5, 0.504, 0.508, 0.512, 0.516, 0.5199, 0.5239, 0.5279, 0.5319, 0.5359), (0.1, 0.5398, 0.5438, 0.5478, 0.5517, 0.5557, 0.5596, 0.5636, 0.5675, 0.5714, 0.5753), (0.2, 0.5793, 0.5832, 0.5871, 0.591, 0.5948, 0.5987, 0.6026, 0.6064, 0.6103, 0.6141), (0.3, 0.6179, 0.6217, 0.6255, 0.6293, 0.6331, 0.6368, 0.6406, 0.6443, 0.648, 0.6517), (0.4, 0.6554, 0.6591, 0.6628, 0.6664, 0.67, 0.6736, 0.6772, 0.6808, 0.6844, 0.6879), (0.5, 0.6915, 0.695, 0.6985, 0.7019, 0.7054, 0.7088, 0.7123, 0.7157, 0.719, 0.7224), (0.6, 0.7257, 0.7291, 0.7324, 0.7357, 0.7389, 0.7422, 0.7454, 0.7486, 0.7517, 0.7549), (0.7, 0.758, 0.7611, 0.7642, 0.7673, 0.7703, 0.7734, 0.7764, 0.7794, 0.7823, 0.7852), (0.8, 0.7881, 0.791, 0.7939, 0.7967, 0.7995, 0.8023, 0.8051, 0.8078, 0.8106, 0.8133), (0.9, 0.8159, 0.8186, 0.8212, 0.8238, 0.8264, 0.8289, 0.8315, 0.834, 0.8365, 0.8389), (1.0, 0.8415, 0.8438, 0.8461, 0.8485, 0.8508, 0.8531, 0.8554, 0.8577, 0.8509, 0.8621), (1.1, 0.8643, 0.8665, 0.8686, 0.8708, 0.8729, 0.8749, 0.877, 0.879, 0.881, 0.883), (1.2, 0.8849, 0.8869, 0.8888, 0.8907, 0.8925, 0.8944, 0.8962, 0.898, 0.8997, 0.90147), (1.3, 0.9032, 0.9049, 0.90658, 0.90824, 0.90988, 0.91149, 0.91309, 0.91466, 0.91621, 0.91774), (1.4, 0.91924, 0.92073, 0.9222, 0.92364, 0.92507, 0.92647, 0.92785, 0.92922, 0.93056, 0.93189), (1.5, 0.93319, 0.93448, 0.93574, 0.93699, 0.93822, 0.93943, 0.94062, 0.94179, 0.94295, 0.94408), (1.6, 0.9452, 0.9463, 0.94738, 0.94845, 0.9495, 0.95053, 0.95154, 0.95254, 0.95352, 0.95449), (1.7, 0.95543, 0.95637, 0.95728, 0.95818, 0.95907, 0.95994, 0.9608, 0.96164, 0.96246, 0.96327), (1.8, 0.96407, 0.96485, 0.96562, 0.96638, 0.96712, 0.96784, 0.97856, 0.96926, 0.96995, 0.97062), (1.9, 0.97128, 0.97193, 0.97257, 0.9732, 0.97381, 0.97441, 0.975, 0.97558, 0.97615, 0.9767), (2.0, 0.97725, 0.97778, 0.97831, 0.97882, 0.97932, 0.97982, 0.9803, 0.98077, 0.98124, 0.98169), (2.1, 0.98214, 0.98257, 0.983, 0.98341, 0.98382, 0.98422, 0.98461, 0.985, 0.98537, 0.98574), (2.2, 0.9861, 0.98645, 0.98679, 0.98713, 0.98745, 0.98778, 0.98809, 0.9884, 0.9887, 0.98899), (2.3, 0.98928, 0.98956, 0.98983, 0.990097, 0.990358, 0.990613, 0.990863, 0.991106, 0.991344, 0.991576), (2.4, 0.991802, 0.992024, 0.99224, 0.992451, 0.992656, 0.992857, 0.993053, 0.993244, 0.993431, 0.993613), (2.5, 0.99379, 0.993963, 0.994132, 0.994297, 0.994457, 0.994614, 0.994766, 0.994915, 0.99506, 0.995201), (2.6, 0.995339, 0.995473, 0.995604, 0.995731, 0.995855, 0.995975, 0.996093, 0.996207, 0.996319, 0.996427), (2.7, 0.996533, 0.996636, 0.996736, 0.996833, 0.996928, 0.99702, 0.99711, 0.997197, 0.997282, 0.997365), (2.8, 0.997445, 0.997523, 0.997599, 0.997673, 0.997744, 0.997814, 0.997882, 0.997948, 0.998012, 0.998074), (2.9, 0.998134, 0.998193, 0.99825, 0.998305, 0.998359, 0.998411, 0.99846, 0.998511, 0.998559, 0.998605), (3.0, 0.99865, 0.998694, 0.998736, 0.998777, 0.998817, 0.998856, 0.998893, 0.99893, 0.998965, 0.998999), (3.1, 0.9990324, 0.9990646, 0.9990957, 0.999126, 0.9991553, 0.9991836, 0.9992112, 0.9992378, 0.9992636, 0.9992886), (3.2, 0.9993129, 0.9993363, 0.999359, 0.999381, 0.9994024, 0.999423, 0.9994429, 0.9994623, 0.999481, 0.9994991), (3.3, 0.9995166, 0.9995335, 0.9995499, 0.9995658, 0.9995811, 0.9995959, 0.9996103, 0.9996242, 0.9996376, 0.9996505), (3.4, 0.9996631, 0.9996752, 0.9996869, 0.9996982, 0.9997091, 0.9997197, 0.9997299, 0.9997398, 0.9997493, 0.9997585), (3.5, 0.9997674, 0.9997759, 0.9997842, 0.9997922, 0.9997999, 0.9998074, 0.9998146, 0.9998215, 0.9998282, 0.9998347), (3.6, 0.9998409, 0.9998469, 0.9998527, 0.9998583, 0.9998637, 0.9998689, 0.9998739, 0.9998787, 0.9998834, 0.9998879), (3.7, 0.9998922, 0.9998964, 0.99990039, 0.99990426, 0.99990799, 0.99991158, 0.99991504, 0.99991838, 0.99992159, 0.99992468), (3.8, 0.99992765, 0.99993052, 0.99993327, 0.99993593, 0.99993848, 0.99994094, 0.99994331, 0.99994558, 0.99994777, 0.99994988), (3.9, 0.9999519, 0.99995385, 0.99995573, 0.99995753, 0.99995926, 0.99996092, 0.99996253, 0.99996406, 0.99996554, 0.99996696), (4.0, 0.99996833, 0.99996964, 0.9999709, 0.99997211, 0.99997327, 0.99997439, 0.99997546, 0.99997649, 0.99997748, 0.99997843), (4.1, 0.99997934, 0.99998022, 0.99998106, 0.99998186, 0.99998263, 0.99998338, 0.99998409, 0.99998477, 0.99998542, 0.99998605), (4.2, 0.99998665, 0.99998723, 0.99998778, 0.99998832, 0.99998882, 0.99998931, 0.99998978, 0.999990226, 0.999990655, 0.999991066), (4.3, 0.99999146, 0.999991837, 0.999992199, 0.999992545, 0.999992876, 0.999993193, 0.999993497, 0.999993788, 0.999994066, 0.999994332), (4.4, 0.999994587, 0.999994831, 0.999995065, 0.999995288, 0.999995502, 0.999995706, 0.999995902, 0.999996089, 0.999996268, 0.999996439), (4.5, 0.999996602, 0.999996759, 0.999996908, 0.999997051, 0.999997187, 0.999997318, 0.999997442, 0.999997561, 0.999997675, 0.999997784), (4.6, 0.999997888, 0.999997987, 0.999998081, 0.999998172, 0.999998258, 0.99999834, 0.999998419, 0.999998494, 0.999998566, 0.999998634), (4.7, 0.999998699, 0.999998761, 0.999998821, 0.999998877, 0.999998931, 0.999998983, 0.999999032, 0.9999990789, 0.9999991235, 0.9999991661), (4.8, 0.9999992067, 0.9999992453, 0.9999992822, 0.9999993173, 0.9999993508, 0.9999993827, 0.9999994131, 0.999999442, 0.9999994696, 0.9999994958), (4.9, 0.9999995208, 0.9999995446, 0.9999995673, 0.9999995889, 0.9999996094, 0.9999996289, 0.9999996475, 0.9999996652, 0.9999996821, 0.9999996981))
    unitDeviation = 0.0
    for j in range(1, 50):
        if (zscore == UNIT_NORMAL[j][1]):
            unitDeviation = UNIT_NORMAL[j][0]
        elif ((UNIT_NORMAL[j][1] < zscore) and (zscore < UNIT_NORMAL[(j + 1)][1])):
            for i in range(2, 10):
                if ((UNIT_NORMAL[j][(i - 1)] < zscore) and (zscore <= UNIT_NORMAL[j][i])):
                    unitDeviation = (UNIT_NORMAL[j][0] + UNIT_NORMAL[0][i])
            if (zscore > UNIT_NORMAL[j][10]):
                unitDeviation = UNIT_NORMAL[(j + 1)][0]
    if (zscore > UNIT_NORMAL[50][10]):
        unitDeviation = 5.0
    return unitDeviation