PowerPoint 簡報

Similar documents
基礎統計

基礎統計

Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/

基礎統計

Introduction to Hamilton-Jacobi Equations and Periodic Homogenization

ENGG1410-F Tutorial 6

Microsoft Word - ch05note_1210.doc

PowerPoint Presentation

untitled

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

When the rejection rule for a test at every level α can be re-written as then xxx is the p-value of the test. xxx < α, If p-value < α, then the test c

Untitled-3


Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

➀ ➁ ➂ ➃ ➄ ➅ ➆ ➇ ➈ ➉ Lecture on Stochastic Processes (by Lijun Bo) 2

統計課程目錄95

建築工程品質管理案例研討

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

東吳大學

Microsoft Word - p11.doc

untitled

第一章合成.ppt

~ ~

Microsoft Word - A doc

Microsoft PowerPoint _代工實例-1

GCSE Mathematics Question Paper Unit 2 March 2012

BC04 Module_antenna__ doc

spss.doc

3.1 ( ) (Expectation) (Conditional Mean) (Median) Previous Next

中国科学技术大学学位论文模板示例文档

Microsoft Word doc

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Microsoft PowerPoint - STU_EC_Ch08.ppt

Lecture #4: Several notes 1. Recommend this book, see Chap and 3 for the basics about Matlab. [1] S. C. Chapra, Applied Numerical Methods with MATLAB

國立中山大學學位論文典藏.PDF

國立中山大學學位論文典藏.PDF

2015年4月11日雅思阅读预测机经(新东方版)

Microsoft PowerPoint - CH 04 Techniques of Circuit Analysis

高中英文科教師甄試心得

3 (s05q6) The diagram shows the velocity-time graph for a lift moving between floors in a building. The graph consists of straight line segments. In t

46 數 學 傳 播 26 卷 3 期 民 91 年 9 月 表 演, 有 些 賭 場 還 每 小 時 發 遊 客 1 美 元, 可 連 發 7 小 時 一 個 目 的, 都 是 吸 引 遊 客 流 連 忘 返, 持 續 地 賭 開 賭 場 當 然 是 為 了 賺 錢, 利 用 機 率 來 設 計

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Microsoft Word - HC20138_2010.doc

從詩歌的鑒賞談生命價值的建構

HCD0174_2008

PowerPoint Presentation

,, :, ;,,?, : (1), ; (2),,,, ; (3),,, :,;; ;,,,,(Markowitz,1952) 1959 (,,2000),,, 20 60, ( Evans and Archer,1968) ,,,

untitled

Settlement Equation " H = CrH 1+ e o log p' o + ( p' p' c o! p' o ) CcH + 1+ e o log p' c + p' f! ( p' p' c c! p' o ) where ΔH = consolidation settlem

穨control.PDF

( )

中山大學學位論文典藏

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

ii

untitled

Microsoft Word - 07.docx

hks298cover&back

Microsoft Word - Probability.doc

<4D F736F F D20B3C2B9FAD5D7C2DBCEC4C5C5B0E62E646F63>

Microsoft Word - Final Exam Review Packet.docx

)

國立中山大學學位論文典藏.PDF

論 文 摘 要 本 文 乃 係 兩 岸 稅 務 爭 訟 制 度 之 研 究, 蓋 稅 務 爭 訟 在 行 訴 訟 中 一 直 占 有 相 當 高 的 比 例, 惟 其 勝 訴 率 一 直 偏 低, 民 87 年 10 月 28 日 行 訴 訟 法 經 幅 修 正 後, 審 級 部 分 由 一 級 一


穨423.PDF

<4D F736F F D203338B4C12D42A448A4E5C3C0B34EC3FE2DAB65ABE1>

untitled

星河33期.FIT)

Microsoft Word - 生活禮儀柯友惠981

南華大學數位論文

1 引言

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

Microsoft PowerPoint - NCBA_Cattlemens_College_Darrh_B

JOURNAL OF EARTHQUAKE ENGINEERING AND ENGINEERING VIBRATION Vol. 31 No. 5 Oct /35 TU3521 P315.


國家圖書館典藏電子全文

1505.indd

目 录 第 一 章 电 力 行 业 内 部 控 制 操 作 指 南 概 述... 1 第 二 章 内 部 控 制 规 范 体 系 建 设 与 运 行 第 三 章 内 部 环 境 建 设 第 一 节 组 织 架 构 第 二 节 发 展 战 略 第 三 节

