ch 7 - tables
Embed Size (px)
TRANSCRIPT
-
8/12/2019 Ch 7 - Tables
1/12
CHAPTER7 - TABLES
KEYCONCEPTS
-
8/12/2019 Ch 7 - Tables
2/12
OUTLINES
Pivot TableWhat it is ? Pivot Table Field List
The Pearson Chi-Square Statistic
Validity of the Chi-Square Test with Small Frequencies
-
8/12/2019 Ch 7 - Tables
3/12
PIVOTTABLEWHATITIS?
A pivot table is a great reporting tool that sorts and sumsindependent of the original data layout in the
spreadsheet
-
8/12/2019 Ch 7 - Tables
4/12
CREATINGPIVOTTABLE
Choose any cell in this table and choose Pivot Tablewizard in the Data menu
Excel asks for the data source and suggests this table
Click OK
-
8/12/2019 Ch 7 - Tables
5/12
CREATINGPIVOTTABLE(CONT...)
You can define the Destinationof Pivot Table as New Sheet or
Existing Sheet
-
8/12/2019 Ch 7 - Tables
6/12
PIVOTTABLEFIELDLIST
Report Filter
Column Labels
Row Labels
Values
-
8/12/2019 Ch 7 - Tables
7/12
PIVOTTABLEFILEDLISTDEFINITIONS
Report Filter Use a report filter to conveniently display a subset of data
in a PivotTable report or Pivot Chart Report
Helps to manage the display of large amounts of data, and
to focus on a subset of data the report
Column Labels
A field that is assigned a column orientation in a PivotTable
report
Row Labels
A field that is assigned a row orientation in a Pivot Table
report
Value
Use to display summary numeric data
-
8/12/2019 Ch 7 - Tables
8/12
THEPEARSONCHI-SQUARESTATISTIC
Karl Pearson devised such a test statistic ~ Pearson chi-square
It used to calculate a single test statistic
It will summarize the amount of difference between two
tables
If the frequencies all agreed with their expected values ~
this total (Pearson chi-square) would be 0 If there is a substantial difference between the observed
and expected counts ~ this value will be large
-
8/12/2019 Ch 7 - Tables
9/12
OTHERTABLESTATISTICS
A common mistake is to use the value of X2
Used to measure the degree of association between the
two categorical variables
A measure of association gives a value to the
association between the row and column variables It is not dependent on the sample size or the size of the
table
-
8/12/2019 Ch 7 - Tables
10/12
VALIDITYOFTHECHI-SQUARETEST
WITHSMALLFREQUENCIES
It might not be valid to use the Pearson chi-square teston a table with a large number of sparse cells
A spares cell ~ a cell in which the expected count is less
than 5
Note: The Pearson chi-square test requires large samples
-
8/12/2019 Ch 7 - Tables
11/12
TABLESWITHORDINALVARIABLES
The Pearson chi-square test makes no assumptionabout the ordering of the categories in the table
For ordinal variables, there are more powerful test than
the Pearson chi square
-
8/12/2019 Ch 7 - Tables
12/12
REVIEWQUESTIONS
1. Jelaskan fungsi dari PivotTable?2. Bagaimanakah cara membuat PivotTable agar berada
di dalam sheet yang telah tersedia?
3. Sebutkan fields yang disediakan oleh PivotTable, dan
jelaskan fungsi masing-masing fieldstersebut?4. Di bawah ini adalah fungsi dari Pearson chi-square
a) Used to calculate a single test statistic
b) Summarize the amount of difference between two tables
c) Helps to manage the display of large amounts of data,and to focus on a subset of data the report
d) Use to display summary numeric data