Question: only using for loops and cannot use import math and needs to work with csv files with multiple columns Step 1 - Creating a module
Step 1 - Creating a module of functions for computing statistics As a first step, create a module with name StatisticsCalculation. To create the module, you can open a new python script. Save the script with the given name Statistics Calculation.py. The statistics calculation module contains following functions. Your functions should do the computations directly without relying on any Python functions such as min, max, sum etc. calculateMean(data): The parameter data is a list of floating point values. This function will calculate and return the mean. Remember, data is a single list, it does not contain any nested list. calculateStdDev(data): Given a list of data values, calculate and return the standard deviation. Again remember, data is a single list, it does not contain any nested list. findMin(data): Given a list of data, this function will return the min. The parameter data is a single list, it does not contain any nested list. You can not use any built in function to calculate the minimum value. In this function, you need to implement your own function to find the minimum element in data. findMax(data): Given a list of data, this function will return the max. The parameter data is a single list, it does not contain any nested list. You can not use any built in function to calculate the maximum value. In this function, you need to implement your own function to find the maximum element in data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
