Statistics 1232445944520487 1
Statistics 1232445944520487 1
Statistics 1232445944520487 1
GOALS
Understand why we study statistics. Explain what is meant by descriptive statistics and inferential statistics. Distinguish between a qualitative variable and a quantitative variable. Describe how a discrete variable is different from a continuous variable. Scales of measurement.
Inferential Statistics: A decision, estimate, prediction, or generalization about a population, based on a sample.
Types of Variables
A. Qualitative or Attribute variable - The characteristic being studied is nonnumeric.
Examples: Gender, religious affiliation, type of automobile owned, state of birth, eye color are examples.
Interval level - similar to the ordinal level, with the additional property that meaningful amounts of differences between data values can be determined. There is no natural zero point.
EXAMPLE: Temperature on the Fahrenheit scale.
Ordinal level involves data arranged in some order, but the differences between data values cannot be determined or are meaningless.
EXAMPLE: During a taste test of 4 soft drinks, Mellow Yellow was ranked number 1, Sprite number 2, Seven-up number 3, and Orange Crush number 4.
Ratio level - the interval level with an inherent zero starting point. Differences and ratios are meaningful for this level of measurement.
EXAMPLES: Monthly income of surgeons, or distance traveled by manufacturers representatives per month.
Describing Data:
Frequency Tables, Frequency Distributions, and Graphic Presentation
GOALS
Organize qualitative data into a frequency table. Present a frequency table as a bar chart or a pie chart. Organize quantitative data into a frequency distribution. Present a frequency distribution for quantitative data using histograms, frequency polygons, and cumulative frequency polygons.
Bar Charts
Pie Charts
Frequency Distribution
A Frequency distribution is a grouping of data into mutually exclusive categories showing the number of observations in each class.
Frequency Table
Class frequencies can be converted to relative class frequencies to show the fraction of the total number of observations in each class. A relative frequency captures the relationship between a class total and the total number of observations.
Frequency Distribution
Class midpoint: A point that divides a class into two equal parts. This is the average of the upper and lower class limits. Class frequency: The number of observations in each class. Class interval: The class interval is obtained by subtracting the lower limit of a class from the lower limit of the next class.
Step 1: Decide on the number of classes. A useful recipe to determine the number of classes (k) is the 2 to the k rule. such that 2k > n. There were 80 vehicles sold. So n = 80. If we try k = 6, which means we would use 6 classes, then 26 = 64, somewhat less than 80. Hence, 6 is not enough classes. If we let k = 7, then 27 = 128, which is greater than 80. So the recommended number of classes is 7. Step 2: Determine the class interval or width. The formula is: i (H-L)/k where i is the class interval, H is the highest observed value, L is the lowest observed value, and k is the number of classes. ($35,925 - $15,546)/7 = $2,911 Round up to some convenient number, such as a multiple of 10 or 100. Use a class width of $3,000
Histogram
Histogram for a frequency distribution based on quantitative data is very similar to the bar chart showing the distribution of qualitative data. The classes are marked on the horizontal axis and the class frequencies on the vertical axis. The class frequencies are represented by the heights of the bars.
Frequency Polygon
A frequency polygon also shows the shape of a distribution and is similar to a histogram.
It consists of line segments connecting the points formed by the intersections of the class midpoints and the class frequencies.
GOALS
Calculate the arithmetic mean, weighted mean, median, mode, and geometric mean. Explain the characteristics, uses, advantages, and disadvantages of each measure of location. Identify the position of the mean, median, and mode for both symmetric and skewed distributions. Compute and interpret the range, mean deviation, variance, and standard deviation. Understand the characteristics, uses, advantages, and disadvantages of each measure of dispersion. Understand Chebyshevs theorem and the Empirical Rule as they relate to a set of observations.
values are used. It is unique. The sum of the deviations from the mean is 0. It is calculated by summing the values and dividing by the number of values.
Population Mean
For ungrouped data, the population mean is the sum of all the population values divided by the total number of population values:
Sample Mean
For
ungrouped data, the sample mean is the sum of all the sample values divided by the number of sample values:
Every set of interval-level and ratio-level data has a mean. All the values are included in computing the mean. A set of data has a unique mean. The mean is affected by unusually large or small data values. The arithmetic mean is the only measure of central tendency where the sum of the deviations of each value from the mean is zero.
Weighted Mean
The
weighted mean of a set of numbers X1, X2, ..., Xn, with corresponding weights w1, w2, ...,wn, is computed from the following formula:
The Median
The
Median is the midpoint of the values after they have been ordered from the smallest to the largest.
There are as many values above the median as below it in the data array. For an even set of values, the median will be the arithmetic average of the two middle numbers.
EXAMPLES - Median
The ages for a sample of five college students are: 21, 25, 19, 20, 22 Arranging the data in ascending order gives:
The heights of four basketball players, in inches, are: 76, 73, 80, 75 Arranging the data in ascending order gives: 73, 75, 76, 80. Thus the median is 75.5
The Mode
The
Example - Mode
Useful in finding the average change of percentages, ratios, indexes, or growth rates over time. It has a wide application in business and economics because we are often interested in finding the percentage changes in sales, salaries, or economic figures, such as the GDP, which compound or build on each other. The geometric mean will always be less than or equal to the arithmetic mean. The geometric mean of a set of n positive numbers is defined as the nth root of the product
Dispersion
Why Study Dispersion?
A
measure of location, such as the mean or the median, only describes the center of the data. It is valuable from that standpoint, but it does not tell us anything about the spread of the data. For example, if your nature guide told you that the river ahead averaged 3 feet in depth, would you want to wade across on foot without additional information? Probably not.
Samples of Dispersions
Measures of Dispersion
Range
Mean Deviation
EXAMPLE Range
The number of cappuccinos sold at the Starbucks location in the Orange Country Airport between 4 and 7 p.m. for a sample of 5 days last year were 20, 40, 50, 60, and 80. Determine the mean deviation for the number Range = Largest Smallest value of cappuccinos = 80sold. 20 = 60
Chebyshevs Theorem
The arithmetic mean biweekly amount contributed by the Dupree Paint employees to the companys profit-sharing plan is $51.54, and the standard deviation is $7.51. At least what percent of the contributions lie within plus 3.5 standard deviations and minus 3.5 standard deviations of the mean?
End of Chapter 3
GOALS
Develop and interpret a dot plot. Develop and interpret a stem-and-leaf display. Compute and understand quartiles, deciles, and percentiles. Construct and interpret box plots. Compute and understand the coefficient of skewness. Draw and interpret a scatter diagram. Construct and interpret a contingency table.
Dot Plots
A dot plot groups the data as little as possible and the identity of an individual observation is not lost. To develop a dot plot, each observation is simply displayed as a dot along a horizontal number line indicating the possible values of the data. If there are identical observations or the observations are too close to be shown individually, the dots are piled on top of each other.
Stem-and-Leaf
In Chapter 2, we showed how to organize data into a frequency distribution. The major advantage to organizing the data into a frequency distribution is that we get a quick visual picture of the shape of the distribution.
One technique that is used to display quantitative information in a condensed form is the stem-and-leaf display.
Stem-and-leaf display is a statistical technique to present a set of data. Each numerical value is divided into two parts. The leading digit(s) becomes the stem and the trailing digit the leaf. The stems are located along the vertical axis, and the leaf values are stacked against each other along the horizontal axis.
Stem-and-Leaf Example
Suppose the seven observations in the 90 up to 100 class are: 96, 94, 93, 94, 95, 96, and 97. The stem value is the leading digit or digits, in this case 9. The leaves are the trailing digits. The stem is placed to the left of a vertical line and the leaf values to the right. The values in the 90 up to 100 class would appear as Then, we sort the values within each stem from smallest to largest. Thus, the second row of the stem-and-leaf display would appear as follows:
The standard deviation is the most widely used measure of dispersion. Alternative ways of describing spread of data include determining the location of values that divide a set of observations into equal parts.
Percentile Computation
To formalize the computational procedure, let Lp refer to the location of a desired percentile. So if we wanted to find the 33rd percentile we would use L33 and if we wanted the median, the 50th percentile, then L50.
The number of observations is n, so if we want to locate the median, its position is at (n + 1)/2, or we could write this as (n + 1)(P/100), where P is the desired percentile.
Percentiles - Example
Listed below are the commissions earned last month by a sample of 15 brokers at Salomon Smith Barneys Oakland, California, office. Salomon Smith Barney is an investment company with offices located throughout the United States.
$2,038 $2,097 $2,287 $2,406 $1,758 $2,047 $1,940 $1,471 $1,721 $1,637 $2,205 $1,787 $2,311 $2,054 $1,460
Locate the median, the first quartile, and the third quartile for the commissions earned.
25 75 L25 (15 1) 4 L75 (15 1) 12 100 100 Therefore, the first and third quartiles are the 4th and 12th observation in the array, respectively L25 $1,721 L75 $2,205
Boxplot - Example
Boxplot Example
Skewness
In Chapter 3, measures of central location for a set of observations (the mean, median, and mode) and measures of data dispersion (e.g. range and the standard deviation) were introduced Another characteristic of a set of data is the shape. There are four shapes commonly observed:
symmetric, positively
skewed,
A value near -3, such as -2.57, indicates considerable negative skewness. A value such as 1.63 indicates moderate positive skewness. A value of 0, which will occur when the mean and median are equal, indicates the distribution is symmetrical and that there is no skewness present.
Skewness An Example
Following are the earnings per share for a sample of 15 software companies for the year 2005. The earnings per share are arranged from smallest to largest.
Compute the mean, median, and standard deviation. Find the coefficient of skewness using Pearsons estimate. What is your conclusion regarding the shape of the distribution?
X X ($0.09 $4.95) 2 ... ($16.40 $4.95) 2 ) s $5.22 n 1 15 1 3( X Median) 3($4.95 $3.18) sk 1.017 s $5.22
One graphical technique we use to show the relationship between variables is called a scatter diagram. To draw a scatter diagram we need two variables. We scale one variable along the horizontal axis (X-axis) of a graph and the other
Contingency Tables
A scatter diagram requires that both of the variables be at least interval scale. What if we wish to study the relationship between two variables when one or both are nominal or ordinal scale? In this case we tally the results in a contingency table.
End of Chapter 4