Presentation is loading. Please wait.

Presentation is loading. Please wait.

Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and.

Similar presentations


Presentation on theme: "Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and."— Presentation transcript:

1 Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and Design for Mechanical Measurement by Richard Figliola

2 Content Introduction Statistical Measurement Theory Infinite & Finite Statistics Chi 2 distribution Regression Analysis

3 Introduction For any set of measurement data an average and standard deviation from the average can be determined. The question is how close does this average represent all the measurements in the set? Would a different set of measurements be exactly the same? Do the variations meet the tolerances? How well do the results describe the measurement?

4 Statistical Goals 1.A single value that best characterizes the average of the data set. 2.A value that gives the variation in the data set from the average. 3.A probability that indicates how well the single average value represents the true average value of the variable measured.

5 Statistical Measurement Theory

6 Random Variables One characteristic about measurements is a random scattering of the values obtained that collect around a central value. This behavior is called central tendency. In this sense, the measured variable behaves as a random variable. If the variable is continuous in time or space then it is a continuous random variable. If the variable is continuous but has only discrete values then it is discrete random variable. Probability deals with the concept that certain values of a variable will repeat with some frequency of occurrence.

7 Probability Density Functions The accumulation of the data points repeating about a central point creates a density that occurs with a certain probability. The central value and those values scattered about it can be determined from the probability density of the measured variable. The frequency with which the measured variable assumes a particular value is described by it probability density.

8 Problem Example 4.1 for small data sets This problem develops a statistical analysis of the data set from 20 sample measurements. Each sample, x, is numbered sequentially i from 1 to 20 where 20 is the total number of samples, N. The conditions for this sampling is that the readings taken under identical operating conditions.

9 Problem example continued

10

11 Probability Density Function (PDF) formula for this example Figure 4.2 Histogram and frequency distribution for data in Table 4.1 INSERT FIGURE The probability density function, p(x), above defines the probability that a measured variable might assume a particular value upon any individual measurement and graphically displays the central tendency interval wherein is contained the best estimate of the true mean value.

12 Other Types of Distributions Normal—is used for most physical properties that are continuous or regular in time or space. Variations due to random error. Log normal—used for failure or durability projections; events whose outcomes tend to be skewed toward the extremity of the distribution. Poisson—used for events that occur randomly in time; p(x) refers to probability of observing x events over time.

13 Types of Distributions con’t Weibull—Used in fatigue test; similar to log normal applications. Binomial—Used in situations describing the number of occurrences, n, of a particular outcome during N independent tests where the probability of any outcome, P, is the same.

14 Rule Regardless of the type of distribution a variable can be described by its mean value and variance.

15 Calculation of the true mean value x’ If the measured variable is described by discrete data x i where i=1 to N

16 Or for discrete data:

17 Infinite Statistics There are some fundamental difficulties in working with infinite sets…indicated in the integrals calculating the mean value and variance. Infinite statistics introduces the connection between probability and statistics. One useful distribution used to introduce infinite statistics is the normal or Gaussian distribution.

18 Gaussian Distribution INSERT Figure 4.3, page 118

19 How to use this chart: If (x 1 -x’)/σ = 1.00 then p(z 1 ) =.3413 Probability would be 34.13 % or one standard deviation double-sided value is 68.26%. If (x 1 -x’)/σ = 2.00 then p(z 1 ) =.4772 Probability would be 47.72 % or two standard deviations double-sided value is 95.44%. Two standard deviations means 95% of the values for x are included in the confidence value.

20 Finite Statistics

21 Extending finite statistics the t estimator

22 From the example where N=20, to calculate x i subtract 3 to get v =17 Then pick % of confidence that x i is include in the range, say 90%. In that case t v,P = 1.74 This is the cofactor S x is multiplied by in the equation on the last slide.

23 Standard Deviation of the Means

24 Pooled Statistics Replication are independent estimates of the same measured value, their data represents separate data samples that can be combined to provide a better statistical estimates of a measured variable. Samples that are grouped in a manner so as to determine a common set of statistics are said to be pooled. Use M replications of N samples and the equations on the next slide for pooled data.

25 Pooled Statistics Equations

26 Pooled Statistics Equations if data set are not equal amounts

27 Chi-Squared Distribution

28 Level of Significance In summary: Thus the Chi-square probability is equal to 1- α α is called the level of significance The lower the χ² value the better a data set fits the assumed distribution function. Thus a high α (level of significance) the better the fit. This is called the Goodness-of-Fit Test

29

30 Regression Analysis Regression analysis is used to establish a relationship between the measured variable and an independent variable. The analysis develops a formula that allows you to calculate one value given the other. This analysis is used to fit a curve to data. The deviation between the actual data and the curve is denoted by the notation: S xy

31 Applying Statistics Excel provides some statistical analysis useful with this lab; such as, Average, Variance, Standard Deviation, and Regression Analysis. Using insert formula to add these formulas at the bottom of a column of numbers (remember to label what the number represents…) Regression analysis is available using Trendlines (click add R 2 to graph). At the end of this lab you should be able to point to the better of the two measurement systems and state reason based on your mathematical analysis.

32 Sample spreadsheet

33 Measurement System Error estimate The error in the system is directly related to the error in the calculation of the permeability. Using standard values for area, length, current, and number of turns, you should be able to calculate the permeability coming up with the same value as 4π*10 -7. Column G is my calculated value and the difference (being the error) is in Column H. Finding the average of the error and its standard deviation is adequate assessment of the error in the measurement system.

34 Reproducibility Reproducibility refers to the closeness of agreement in results obtained from duplicate test carried out under changed conditions of measurements. Combining the results from all the various lab groups will allow us to measure that using Trendlines (linear) upon graphing the difference of the implied µ and the actual value of µ. Adding the R 2 value to the chart shows the closeness of the fit and in this case using the sample date for Example 4-1, the lack of reproducibility. Here we’ve added a linear Trendline to the graph of the differences to determine the R 2 value. The value shows the repeatability error. If R 2 is large there is a good likelihood of being able to repeat the test in a predictable fashion. For the instance shown, R 2 is very, very small.

35 Creating a Histograph It is impossible from looking at the data on the previous slide to detect any pattern to the numbers. The only observation is that it looks like noise. A histograph can bring order to disarray. Statistical software packages can fix this or you can write your own software. Complete the homework on this topic and learn how to make a histograph using Excel.


Download ppt "Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and."

Similar presentations


Ads by Google