Download as pdf or txt
Download as pdf or txt
You are on page 1of 51

DAY 3: STATISTICAL ANALYSIS USING MS EXCEL

FUNDAMENTALS OF DATA
MANAGEMENTAND
REPORTINGUSINGSPREADSHEET
TRAININGWORKSHOP
JEROMEL. BUHAY FEBRUARY19, 2022
The Speaker 8:45 a.m.
datascience5@strat-onephils.com
Short Review/ Recoup

FUNDAMENTALS OF DATA MANAGEMENT AND


REPORTING USING SPREADSHEET
TRAINING WORKS HOP
STATISTICAL
ANALYSIS INEXCEL
FUNDAMENTALS OF DATA MANAGEMENT AND
REPORTING USING SPREADSHEET
TRAINING WORKS HOP
Data Analysis Tool in Excel
Data Analysis Tool in Excel

Da ta a na lysis tool pa ck
is a va ila ble under the
Da ta ta b.

Under the
Da ta Ana lysis option,
we ca n see ma ny
a na lysis Tools
Activating Data Analysis Tool
STEP 1 STEP 2

Go to
"File"
Under File,
select
Options.
STEP 3
After selecting
Options, select
Add-Ins.

STEP 4
Once you click on
Add-Ins, a t the
bottom, you will
see Ma na ge drop-
down list. Select
Excel Add-ins a nd
click on Go.
STEP 5
Once you click on Go, STEP 6
you will see a new
dia logue box. You will
see a ll the a va ila ble
Excel Add-ins. Select
Ana lysis Tool Pa ck a nd
then click on Ok.

Now, you will see


these options
under the Da ta
ribbon.
How to use Data Analysis Tool in Excel
EXAMPLE# 1: t-Test
A t-test is returning the probability of the tests. Look at the
below data of two teams scoring pattern in the tournament.
STEP 1 Select the Da ta Ana lysis option
under the DATA ta b.
STEP 2

Once you click on Da ta Ana lysis, you will see


a new dia logue box. Scroll down a nd select
t-Test: Pa ired Two Sa mple for Mea ns.
STEP 3 After selecting the first t-Test,
you will see the below options.
STEP 4

Under Va ria ble 1 Ra nge, select tea m 1 score a nd


under Va ria ble 2 Ra nge, select tea m 2 score.
STEP 5

Output Ra nge selects the cell where you


wa nt to displa y the results.
STEP 6

Click on La bels beca use we ha ve selected the ra nges,


including hea dings. Click on Ok to finish the test.
STEP 7

From the D1 cell, it will sta rt showing the test result.


PIVOTTABLE
FUNDAMENTALS OF DATA MANAGEMENT AND
REPORTING USING SPREADSHEET
TRAINING WORKS HOP
Pivot Table in Excel
Pivot tables are one of Excel's most powerful features. A pivot table allows y ou to e xtra ct the significa nce
from a la rge , de ta ile d da ta se t.
Our da ta set consists of 213 records a nd 6 fields. Order
ID, Product, Ca tegory, Amount, Da te a nd Country.
Insert a Pivot Table
To insert a pivot ta ble, execute the following steps:

1. Click any single cell inside the data set.


2. On the Inse rt tab, in the Table s group, click PivotTable .
The following dialog box appears. Excel automatically selects the data
for you. The default location for a new pivot table is New Worksheet.

3. Click OK.
Drag Fields
The PivotTable Fields pane
appears. To get the total
amount exported of each
product, drag the following
fields to the different areas.
1. Product fie ld to the Rows a re a .
2. Amount fie ld to the Va lue s a re a .
3. Country fie ld to the Filte rs a re a .
Below you can find the pivot table. Bananas are our mai n export product.
That's how easy pivot tables can be!
Sort
To get Banana at the top of the list, sort the pivot table.
1. Click a ny ce ll inside the Sum of Amount column.
2. Right click a nd click on Sort, Sort La rge st to Sma lle st.
Result.
Filter
Because we added the Country field to the Filters area, we can filter this pivot table by
Country. For example, which products do we export the most to France?

1. Click the filte r drop-down a nd se le ct Fra nce .


Re sult. Apple s a re our ma in e xport product to Fra nce .

Note: You ca n
use the
sta nda rd filte r
(tria ngle ne xt
to Row La be ls)
to only show
the a mounts
of spe cific
products.
Change Summary Calculation
By default, Excel summarizes your data by either summing or counting the items. To
change the type of calculation that you want to use, execute the following steps.

1. Click a ny ce ll inside the Sum of Amount column.


2. Right click a nd click on Va lue Fie ld Se ttings.
3. Choose the type of calculation you want to 4. Click OK.
use. For example, click Count.

Re sult. 16 out of the 28 orde rs


