







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Definitions and introduction to terminology used in statistics.
Definition: Data are numbers with a context. A data set includes cases. For each case the data set records information in form of variables.
Cases in a particular data set usually possesses many different characteristics (variables):
Example: Student is case Variables: age, height, weight, sex, hair color, grade in STAT 161.
Definition:
Example 1
Definition:
For inferential statics random samples are required!
categorical ↗ Variable discrete ↘ ↗ quantitative ↘ continuous
Example:
Definition:
Definition:
Quantitative data is discrete if the possible values are isolated points on the number line.
Numerical data is continuous if the set of possible values forms an entire interval on the number line.
Data: Values of variables for different individuals.
category frequency relative frequency percentage wood 50 0.25 25% tiles 10 0.05 5% linoleum 20 0.1 10% carpet 120 0.6 60% total 21 1 100%
Such a table is called the frequency distribution for qualitative data or statistical table. Once the data is summarized in a frequency distribution table, the data can be displayed in a bar chart or pie chart. The bar chart will effectively show the frequencies or percent in the different categories whereas the pie chart will show the relationship between the parts and the whole.
Example: Why do youth vote? In the National Youth Survey participants were asked why they vote: The following table summarizes the results. General Attitude towards Politics collapses the following answers: It is a civic duty to vote Because I think it is important to vote It allows me to express my opinions/views I can/It’s my right Out of habit It’s important that youth vote My vote counts
Political Influencers: Because a friend, family member, or other person encouraged me to vote
Interest in Politics: To support or oppose a political party I want to/I want change To support or oppose a specific candidate I care about different issues sample size=number of observations=n=
category frequency relative frequency percentage angle Attitude 707 0.70 70% 252 Influencers 34 0.03 3% 11 Interest 266 0.26 26% 94 Other 7 0.01 <1% 3 total 1014 1 100% 360
2.1.1 Bar chart
A bar chart is a graph of the frequency distribution of a qualitative data variable
Remark: The width of each bar should be the same, so the height is proportional to the corresponding frequency (or proportion, or percentage).
Example 3 Suppose the frequency distribution of the mainly used flooring products is:
frequency relative freq wood 50 0. tiles 10 0. linoleum 20 0. carpet 120 0.
Example 4 For the Question from the National youth Survey the bargraph looks like
Example 5 For the Question from the National Youth Survey the piechart looks like
M&M’s example: On the M&M’s webpage the following information on the distribution of colors in peanut M&M’s is provided
color brown yellow red blue orange green percent 12% 15% 12% 23% 23% 15 In order if this distribution is a ”true” description of what is in a bag, someone bought a bag with 200 peanut M&M’s and wants to describe the colors of the contents.
Color is a qualitative variable, so a relative frequency table shall be obtained.
color count rel. freq. percentage brown 50 0.25 25% yellow 28 0.14 14% red 14 0.07 7 % blue 52 0.26 26% orange 36 0.18 18% green 20 0.1 10% Total 200 1 100%
And a bar chart would look like this:
For the pie chart the angles of the slices have to be determined
color count rel. freq. angle brown 50 0.25 90 o yellow 28 0.14 50. 4 o red 14 0.07 25. 2 o blue 52 0.26 93. 6 o orange 36 0.18 64. 8 o green 20 0.1 36 o Total 200 1 360 o
This results in the following pie chart
It shows: center, range, concentration, nature of distribution (unimodal, bimodal, multi- modal), unusual values, skewed to the right/left. Sometimes the available stem choices result in a plot that contains too few stems and a large number of leaves within each stem. In this situation you can stretch the stems by dividing each into several lines.
The two common choices for dividing stems are:
Example 7
You also can use stem and leaf plots for the comparison of the distribution of two groups:
Example 8
Acceptance rates of law schools: 32.9, 34.2, 33.6, 34.0, 37.3, 34.0, 31.5, 31.9, 32.4, 31.1, 29.7, 31.6, 33.0, 30.5, 29.2, 29.6, 31.
Back-to-back or comparative stem and leaf plot:
1 | 2: represents 12, leaf unit: 1 BusSchools LawSchools
| 1 | 2| 1 | | 1 | 76| 1 | 9| 1 |
n: 25 17
Interpretation: Centres of the distributions seem to be similar, but much more spread in the acceptance rates for Business Schools than for Law Schools.
2.2.2 Histograms
The most common graph for describing numerical continuous data is the histogram. It visualizes the distribution of the underlying variable very well. How a histogram looks like:
Definition:
It shows: center, range, concentration, nature of distribution (unimodal, bimodal, multimodal), unusual values, skewed to the right/left.
Histogram shapes
Check a distribution for shape, center, and spread and look for deviations from the overall pattern.