Break-Out Session 1b: All Our Customers. The 95% Confidence Interval Gives Us A Range Around The Sample Mean
Break-Out Session 1b: All Our Customers. The 95% Confidence Interval Gives Us A Range Around The Sample Mean
Break-Out Session 1b
Background:
This workshop covers the statistical concepts of confidence intervals and hypothesis testing.
These are important concepts when estimating an average value for a whole population based
on results from a sample. For example, if we would like to know the average spending of our
supermarket customers and we cannot ask all the customers, only few of them, then we would
like to understand how accurately the mean of this sample of customers estimates the mean of
all our customers. The 95% confidence interval gives us a range around the sample mean
such that we are 95% confident that the mean spending of all customers is within this range.
If we would like to find out whether a statement about the mean spending of customers is
likely to be true or not, e.g. “the mean spending of all customers is £50 per visit”. Then by
applying the concept of hypothesis testing, we can either reject or not reject this hypothesis,
with a specific significance level, e.g. 5% (which corresponds to 95% confidence).
Financial Return Analysis
In this exercise, you will analyse monthly financial log returns for three companies, Hanson,
Savoy and Rolls Royce, and for a market index.
1
Specify the parameters to the descriptive statistics procedure:
Place the focus in the Input Range box by clicking in the white box. Then either:
1. select the data on the underlying spreadsheet using the mouse (i.e. select B1 and drag
down to B60) or,
2. specify the range directly by typing B1:B60
Specify that the data is grouped by columns by clicking on the top radio button.
Tick the box to say that we have “Labels in the first row”.
Towards the bottom of the dialog box, choose the Output Option: New Worksheet Ply, and
give the results worksheet the title “FTSE”.
Tick the box, which specifies Summary Statistics. Also tick the box, which specifies
Confidence Level for Mean.
2
Your results should be the same as Exhibit 3, below:
FTSE
Mean -0.50666
Standard Error 0.633968
Median -0.41748
Mode #N/A
Standard Deviation 4.869604
Sample Variance 23.71304
Kurtosis -0.37464
Skewness -0.35554
Range 20.61213
Minimum -11.958
Maximum 8.654139
Sum -29.8928
Count 59
Confidence Level(95.0%) 1.269025
3
Note: you can resize the histogram by selecting the chart and dragging the corners.
Histogram
10
Frequency
8
6 Frequency
4
2
0
Range
Step 7: Construct 95% confidence intervals for the mean of each series
Construct 95% confidence intervals by adding and subtracting 2 times the standard error,
from the mean. For example for FTSE: [-0.51 – 2 ꞏ 0.64, -0.51 + 2 ꞏ 0.64]
You can also construct an accurate confidence interval by adding and subtracting the
“Confidence Level” number from the Descriptive Statistics Output, from the mean. For
example for FTSE: [-0.51 – 1.27, -0.51 + 1.27]
Compare these two approaches for all the data columns and explain the difference.
You can answer the questions below using the 95% confidence intervals you have
constructed above. A significance level of 5% corresponds to using 95% confidence. (To
go into the details of proper hypothesis testing you can read in the book, Wisniewski Ch
7: p232-241.)
Step 8: Is the mean return zero?
For each series, can you reject the hypothesis that the mean return is zero (use a 5%
significance level)?
4
You can answer this question by comparing the two confidence intervals OR by using one of
Excel’s hypothesis testing tools: Data…Data Analysis…t-test: Two Sample Assuming
Unequal Variances.