Starting from:

$24.99

Lab #7& 8 Descriptive statistics


CST8233: Lab #7& 8
Descriptive statistics
Objective
The objective of this lab is to familiarize the student with the theory topics covered in
Week 6. Mainly, this lab focuses on Descriptive statistics
Earning
To earn your mark for this lab, each student should finish the lab’s requirements within the
lab session and demonstrate the working code to the instructor.
Discussion
Write a program to calculate the basic descriptive statistics measures of a set of input
data. Mainly, you need to calculate the following measures: Mean, Median, Mood, Range
Variance, and Standard deviation
The program asks the user to input the data then prints all descriptive measures
corresponding to the entered data.
Example:
Enter the number of data points: 5
Enter your data:
7
6
5
6
9
Mean=6.6
Median=6
Mode=6
Range=4
Variance=2.3
Standard deviation=1.516

More products