Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Systems Engineering Program Department of Engineering Management, Information and Systems EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Functions of Random Variables Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering 1 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Functions of Random Variables Theorem: X is a continuous random variable with probability distribution f(x). Let Y = u(X) define a one-to-one transformation between the values of X and Y so that the equation y = u(x) can be uniquely solved for x in terms of y, say x = w(y). Then the probability distribution of Y is: g(y) = f[w(y)]|J| where J = w'(y) and is called the Jacobian of the transformation 2 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Example Consider the situation described by a the figure. Assuming that the double x axis arrow is spun so that has a uniform x density from -(/2) to /2, suppose we want to find the probability density of x, the coordinate at the point to which the double arrow points. We are given 1 f 0 , 2 2 , elsewhere The relationship between x and is given by x = a tan , where a > 0. 3 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Example Hence, and d a 2 dx a x 2 a g x 2 2 a x 1 for - < x < where a > 0. The probability density described below is called the Cauchy distribution. It plays an important role in illustrating various aspects of statistical theory. For example, its moments do not exist. 0 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 x 4 Linear Combinations of Random Variables If X1, X2, ..., Xn are independent random variables with means 1, 2, ..., n and variances 12, 22, ..., n2, respectively, and if a1, a2, … an are real numbers then the random variable n Y ai X i i 1 has mean n Y ai i i 1 and variance n Y2 ai2 i2 i 1 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 5 Linear Combinations of Random Variables If X1, X2, ..., Xn are independent random variables having Normal Distributions with means 1, 2, ..., n and variances 12, 22, ..., n2, respectively, and if n Y ai X i then Y ~ N Y , Y i 1 where n n Y ai i and i 1 a 2 Y i 1 2 i 2 i where a1, a2, … an are real numbers 6 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables If X1, X2, ..., Xn are mutually independent random variables that have, respectively chi-squared distributions with ν1, ν2, ..., νn degrees of freedom, then the random variable Y = X1 + X2 + ... + Xn has a chi-squared distribution with ν = ν1+ ν2+ ...,+ νn degrees of freedom. Remark: The Poisson, the normal and the chi-squared distributions all possess a property in that the sum of independent random variables having any of these distributions is a random variable that also has the same type of distribution. 7 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables Corollary: If X1, X2, ..., Xn are independent random variables having identical normal distributions with mean and variance 2, then the random variable xi Y i 1 n 2 has a chi-squared distribution with = n degrees of freedom, since xi 2 Z ~ 1 2 2 i 8 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables Remark: This corollary is extremely important because it establishes a relationship between the important chi-squared and normal distributions. It also should provide a clear idea of what we mean by the parameter that we call degrees of freedom. Note that if Z1, Z2, ..., Zn are independent standard normal random variables, then n 2 Z 1 i 1 has a chi-squared distribution and the single parameter, , the degrees of freedom, is n, the number of standard normal variates. 9 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables – Example Screws are packaged 100 per box. If individuals have weights that independently and normally distributed with mean of 1 ounce and standard deviation of 0.5 ounce. a. What is the probability that a randomly selected box will weigh more than 110 ounces? b. What is the box weight for which there is a 1% chance of exceeding that weight? c. What would the per screw standard deviation have to be in order that the probability that a randomly selected box of screws will exceed 110 ounces is 5%? 10 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables – Example 100 Y Xi i 1 Y 100 i n 100(1) 100 Y n 1 2 2 i 1 2 2 n 5 Y ~ N(100, 5) a. P(Y > 110) 110 100 P Z 5 PZ 2.00 0.0228 11 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables – Example c 100 b. P(Y > c) P Z 0.01 5 PZ 2.33 0.01 c 100 2.33 5 c 111.65 12 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Linear Combinations of Random Variables – Example c. P(Y > 110) = 0.05 110 100 0.05 P Z Y PZ 1.645 0.05 10 1.645 Y Y 6.079 : 0.5 0.6 0.6079 13 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Tolerance Limits - example Consider the assembly shown. y x1 1=1.00 x2 2=3.00 x3 3=2.00 Suppose that the specifications on this assembly are 6.00 ± 0.06 in. Let each component x1, x2, and x3, be normally and independently distributed with means 1 = 1.00 in., 2 =3.00 in., and 3 = 2.00 in., respectively. 14 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Tolerance Limits - example Suppose that we want the specifications to fall on the inside of the natural tolerance limits of the process for the final assembly such that the probability of falling outside of the specification limits is 7ppm. Establish the specification limits for each component. 15 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Tolerance Limits - example solution The length of the final assembly is normally distributed. Furthermore, if the allowable number of assemblies nonconforming to specifications is 7ppm, this implies that the natural limits must be located at ± 4.49y. (This value can be found on the normal distribution table in the resource section on the web site with a z-value of 0.0000035) σ y 0.06 4.49 0.0134 That is, if y 0.0134, then the number of nonconforming assemblies produced will be less than or equal to 7 ppm. 16 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Tolerance Limits - example solution σ 2y σ12 σ 22 σ 32 0.01342 0.00018 Suppose that the variances of the component lengths are equal. σ 2y 3σ 2 σ 2 σ 2y 3 0.00018 3 0.00006 17 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08 Tolerance Limits - example solution This can be translated into specification limits on the individual components. If we assume natural tolerance limits, then x x 3 so x1 : 1.00 3 0.00006 1.00 0.0232 x 2 : 3.00 3 0.00006 3.00 0.0232 x 3 : 2.00 3 0.00006 2.00 0.0232 18 Stracener_EMIS 7370/STAT 5340_Sum 08_06.24.08