Sei sulla pagina 1di 5

Excel Users Guide A, Descriptive Statistics

APPENDIX A
MICROSOFT EXCEL USERS GUIDE A
BASICS AND DESCRIPTIVE STATISTICS
A.

Sorting the Data


Select a block of cells and then click on Data tab and click on Sort.

Example: Entering Sales Prices Data and Sorting Data


Enter the following sales prices of 25 residential properties sold and sort the data.
66
89
71
109
42

59
129
95
77
36

Step 1.
Step 2.
Step 3.

Step 4.
Step 5.
Step 6.
Step 7.
Step 8.
Step 9.
Step 10.

106
74
72
68
148

50
82
57
101
94

63
84
76
65
112

Select B1 and type Price.


Select B2.
Enter 66 and press down-arrow.
Enter 59 and press down-arrow.
....
(Note: Enter all data in one column.)
Select B1 to B26.
Click Edit/Copy from the main menu.
Select C1 and click Edit/Paste.
Select C2 to C26.
Click on Data tab and click on Sort. A Sort dialog box appears on the
screen.
If it appears with a Sorting Warning box, click on Continue with the
current selection. Then click Sort. You will get Sort dialog box.
Click OK.

B.
Line Graph
Use Insert/Chart to construct a line graph.
Example: The following data are daily high temperatures:
70

74

72

78

75

Construct a line graph.


Step 1.

Enter the data:


Select D1 and type Date.
Enter Mon, Tue, Wed, Thur, and Fri in the cells D2 to D6.
Select E1 and type Temperature
Enter the data in the cells E2 to E6.
306

Excel Users Guide A, Descriptive Statistics


Step 2.
Step 3.
Step 4.
Step 5.

Select the block from E2 to E6.


Click Insert tab and select Line icon in the Charts group.
Click the top-left icon for Line Trend.
While the chart is selected, click Design tab.
Select horizontal axis label:
(i)
Click Select Data in the Data group.
(ii)
Click Edit under Horizontal (Category) Axis Labels on the right
side.
(iii) Select cells D2 to D6 in the Axis label range box.
Click OK and click OK.
While the chart is selected, click Layout tab.
Enter title:
(i)
Click Chart Title in the Labels group and select Above Chart. Type
Daily Temperature in the text box.
Enter labels:
(i)
Click Axis Titles in the Labels group, select Primary Horizontal
Axis Title, and select Title Below Axis. Type Date in the text box.
(ii)
Click Axis Titles in the Labels group, select Primary Vertical Axis
Title, and select Rotated Title. Type Degree in the text box.
Remove legend:
(i)
Click Legend in the Labels group.
(ii)
Click None.

Step 6.

C.

Numerical Functions
An Excel function always begins with an equal sign (=).

Example: Enter Temperature in E1 and the following data in E2 to E6.


70

74

72

78

75

We can use the following functions to get the descriptive statistics.


C.1

Count: =count(range)
The function =count(range) gives the number of data values in the data set.

Example: Find the number of data values in cells E2 to E6 and store in F8.
Step 1:
Step 2:
C.2

Select E8 and type Count.


Select F8 and type =count(e2.e6) then press [Enter] key.

Maximum: =max(range)
The function =max(range) gives the largest value for the data in a range of cells.

307

Excel Users Guide A, Descriptive Statistics


Example: Find the largest value for the data in cells E2 to E6 and store in F9.
Step 1.
Step 2.
C.3

Select E9 and type Maximum.


Select F9 and type =max(e2.e6) then press [Enter] key.

Minimum: =min(range)
The function =min(range) gives the smallest value for the data in a range of cells.

Example: Find the smallest value for the data in cells E2 to E6 and store in F10.
Step 1.
Step 2.
C.4

Select E10 and type Minimum.


Select F10 and type =min(e2.e6) then press [Enter] key.

Sum: =sum(range)
The function =sum(range) gives the sum of the data in a range of cells.

Example: Find the sum of the data in cells E2 to E6 and store in F11.
Step 1.
Step 2.
C.5

Select E11 and type Sum.


Select F11 and type =sum(e2.e6) then press [Enter] key.

Average: =average(range)
The function =average(range) gives the average (or the mean) of the data in a range of

cells.
Example: Find the average of the data in cells E2 to E6 and store in F12.
Step 1.
Step 2.
C.6

Select E12 and type Mean.


Select F12 and type =average(e2.e6) then press [Enter] key.

Standard Deviation

=stdev.s(range)
=stdev.p(range)

for the sample standard deviation.


for the population standard deviation.

The standard deviation of the data in a range of cells can be calculated using the function
stdev.s(range) or =stdev.p(range). The function =stdev.p(range) is for the population
standard deviation and =stdev.s(range) is for the sample standard deviation.
Example: Find the sample standard deviation of the data in cells E2 to E6 and store in F13.
Step 1.
Select E13 and type Standard Deviation.
Step 2.
Select F13 and type =stdev.s(e2.e6) then press [Enter] key.

308

Excel Users Guide A, Descriptive Statistics


C.7

Standard Normal Distribution: =norm.s.dist(a, true)


This function gives the accumulated probability for standard normal distribution.

Example:
=1-=norm.s.dist(1.96,true) gives 0.025.
C.8

t-Distribution: =t.dist.rt(a, df)


This function gives the probability on the right-tailed for t-distribution.

Example:
=t.dist.rtt(1.96,10) gives 0.0392.
D.

Using Insert Function Dialog


You can use Excels Insert Function dialog to get the above functions.
Step 1.
Step 2.

Step 3.
Example: Median
Step 1.
Step 2.
Step 3.
Step 5.
Step 6.
Step 7.
Step 8.
Step 9.

Select the cell where you want to store the function result.
Use one of the following to start Insert Function dialog.
C
Click the function button f X on the toolbars.
C
Or, click Formulas on the menu and then click Insert Function on
the sub-menu.
Select a catalog and a function in Insert Function dialog box.

Select E14 and type Median and then press [Enter] key.
Select F14.
Click the function button f X on the toolbars.
In Or select a category box, select Statistical.
In Select a function: box, select Median.
Click OK.
Type E2.E6 in the number 1 field. (Or select the cells using mouse).
Click OK.

Exercise:
1.
Select G12 and then use Insert Function dialog to find the mean for the data in E2 to E6.
2.
Select G13 and then use Insert Function dialog to find the standard deviation for the data in
E2 to E6.
E.
Data Analysis Tool
A summary of the descriptive statistics is available from Data Analysis Tool.
Step 1.
Step 2.
Step 3.

Click Data tab;


Click Data Analysis in the Analysis group;
Select Descriptive Statistics in the Data Analysis window.

309

Excel Users Guide A, Descriptive Statistics


If Data Analysis item is not available under Data tab, you need to load the Analysis ToolPak.
Load the Analysis ToolPak:
Step 1.
Step 2.
Step 3.
Step 4.

Click File tab, and then click Options.


Click Add-ins, and then in the Manage box, select Excel Add-ins.
Click Go.
In the Add-Ins available box, select the Analysis ToolPak check box, and
then click OK.

Example: Compute the descriptive statistics for the test scores in E2.E6.
Step 1.
Click Data tab.
Step 2.
Click Data Analysis in the Analysis group.
Step 3.
Click on Descriptive Statistics and click OK.
Step 4.
In Input Range field, type E1.E6
Step 5.
Check the box Labels in First Row.
Step 6.
Click on Output Range field and type E18.
Step 7.
Check Summary Statistics and click OK.

310

Potrebbero piacerti anche