Question: Mean and standard deviation. Write a program that reads a set of floating - point data values. Choose an appropriate mechanism for prompting for the

Mean and standard deviation. Write a program that reads a set of floating-point data values. Choose an appropriate mechanism for prompting for the end of the data set.
When all values have been read, print out the count of the values, the average, and the standard deviation. The average of a data set {x1,.,{:xn} is x=??xin, where ??xi=x1+cdots+xn is the sum of the input values. The standard deviation is
s=??(xi-(x))2n-12
However, this formula is not suitable for the task. By the time the program has computed x, the individual xj are long gone. Until you know how to save these values, use the numerically less stable formula
s=??xi2-1n(??xi)2n-12
You can compute this quantity by keeping track of the count, the sum, and the sum of squares as you process the input values.
Write this program using python in a very simple way
 Mean and standard deviation. Write a program that reads a set

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!