You are on page 1of 9

FACULTY OF

COMPUTER SCIENCE AND INFORMATION


TECHNOLOGY

STATISTICS
(BIC10603)

Individual Assignment
Assignment 1
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link

Part 1:Descriptive statistics

In statistical analysis, the term "descriptive statistics" refers to the methods of describing a set of data
using statistical measures, charts, and graphs. In this lab activity, you will learn how to use Excel to
compute some common statistical measures mainly in measuring of data set’s central tendency (mean,
mode, median) and data set’s dispersion(variance, standard deviation).

Task 1:Practice in using statistical function

1. Consider the following set of data 20, 6, 15, 22, 13, 9, 2, 20, 10. Enter the data into Excel
worksheet.
2. Click on the fx to open up an ‘insert function’ window. Select the category “Statistical”.
3. In cell B12, enter the function =AVERAGE (A2:A10). Label ‘Average’ in cell A12.You must
begin any formula with an equal sign, "=".

Figure 1.0

4. In cell B13, enter the function = MEDIAN (A2:A10). Label ‘Median’ in cell A13. Observe the
result.
5. Complete all the common statistical function for VAR.P, VAR.S, STDEV.P, and STDEV.S.
6. Discuss your observation. Comment also on the variance of population (VAR.P) and sample
variance (VAR.S).

Task 2: Perform descriptive statistics using MS Excel.

1. Consider the following set of data of Final Exam Results in Statistics for 10 students :
93, 90, 89, 88, 86, 84, 81, 92, 91, 92
2. Enter the data vertically in a newspreadsheet.
3. Click the Data tab, and then click the Data Analysis command icon. If the Data Analysis
command not display in your Excel application, search onlineand learn how to load the
Analysis ToolPak add-in.

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link

Figure 1.1
4. In the Data Analysis dialogue box, select descriptive statistics, and then click Ok.

Figure 1.2
5. In the Descriptive Analysis dialogue box, enter the input range and the output range values,
check the descriptive statistics you wish to be computed (summary statistics, confidence level,
etc.) and then click Ok. Note: If you have included the column title in the input range, check
Labels in first row.Click OK.

Figure 1.3

6. Discuss your observation.

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link
Task 3:Analysing descriptive analysis with different groups of data

The final examination marks for subject Calculus of 60 students are recorded with 4 different groups.

Figure 1.4

1. Enter all the data into a new spreadsheet.


2. Produce a descriptive analysis statistic for the data.
3. Analyze the result between the groups in terms of mean and standard deviation.

Part 2: Statistical Graph

Task 4 Creating Histogram using MS Excel.

1. Using the same data in Task 3 for Group 1 and create an appropriate range of class (bin).
2. From the menu, select Data – Data Analysis – Histogram.

Figure 1.5

3. In the ‘In Range’ represent the data and ‘Bin Range’ represents the class of the data.
4. In the output part, select the chart output. Click OK.
5. Explain your observation.

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link

Assignment Task 1

1. The following data represents the price(in cents) of 100 grams of red chillies in the local
market for consecutive days.
52 51 50 50 50 65 55 53 55 52 47
46 44 57 58 55 51 60 60 62 60 58

Compute :
a. The mean, median and mode
b. The variance and standard deviation
c. Check your calculation using MS Excel.

2. Figure below shows the selling prices of 15 properties. By using MS Excel,


a. Construct a descriptive statistics table.
b. Construct a frequency distribution and histogram. Use intervals RM5000 wide
starting RM25000.

3. This problem set consists of the mass of 13 coins.

Calculate manually the mean, median, sample variance, standard deviationfor this data set.
Check your calculation with MS excel.

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link

Part 3: Types of chart

A chart is a graphic representation of some data. Charts are often used to make large quantities of data
more easily understandable and recognizable on first view. Charts can represent data in several
different ways depending on the data types. There are several types of chart such as :

Pie Charts –Pie chart is a very popular tool used to represent the proportions of appearance for
nominal data. The pie chart is a circle, subdivided into a number of slices that represent the various
categories. The size of each slice proportional to the percentage corresponding to the category it
represents.

Column Charts -- are used to show comparisons between items of data. Each column in the chart
represents the value of one item of data.

Bar Charts -- are very similar to column charts, except they run horizontally on the page instead of
vertically like column charts.

Line Charts -- are used to show trends line over time. Each line in the graph shows the changes in the
value of one item of data. For example you could show changes in your weight over a period of
months as a result of eating a quadruple cheese and beef burger every day for lunch.

