Lecture3 Descriptive Statistics
Lecture3 Descriptive Statistics
•••••••••••••••••••••••••••••
•••••
Describing your Data
Generally one of the first things to do with new data is to get
to know it by asking some general questions like but not
limited to the following:
What variables are included? What
information are we getting?
What is the format of the variables:
string, numeric, etc.?
What type of variables: categorical,
continuous, and discrete?
Is this sample or population data?
Hours Played
Sex Age Height Weight Mobile
Legend
Male 21 66 55 7
Female 21 65 43 6
Male 29 61 53 5
Male 25 64 43 3
Female 23 51 46 4
Female 21 52 52 7
Female 26 62 57 6
Male 21 54 59 3
Female 23 50 53 1
Female 21 52 63 4
Female 26 58 57 2
After looking at the data you may
want to know:
Click on DATA
Data Analysis
Descriptive Statistics
For the output option which is the place where excel will enter the
results, select O1
or you can select a new worksheet or even new workbook.
Press OK
You will get the following:
While the whole descriptive statistics cells are selected go to
Format Cells to change all numbers to have one decimal
point. When you get the ‘format cells’ window, select the
following:
Click OK.
All numbers should now have one decimal as
follows:
Now we know something about our data.
If you look at the last two rows: “Sum” and “Count” you can
estimate the mean dividing “Sum” by ”Count” (sum/count).
You can also calculate the mean using the function
below (IMPORTANT: All functions start with the equal “=”
sign):
=AVERAGE(B2:B12)
Count
• measure of dispersion
• It is simply the difference
between the largest and
smallest value, “max” – “min”.
Sample Variance