ผลต่างระหว่างรุ่นของ "204512/บรรยาย 4"
ไปยังการนำทาง
ไปยังการค้นหา
แถว 73: | แถว 73: | ||
:<math>Y = </math>แต้มรวม | :<math>Y = </math>แต้มรวม | ||
− | <math>E[Y_1] = (1 + 2 + 3 + ... + 6) \cdot \frac{1}{6}</math> | + | <math>E[Y_1] = (1 + 2 + 3 + ... + 6) \cdot \frac{1}{6}</math> |
− | <math>E[Y_1] = 3.5</math> | + | <math>E[Y_1] = 3.5</math> |
− | <math>E[Y_2] = 3.5</math> | + | <math>E[Y_2] = 3.5</math> |
− | <math>E[Y] = 2 \cdot \frac{1}{6} \cdot \frac{1}{6} + 3 \cdot 2 \cdot \frac{1}{{36}} + 4 \cdot 3 \cdot \frac{1}{{36}} + 5 \cdot .....</math> | + | <math>E[Y] = 2 \cdot \frac{1}{6} \cdot \frac{1}{6} + 3 \cdot 2 \cdot \frac{1}{{36}} + 4 \cdot 3 \cdot \frac{1}{{36}} + 5 \cdot .....</math> |
− | <math>E[Y] = 7</math> | + | <math>E[Y] = 7</math> |
− | <math>E[Y] = E[Y_1 + Y_2] = E[Y_1] + E[Y_2]</math> | + | <math>E[Y] = E[Y_1 + Y_2] = E[Y_1] + E[Y_2]</math> |
==Linearity of Expectation== | ==Linearity of Expectation== | ||
สำหรับตัวแปรสุ่ม <math>X, Y</math> | สำหรับตัวแปรสุ่ม <math>X, Y</math> | ||
− | <math>E[X+Y] = E[X]+E[Y]</math> | + | :<math>E[X+Y] = E[X]+E[Y]</math> |
ให้ตัวแปรสุ่ม <math>X</math> แทนจำนวนถังว่าง | ให้ตัวแปรสุ่ม <math>X</math> แทนจำนวนถังว่าง | ||
− | <math>E[X] = ?</math> | + | :<math>E[X] = ?</math> |
ให้ตัวแปรสุ่ม | ให้ตัวแปรสุ่ม | ||
แถว 102: | แถว 102: | ||
---- | ---- | ||
− | <math>E[X_i] = 0 \cdot Pr[X_i = 0] + 1 \cdot Pr[X_i = 1]</math> | + | :<math>E[X_i] = 0 \cdot Pr[X_i = 0] + 1 \cdot Pr[X_i = 1]</math> |
− | <math>E[X_i] = Pr[X_i = 1]</math> | + | :<math>E[X_i] = Pr[X_i = 1]</math> |
− | <math>E[X_i] = (1-\frac{1}{n})^n</math> | + | :<math>E[X_i] = (1-\frac{1}{n})^n</math> |
− | <math>E[X] = \sum\limits_{i = 1}^n {E[X_i ]} </math> | + | :<math>E[X] = \sum\limits_{i = 1}^n {E[X_i ]} </math> |
− | <math>E[X] = \sum\limits_{i = 1}^n {(1-\frac{1}{n})^n} </math> | + | :<math>E[X] = \sum\limits_{i = 1}^n {(1-\frac{1}{n})^n} </math> |
− | <math>E[X] = n(1-\frac{1}{n})^n</math> | + | :<math>E[X] = n(1-\frac{1}{n})^n</math> |
− | <math>E[X] \approx </math> | + | :<math>E[X] \approx </math> |
รุ่นแก้ไขเมื่อ 09:46, 3 กรกฎาคม 2550
ขออภัย Lecture Note ที่ท่านเรียก ยังไม่เปิดให้ใช้บริการค่ะ
Balls & Bins
- มีถัง ถัง
- มีบอล ลูก
Random Variable
- นิยาม
- สำหรับตัวแปรสุ่ม
มีลูกเต๋า 2 ลูก โยนทีละลูก
ให้ตัวแปรสุ่ม
- แต้มบนลูกเต๋าลูกที่ 1
- แต้มบนลูกเต๋าลูกที่ 2
- แต้มรวม
Linearity of Expectation
สำหรับตัวแปรสุ่ม
ให้ตัวแปรสุ่ม แทนจำนวนถังว่าง
ให้ตัวแปรสุ่ม
- ถ้าถังที่ i ว่าง
- กรณีอื่นๆ
สังเกตว่า
ดังนั้น
- โดย Linearity of Expectation