lecture 3. describing data (descriptive statistics) · lecture 3. describing data (descriptive...
TRANSCRIPT
![Page 1: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/1.jpg)
Lecture 3. Describing Data (Descriptive Statistics)
Jie Zhang, Ph.D. Student
Account and Information Systems Department
College of Business Administration
The University of Texas at El Paso
Spring, 2014
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 1
![Page 2: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/2.jpg)
Applewood Auto Group (AAG)
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 2
Variables:Profit—the amount earned by the dealership on the sale
of each vehicle.Age—the age of buyer at the time of the purchase.Location—the dealership where the vehicle was purchased.Vehicle type—SUV, sedan, compact, hybrid, or truck.Previous—the number of vehicles previously purchased at any of the four Applewood dealership by the consumer.
![Page 3: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/3.jpg)
Frequency Table• FREQUENCY TABLE: A grouping of qualitative data into mutually
exclusive classes showing the number of observations in each class.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 3
TABLE 2–1 Frequency Table for Vehicles Sold Last Month at Applewood Auto Group by Location
![Page 4: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/4.jpg)
Bar Charts• BAR CHART: A graph in which the classes are reported on the
horizontal axis and the class frequencies on the vertical axis. The class frequencies are proportional to the heights of the bars.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 4
![Page 5: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/5.jpg)
Pie Charts
• PIE CHART: A chart that shows the proportion or percent that each class represents of the total number of frequencies.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 5
![Page 6: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/6.jpg)
Frequency Distribution
• 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
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 6
Relatively Frequency Table of Sold by Type Last Month at Applewood Auto Group
![Page 7: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/7.jpg)
• Class interval: The class interval is obtained by subtracting the lower limit of a class from the lower limit of the next class.
• Class frequency: The number of observations in each class.
• Class midpoint: A point that divides a class into two equal parts. This is the average of the upper and lower class limits.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 7
![Page 8: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/8.jpg)
EXAMPLE – Creating a Frequency Distribution Table• 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 2^k > n.• There were 180 vehicles sold, so n = 180. If we try k = 7, then 27 = 128, somewhat less than 180.
Hence, 7 is not enough classes. If we let k = 8, then 28 = 256, which is greater than 180. So the recommended number of classes is 8.
• 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.
• Round up to some convenient number, such as a multiple of 10 or 100. Use a class width of $400
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 8
![Page 9: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/9.jpg)
• Step 3: Set the individual class limits
• Step 4: Tally the vehicle profits into the classes.
• Step 5: Count the number of items in each class.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 9
![Page 10: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/10.jpg)
Relative Frequency Distribution• To convert a frequency distribution to a relative frequency
distribution, each of the class frequencies is divided by the total number of observations.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 10
Relative Frequency Distribution of Profit for Vehicles Sold Last Month at Applewood Auto Group
![Page 11: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/11.jpg)
Graphic Presentation of a Frequency Distribution
The three commonly used graphic forms are:
• Histograms
• Frequency polygons
• Cumulative frequency distributions
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 11
![Page 12: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/12.jpg)
Histogram
• HISTOGRAM: A graph in which 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 and the bars are drawn adjacent to each other.
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 12
![Page 13: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/13.jpg)
Frequency polygons
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 13
Frequency polygon also shows the shape of a distribution and is similar to a histogram.
![Page 14: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/14.jpg)
Cumulative Frequency Distribution
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 14
![Page 15: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/15.jpg)
Using R for Describing Data
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 15
![Page 16: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/16.jpg)
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 16
![Page 17: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/17.jpg)
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 17
![Page 18: Lecture 3. Describing Data (Descriptive Statistics) · Lecture 3. Describing Data (Descriptive Statistics) Jie Zhang, Ph.D. Student Account and Information Systems Department College](https://reader030.vdocument.in/reader030/viewer/2022040402/5e7d45aae624527a2845a773/html5/thumbnails/18.jpg)
Questions? Thanks!
Jie Zhang, QMB 2301 Fundamentals of Business Statistics, UTEP 18