PowerPoint Template

Welch & Bishop, [Kalman60] [Maybeck79] [Sorenson70] [Gelb74, Grewal93, Maybeck79, Lewis86, Brown92, Jacobs93] x R n x k = Ax k 1 + Bu k 1 + w

敘述統計概論

吴 郁 玲 等 : 农 户 对 宅 基 地 使 用 权 确 权 效 应 的 认 知 研 究 以 武 汉 市 为 例 29 the paper tried to provide a basis to improve the confirmation policy efficiency and to f

热设计网

% 82. 8% You & Kobayashi % 2007 %

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

Transcription:

統計學 ( 一 ) 第五章連續型隨機變數 (Continuous Random Variables) 授課教師 : 唐麗英教授 國立交通大學工業工程與管理學系聯絡電話 :(03)5731896 e-mail:litong@cc.nctu.edu.tw 2013 本講義未經同意請勿自行翻印

本課程內容參考書目 教科書 Mendenhall, W., & Sincich, T. (2007). Statistics for engineering and the sciences, 5th Edition. Prentice Hall. 參考書目 Berenson, M. L., Levine, D. M., & Krehbiel, T. C. (2009). Basic business statistics: Concepts and applications, 11th Edition. Upper Saddle River, N.J: Pearson Prentice Hall. Larson, H. J. (1982). Introduction to probability theory and statistical inference, 3rd Edition. New York: Wiley. Miller, I., Freund, J. E., & Johnson, R. A. (2000). Miller and Freund's Probability and statistics for engineers, 6th Edition. Upper Saddle River, NJ: Prentice Hall. Montgomery, D. C., & Runger, G. C. (2011). Applied statistics and probability for engineers, 5th Edition. Hoboken, NJ: Wiley. Watson, C. J. (1997). Statistics for management and economics, 5th Edition. Englewood Cliffs, N.J: Prentice Hall. 林惠玲 陳正倉 (2009), 統計學 : 方法與應用, 第四版, 雙葉書廊有限公司 唐麗英 王春和 (2013), 從範例學 MINITAB 統計分析與應用, 博碩文化公司 唐麗英 王春和 (2008), SPSS 統計分析 14.0 中文版, 儒林圖書公司 唐麗英 王春和 (2007), Excel 2007 統計分析, 第二版, 儒林圖書公司 唐麗英 王春和 (2005), STATISTICA6.0 與基礎統計分析, 儒林圖書公司 陳順宇 (2004), 統計學, 第四版, 華泰書局 彭昭英 唐麗英 (2010), SAS123, 第七版, 儒林圖書公司 統計學 ( 一 ) 唐麗英老師上課講義 2

隨機變數的兩種型式 1) 定義 : 離散型隨機變數 (Discrete Random Variable) 離散型隨機變數為計數值的隨機變數 例 : 生產線上某次抽檢之不良品的數目 2) 定義 : 連續型隨機變數 (Continuous Random Variable) 連續型隨機變數為連續值的隨機變數 例 : 厚度 重量與長度 統計學 ( 一 ) 唐麗英老師上課講義 3

隨機變數的兩種型式 例 1 : Each of the following experiments results in one value of the random variable (one measurement). 1. State whether the random variable is a discrete or continuous. 2. Determine, at least in principle, all possible values of the random variable. a) The number of the leaves on a tree. b) The time required to read the book How to lie with Statistics c) The number of women in a jury of 12. d) The speed of a passing car. e) The number of heads observed when flip a coin two times. f) The sum of the two numbers that occur when roll a pair of 統計學 ( 一 ) 唐麗英老師上課講義 fair dice one time. 4

(Cumulative) Distribution Function (c.d.f.) Def: The (Cumulative) Distribution Function ( 簡稱 c.d.f. or d.f.) 累加函數 The distribution function (c.d.f.) of a random variable X is defined to be F X t = P X t for t Remark: If X is a discrete R.V., then F X t = P(X = t) x t (i.e. F X t 是一累積機率函數 ) 統計學 ( 一 ) 唐麗英老師上課講義 5

Example

(Cumulative) Distribution Function (c.d.f.) 例 2 : Suppose a hat contains four slips of paper; each slip bears the number 1, 2, 3 and 4. One slip is drawn from the hat without looking. Let X be the number on the slip that is drawn. 1) What is the probability function of X? 2) What is the distribution function of X? 3) Graph the distribution function of X. 統計學 ( 一 ) 唐麗英老師上課講義 7

(Cumulative) Distribution Function (c.d.f.) Properties or Requirements of F(x) 1) If a < b, then F a F b (i.e. F(x) is a monotone nondecreasing function. 單調非減函數 ) 2) lim X t t = 0 3) lim F X t t = 1 4) F X t is a right continuous function. ( 右連續函數 ) (i.e., lim F t + h h 0 = F t for any t and h > 0) Remarks: We may use the c.d.f., F X (t), to evaluate the probability that X lies in a particular interval. 統計學 ( 一 ) 唐麗英老師上課講義 8

(Cumulative) Distribution Function (c.d.f.) 例 3 : Show that P a < X b = F X b F X a Proof: 例 4 : Show that P X < b = lim h 0 F(b h). Proof: Note: If X is a discrete R.V., then P X b P X < b. Why? 統計學 ( 一 ) 唐麗英老師上課講義 9

(Cumulative) Distribution Function (c.d.f.) 例 5 : Verify that F y ( t) 0 1/ 3 7 /12 11/12 1 t 2 2 t 1 1 t 5 5 t 11 11 t is a distribution function and specify the probability function for Y. Use it to compute P(-1 < Y < 2) 統計學 ( 一 ) 唐麗英老師上課講義 10

The Density Function for a Continuous Random Variable 統計學 ( 一 ) 唐麗英老師上課講義 11

Continuous Random Variable Def: Continuous Random Variable X is a continuous random variable if its distribution function, F X (t), is a continuous function of X, for < t <. For a continuous R.V. X, the role of the probability function is taken by a probability density function, f(x). 統計學 ( 一 ) 唐麗英老師上課講義 12

The Density Function for a Continuous R.V. Def: The Probability Density Function of a Continuous R.V. Let X be a continuous random variable with distribution function, F(x) = P(X x). The probability density function for X is f(x) = df(x) dx = F (x) The range for a continuous R.V. X is R x = {x f(x) 0}. 統計學 ( 一 ) 唐麗英老師上課講義 13

Example

The Density Function for a Continuous R.V. The properties of the probability density function, f(x): 1) f x 0 2) f x dx = 1 Remark: If X is a continuous R.V. with a density function f(x), then for any a < b the probability that X falls in the interval (a, b) is the area under the density function between a and b: P a X b b = f x dx a 統計學 ( 一 ) 唐麗英老師上課講義 15

The Density Function for a Continuous R.V. Remark: If X is a continuous R.V., then the probability that X takes on any particular value is 0: P X = t = 0 If X is a continuous R.V., then P a X b = P a X < b = P a < X b = P(a < X < b) Note : this is not true for a discrete R.V. 統計學 ( 一 ) 唐麗英老師上課講義 16

The Density Function for a Continuous R.V. Remark: The c.d.f. can also be defined as t F X t = P X t = f x dx. The c.d.f. can be used to evaluate the probability that X falls in an interval: P a X b = F X b F X a = f x dx f x dx b a 統計學 ( 一 ) 唐麗英老師上課講義 17

The Density Function for a Continuous R.V. Example 6: Verify that F X t = 0, t < 0 t, 0 t 1 1, t > 1 is a distribution function and derive the density function for X. Use it to compute P(1/4 < X < 3/4) 統計學 ( 一 ) 唐麗英老師上課講義 18

The Density Function for a Continuous R.V. 例 7 : Given Y has probability density function f y = 1, 99 < y < 100 0, otherwise derive F Y (t). 統計學 ( 一 ) 唐麗英老師上課講義 19

Expected Values and Summary Measures 統計學 ( 一 ) 唐麗英老師上課講義 20

Expected Value Measure of the Center of a probability Function ( 衡量機率函數 重心 之指標 ) Mean or the Expected Value Recall : The Expected Value of a Discrete Random Variable If X is a discrete R.V. with the probability mass function p(x), the Expected Value of X, denote by E(X) or μ X (Greek letter mu), is E X = μ X = x p(x) all x provide X p x <. If the sum diverges, the expectation is undefined. Note: E X = μ X is the balancing point of the probability function 統計學 ( 一 ) 唐麗英老師上課講義 21

