1 / 10

Probability Program Assignment #1 Dice Probability Implementation

Probability Program Assignment #1 Dice Probability Implementation. Chan Chia -Chi ( 詹佳琦 ) Visual Communications Laboratory Department of Communication Engineering National Central University Jhongli , Taiwan March 16, 2011. 我們每個人都知道. 骰子是公平的骰子 骰子擲出的點數 , 其機率都為 ”1/6” 你能夠證明其機率真的是 1/6 嗎 ?.

shaun
Télécharger la présentation

Probability Program Assignment #1 Dice Probability Implementation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Probability Program Assignment #1Dice Probability Implementation Chan Chia-Chi (詹佳琦) Visual CommunicationsLaboratoryDepartment of Communication EngineeringNational Central UniversityJhongli, Taiwan March 16, 2011

  2. 我們每個人都知道.. • 骰子是公平的骰子 • 骰子擲出的點數, 其機率都為”1/6” • 你能夠證明其機率真的是1/6嗎 ?

  3. 期望值 (Expected Value) • 假設我們知道每個骰子擲出點數的機率為1/6 • 期望值 :

  4. 標準差 (Standard Deviation) Step 1. Step 2.

  5. Homework(Part I) • Part I 統計PMF(Probability Mass Function) 擲骰子的次數 擲骰子出現個個點數的機率 <注意>骰子擲出的點數是Random產生的!!

  6. Homework(Part II) • Part II 畫期望值的圖(至少須畫出六個點, 如前頁p5所示->100次, 500次, 1000次, 2000次, 3000次, 5000次) 期望值 擲骰子的次數

  7. Homework (Part III) • Part III 畫標準差的圖(至少須畫出六個點, 如p5所示) 標準差 擲骰子的次數 • You can use Matlab or Excel to plot these two figures. (P6 and P7)

  8. Example • Part I :擲5次骰子, 得到的PMF • P(X=1)=2/5 , P(X=2)=3/5, P(X=3)=P(X=4)=P(X=5)=P(X=6)=0 • Part II : 擲五次骰子的期望值 • E[X]=1•2/5+2 •3/5=8/5 • Part III : 擲五次骰子的標準差 • 步驟:

  9. Grading • 統計PMF(20%) • 統計期望值並且畫出期望值圖(20%) • 統計標準差並且畫出標準差圖(20%) • 報告分析(40%) (若發現抄襲, 此部分為0分)

  10. Due Date • Due date : 2011.3.25(Fri.) 17:00 PM • 你可使用Matlab或Excel等工具畫圖, 但你只能使用 ”C Programming”去統計這些資料. • 將程式碼及報告在繳交期限內寄至: • urxd40@gmail.com ( No delay is allowed) • 格式為:系級_學號_姓名 (ex:通訊二_98xxxx_王曉明)

More Related