02 SAJIAN SEBUAH PEUBAH DISKRET Metode Grafik untuk Analisis dan Penyajian Data.

Slides:



Advertisements
Similar presentations
Graphing in Physics.
Advertisements

Displaying Data Objectives: Students should know the typical graphical displays for the different types of variables. Students should understand how frequency.
So What Do We Know? Variables can be classified as qualitative/categorical or quantitative. The context of the data we work with is very important. Always.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lab 2 Charting Worksheet Data.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Reading Graphs and Charts are more attractive and easy to understand than tables enable the reader to ‘see’ patterns in the data are easy to use for comparisons.
Section 2.2 Graphical Displays of Distributions.  Dot Plots  Histograms: uses bars to show quantity of cases within a range of values  Stem-and-leaf.
1 Probabilistic and Statistical Techniques Lecture 3 Dr. Nader Okasha.
DESCRIPTIVE STATISTICS: GRAPHICAL AND NUMERICAL SUMMARIES
QM Spring 2002 Statistics for Decision Making Descriptive Statistics.
Section 3.2 ~ Picturing Distributions of Data
Guilford County SciVis V105.01
Statistics - Descriptive statistics 2013/09/23. Data and statistics Statistics is the art of collecting, analyzing, presenting, and interpreting data.
Frequency Distributions and Graphs
Charts and Graphs V
What Makes a Good Graph ** YOUR GRAPH TELLS A STORY, IT SHOULD STAND ALONE AND A STRANGER SHOULD BE ABLE TO LOOK AT IT AND UNDERSTAND THE “STORY” BEING.
Census A survey to collect data on the entire population.   Data The facts and figures collected, analyzed, and summarized for presentation and.
Graphing. The Important Elements of a Graph  Horizontal Axis (X-Axis)  The Independent Variable. A change in this variable affects the y variable. 
Smith/Davis (c) 2005 Prentice Hall Chapter Four Basic Statistical Concepts, Frequency Tables, Graphs, Frequency Distributions, and Measures of Central.
Quantitative Skills 1: Graphing
Chapter 03: Lecture Notes (CSIT 104) 11 Chapter 3 Charts: Delivering a Message Exploring Microsoft Office Excel 2007.
Graphs Graphs are used to display data. They visually represent relationships between data. All graphs should have a title that identifies the variables.
The introduction to SPSS Ⅱ.Tables and Graphs for one variable ---Descriptive Statistics & Graphs.
Review for Quiz: Bar Graph or Bar Chart
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 2 Section 1 – Slide 1 of 27 Chapter 2 Section 1 Organizing Qualitative Data.
Chapter 1.4. Variable: any characteristic whose value may change from one individual to another Data: observations on single variable or simultaneously.
Graphing Why? Help us communicate information : Visual What is it telling your? Basic Types Line Bar Pie.
Graphing Data: Introduction to Basic Graphs Grade 8 M.Cacciotti.
Tables and Graphing. Displaying Data Sometimes it is easier to read data in a visual format. This can come in the form of tables, graphs, charts, etc.
Excel chapter 4.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 2-2 Frequency Distributions.
Dr. Serhat Eren Other Uses for Bar Charts Bar charts are used to display data for different categories where the data are some kind of quantitative.
Copyright © 2010 Pearson Education, Inc. Chapter 4 Displaying and Summarizing Quantitative Data.
Organizing Data Looking for Patterns and departures from them.
Graphs Types of Graphs. Visual Representations Scientists frequently utilize graphs and charts to serve as visual representations of their data. There.
EXCEL CHARTS. CHARTS Charts provide a way of presenting and comparing data in graphical format. Embedded charts or chart sheets Embedded charts are objects.
Applied Quantitative Analysis and Practices
Describing Data Visually
WORD VOCABULARY LIST #5 MICROSOFT OFFICE WORD VOCABULARY LIST #5 bar chart - A chart with bars that compares the quantities of two or more items.
Statistics 270 Lecture 1. Today Course outline Introductory to statistics Some Definitions Descriptive statistics.
AP Statistics Wednesday, 09 September 2015 OBJECTIVE TSW review for Friday’s test over Chapter 1 – 3.
Chapter 1 Lesson 1.4 The Role of Statistics and the Data Analysis Process.
Developing the Skills of Academic numeracy and IT.
Copyright © 2014 Pearson Education. All rights reserved Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic.
Graphing A step by step method. Line Graphs  A line graph is a style of chart that is created by connecting a series of data points together with a line.
DATA ABOUT US DAY 4 Line Plots and Bar Graphs continued.
Slide Copyright © 2009 Pearson Education, Inc. Ch. 3.1 Definition A basic frequency table has two columns: One column lists all the categories of.
Chapter 5: Organizing and Displaying Data. Learning Objectives Demonstrate techniques for showing data in graphical presentation formats Choose the best.
Computer Applications. Chart Title Legend Horizontal Axis Title Vertical Axis Title Vertical Y Axis Horizontal X Axis Data Series.
Descriptive Statistics: Tabular and Graphical Methods
The Diminishing Rhinoceros & the Crescive Cow
Organizing Qualitative Data
Relative Cumulative Frequency Graphs
Charts & Graphs CTEC V
ANATOMY OF A BAR CHART: Simple Bar Chart
Chapter 2: Methods for Describing Data Sets
Microsoft Excel 2007 The L Line The Express Line to Learning L Line
AP Statistics CH. 4 Displaying Quantitative Data
Quantitative Skills : Graphing
recap Individuals Variables (two types) Distribution
Tell a Story with the Data
Sample Column Chart- No Data Labels, no lines SOURCE:
Statistical Tables and Graphs
Ch 1 G’raph Science.
Organizing Qualitative Data
CHAPTER 1 Exploring Data
Displaying Quantitative Data
Simple plots using R Instructor: Li, Han
Charts Charts are used to present information so that it can be quickly and easily understood.
Presentation transcript:

