{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

csc1253proj05f10

csc1253proj05f10 - Descriptive Statistics CSc 1253...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Descriptive Statistics CSc 1253: Programming Project # 5 Descriptive Statistics on Numeric Data Out: 11/16 Due: 11/29 by 11:50 PM Learning Objectives More on File Input/Output Implement Functions With Arrays As Formal Parameters Describe Quantitative Data With Statistical Measures Definition 1. Statistics is a mathematical science concerned with data col- lection, presentation, analysis, and interpretation. One major use of statistics is to use information from a sample to infer something about a population. For example, bacteria are the most important component of microbial ecosys- tems in sewage treatment plants. Microbiologists must know the percentage of active bacteria at each state of the sewage treatment. The accompa- nying data represent the percentages of respiring bacteria in twenty-five raw sewage samples collected from a sewage plant. (Measurements were obtained by passing the samples through a membrane filter and staining with a chlo- rination solution.) The program you will write in this project will calculate various numerical descriptive measures. Test your program using the sample measurements in the sewage.data file below: 42.3 50.6 41.8 36.5 28.6 40.7 48.1 48.0 45.7 39.9 31.3 30.7 40.5 40.9 51.2 38.6 35.6 22.9 33.4 46.5 41.5 43.5 41.1 38.5 44.4 You may also want to test your program using this the onetoten.txt data set as well: 1 2 3 4 5 6 7 8 9 10 Your program will assume a maximum of 1000 measurements in the data file. Declare a global constant in your program to store this number. Your pro- gram should read and count the actual number of measurements and store them in an array. Your program will print the maximum measurement, min- imum measurement, range, mean, median, variance and standard deviation of the data.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern