Practical 4 - Topic 3 Part 2
Practical 4 - Topic 3 Part 2
MEASURE OF DISPERSION
• The Excel PERCENTILE.EXC function calculates the "kth percentile" for a set of
data where k is 0 to 1.
• A percentile is a value below which a given percentage of values in a data set fall.
=PERCENTILE.EXC (array, k)
• array - Data values.
• k - A value between 0 and 1 that represents the k:th percentile.
PERCENTILE
To calculate the 10th percentile, which
means the 10% percent of values are
less than or equal to the calculated
result, the k value will be 0.1
EXERCISE 2
The Excel sheet shows the scores of students from Class A and Class B.
1. Describe the performance of the students from Class A and Class B by
using mean and standard deviation.
2. Find the 10th, 50th and 80th percentile for both classes.
CORRELATION
• Correlation means the change in one variable results in the change in another variable.
• In our example, we are going to visualize the relationship between the advertising
budget for a certain month (independent variable) and the number of items sold
(dependent variable)
• Correlation coefficient (a value between -1 and +1) is used to tell how strongly two
variables are related to each other.
• A correlation coefficient of +1 indicates a perfect positive correlation. As variable X
increases, variable Y increases. As variable X decreases, variable Y decreases.
• A correlation coefficient of -1 indicates a perfect negative correlation. As variable X
increases, variable Z decreases. As variable X decreases, variable Z increases.
EXERCISE 3
1. Find the correlation coefficient between the advertising budget and the
item sold.
2. Use the Scatter Plot diagram to illustrate the relationship.
CORRELATION
The CORREL function returns the Pearson correlation coefficient for two sets of
values.
=CORREL(array1, array2)
• Array1 is the first range of values.
• Array2 is the second range of values.
CORRELATION
• The coefficient shows a positive correlation, where the advertising budget
increase, the item sold increase.
SCATTER PLOT
1. Discuss the correlation between the temperature and the heater sold by
using correlation coefficient and scatter plot.