Expected Value Def : The Expected Value of a Continuous Random Variable If X is a continuous R.V. with the density function f(x), the Expected Value of X, is E X = μ X = x f x dx provided Remark : x f x dx <. If the integral diverges, the expectation is undefined. E(X) is a weighted average of all possible value of X with each value weighted by it associated probability. 統計學 ( 一 ) 唐麗英老師上課講義 22

Variability of a Probability Function Measure of the variability of a Probability Function ( 衡量機率函數 變異 之指標 ) Variance or Standard Deviation Def : The Variance and Standard Deviation of any R.V. X Var(X) = σ 2 = E[(X μ) 2 ]= E X 2 μ 2 St. D.(X) = σ = σ 2 統計學 ( 一 ) 唐麗英老師上課講義 23

Definition and Theorem Def : Let X be a continuous R.V. with the density function f(x), and let g(x) be any function of X. Then the expected value of g(x) is E g(x) = g(x) f x dx Theorem 5.1: Let X be a continuous R.V., and let g 1 (X), g 2 (X),, g k (X) be k functions of X. Then, a) E(C)= C, where C is any constant. b) E[C X]=C E[X] c) E[g 1 (X)+g 2 (X)+ +g k (X)] = E[g 1 (X)]+ E[g 2 (X)]+ + E[g k (X)] 統計學 ( 一 ) 唐麗英老師上課講義 24

Definition and Theorem Theorem 5.2 : Let X be a continuous R.V. with E(X)=m. Then, σ 2 =E[(X μ) 2 ]= E X 2 μ 2 Theorem 5.3 : Let X be a continuous R.V. (discrete or continuous) with E(X)=μ X and Var(X)= σ X 2. If Y=aX+b, where a and b are any constants, then a) μ Y = aμ X + b b) σ Y 2 =a 2 σ X 2 c) σ Y = a σ X 統計學 ( 一 ) 唐麗英老師上課講義 25

Expected Values and Summary Measures for Continuous R.V. Example 1 : Suppose E(X)=5, Var(X)=10, Find a) E(3X-5) b) Var(3X-5) 統計學 ( 一 ) 唐麗英老師上課講義 26

Expected Values and Summary Measures for Continuous R.V. Example 2: Suppose you agree to meet a friend (who is generally late) at a specified time. Assume that you arrive on time and let the random variable T be the length of time you must wait for you friend. If the density function for T is assume to be f t = 1 t 2, t 1 (minute) Find the time you should expect to wait. 統計學 ( 一 ) 唐麗英老師上課講義 27

Expected Values and Summary Measures for Continuous R.V. Example 3: Let X be a continuous R.V. with the density function f(x) = 2x, 0 < x <1 Find a) E(X) b) E(X 2 ), Var(X), St.D.(X) 統計學 ( 一 ) 唐麗英老師上課講義 28

Expected Values and Summary Measures for Continuous R.V. Example 4: If T is a continuous R.V. with c.d.f. F T (t) = 0 t < 0 = t 0 t 1 = 1 t > 1 Find a) mean, E(T) b) Var(T) and St.D.(T) 統計學 ( 一 ) 唐麗英老師上課講義 29

課本例 Example 5.5 Let Y be a continuous random variable with probability density function f ( y) e y / 2 2 0 if 0 y elsewhere Find the mean, variance and standard deviation of Y 統計學 ( 一 ) 唐麗英老師上課講義 30

Solution : 課本例 Example 5.5 y / 2 ye E( Y ) yf ( y) dy dy 0 2 ay ay e ye dy ( ay 1) 2 a 1 By substituting a, we obtain 2 0 ye y 2 / 2 dy 1 2 (4) 2 統計學 ( 一 ) 唐麗英老師上課講義 31

課本例 Example 5.5 To find y m e σ 2 ay Then with E( Y 2 ), we will first find E(Y dy a y 2 y 1 2 e a m ay and m f ( y) dy m a 2, 0 y 2 m1 ) by making use of e ay we ca y 2 e 2 y / 2 dy write dy 1 2 (16) the general formula 8 σ 2 E(Y 2 2 ) 8 2 2 4 σ σ 2 4 2 統計學 ( 一 ) 唐麗英老師上課講義 32

