Organizing, Summarizing, Graphing and Presenting Data I

Total Page:16

File Type:pdf, Size:1020Kb

Organizing, Summarizing, Graphing and Presenting Data I Math 103 Lecture 9 notes page 1 Math 103 Lecture 9 class notes Statistics – from the Latin staticus – “out of state” is the study of methods of collecting, organizing, presenting, analyzing, and drawing conclusions about data, commonly in numerical form. The three branches of statistics are: descriptive, inferential, and survey/sampling. Descriptive Statistics: organizing, summarizing, graphing and presenting data I. Organize data into frequency tables a. class and frequency b. extended table includes relative frequency, cumulative frequency, and cumulative relative frequency, as well as class marks II. Make charts or graphs a. histogram and bar graphs b. frequency curve or polygon c. ogive d. box & whisker or boxplot e. circle or pie graph f. stem & leaf g. pictographs h. scatter plots i. pictographs j. line plots III. Calculate measures a. central tendency (mean, median, mode) b. variation (range, standard deviation) c. position (percentiles, quartiles) I. Organize data into frequency tables Frequency Table = is an excellent device for making larger collections of data much more intelligible. A frequency table is so named because it lists categories of scores along with their corresponding frequencies. The frequency for a category or class is the number of original scores that fall into that class. The columns of an extended frequency table generate various graphs or charts. Extended frequency tables therefore become important prerequisites for creating graphs and charts used in statistics. Guidelines for frequency tables: 1. Class intervals should not overlap. Classes are mutually exclusive. 2. Classes should continue throughout the distribution with NO gaps. Include all classes. 3. All classes should have the same width. 4. Class widths should be “convenient” numbers. 5. Use 5-20 classes. 6. Make lower or upper limits multiples of the width. An extended frequency table includes the following: a. class intervals (lower and upper limits) b. marks c. frequency d. cumulative frequency Math 103 Lecture 9 notes page 2 e. relative frequency f. cumulative relative frequency Example Data Set: Dr. Brown’s Exam Scores 98 90 85 84 81 79 76 73 69 60 98 90 85 83 80 79 75 72 68 60 93 88 85 82 80 78 75 71 67 59 93 87 84 82 79 77 74 70 64 57 91 86 84 81 79 77 74 70 63 54 note: Typically, you will have to rank data first; data does not usually come ordered! The first thing to do with numerical data is to organize it into a frequency table. Each column of a frequency table generates (is used to create) a particular graph or chart. Extended Frequency Table of Dr. Brown’s Exam Scores class freq cumulative relative cumulative mark boundaries freq. freq. relative freq. 50-54 55-59 60-64 65-69 70-74 75-79 80-84 85-89 90-94 95-99 100+ The width of each class is 5 (size of each class). The lower limits are the smaller numbers of each class (50, 55, 60, 65, 70, etc.) The upper limits are the larger numbers of each class (54, 59, 64, 69, 74, etc.) Note: the class limits (either lower or upper) should be a multiple of the width. The mark is the midpoint of each class. Only the last class can be "open-ended." There should be no "gaps" in organizing classes. There should be no "overlap" in class numbers. II. Make charts or graphs Histogram: a type of bar graph representing an entire set of data. It is helpful when you need to discover or display the distribution of interval or ratio data. Histograms illustrate central tendency, shape, and how the data is spread out or dispersed. A histogram is made up of the following components: 1. a title, which identifies the population of concern 2. a vertical scale, which identifies the frequencies in the various classes Math 103 Lecture 9 notes page 3 3. a horizontal scale, which identifies the variable. Values for class boundaries, class limits, or class marks may be labeled along the axis. Shapes of histograms: symmetrical, uniform, skewed, J-shaped, and bimodal. Frequency Curve or Polygon: the horizontal axis uses marks. The vertical axis is either frequency or relative frequency. Several sets of data can be depicted on the same graph. Ogive: a cumulative frequency curve, always with a typical “upward” trend. Box-&-Whisker = a representation of the data set by splitting the distribution into four groups of 25%, often referred to as quartile distribution. Several sets of data can be pictures side-by=side using box-&-whisker plots, making the data comparisons easier for the reader. “key” points are: 1. 0% (or 10%) 2. 25% 3. 50% 4. 75% 5. 100% (or 90%) III. Calculate Measures AVERAGES: Mode = the data value that occurs most frequently. Ex: 6 7 8 9 9 10 Another ex: 6 3 2 3 3 5 3 2 If you cannot identify the ONE value that occurs most frequently, the data set has no mode. Ex: 3 3 4 5 5 7 Median = middle score in ranked data. Ex: 3 4 6 8 9 11 15 27 31 When there is an even number of data values, the median is halfway between the middle scores. Ex: 3 5 6 7 9 10 10 12 The median need not be a member of the data set. Midrange = the value halfway between the highest and lowest data value. Ex: 6 7 8 9 9 10 The midrange need not be a member of the data set. Midhinge = value halfway between the left hinge and right hinge of a box-&-whisker plot. The midhinge need not be a member of the data set. Mean = the value which is the sum of all data values divided by the number of pieces of data. Ex: 6 3 8 5 3 Mean = (6 + 3 + 8 + 5 + 3)/5 = 5 Ex: 85 76 93 82 96 Mean = The mean need not be a member of the data set. The mean is the most common measure of central tendency and is the statistics usually denoted by the word “average.” The mean is the “balance point” of a distribution, or the sum of the distances to the right of the mean equals the sum of the distances to the left. Math 103 Lecture 9 notes page 4 Ex: There is a salary dispute between management and labor at Castellon Manufacturing. The labor Union claims that the average salary is only $3000/year. Management says the average salary is $7300. You have been called in as a federal mediator. The first thing you need to do is to figure out the average salary. Suppose there are only 10 employees and you can get their monthly salaries from payroll. They are: $3000, $3000, $3000, $3500, $4000, $4500, $6000, $6000, $1000 and $25000 Does the Unions’ claim of #3000 seem like the “average”? Does the Management’s claim of $7300 seem like the “average”? Weighted Mean = Suppose one class of 20 students averaged 80% on a test, while another class of 30 students averaged 74%. What is the average for the combined group of students? DISPERSION OR VARIATION Range = the difference or distance between the highest to lowest data value. Variance, σ = sum of squared deviations divided by the number of data points Standard Deviation, s = √variance = (x – µ)^2/ n or (x – µ)^2/ (n-1) Note: for any distribution, the virtual spread (range) of the data is about 6 standard deviations. Standard deviation is usually rounded 1-2 places. Ex: data: 1 3 5 6 6 9 s = POSITION Quartiles = numbers that divide ranked data into fourths. A data set has 3 quartiles. 1st Quartile = a number such that at most 1/4 of the data are smaller in value, and at most 3/4 are larger. 2nd Quartile = median 3rd Quartile = a number such that at most 3/4 of the data are smaller in value, and at most 1/4 are larger. Percentiles = numbers that divide ranked data into 100 parts. A data set has 99 percentiles. Deciles = numbers that divide ranked data into 10 parts. A data set has 9 deciles. Here’s an example using a small data set, which contains an odd number of values. 35 47 48 50 51 53 54 70 75 Split the data in half, at the median, then find the median of each half. Interquartile range, IQR, Q3 – Q1 = 54–48 = 6 Here’s an example using a small data set, which contains an even number of values: 35 47 48 50 51 53 54 60 70 75 Split the data in half, at the median, then find the median of each half. Interquartile range, IQR, Q3 – Q1 = 60–48 = 12 .
Recommended publications
  • M2 Mid-Module Assessment Task
    NYS COMMON CORE MATHEMATICS CURRICULUM Mid-Module Assessment Task M2 ALGEBRA I Name Date 1. The scores of three quizzes are shown in the following data plot for a class of 10 students. Each quiz has a maximum possible score of 10. Possible dot plots of the data are shown below. a. On which quiz did students tend to score the lowest? Justify your choice. b. Without performing any calculations, which quiz tended to have the most variability in the students’ scores? Justify your choice based on the graphs. Module 2: Descriptive Statistics 85 This work is licensed under a This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from ALG I-M2-TE-1.3.0-08.2015 Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Mid-Module Assessment Task M2 ALGEBRA I c. If you were to calculate a measure of variability for Quiz 2, would you recommend using the interquartile range or the standard deviation? Explain your choice. d. For Quiz 3, move one dot to a new location so that the modified data set will have a larger standard deviation than before you moved the dot. Be clear which point you decide to move, where you decide to move it, and explain why. e. On the axis below, arrange 10 dots, representing integer quiz scores between 0 and 10, so that the standard deviation is the largest possible value that it may have. You may use the same quiz score values more than once.
    [Show full text]
  • Mgtop 215 Chapter 3 Dr. Ahn
    MgtOp 215 Chapter 3 Dr. Ahn Measures of central tendency (center, location): measures the middle point of a distribution or data; these include mean and median. Measures of dispersion (variability, spread): measures the extent to which the observations are scattered; these include standard deviation and range. Parameter: a numerical descriptive measure computed from the population measurements (census data). Statistic: a numerical descriptive measure computed from sample measurements. Throughout we denote N: the number of observations in the population, that is the population size, n: the number of observations in a sample, that is, the sample size, and xi : the i-th observation. Measures of Central Tendency (Location) Population mean 1 ⋯ Sample mean 1 ⋯ ̅ Formulas> Insert Function () >Statistical>AVERAGE Note that the population mean and sample mean are arithmetic means or average, and computed in the same manner. Example 1. Find the sample mean of the following data. 5, 7, 2, 0, 4 Deviation from the mean: observation minus the mean, i.e. or ̅. The mean is a measure of the center in the sense that it “balances” the deviations from the mean. Median: The middle value of data when ordered from smallest to largest Formulas> Insert Function () >Statistical>MEDIAN Example 2. Find the sample median of the data in Example 1. The median is a measure of the center in the sense that it “balances” the number of observations on both sides of the median. 1 Example 3. Find the median of the following data. 5, 7, 2, 4, 2, 1 The mode is useful as a measure of central tendency for qualitative data.
    [Show full text]
  • Chap. 4: Summarizing & Describing Numerical Data
    Basic Business Statistics: Concepts & Applications Learning Objectives 1. Explain Numerical Data Properties 2. Describe Summary Measures Central Tendency Variation Shape 3. Analyze Numerical Data Using Summary Measures Thinking Challenge $400,000 $70,000 $50,000 ... employees cite low pay -- most workers earn only $30,000 $20,000. ... President claims average $20,000 pay is $70,000! Standard Notation Measure Sample Population Mean ⎯X μX Stand. Dev. S σX 2 2 Variance S σX Size n N Numerical Data Properties Central Tendency (Location) Variation (Dispersion) Shape Numerical Data Properties & Measures Numerical Data Properties Central Variation Shape Tendency Mean Range Skew Median Interquartile Kurtosis Range Mode Variance Midrange Standard Deviation Midhinge Coeff. of Variation Mean 1. Measure of Central Tendency 2. Most Common Measure 3. Acts as ‘Balance Point’ 4. Affected by Extreme Values (‘Outliers’) 5. Formula (Sample Mean) n ∑ Xi X1 + X2 + L + Xn X = i =1 = n n Mean Example Raw Data: 10.3 4.9 8.9 11.7 6.3 7.7 n X ∑ i X + X + X + X + X + X X = i =1 = 1 2 3 4 5 6 n 6 10.3 + 4.9 + 8.9 + 11.7 + 6.3 + 7.7 = 6 = 8.30 Median 1. Measure of Central Tendency 2. Middle Value In Ordered Sequence If Odd n, Middle Value of Sequence If Even n, Average of 2 Middle Values 3. Position of Median in Sequence n + 1 Positioning Point = 2 4. Not Affected by Extreme Values Median Example Odd-Sized Sample Raw Data: 24.1 22.6 21.5 23.7 22.6 Ordered: 21.5 22.6 22.6 23.7 24.1 Position: 1 2 3 45 n + 1 5 + 1 Positioning Point = = = 3.0 2 2 Median = 22.6 Median Example Even-Sized Sample Raw Data: 10.3 4.9 8.9 11.7 6.3 7.7 Ordered: 4.9 6.3 7.7 8.9 10.3 11.7 Position: 1 2 3456 n + 1 6 + 1 Positioning Point = = = 3.5 2 2 7.7 + 8.9 Median = = 8.30 2 Mode 1.
    [Show full text]
  • Modification of ANOVA with Various Types of Means
    Applied Mathematics and Computational Intelligence Volume 8, No.1, Dec 2019 [77-88] Modification of ANOVA with Various Types of Means Nur Farah Najeeha Najdi1* and Nor Aishah Ahad1 1School of Quantitative Sciences, Universiti Utara Malaysia. ABSTRACT In calculating mean equality for two or more groups, Analysis of Variance (ANOVA) is a popular method. Following the normality assumption, ANOVA is a robust test. A modification to ANOVA is proposed to test the equality of population means. The suggested research statistics are straightforward and are compatible with the generic ANOVA statistics whereby the classical mean is supplemented by other robust means such as geometric mean, harmonic mean, trimean and also trimmed mean. The performance of the modified ANOVAs is then compared in terms of the Type I error in the simulation study. The modified ANOVAs are then applied on real data. The performance of the modified ANOVAs is then compared with the classical ANOVA test in terms of Type I error rate. This innovation enhances the ability of modified ANOVAs to provide good control of Type I error rates. In general, the results were in favor of the modified ANOVAs especially ANOVAT and ANOVATM. Keywords: ANOVA, Geometric Mean, Harmonic Mean, Trimean, Trimmed Mean, Type I Error. 1. INTRODUCTION Analysis of variance (ANOVA) is one of the most used model which can be seen in many fields such as medicine, engineering, agriculture, education, psychology, sociology and biology to investigate the source of the variations. One-way ANOVA is based on assumptions that the normality of the observations and the homogeneity of group variances.
    [Show full text]
  • Stat 216 Excel/Phstat Homework Assignment #1
    Stat 216 Excel/PHStat Homework Assignment #1 Please visit www.stat.wmich.edu/s216/phstat.html to learn how to start up Excel/PHStat. Tip: Read through this entire assignment before getting onto a computer. The data that you will need for this assignment can be found in the worksheet called cars. The worksheet contains on 80 different kinds of cars. From Motor Trend Car, we see that the variables include MPG, CYL (4, 6, 8), DISP (size), HP, DRAT, WT, QSEC, VS (=0, =1), AM, GEAR (3, 4, 5), and CARB (0, 2, 4, 6, 8). You will be obtaining a subset of this data. Every student will have a different data set. Directions for obtaining your unique data subset: • Go to www.stat.wmich.edu/s216/info.html and click on Winter 2002 link and HW Data link. • Choose Cars from the list of data sets. • Click on the Submit button. • Put check marks next to all the variables under Select variable(s) to be resampled. • Enter 50 for Sample size. • Enter the last four digits of your student ID for the PIN Number. • Click on the Submit button. • Follow the instructions on the page that comes up on your browser, which will tell you to click on the link provided. A text file containing the data will come up next, which you should download. Use a floppy diskette if you are on a lab PC. • Next, open the file into Excel. Choose Text files under Files of type. • Choose Delimited for the Text Import Wizard step 1.
    [Show full text]
  • Math 366 Minitab Homework Assignment # 1 Due 28 February 2002
    Math 366 Minitab Homework Assignment # 1 Due 28 February 2002 Please visit http://unix.cc.wmich.edu/lheun/ Tip: Read through this entire assignment before getting on a computer. The data that you will need for this assignment can be found in the file called BB97.txt. Click on Minitab Assignment 1 data and SaveAs. Once the data is on your computer, you may need to use EXCEL to reformat it so that you can read it into a Minitab worksheet. The worksheet contains data on 28 baseball teams. The data contains the following variables: Baseball team League (L) (American = 0, National = 1), Number of Wins (W), E.R.A. (ERA) (Earned Run Average), Runs Scored (RS), Hits Allowed (HA), Walks Allowed (WA), Saves (S), and Errors (E). Open worksheet in Minitab and follow dialog box instructions. (+5)1. Obtain the descriptive statistics for ERA. and W. In your report, include the output of Minitab (copy and paste), and make an additional table listing these particular measures of central tendency: mean, median, midhinge and midrange. Also include these measures of variation in your table: range, IQR, variance, standard deviation, and coefficient of variation. Note: A couple of these measures (midrange, midhinge, and CV) will require you to make some additional hand calculations. (+5)2. Get a stem-and-leaf plot of S. Determine the mode of S from the plot? (+5)3. Obtain a histogram of ERA. Based on the histogram, what is the shape of the data? (+5)4. Get a boxplot of ERA score. What is the shape? Does this agree with the shape you reported in #3? Remember that tilting you head to the left or turning the printout clockwise helps you determine skewness direction, if any.
    [Show full text]
  • Rapid Assessment Method Development Update : Number 1
    Rapid Assessment Method Development Update : Number 1 Introduction This document reports on RAM development activities. This update reports desk-based work on: • Improvements to the performance of the PROBIT estimator for GAM. • Extension of the PROBIT indicator to include SAM in order to provide a needs assessment estimate for CMAM programs. This is an extension to RAM as originally proposed. PROBIT for GAM : Introduction The PROBIT estimator takes two parameters: Location (central tendency) : The location could be the mean or the median or some other estimator of the centre of the distribution of MUAC values. Dispersion (or spread) : The dispersion could be the standard deviation (SD) or some other measure of the spread of the distribution of MUAC values about centre of the distribution of MUAC values. The mean and the SD are the most common measures of location and dispersion. They have the advantage of being easy to calculate because they do not require data to be sorted. The have the disadvantage of lacking robustness to outliers (i.e. extreme high or low values). This problem effects the SD more than the mean because its calculation involves squaring deviations from the mean and this gives more weight to extreme values. Lack of robustness is most problematic with small sample sizes as we have with RAM. There are two ways around this problem : 1. Transform the data to bring outliers closer to the centre of the distribution. This only works well when outliers occur to one side or the centre of the distribution. 2. Use robust estimators of location and dispersion.
    [Show full text]
  • Robust Location Estimators for the X Control Chart
    mss # 1500.tex; art. # 06; 43(4) Robust Location Estimators for the X Control Chart MARIT SCHOONHOVEN Institute for Business and Industrial Statistics of the University of Amsterdam (IBIS UvA), Plantage Muidergracht 12, 1018 TV Amsterdam, The Netherlands HAFIZ Z. NAZIR Department of Statistics, University of Sargodha, Sargodha, Pakistan MUHAMMAD RIAZ King Fahad University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia Department of Statistics, Quad-i-Azam University, 45320 Islamabad 44000, Pakistan RONALD J. M. M. DOES IBIS UvA, Plantage Muidergracht 12, 1018 TV, Amsterdam, The Netherlands This article studies estimation methods for the location parameter. We consider several robust location estimators as well as several estimation methods based on a phase I analysis, i.e., the use of a control chart to study a historical dataset retrospectively to identify disturbances. In addition, we propose a new type of phase I analysis. The estimation methods are evaluated in terms of their mean-squared errors and their e↵ect on the X control charts used for real-time process monitoring (phase II). It turns out that the phase I control chart based on the trimmed trimean far outperforms the existing estimation methods. This method has therefore proven to be very suitable for determining X phase II control chart limits. Key Words: Estimation; Mean; Phase I; Phase II; Robust; Shewhart Control Chart; Statistical Process Control; Trimean. Introduction ters, and an optimal performance requires that any change in these parameters should be detected as HE PERFORMANCE of a process depends on the soon as possible. To monitor a process with respect T stability of its location and dispersion parame- to these parameters, Shewhart introduced the idea of control charts in the 1920s.
    [Show full text]
  • Summarizing Data Major Properties of Numerical Data
    Summarizing Data Daniel A. Menascé, Ph.D. Dept of Computer Science George Mason University 1 © 2001 D. A. Menascé. All Rights Reserved. Major Properties of Numerical Data • Central Tendency: arithmetic mean, geometric mean, median, mode. • Variability: range, interquartile range, variance, standard deviation, coefficient of variation, mean absolute deviation. • Skewness: coefficient of skewness. • Kurtosis 2 © 2001 D. A. Menascé. All Rights Reserved. 1 Measures of Central Tendency • Arithmetic Mean n ! Xi X = i=1 n • Based on all observations greatly affected by extreme values. 3 © 2001 D. A. Menascé. All Rights Reserved. Effect of Outliers on Average 1.1 1.1 1.4 1.4 1.8 1.8 1.9 1.9 2.3 2.3 2.4 2.4 2.8 2.8 3.1 3.1 3.4 3.4 3.8 3.8 10.3 3.5 Average 3.1 2.5 4 © 2001 D. A. Menascé. All Rights Reserved. 2 Geometric Mean 1/ n & n # • Geometric Mean: X $' i ! % i=1 " • Used when the product of the observations is of interest. • Important when multiplicative effects are at play: – Cache hit ratios at several levels of cache – Percentage performance improvements between successive versions. – Performance improvements across protocol layers. 5 © 2001 D. A. Menascé. All Rights Reserved. Example of Geometric Mean Performance Improvement Avg. Performance Operating Improvement Test Number System Middleware Application per Layer 1 1.18 1.23 1.10 1.17 2 1.25 1.19 1.25 1.23 3 1.20 1.12 1.20 1.17 4 1.21 1.18 1.12 1.17 5 1.30 1.23 1.15 1.23 6 1.24 1.17 1.21 1.21 7 1.22 1.18 1.14 1.18 8 1.29 1.19 1.13 1.20 9 1.30 1.21 1.15 1.22 10 1.22 1.15 1.18 1.18 Average Performance Improvement per Layer 1.20 6 © 2001 D.
    [Show full text]
  • Mgtop 215 Chapter 3 Dr. Ahn
    MgtOp 215 Chapter 3 Dr. Ahn Measures of central tendency (center, location): measures the middle point of a distribution or data; these include mean and median. Measures of dispersion (variability, spread): measures the extent to which the observations are scattered; these include standard deviation and range. Parameter: a numerical descriptive measure computed from the population measurements (census data). Statistic: a numerical descriptive measure computed from sample measurements. Throughout we denote N: the number of observations in the population, that is the population size, n: the number of observations in a sample, that is, the sample size, and xi : the i-th observation. Measures of Central Tendency (Location) Population mean 1 ⋯ Sample mean 1 ⋯ ̅ Formulas> Insert Function () >Statistical>AVERAGE Note that the population mean and sample mean are arithmetic means or average, and computed in the same manner. Example 1. Find the sample mean of the following data. 5, 7, 2, 0, 4 Deviation from the mean: observation minus the mean, i.e. or ̅. The mean is a measure of the center in the sense that it “balances” the deviations from the mean. Median: The middle value of data when ordered from smallest to largest Formulas> Insert Function () >Statistical>MEDIAN Example 2. Find the sample median of the data in Example 1. The median is a measure of the center in the sense that it “balances” the number of observations on both sides of the median. 1 Example 3. Find the median of the following data. 5, 7, 2, 4, 2, 1 The mode is useful as a measure of central tendency for qualitative data.
    [Show full text]
  • Descriptive Statistics .Pdf
    Descriptive Statistics: Numerical Measures Numerical Data Properties Central Tendency Variation Shape Mean Range Skew Median Interquartile Kurtosis Range Mode Variance Midrange Standard Deviation Midhinge Coeff. of Variation Measures of Location Measures of Location Mode –If the measures are computed for data from a sample, they are called sample statistics.` Median Percentile –If the measures are computed for data Quartiles from a population, they are called population parameters. of the corresponding population parameter. For example, the sample mean is a point estimator of the population mean. –A sample statistic is referred to as the point estimator Mean • The mean of a data set is the average of all the data values. • As we said, the sample mean is the point estimator of the population mean m. Example: Apartment Rents Seventy efficiency apartments were randomly sampled in a small college town. The monthly rent prices for these apartments are listed in ascending order on the next slide. Sample Mean Example Continued 425 430 430 435 435 435 435 435 440 440 440 440 440 445 445 445 445 445 450 450 450 450 450 450 450 460 460 460 465 465 465 470 470 472 475 475 475 480 480 480 480 485 490 490 490 500 500 500 500 510 510 515 525 525 525 535 549 550 570 570 575 575 580 590 600 600 600 600 615 615 Properties of the Arithmetic Mean 1- Every set of interval-level and ratio-level data has a mean. 2- All the values are included in computing the mean. 3- A set of data has a unique mean.
    [Show full text]
  • Visualizing Multivariate Data
    1 Visual Analytics Visualizing multivariate data: High density time-series plots Scatterplot matrices Parallel coordinate plots Temporal and spectral correlation plots Box plots Wavelets Radar and /or polar plots Others…… Demonstrations of DVAtool and Matlab examples CCA 2017 Workshop on Process Data Analytics, S. Africa, December 2017 2 Visualizing Multivariate Data Many statistical analyses involve only two variables: a preDictor variable and a response variable. Such data are easy to visualize using 2D scatter plots, bivariate histograms, boxplots, etc. It's also possible to visualize trivariate data with 3D scatter plots, or 2D scatter plots with a third variable encoded with, for example color. However, many datasets involve a larger number of variables, making direct visualization more difficult. This demo explores some of the ways to visualize high- dimensional data in MATLAB®, using the Statistics Toolbox™. Contents High Density plots Scatterplot Matrices Parallel Coordinates Plots In this demo, we'll use the carbig dataset, a dataset that contains various measured variables for about 400 automobiles from the 1970's and 1980's. We'll illustrate multivariate visualization using the values for fuel efficiency (in miles per gallon, MPG), acceleration (time from 0-60MPH in sec), engine Displacement (in cubic inches), weight, and horsepower. We'll use the number of cylinders to group observations. >>load carbig >>X = [MPG,Acceleration,Displacement,Weight,Horsepower]; >>varNames = {'MPG'; 'Acceleration'; 'Displacement'; 'Weight'; 'Horsepower'}; Can do a simple graphical plot as follows: gplotmatrix(X); But this plot is not as revealing or informative as the next plot using the same ‘gplotmatrix’ function. Scatterplot Matrices CCA 2017 Workshop on Process Data Analytics, S.
    [Show full text]