Question: Please write using fortran Write a program that reads a list of numbers and calculates their mean, variance, and standard deviation. Print how many numbers
Please write using fortran

Write a program that reads a list of numbers and calculates their mean, variance, and standard deviation. Print how many numbers there are and their mean, variance, and standard deviation with appropriate labels. If xm denotes the mean of the numbers x_1, ..., x_n, the variance is the average of the squares of the deviations of the numbers from the mean and the standard deviation is the squareroot of the variance: variance = sigma^2 = 1 sigma_i=1^n (x_i - xm)^2 standard deviation = sigma = Squareroot 1 sigma_i=1^n (x_i - xm)^2 n is an input data. Input the following data from a data file (x.txt). Note that use IOSTAT in read command to determine the number of data points. 97, 28, 66, 87, 15, 95, 45, 67, 76, 65, 73, 88, 69, 90, 63, 25, 47, 70, 63, 99, 61, 79, 10, 92, 36, 89 Another common statistical measure of data is the median. The median of a data set is the value such that half of the numbers in the data set are smaller than the value. If there are an even number of values in the data set, then there cannot be a value exactly in the middle. In that case, the median is usually defined as the average of the two elements in the middle. Use the same input data points in problem 2, determine the median. Write a program that reads a list of numbers and calculates their mean, variance, and standard deviation. Print how many numbers there are and their mean, variance, and standard deviation with appropriate labels. If xm denotes the mean of the numbers x_1, ..., x_n, the variance is the average of the squares of the deviations of the numbers from the mean and the standard deviation is the squareroot of the variance: variance = sigma^2 = 1 sigma_i=1^n (x_i - xm)^2 standard deviation = sigma = Squareroot 1 sigma_i=1^n (x_i - xm)^2 n is an input data. Input the following data from a data file (x.txt). Note that use IOSTAT in read command to determine the number of data points. 97, 28, 66, 87, 15, 95, 45, 67, 76, 65, 73, 88, 69, 90, 63, 25, 47, 70, 63, 99, 61, 79, 10, 92, 36, 89 Another common statistical measure of data is the median. The median of a data set is the value such that half of the numbers in the data set are smaller than the value. If there are an even number of values in the data set, then there cannot be a value exactly in the middle. In that case, the median is usually defined as the average of the two elements in the middle. Use the same input data points in problem 2, determine the median
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