02 SAJIAN SEBUAH PEUBAH DISKRET Metode Grafik untuk Analisis dan Penyajian Data

1) DOT PLOT

 Definition of Dot Plot A dot plot is a two-dimensional graphical display of objects, showing some quantitative characteristic of those objects. One axis of the dot plot (usually the horizontal) is a scale covering the range of quantitative values to be plotted. The other axis (usually the vertical) shows descriptive labels that are associated with each of the numeric values.

Definition (Con’t) The data objects usually are sorted according to the quantitative values Plotting symbols are placed within the display area of the dot plot, locating each data object at the intersection position for its label on the vertical axis and associated numeric value on the horizontal axis

Dot plots can be used to depict raw data, frequency counts, descriptive statistics, and parameter estimates from statistical models Dot plot can convey that information in a way that overcomes some of the problems frequently encountered with other graphical displays The simplest application of the dot plot is to display the empirical distribution of values on a single variable Definition (Con’t)

 Advantages of Dot Plots 1) Dot plots can show a larger number of data points than either pie charts or bar charts. It can include a surprisingly large number of points– it is really only limited by the space available in the display medium. 2) Dot plots facilitate relatively accurate graphical perception. It only involves comparisons of point locations along a common scale. 3) When a dot plot is used to display the distribution of values on a single variable, it can be viewed as a transposed quantile plot. It shows all of the data and, therefore, provides a particularly accurate depiction of distributional shape.

Contoh Data diambil dari database R software. Nama data : mtcars Peubah ada 11 Mpg Cyl Disp Hp Drat Wt Qsec Vs Am Gear Carb Observasi : 32 merk mobil

R Syntax dotchart(mtcars$mpg, labels=row.names(mtcars), cex=0.7, main="Gas Milage for Car Models", xlab="Miles Per Gallon") 1)Simple Dot Plot

2) Grouped Dot Plot x <- mtcars[order(mtcars$mpg),] # sort by mpg x$cyl <- factor(x$cyl) # it must be a factor x$color[x$cyl==4] <- "red" x$color[x$cyl==6] <- "blue" x$color[x$cyl==8] <- "darkgreen" dotchart(x$mpg,labels=row.names(x), cex=.7,groups= x$cyl, main="Gas Milage for Car Models\ngrouped by cylinder", xlab="Miles Per Gallon", gcolor="black", color=x$color)

2) BAR CHART

# Simple Bar Plot counts <- table(mtcars$gear) barplot(counts, main="Car Distribution", xlab="Number of Gears") # Simple Horizontal Bar Plot with Added Labels counts <- table(mtcars$gear) barplot(counts, main="Car Distribution", horiz=TRUE, names.arg=c("3 Gears", "4 Gears", "5 Gears")) R Syntax

# Stacked Bar Plot with Colors and Legend counts <- table(mtcars$vs, mtcars$gear) barplot(counts, main="Car Distribution by Gears and VS", xlab="Number of Gears", col=c("darkblue","red"), legend = rownames(counts))

# Grouped Bar Plot counts <- table(mtcars$vs, mtcars$gear) barplot(counts, main="Car Distribution by Gears and VS", xlab="Number of Gears", col=c("darkblue","red"), legend = rownames(counts), beside=TRUE)

# Fitting Labels par(las=2) # make label text perpendicular to axis par(mar=c(5,8,4,2)) # increase y-axis margin. counts <- table(mtcars$gear) barplot(counts, main="Car Distribution", horiz=TRUE, names.arg=c("3 Gears", "4 Gears", "5 Gears"), cex.names=0.8)

3) PIE CHART

# Simple Pie Chart slices <- c(10, 12,4, 16, 8) lbls <- c("US", "UK", "Australia", "Germany", "France") pie(slices, labels = lbls, main="Pie Chart of Countries")

# Pie Chart with Percentages slices <- c(10, 12, 4, 16, 8) lbls <- c("US", "UK", "Australia", "Germany", "France") pct <- round(slices/sum(slices)*100) lbls <- paste(lbls, pct) # add percents to labels lbls <- paste(lbls,"%",sep="") # ad % to labels pie(slices,labels = lbls, col=rainbow(length(lbls)), main="Pie Chart of Countries")

# 3D Exploded Pie Chart library(plotrix) slices <- c(10, 12, 4, 16, 8) lbls <- c("US", "UK", "Australia", "Germany", "France") pie3D(slices,labels=lbls,explode =0.1, main="Pie Chart of Countries ")

# Pie Chart from data frame with Appended Sample Sizes mytable <- table(iris$Species) lbls <- paste(names(mytable), "\n", mytable, sep="") pie(mytable, labels = lbls, main="Pie Chart of Species\n (with sample sizes)")

Sekian Terimakasih