0% found this document useful (0 votes)
113 views28 pages

Exploring Data - 1

There are two main types of data: categorical and quantitative. Categorical variables divide observations into categories while quantitative variables take numerical values. Quantitative variables can be discrete or continuous. Graphs like pie charts, bar graphs, dot plots, stem-and-leaf plots and histograms are used to summarize and visualize data. Histograms are well-suited for large data sets while dot plots and stem-and-leaf plots work better for smaller sets. The shape of a distribution provides information about where values are centered and how they are spread out.

Uploaded by

Aurelia Rusli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
113 views28 pages

Exploring Data - 1

There are two main types of data: categorical and quantitative. Categorical variables divide observations into categories while quantitative variables take numerical values. Quantitative variables can be discrete or continuous. Graphs like pie charts, bar graphs, dot plots, stem-and-leaf plots and histograms are used to summarize and visualize data. Histograms are well-suited for large data sets while dot plots and stem-and-leaf plots work better for smaller sets. The shape of a distribution provides information about where values are centered and how they are spread out.

Uploaded by

Aurelia Rusli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28

DATA: Jenis dan

Penyajiannya
2.1 What Are the Types of Data?
Variable
A variable is any characteristic that is recorded for the
subjects in a study
Examples: Marital status, Height, Weight, IQ
A variable can be classified as either
◦ Categorical or
◦ Quantitative:
• Discrete
• Continuous

www.thewallstickercompany.com.au
Categorical Variable
A variable is categorical if each
observation belongs to one of a
set of categories.
Examples:
1. Gender (Male or Female)
2. Religion (Catholic, Jewish, …)
3. Type of residence (Apt, Condo, …)
4. Belief in life after death (Yes or No)

www.post-gazette.com
Quantitative Variable

A variable is called quantitative if observations take


numerical values for different magnitudes of the
variable.

Examples:
1. Age
2. Number of siblings
3. Annual Income
Quantitative vs. Categorical
For Quantitative variables, key features are the
center (a representative value) and spread
(variability).

For Categorical variables, a key feature is the


percentage of observations in each of the
categories .
Discrete Quantitative
Variable
A quantitative variable is discrete if
its possible values form a set of
separate numbers: 0,1,2,3,….
Examples:
1. Number of pets in a household
2. Number of children in a family
3. Number of foreign languages
spoken by an individual

upload.wikimedia.org
Continuous Quantitative
Variable
A quantitative variable is
continuous if its possible values
form an interval Measurements
Examples:
1. Height/Weight
2. Age
3. Blood pressure

www.wtvq.com
Proportion & Percentage (Rel.
Freq.)

Proportions and percentages are also called relative frequencies.


Frequency Table
A frequency table is a
listing of possible
values for a variable,
together with the
number of
observations or
relative frequencies
for each value.
2.2 Describe Data Using Graphical
Summaries
Graphs for Categorical
Variables
Use pie charts and bar
graphs to summarize
categorical variables
1. Pie Chart: A circle
having a “slice of pie”
for each category
2. Bar Graph: A graph
that displays a
vertical bar for each
wpf.amcharts.com category
Pie Charts
◦ Summarize categorical
variable
◦ Drawn as circle where each
category is a slice
◦ The size of each slice is
proportional to the
percentage in that category
Bar Graphs
Summarizes categorical variable
Vertical bars for each category
Height of each bar represents
either counts or percentages
Easier to compare categories
with bar graph than with pie
chart
Called Pareto Charts when
ordered from tallest to shortest
Graphs for Quantitative Data
1. Dot Plot: shows a dot for
each observation placed
above its value on a
number line
2. Stem-and-Leaf Plot:
portrays the individual
observations
3. Histogram: uses bars to
portray the data
Which Graph?
Dot-plot and stem-and-leaf
plot:
◦ More useful for small data
sets
◦ Data values are retained
Histogram
◦ More useful for large data
sets
◦ Most compact display
◦ More flexibility in defining content.answers.com

intervals
Dot Plots
To construct a dot plot
1. Draw and label horizontal line
Sodium
2. Mark regular values
in
3.Place a dot above each value on
Cereals
the number line
Stem-and-leaf plots
Summarizes quantitative Sodium in
variables Cereals
Separate each observation
into a stem (first part of #)
and a leaf (last digit)
Write each leaf to the
right of its stem; order
leaves if desired
Histograms
Graph that uses bars to
portray frequencies or
relative frequencies of
possible outcomes for a
quantitative variable
Constructing a Histogram
1. Divide into intervals of equal width Sodium in
Cereals
2. Count # of observations in each interval
Constructing a Histogram
3. Label endpoints of Sodium in Cereals
intervals on
horizontal axis
4. Draw a bar over
each value or
interval with height
equal to its
frequency (or
percentage)
5. Label and title
Interpreting Histograms
◦ Assess where a Left and right sides
distribution is centered by are mirror images
finding the median
◦ Assess the spread of a
distribution
◦ Shape of a distribution:
roughly symmetric,
skewed to the right, or
skewed to the left
Examples of Skewness
Shape and Skewness
Consider a data set
containing IQ scores for the
general public. What shape?
a. Symmetric
b. Skewed to the left
c. Skewed to the right
d. Bimodal

botit.botany.wisc.edu
Shape and Skewness
Consider a data set of the
scores of students on an easy
exam in which most score very
well but a few score poorly.
What shape?
a. Symmetric
b. Skewed to the left
c. Skewed to the right
d. Bimodal
Shape: Type of Mound
Outlier
An outlier falls far from
the rest of the data
Time Plots
Display a time series,
Time Plot from 1995 – 2001 of
data collected over the # worldwide who use the
time Internet

Plots observation on
the vertical against
time on the horizontal
Points are usually
connected
Common patterns
should be noted

You might also like