Question: You have written a function called Z - score that calculates the number of standard deviations away from the mean a given value is .

You have written a function called Z-score that calculates the number of standard deviations away from the mean a given value is. That is what a Z score is. A Z-score is calculated as a value minus
its mean (the average) divided by the standard deviation. Here is an example (x refers to the value):
x=10, mean =5, gtdev =2.5
z-score =10-52.5=2
This means x was two standard deviations above the mean. The function you have takes as inputs x, mean, and stdev. It looks like this:
def , mean, stdev):
return mean
 You have written a function called Z-score that calculates the number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!