Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 4-1 Continuous Random Variables 主講人 : 虞台文.

Similar presentations


Presentation on theme: "Chapter 4-1 Continuous Random Variables 主講人 : 虞台文."— Presentation transcript:

1 Chapter 4-1 Continuous Random Variables 主講人 : 虞台文

2 Content Random Variables and Distribution Functions Probability Density Functions of Continuous Random Variables The Exponential Distributions The Reliability and Failure Rate The Erlang Distributions The Gamma Distributions The Gaussian or Normal Distributions The Uniform Distributions

3 Random Variables and Distribution Functions Chapter 4-1 Continuous Random Variables

4 The Temperature in Taipei 今天中午台北市氣溫為 25  C 之機率為何 ? 今天中午台北市氣溫小於 或等於 25  C 之機率為何 ?

5 Renewed Definition of Random Variables A random variable X on a probability space ( , A, P) is a function X :  R that assigns a real number X(  ) to each sample point , such that for every real number x, the set {  |X(  )  x} is an event, i.e., a member of A.

6 The (Cumulative) Distribution Functions The (cumulative) distribution function F X of a random variable X is defined to be the function F X (x) = P(X  x), −  < x < .

7 Example 1

8

9 R y

10 R y

11

12 R RYRY R/2

13 Example 1

14

15 Properties of Distribution Functions 1. 0  F(x)  1 for all x ; 2. F is monotonically nondecreasing; 3. F(  ) = 0 and F(  ) =1 ; 4. F(x+) = F(x) for all x.

16 Definition  Continuous Random Variables A random variable X is called a continuous random variable if

17 Example 2

18 Probability Density Functions of Continuous Random Variables Chapter 4-1 Continuous Random Variables

19 Probability Density Functions of Continuous Random Variables A probability density function (pdf) f X (x) of a continuous random variable X is a nonnegative function f such that

20 Probability Density Functions of Continuous Random Variables A probability density function (pdf) f X (x) of a continuous random variable X is a nonnegative function f such that

21 Properties of Pdf's Remark: f(x) can be larger than 1.

22 Example 3

23

24

25

26 1/3 0.25926

27 The Exponential Distributions Chapter 4-1 Continuous Random Variables

28 The Exponential Distributions The following r.v.’s are often modelled as exponential: 1. Interarrival time between two successive job arrivals. 2. Service time at a server in a queuing network. 3. Life time of a component.

29 The Exponential Distributions A r.v. X is said to possess an exponential distribution and to be exponentially distributed, denoted by X ~ Exp( ), if it possesses the density

30 The Exponential Distributions : arriving rate : failure rate pdf cdf

31 The Exponential Distributions : arriving rate : failure rate pdf cdf

32 Memoryless or Markov Property

33

34 Exercise: 連續型隨機變數中,唯有指數分佈具備無記憶性。

35 The Relation Between Poisson and Exponential Distributions : arriving rate : failure rate NtNt Let r.v. N t denote #jobs arriving to a computer system in the interval (0, t]. t 0

36 The Relation Between Poisson and Exponential Distributions Let X denote the time of the next arrival. : arriving rate : failure rate The next arrival NtNt Let r.v. N t denote #jobs arriving to a computer system in the interval (0, t]. t 0 X

37 The Relation Between Poisson and Exponential Distributions Let X denote the time of the next arrival. : arriving rate : failure rate The next arrival NtNt Let r.v. N t denote #jobs arriving to a computer system in the interval (0, t]. t 0 X 能求出 P(X > t) 嗎 ?

38 The Relation Between Poisson and Exponential Distributions Let X denote the time of the next arrival. : arriving rate : failure rate The next arrival NtNt Let r.v. N t denote #jobs arriving to a computer system in the interval (0, t]. t 0 X 能求出 P(X > t) 嗎 ?

39 The Relation Between Poisson and Exponential Distributions Let X denote the time of the next arrival. : arriving rate : failure rate NtNt Let r.v. N t denote #jobs arriving to a computer system in the interval (0, t]. t 0 X The next arrival

40 The Relation Between Poisson and Exponential Distributions : arriving rate : failure rate t1t1 t2t2 t3t3 t4t4 t5t5 The interarrival times of a Poisson process are exponentially distributed.

41 Example 5 0 10 secs = 0.1 job/sec P (“ No job ” ) = ?

42 Example 5 0 10 secs = 0.1 job/sec P (“ No job ” ) = ? Method 1: Method 2: Let N 10 represent #jobs arriving in the 10 secs. Let X represent the time of the next arriving job.

43 The Reliability and Failure Rate Chapter 4-1 Continuous Random Variables

44 Definition  Reliability Let r.v. X be the lifetime or time to failure of a component. The probability that the component survives until some time t is called the reliability R(t) of the component, i.e., R(t) = P(X > t) = 1  F(t) Remarks: 1. F(t) is, hence, called unreliability. 2. R ’ (t) =  F ’ (t) =  f(t) is called the failure density function.

