Engineering College of Engineering Engineering Education Innovation Center Analyzing Measurement Data Rev: , MCAnalyzing Data1
Engineering Example Rev: , AMAnalyzing Data2
Engineering Example Rev: , AMAnalyzing Data 3 Most values fall between 14 and 20 m. This data contains an outlier of 45.2 m.
Engineering Represent the Data with a Histogram First, determine an appropriate bin size. The bin size [k] can be assigned directly or can be calculated from a suggested number of bins [h]: Let’s try the most commonly used formula first: Rev: , AMAnalyzing Data4 If you have this many data points [n] Use this number of bins [h] Less than 505 to 7 50 to 996 to to 2507 to 12 More than to 20
Engineering Histogram - Example Rev: , AMAnalyzing Data5 Is this the best way to represent this data? By changing our bin size, [k], we can improve the representation. Bin SizeFrequency
Engineering Histogram - Example Rev: , AMAnalyzing Data6 All 3 histograms represent the exact same data set, but the bin width and number of bins for the two shown above were selected manually. Which one is most descriptive?
Engineering Dealing with outliers Engineers must carefully consider any outliers when analyzing data. It is up to the engineer to determine whether the outlier is a valid data point or if it is invalid and should be discarded. Invalid data points can result from measurement errors or recording the data incorrectly. Rev: , AMAnalyzing Data7
Engineering Characterizing the data Statistics allows us to characterize the data numerically as well as graphically. We characterize data in two ways: –Central Tendency –Variation Rev: , AMAnalyzing Data8
Engineering Central Tendency (Expected Value) Central tendency is a single value that best represents the data. But which number do we choose? Mean Median Mode –Note: For most engineering applications, mean and median are most relevant. Rev: , AMAnalyzing Data9
Engineering Central Tendency - Mean Rev: , AMAnalyzing Data10 Is the mean value a good depiction of the data? How does the outlier affect the mean?
Engineering Central Tendency - Mean Problem: Outliers may decrease the usefulness of the mean as a central value. Observe how outliers can affect the mean for this simple data set: Rev: , AMAnalyzing Data Without outliers Changing 3 to -112 Outlier: -112 Changing 44 to 212 Outlier: 212 Solution: Look at the median.
Engineering Central Tendency - Median Rev: , AMAnalyzing Data12 n = 20 even number of data points. Must take the average of the 2 middle values Which value looks like a better representation of the data? Mean (18.47) or median (17.4)? Why?
Engineering Central Tendency Median Rev: , AMAnalyzing Data13 Using the simple data set, observe how the median reduces the impact of outliers on the central tendency. Median = 21
Engineering Central Tendency – Mean and Median Which value, the mean (18.47 m) or the median (17.4) is a better representation of the data? Rev: , AMAnalyzing Data14
Engineering Characterizing the data We can select a value of central tendency to represent the data, but is one number enough? It is also important to know how much variation there is in the data set. Variation refers to how the data is distributed around the central tendency value. Rev: , AMAnalyzing Data15
Engineering Variation As with central tendency, there are multiple ways to represent the variation of a set of data. ± (“Plus, Minus”) gives the range of the values. Standard Deviation provides a more sophisticated look at how the data is distributed around the central value. Rev: , AMAnalyzing Data16
Engineering Variation - Standard Deviation Definition: how closely the values cluster around the mean; how much variation there is in the data Equation: Rev: , AMAnalyzing Data17
Engineering Standard Deviation Example Rev: , MCAnalyzing Data18 mean = ∑ =
Engineering Standard Deviation: Interpretation Rev: , AMAnalyzing Data19 These curves describe the distribution of students’ exam grades. The average value is an 83%. Which class would you rather be in? Curve B Curve A AA BB
Engineering Data that is normally distributed occurs with greatest frequency around the mean. Normal distributions are also frequently referred to as Gaussian distributions or bell curves Normal Distribution Rev: , AMAnalyzing Data20 Frequency Bins mean
Engineering Normal Distribution Rev: , AMAnalyzing Data21 Mean = Median = Mode -68% of values fall within 1 SD -95% of values fall within 2 SDs
Engineering Other Distributions Rev: , AMAnalyzing Data22 Skewed distributions: Multimodal distribution: Uniform distribution:
Engineering What we’ve learned This lecture has introduced some basic statistical tools that engineers use to analyze data. Histograms are used to represent data graphically. Engineers use both central tendency and variation to numerically describe data. Rev: , AMAnalyzing Data23