課本例 Example 5.6 Find P(μ 2σ Y μ 2σ) from Example 5.5 Solution : We showed in Example 5.5 that 2 and 2 Therefore, μ-2σ 2-4 -2 and μ 2σ 6, then P(μ 2σ Y μ 2σ) 0 6 e f ( y) dy y / 2 6 0 1 e 1 0.049787 0.950213 0 6 e y / 2 2 3 dy 統計學 ( 一 ) 唐麗英老師上課講義 33

連續型機率分佈 統計學 ( 一 ) 唐麗英老師上課講義 34

連續型機率分佈 常用的連續型機率分佈 1) 常態分佈 (Normal Distribution) 2) 對數常態分佈 (Lognormal Distribution) 3) 齊一分佈 (Uniform Distribution) 4) 珈瑪分佈 (Gamma Distribution) 5) 指數分佈 (Exponential Distribution) 6) 韋伯分佈 (Weibull Distribution) 7) 貝塔分佈 (Beta Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 35

常態分佈 (Normal Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 36

常態分佈 (Normal Distribution) 何謂常態分佈? 自然界所觀察到的許多連續型隨機變數常呈鐘形分佈, 如下圖所示 此鐘形分佈又稱為常態分佈 ( 或高斯分佈 ) Source : http://en.wikipedia.org/wiki/carl_friedrich_gauss 統計學 ( 一 ) 唐麗英老師上課講義 37

常態機率分佈 常態分佈 (Normal Distribution) f ( x) 1 e 2 2 2 ( x ) / 2, x 其中 π = Mathematical constant approximated by 3.1416 e = Mathematical constant approximated by 2.718 μ = Population mean or the true mean σ 2 = Population variance It is denoted by N(, ) 統計學 ( 一 ) 唐麗英老師上課講義 38

常態分佈 (Normal Distribution) 常態曲線 原始資料之 μ 與 σ 值不同時, 其常態曲線之變化亦不同 每一常態分佈, 可以 N(μ,σ) 表之 統計學 ( 一 ) 唐麗英老師上課講義 39

常態分佈 (Normal Distribution) N(μ,σ) 的特性 1) 對稱於 μ 2) 隨機變數 x 之值可由 - 至 + 3) 鐘形分佈 4) 曲線下之面積為 1 5) 集中趨勢的三個量數 ( 平均數 中位數及眾數 ) 是一致的 平均數 = 中位數 = 眾數統計學 ( 一 ) 唐麗英老師上課講義 40

常態分佈 (Normal Distribution) μ 與 σ 如何影響常態曲線 1) 下圖是三條有相同平均數 μ 但不同標準差 (σ 1, σ 2, σ 3, σ 1 <σ 2 <σ 3 ) 之常態曲線 由此圖中你觀察到什麼? 統計學 ( 一 ) 唐麗英老師上課講義 41

常態分佈 (Normal Distribution) 2) 下圖是三條有相同標準差 σ 但不同平均數 (μ 1, μ 2, μ 3, μ 1 <μ 2 <μ 3 ) 之常態曲線 由此圖中你觀察到什麼? 由 1) 與 2) 可知 : - 位置參數 (Location parameter) - 變異參數 (Dispersion parameter) 統計學 ( 一 ) 唐麗英老師上課講義 42

如何使用常態機率表 何謂標準常態分佈? 平均數為 0 標準差為 1 之常態分佈稱為標準常態分佈, 以 N(0,1) 表之 例 : 令 Z 為 N(0,1) 之隨機變數, 亦即 Z~N(0,1), 其常態曲線如下圖 則,P(2 Z 3) = 曲線下介於 與 之間的面積 = 陰影部份 之面積 統計學 ( 一 ) 唐麗英老師上課講義 43

常態分佈 (Normal Distribution) 如何利用表查出標準常態之機率 下頁表為標準常態分佈 N(0, 1) 之機率表 設 Z~N(0, 1), 請利用表找出下列之機率 : 1) P(0 Z 1.96)= 2) P(-1.81 Z 1.81)= 3) P(0.53 Z 2.42)= 4) P(Z -0.36)= 統計學 ( 一 ) 唐麗英老師上課講義 44

利用表求 P(0 Z 1.96) =

