Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

only using for loops and cannot use import math and needs to work with csv files with multiple columns Step 1 - Creating a module

only using for loops and cannot use import math and needs to work with csv files with multiple columns image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Baccalaureate Computer Science HL And SL Option A Databases Part I Basic Concepts

Authors: H Sarah Shakibi PhD

1st Edition

1542457084, 978-1542457088

Students also viewed these Databases questions