Task 1:Creating a pie chart


Table 1: Census Population in Malaysia 2006
Ethnicity Number in millions
Malays 13475.1
Chinese 6219.6
Indian 1858.5
Others 3250.3
Total 24803.5
(Source: Department of Statistics, Malaysia)

1. The census population of Peninsular Malaysia in 2006 was 24.8 million. Population according
to ethnicity is shown in Table 1.
2. Enter all the data into spreadsheet.
3. Create a pie chart. Highlight → Insert → Pie Chart.
4. Format your chart so that they are readable.

Task 2 :Creating a Column Chart

Table 2:
PISA Money
Results in points
Educatio investe
(Highest=200)
n Study d

France 80 300000
Finland 160 80000
Switzerla 60 120000

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link
nd

7. Table 2 shows the PISA Education Survey for 3 countries. Enter all the data into new
spreadsheet.
8. Construct a column chart to display the correlation between the results and money invested for
each countryin PISA Education Survey.
Highlight the table → Insert → 2DColumn Chart.
9. Analyze the result.

Task 3:Create combination chart: Column-Line Chart


(Learn how to create a Column-Line chart when you want to display two different measures with
different scales in the same chart)

1. Continue from Task 2.


2. Create a secondary axis for ‘Results in points’.
Layout → Chart Area → ‘Series Result In Points (Highest = 200)→ Format Selection →
Secondary Axis.
3. The result is not useful at this stage. Select different chart type for ‘Result in Points’. Chart
Type → Line Chart. Discuss your observation.
4. Formatting your chart and make it more easy to understand.

Extra Reading
http://neomam.com/infographics/there-is-no-homework-in-finland/
https://ktl.jyu.fi/pisa/d056

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link

Assignment Task 2

1. Table 3.0 shows the reading of number of rainy days for Jan-Feb 2014 in 15 places in
Malaysia.
a. Calculate the mean, median, mode, variance, standard deviation and range for the
reading of number rainy days, Jan and Feb 2014.
b. Compare with the descriptive statistics in Excel.
c. Construct the suitable chart to display the data.

Table 3.0 : Number Of Rainy Days in Malaysia 2014


Station Jan Feb
ALOR SETAR 4 0
BATU EMBUN 10 4
BATU PAHAT 5 1
BAYAN LEPAS 5 2
BINTULU 24 10
BUTTERWORTH 5 2
KLIA SEPANG 8 2
KLUANG 3 0
MALACCA 3 0
KOTA BHARU 8 1
KOTA KINABALU 18 8
KUALA KRAI 11 1
KUALA TERENGGANU 9 0
KUANTAN 10 5
LABUAN 24 12

(Source: Malaysian Metrological Department)

2. The data below represent the causes of death for Americans in 2000.

Cause of Death Number


Heart disease 710,760
Cancer 553,091
Stroke 167,661
Respiratory disease 187,322
Accidents 97,900
Diabetes 69,301
Alzheimer’s 49,558
Kidney failure 37,251
Septicemia 31,224

a. Draw a bar graph of the data

© FSKTMUTHM 2020
Faculty of Computer Science and Information Technology

Effective Date 1 May 2020


Individual Assignment 1
Link
b. Draw a pie chart of the data.

3. Data 1: The First Test Marks Of Math

61 63 20 57 32 43 24 34 25 43 39 21
25 20 20 34 26 51 48 25 22 32 42 24
30 35 57 40 17 27 30 52 34 55 31 22
23 50 45 21 29 46 29 51 27 25 33 26
35 45 53 26 35 41 28 49 38 36 45 27
28 29 34 41 18 30 34 38 28 34 28 41
28 31 40 26 34 31 36 30 30 40 33 33
44 33 35 32 36 37 34 33 36 39 36 34
39 30 31 35

(a) Set up a frequency table for the above data.


(b) Draw a line chart for the data.
(c) Arrange the data into a frequency distribution table by taking 15 as the lower limit of the
first class and 4 is the class width.
(d) Build the histogram for the data.
(e) Draw the frequency polygon for this histogram.
(f) Find the cumulative frequencies.
(g) Draw the cumulative frequency distribution.

Instruction:
 Your task is to answer Assignment Task 1 or Assignment Task 2.
 Due Date to submit: 7 mei 2020April 2019 (before 5.00 pm)

© FSKTMUTHM 2020

You might also like