to Fra nce we re 'Apple ' orde rs.
Two-dimensional Pivot Table
If you drag a field to the Rows
a re a a nd Columns a re a , you ca n
cre a te a two-dime nsiona l pivot
ta ble . First, inse rt a pivot ta ble .
Ne xt, to ge t the tota l a mount
e xporte d to e a ch country, of
e a ch product, dra g the following 1. Country field to the Rows area.
fie lds to the diffe re nt a re a s. 2. Product field to the Columns area.
3. Amount field to the Value s a re a .
4. Category fie ld to the Filte rs a re a .
Below you can find the two -dime nsiona l pivot ta ble .

Tip: To e a sily compa re


the se numbe rs, cre a te
a pivot chart and
a pply a filte r.
APPLICATIONOF DATA
ANALYSIS TOOLAND
PIVOTTABLEINEXCEL
FUNDAMENTALS OF DATA MANAGEMENT AND
REPORTING USING SPREADSHEET
TRAINING WORKS HOP
SAMPLEPROBLEMS
HYPOTHESIS TESTING
The HR depa rtment of ABC Ma nufa cturing Industry studied the Job Performa nce a nd Job
sa tisfa ction of 120 employees. Th e in fo rm a tio n s u c h a s g e n d e r a n d jo b s ta tu s we re
c o lle c te d .
Given below are the hypotheses of the study
1. Th e re is n o s ig n ific a n t d iffe re n c e a m o n g th e le ve l o f jo b s a tis fa c tio n o f th e e m p lo ye e s wh e n
th e y a re g ro u p e d a c c o rd in g to
1.1 g e n d e r
1.2 jo b s ta tu s

2. Th e re is n o s ig n ific a n t d iffe re n c e a m o n g th e le ve l o f jo b p e rfo rm a n c e o f th e e m p lo ye e s wh e n


th e y a re g ro u p e d a c c o rd in g to
1.1 g e n d e r
1.2 jo b s ta tu s
ANSWERS:
1. Th e re is n o s ig n ific a n t d iffe re n c e a m o n g th e le ve l o f jo b s a tis fa c tio n o f th e e m p lo ye e s wh e n
th e y a re g ro u p e d a c c o rd in g to
1.1 g e n d e r
1.2 jo b s ta tu s
2. Th e re is n o s ig n ific a n t d iffe re n c e a m o n g th e le ve l o f jo b p e rfo rm a n c e o f th e e m p lo ye e s wh e n
th e y a re g ro u p e d a c c o rd in g to
1.1 g e n d e r
2.2 jo b s ta tu s
Advanced Excel Charts
1. HISTOGRAM
A histogram is a graphical representation of the distribution of numerical data. A histogram is a column
chart that shows the fre que ncy of d ata in a ce rtain range in a simple r way.

HOWTOCREATEHISTOGRAM(MS EXCEL2015 BELOW)


1. First, e nte r the bin numbe rs (uppe r le ve ls) in the ra nge C4:C8.
2. On the Data tab, in the Analysis group, click Data Analysis.

3. Se le ct Histogra m a nd click OK.


4. Select the range A2:A19.
5. Click in the Bin Ra nge box a nd se le ct the ra nge C4:C8.
6. Click the Output Ra nge option button, click in the Output Ra nge box
a nd se le ct ce ll F3.
7. Che ck Cha rt Output.
8. Click OK.
9. Click the legend on the right side and press Delete.
10. Prope rly la be l your bins.
11. To re move the spa ce be twe e n the ba rs, right click a ba r, click Forma t Da ta Se rie s a nd cha nge the
Ga p Width to 0%.
12. To a dd borde rs, right click a ba r, click Forma t Da ta Se rie s, click the Fill & Line icon, click Borde r a nd
se le ct a color.

Re sult.
HOWTOCREATEHISTOGRAM(MS EXCEL2016)
1. Select the range A1:A19.
2. On the Insert tab, in the Charts group, click the Histogram symbol.

3. Click Histogra m.
Result. A histogram with 3 bins.
2. SCATTERPLOT
Use a scatter plot (XY chart) to show scientific XY data. Scatter plots are often used to find out if there's
a re lationship be twe e n variable X and Y.

HOWTOCREATESCATTERPLOTCHART
1. Se le ct the ra nge A1:B10.
2. On the Insert tab, in the Charts group, click the Scatter symbol.

3. Se le ct Histogra m a nd click OK.


Result:
QUESTIONS AND
CLARIFICATIONS?

FUNDAMENTALS OF DATA MANAGEMENT AND


REPORTING USING SPREADSHEET
TRAINING WORKS HOP
ENDOF DAY2
REFERENCES
Da ta Ana lysis Tool in Excel (Exa mples) | How To Use Da ta Ana lysis Tool?
(educba .com)
Pivot Ta bles in Excel (In Ea sy Steps) (excel-ea sy.com)
How to Ma ke a Histogra m in Excel (In Ea sy Steps) (excel-ea sy.com)
Sca tter Plot in Excel (In Ea sy Steps) (excel-ea sy.com)

You might also like