One statistical operation that is sometimes performed on a set of data values is to remove values that are far from the average. Write a program that reads real values from a text file, one per line. Store the data values as Double objects in an instance of the class java.util.ArrayList. Then
• Use an iterator to compute the average and standard deviation of the values. Display these results.
• Use a second iterator to remove any value that is more than two standard deviations away from the average.
• Use a for-each loop to display the remaining values and compute the new average. Display the new average.
If the data values are x1, x2, ..., xn, their average μ is their sum divided by n, and their standard deviation is

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.