利用表求 P(-1.81 Z 1.81)=

利用表求 P(0.53 Z 2.42)=

利用表求 P(Z -0.36)=

常態分佈 (Normal Distribution) 設 Z~N(0, 1), 請利用表 C 值 : 1) P(Z < C) = 0.95 2) P(Z > C) = 0.7019 3) P(Z > C) = 0.1379 4) P(Z < C) = 0.0110 統計學 ( 一 ) 唐麗英老師上課講義 50

利用表求 C P(Z < C) = 0.95

利用表求 C P(Z > C) = 0.7019

利用表求 C P(Z > C) = 0.1379

利用表求 C P(Z < C) = 0.0110

常態分佈 (Normal Distribution) 如何求出一般常態變數之機率 作法 : 先將其標準化 (Standardize), 轉換成標準常態變數後, 再求其機率 標準化之公式如下 : X Z, 其中 Z~N( 0, 1) 例 : 設 X~N(10,2), 平均數 =10, 標準差 =2 a) 請找出 X 介於 11 與 13.6 間之機率 b) 請找出 X 大於 12 之機率 統計學 ( 一 ) 唐麗英老師上課講義 55

X~N(10,2), 利用右表求 P(11 X 13.6) =? P(11 X 13.6) 1110 13.6 10 P( Z ) 2 2 P(0.5 Z 1.8)

X~N(10,2), 利用右表求 P(X > 12) =? P( X 12) 12 10 P( Z ) 2 P( Z 1) 1 P( Z 1)

常態分佈 (Normal Distribution) 例 : 假設某產品之長度資料呈常態分佈, 其平均數為 38.5 公分, 標準差為 2.5 公分 若此產品之規格界限為 38±2, 請問此產品之不良率為何? 統計學 ( 一 ) 唐麗英老師上課講義 58

規格界限為 38±2 長度 X~N(38.5,2.5), 良率 P(36 X 40) =? P(36 X 40) 36 38.5 P( Z 2.5 P( 1 Z 0.6) 0.3413 0.2257 0.567 40 38.5 ) 2.5 不良率 = 1- 良率 = 1-0.567 = 0.433

檢查數據是否呈常態分佈 統計學 ( 一 ) 唐麗英老師上課講義 60

檢查數據是否呈常態分佈 1) 利用直方圖 只要出現鐘形分佈圖形, 即判定數據呈常態分佈 2) 利用常態機率圖 只要圖形呈直線, 即判定數據呈常態分佈 3) 利用統計檢定 只要顯著度 p-value > 0.05, 即判定數據呈常態分佈 a. 卡方適配度檢定 (Chi-Square Goodness-of-fit Test) b. K-S 檢定 (Kolmogorov-Smirnov test) c. A-D 檢定 (Anderson-Darling Test) 統計學 ( 一 ) 唐麗英老師上課講義 61

檢查數據是否呈常態分佈 下列 75 筆數據為某模具上的孔徑尺寸值 (mm), 請檢查數據是否呈常態分佈? 0.88 0.87 1.09 1.10 1.20 0.95 0.69 1.15 1.12 0.77 0.72 0.89 1.00 0.94 0.79 1.39 0.96 0.93 1.15 1.10 0.81 1.15 1.32 1.34 1.28 0.88 1.26 1.24 0.98 1.13 0.94 1.18 1.07 0.74 1.06 1.12 0.85 1.03 1.28 0.83 0.69 0.87 0.89 1.16 0.76 0.95 0.76 1.09 0.99 0.67 0.98 0.95 1.04 1.40 1.10 1.29 0.64 0.95 0.95 1.42 1.54 1.01 0.72 1.06 0.88 0.87 0.95 1.21 0.96 1.04 1.09 0.96 1.02 0.99 0.97 統計學 ( 一 ) 唐麗英老師上課講義 62

Frequency 繪製直方圖 20 Histogram of SPI Normal Mean 1.013 StDev 0.1941 N 75 15 10 5 0 0.6 0.8 1.0 SPI 1.2 1.4 統計學 ( 一 ) 唐麗英老師上課講義 63

Percent 繪製常態機率圖 99.9 99 95 90 80 70 60 50 40 30 20 10 5 Probability Plot of SPI Normal Mean 1.013 StDev 0.1941 N 75 AD 0.318 P-Value 0.530 1 0.1 0.50 0.75 1.00 SPI 1.25 1.50 1.75 統計學 ( 一 ) 唐麗英老師上課講義 64