45 The Instantaneous Failure Rate 剎那間,ㄧ切化作永恆。

46 The Instantaneous Failure Rate 0t tt t+  t 生命將在時間 t 後瞬間結束的機率

47 The Instantaneous Failure Rate 生命將在時間 t 後瞬間結束的機率

48 The Instantaneous Failure Rate 瞬間暴斃率 h(t)

49 The Instantaneous Failure Rate 瞬間暴斃率 h(t)

50 Example 6 Show that the failure rate of exponential distribution is characterized by a constant failure rate. 以指數分配來 model 物件壽命之機率分配合理嗎 ?

51 More on Failure Rates t h(t)h(t) CFR

52 More on Failure Rates t h(t)h(t) CFR Useful Life CFR DFR IFR

53 More on Failure Rates t h(t)h(t) CFR Useful Life CFR DFR IFR Exponential Distribution Exponential Distribution ??

54 Relationships among F(t), f(t), R(t), h(t)

55

56

57 ? ? ?

58 Cumulative Hazard

59 Relationships among F(t), f(t), R(t), h(t)

60 Example 7

61 The Erlang Distributions Chapter 4-1 Continuous Random Variables

62 我的老照相機與閃光燈 它只能使用四次 每使用一次後轉動九十度 使用四次後壽終正寢 它只能使用四次 每使用一次後轉動九十度 使用四次後壽終正寢

63 time The Erlang Distributions The lifetime of my flash ( X ) I(X)=? f X (t)=? [0,  )

64 The Erlang Distributions Consider a component subjected to an environment so that N t, the number of peak stresses in the interval (0, t], is Poisson distributed with parameter t. Suppose that the r th peak will cause a failure. Let X denote the lifetime of the component. Then, N t ~ P( t) cdf

65 The Erlang Distributions Consider a component subjected to an environment so that N t, the number of peak stresses in the interval (0, t], is Poisson distributed with parameter t. Suppose that the r th peak will cause a failure. Let X denote the lifetime of the component. Then, N t ~ P( t) Exercise of Chapter 2 cdf pdf

66 The r-Stage Erlang Distributions Consider a component subjected to an environment so that N t, the number of peak stresses in the interval (0, t], is Poisson distributed with parameter t. Suppose that the r th peak will cause a failure. Let X denote the lifetime of the component. Then, cdf pdf

67 The r-Stage Erlang Distributions cdf pdf

68 The r-Stage Erlang Distributions pdf

69 Example 8 In a batch processing environment, the number of jobs arriving for service is 9 per hour. If the arrival process satisfies the requirement of a Poisson experiment. Find the probability that the elapse time between a given arrival and the fifth subsequent arrival is less than 10 minutes. Let X represent the time of the 5 th arrival. = 9 jobs/hr.

70 The Gamma Distributions Chapter 4-1 Continuous Random Variables

71 Review pdf r 為一正整數 欲將之推廣為正實數 r 為一正整數 欲將之推廣為正實數

72 Review pdf   

73 The Gamma Distributions pdf

74 Review

75 Chi-Square Distributions

76 The Gaussian or Normal Distributions Chapter 4-1 Continuous Random Variables

77 The Gaussian or Normal Distributions 德國的 10 馬克紙幣, 以高斯 (Gauss, 1777-1855) 為 人像, 人像左側有一常態分佈之 p.d.f. 及其圖形。

78 The Gaussian or Normal Distributions pdf

79 The Gaussian or Normal Distributions  : mean  : standard deviation  2 : variance Inflection point Inflection point

80 The Gaussian or Normal Distributions  : mean  : standard deviation  2 : variance varying  varying 

81 The Gaussian or Normal Distributions  : mean  : standard deviation  2 : variance Facts:

82 The Gaussian or Normal Distributions  : mean  : standard deviation  2 : variance

83 Standard Normal Distribution

84 Table of N(0, 1) z

85 z Fact:

86 Probability Evaluation for N( ,  2 ) x 

87 x 

88 x  Fact:

89 Example 9 X ~ N(12.00, 0.20 2 )

90 Example 9 X ~ N(12.00, 0.20 2 )

91 Example 9 X ~ N(12.00, 0.20 2 )

92 Example 9 X ~ N(12.00, 0.20 2 )

93 Example 10  |X   | <  |X   | < 2  |X   | < 3 

94 Example 10

95

96

97 The Uniform Distributions Chapter 4-1 Continuous Random Variables

98 The Uniform Distributions pdf cdf ab x f(x)f(x) ab x F(x)F(x) 1

99 Summary The Exponential Distributions The Erlang Distributions The Gamma Distributions The Gaussian or Normal Distributions The Uniform Distributions


Download ppt "Chapter 4-1 Continuous Random Variables 主講人 : 虞台文."

Similar presentations


Ads by Google