Question: PROGRAM SPECIFICATIONSThe zip file from which you downloaded this file also contains a file named Proj 0 1 . py and a file named Proj
PROGRAM SPECIFICATIONSThe zip file from which you downloaded this file also contains a file named Projpy and a file named Proj Runner.txt Copy and rename that file Proj Runner.pySince this is your first assignment in this course, you should begin by making sure that you understand everything in this document. Then you should make sure that you understand all the code in the file named Projpy Then you should make sure that you understand all the code in the newlycreated file named ProjRunner.py If you don't understand something, ask your instructor for clarification. You could also ask ChatGPT for an explanation if you choose to do soJust remember that ChatGPT sometimes makes mistakes.Edit the new file named ProjRunner.py putting your name in the space where indicated. Then insert code where indicated to compute the following values for an incoming dataset of arbitrary length and numeric content. mean median sample standard deviation population standard deviationDO NOT modify the code in your copy of the file named Projpy If you do your program probably won't meet the assignment specifications when I test it with my copy of the file named ProjpyPlace the file named Proj Runner.py in the same folder as the file named Projpy and execute the script in the in the file named ProjpyYour code in the file named Proj Runner.py must compute and return the mean, the median, the sample standard deviation, and the population standard deviation of an incoming dataset without use of the statistics functions named sum, mean, median, stdev, or pstdev. You are only allowed to import the math library and you must write the code to compute those values without the benefit of library functions designed for that purpose.The code in Projpy expects you to enter two or more numeric commandline arguments when you execute the code. If you don't enter the commandline arguments, a default dataset is created and used in place of the command line arguments. The first sample shown below was created without entering the commandline arguments. The second sample was created by entering the commandline arguments shown when the program was run.If all of your code is correct, the following output will be displayed on the commandline screen.Expect two or more numeric commandline argumentsCommandline arguments missing.Will use default values instead.Default dataset certify that this program is my own work and is not the work of others. I agree not to share my solution with others.Print your name here.mean okay median okay sample standard deviation okay population standard deviation okay If some of your code is not correct, text similar to the following will be displayed on the command line screen.Expect two or more numeric commandline arguments randomdataset I certify that this program is my own work and is not the work of others. I agree not to share my solution with others.Print your name here.mean okay median okay sample standard deviation okay OOPS: population standard deviation not okay was calculated is correctThis second example shows an error in the calculations of the population standard deviation. If you see an OOPS message, go back and correct your errors until you get okay for all four statistical measures.Also if you get any runtime errors, you will need to fix your code that is causing them.Be sure that your name appears in the certification as indicated.The code that you write must not import any libraries other than math.The program must terminate and return control to the operating system when control reaches the end of the file named Projpy In other words, infinite loops are not allowed.Do not copy the code from the file named Projpy into your file named ProjRunner.pyThe required output depends on the commandline arguments that are entered when the program s run. The default dataset or the dataset based on the commandline arguments is printed at thebeginning. You can use that information to debug your code if needed. Your instructor will test your solution with a different dataset.One good approach is to first calculate the required values with pencil, paper, and a calculator.Then convert those processes to code.The values that you return will be compared with values produced by the statistics functions named mean, median, stdev, or pstdev and they must match.Do not round or limit the number of decimal digits in the values that your code returns.If you have any questions about this assignment, be sure to ask for clarification. Don't end up with a bad grade because you didn't understand the requirements
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