連續型機率分佈 常用的連續型機率分佈 1) 常態分佈 (Normal Distribution) 2) 對數常態分佈 (Lognormal Distribution) 3) 齊一分佈 (Uniform Distribution) 4) 珈瑪分佈 (Gamma Distribution) 5) 指數分佈 (Exponential Distribution) 6) 韋伯分佈 (Weibull Distribution) 7) 貝塔分佈 (Beta Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 65

對數常態分佈 (Lognormal Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 66

對數常態分佈 (Lognormal Distribution) The log-normal distribution occurs when the logarithm of a random variable has a normal distribution. X is called a log-normal random variable if and only if f ( x) 1 1 x e 2 0 (ln x ) 2 2 2 x 0, 0 otherwise Where ln x is the natural logarithm of X 統計學 ( 一 ) 唐麗英老師上課講義 67

對數常態分佈 (Lognormal Distribution) The Mean and the Variance of Log-normal Distribution e 1 2 2 2 e 2 2 ( e 2 1) α = 0, β = 1 統計學 ( 一 ) 唐麗英老師上課講義 68

對數常態分佈 (Lognormal Distribution) 例 1 The current gain of certain transistors is measured in units which make it equal to the logarithm of I 0 /I i, the ratio of the output to the input current. If it is normally distributed with μ = 2 and σ 2 = 0.01, find 1) The probability that I 0 /I i will take on a value between 6.1 and 8.2. 2) The mean and the variance of the distribution of I 0 /I i. 統計學 ( 一 ) 唐麗英老師上課講義 69

齊一分佈 (Uniform Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 70

齊一分佈 (Uniform Distribution) The continuous random variable X is called a uniform random variable if and only if X is uniformly distributed over the interval (α, β), i.e., the density for X is 1 f ( x) 0 x otherwise The Mean and Variance for the Uniform R.V. E( X ) Var( X ) 2 2 2 ) ( 12 1 f (x) x 統計學 ( 一 ) 唐麗英老師上課講義 71

齊一分佈 (Uniform Distribution) 例 2 If X is uniformly distributed over (0, 10), calculate the probability that a) X < 3 b) X > 6 c) 3 < X < 8 統計學 ( 一 ) 唐麗英老師上課講義 72

齊一分佈 (Uniform Distribution) 例 3 Buses arrive at a specified stop at 15-minute intervals starting at 7, 7:15, 7:30, 7:45, and so on. If a passenger arrives at the stop at a time that is uniformly distributed between 7 and 7:30, find the probability that he waits a) less than 5 minutes for a bus b) More than 10 minutes for a bus 統計學 ( 一 ) 唐麗英老師上課講義 73

課本例 Example 5.7 Suppose the research department of a steel manufacturer believes that one of the company s rolling machines is producing sheets of steel of varying thickness. The thickness Y is a uniform random variable with values between 150 and 200 mm. Any sheets less than 160 mm thick must be scrapped, since they are unacceptable to buyer. a) Calculate the mean and standard deviation of Y, the thickness of the sheets produced by this machine. Then graph the probability distribution, and show the mean on the horizontal axis. Also show 1 and 2 standard deviation intervals around the mean. b) Calculate the fraction of steel sheets produced by this machine that have to be scrapped. 統計學 ( 一 ) 唐麗英老師上課講義 74

a Solution : 課本例 Example 5.7 ) 150 200 175 (mm) 2 2 ( ) 12 2 12 200 150 12 14.43 (mm) The uniform probability distribution is f 1 1 ( y) 200 150 1 50 統計學 ( 一 ) 唐麗英老師上課講義 75

b ) Solution : 課本例 Example 5.7 1 P( Y 160) (160 150) ( ) 50 That is, 20% of all the sheets 1 5 made by this machine must bescrapped. 統計學 ( 一 ) 唐麗英老師上課講義 76

珈瑪分佈 (Gamma Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 77

珈瑪分佈 (Gamma Distribution) Several important probability densities (such as Exponential, Weibull) are special cases of the gamma distribution. Def: X is called a Gamma random variable if and only if f ( x) 1 x ( ) 0 1 e x x 0, 0, otherwise 0 Where ( ) is the value of the gamma function Gamma function 1 ( ) x e 0 x dx where 0 統計學 ( 一 ) 唐麗英老師上課講義 78

珈瑪分佈 (Gamma Distribution) Properties of the Gamma function 1) Γ α <, if α > 0 2) Γ α = α 1 Γ α 1, if α > 1 3) Γ α = α 1!, if α is a positive integer The Mean and Variance for the Gamma R.V E X = αβ Var X = αβ 2 α=1,β=1 α=3,β=1 α=5,β=1 統計學 ( 一 ) 唐麗英老師上課講義 79

珈瑪分佈 (Gamma Distribution) The Chi-Square Probability Distribution A Chi-square random variable is a gamma-type random variable X with / 2 and 2 f ( x) c( x) ( / 2) 1 e x / 2 (0 x 2 ) 1 where c / 2 2 ( / 2) The parameter is called the number of degrees of freedom. The mean and variance of a chi-square random variable are: and 2 2 統計學 ( 一 ) 唐麗英老師上課講義 80

課本例 Example 5.12 From past experience, a manufacturer knows that the relative frequency distribution of the length of time Y (in months) between major customer product complaints can be modeled by a gamma density function with α=2 and β=4. Fifteen months after the manufacturer tightened its quality control requirements, the first complaint arrived. Does this suggest that the mean time between major customer complaints may have increased? 統計學 ( 一 ) 唐麗英老師上課講義 81

課本例 Example 5.12 Solution (2)(4) 8 2 2 (2)(4) 2 32 5.7 Since Y=15 month lies barely more than 1 standard deviation beyond the mean (μ+σ = 8 + 5.7 = 13.7 months), we would not regard 15 months as an unusually large vale of Y. Consequently, we would conclude that there is insufficient evidence to indicate that the company s new quality control program has been effective in increasing the mean time between complaints. 統計學 ( 一 ) 唐麗英老師上課講義 82

指數分佈 (Exponential Distribution) 統計學 ( 一 ) 唐麗英老師上課講義 83

指數分佈 (Exponential Distribution) X is called an exponential random variable if and only if f ( x) 1 e 0 x x 0 and otherwise 0 Exponential distribution is a special case of Gamma distribution with α = 1 The Mean and Variance for the Uniform R.V. E X = β Var X = β 2 統計學 ( 一 ) 唐麗英老師上課講義 84

指數分佈 (Exponential Distribution) 例 5 A nuclear engineer observing a reaction measures the time intervals between the emissions of beta particles. 0.894 0.991 0.061 0.186 0.311 0.817 2.267 0.091 0.139 0.083 0.235 0.424 0.216 0.579 0.429 0.612 0.143 0.055 0.752 0.188 0.071 0.159 0.082 1.653 2.010 0.158 0.527 1.033 2.863 0.365 0.459 0.431 0.092 0.830 1.718 0.099 0.162 0.076 0.107 0.278 0.100 0.919 0.900 0.093 0.041 0.712 0.994 0.149 0.866 0.054 統計學 ( 一 ) 唐麗英老師上課講義 85

Density 指數分佈 (Exponential Distribution) These decay times (in milliseconds) are presented as a histogram in the following figure 2.0 1.5 1.0 0.5 0.0 0.0 0.5 1.0 1.5 Milliseconds 2.0 2.5 3.0 統計學 ( 一 ) 唐麗英老師上課講義 86

指數分佈 (Exponential Distribution) Remark: It can be shown that in connection with Poisson processes the waiting time between successive arrivals has an exponential distribution. More specifically, it can be shown that if in a Poisson process the mean arrival rate (average number of arrivals per unit time) is λ = 1/β, the time until the first arrival, or the waiting time between successive arrivals, has an exponential distribution with 1/β. 統計學 ( 一 ) 唐麗英老師上課講義 87

指數分佈 (Exponential Distribution) 例 6 If on the average three trucks arrived per hour to be unloaded at a warehouse, what are the probabilities that the time between the arrival of successive trucks will be a) Less than 5 minutes b) At least 45 minutes c) What is the expected waiting time between successive arrivals? 統計學 ( 一 ) 唐麗英老師上課講義 88

本單元結束 統計學 ( 一 ) 唐麗英老師上課講義 89