ملاحظة: مبني على خطة المادة وسلايدات الفصل، ومكتوب بصياغتنا. هالفصل يدخل بالفاينل (الفصول 5–8) وبالكويز الثاني.
Key questions
Q1. Discrete or continuous variable?
- 📌 Discrete = comes from counting. 💡 Number of classes you take. → Chapter 5.
- 📌 Continuous = comes from measuring. 💡 Salary, weight. → Chapter 6.
بالعربي: المتغير المنفصل من العدّ (هالفصل)، والمتصل من القياس (الفصل الجاي).
Q2. ⭐ What is a probability distribution?
📌 Probability distribution (discrete) = a list of all possible values and the probability of each one.
Rules:
- Each probability is between 0 and 1.
- All probabilities add up to 1.
💡 Number of late deliveries per day:
| X | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| P(X) | 0.2 | 0.4 | 0.3 | 0.1 |
بالعربي: التوزيع الاحتمالي = قائمة بكل القيم الممكنة واحتمال كل وحدة. كل احتمال بين 0 و1، ومجموعهم لازم = 1.
Q3. ⭐ Expected value, variance and standard deviation
- 📌 Expected value (mean) = the average result in the long run. 📋
μ = E(X) = Σ X·P(X) - 📋 Variance:
σ² = Σ (X − μ)²·P(X) - Standard deviation:
σ = √σ²
💡 Using the table above:
- E(X) = 0(0.2) + 1(0.4) + 2(0.3) + 3(0.1) = 0 + 0.4 + 0.6 + 0.3 = 1.3
- σ² = (0 − 1.3)²(0.2) + (1 − 1.3)²(0.4) + (2 − 1.3)²(0.3) + (3 − 1.3)²(0.1) = 0.338 + 0.036 + 0.147 + 0.289 = 0.81
- σ = √0.81 = 0.9
بالعربي: القيمة المتوقعة = كل قيمة × احتمالها، وبعدين نجمعهم. التباين = (القيمة − المتوسط)² × احتمالها، ونجمع. الانحراف المعياري = جذر التباين.
Q4. ⭐ When do we use the binomial distribution?
📌 Binomial = we count how many times an “event of interest” happens in n tries.
The 4 conditions:
- A fixed number of tries, n.
- Each try has only two results (yes/no, defective/not).
- The probability of the event, π, is the same every time.
- Each try is independent of the others.
💡 A product is defective or not; a job applicant accepts or rejects; a customer buys or doesn’t.
بالعربي: ذات الحدين نستخدمه لما نعدّ كم مرة صار الحدث بعدد محاولات ثابت n، وكل محاولة لها نتيجتين بس، والاحتمال π نفسه كل مرة، والمحاولات مستقلة.
Q5. ⭐ How do we calculate a binomial probability?
📋 P(X = x) = [n! / (x!(n − x)!)] · πˣ · (1 − π)ⁿ⁻ˣ
- n = number of tries
- x = number of “events of interest” you want
- π = probability of the event in one try
- 1 − π = probability it does not happen
💡 20% of customers buy. You talk to 4 customers. P(exactly 2 buy)? n = 4, x = 2, π = 0.2
- Combinations: 4! / (2! · 2!) = 6
- P = 6 × 0.2² × 0.8² = 6 × 0.04 × 0.64 = 0.1536
Mean and spread:
- 📋 Mean:
μ = nπ→ 4 × 0.2 = 0.8 - 📋 Variance:
σ² = nπ(1 − π)→ 4 × 0.2 × 0.8 = 0.64 → σ = 0.8
⚠️ Shape: if π = 0.5 → symmetric. If π < 0.5 → right-skewed. If π > 0.5 → left-skewed.
بالعربي: القانون: (عدد التوافيق) × π أُس x × (1 − π) أُس (n − x). المتوسط = nπ، والتباين = nπ(1 − π). وإذا π = 0.5 يكون التوزيع متماثل.
Q6. What about the Poisson distribution?
📌 Poisson = counts how many times something happens in a fixed interval (time or space). 💡 Customers arriving per hour. 📋 The formula is in the handbook.
⚠️ The objectives mention Poisson, but the slides only explain binomial in detail. Ask your tutor if Poisson is in the exam.
بالعربي: بواسون يعدّ كم مرة يصير شي بفترة محددة (مثل عدد الزباين بالساعة). مذكور بالأهداف بس السلايدات تشرح ذات الحدين بس، فاسأل الدكتور إذا داخل.
Memory tricks
- E(X) → “multiply and add”: each X times its P, then sum.
- Binomial conditions = “F-T-S-I” → Fixed n, Two outcomes, Same π, Independent: “Four Tries Same Idea”.
- Binomial formula → “Combinations × success^x × failure^(rest)”.
- Mean = nπ → 10 tries × 0.3 chance = expect 3.
بالعربي: بالاختبار اكتب n و x و π واضحين قبل لا تعوّض بالقانون. وتأكد إن مجموع الاحتمالات بالجدول = 1.
One-page quick review
| Term | Formula / meaning | بالعربي |
|---|---|---|
| Discrete variable | Counted | متغير منفصل |
| ⭐ Probability distribution | All values + probabilities (sum = 1) | توزيع احتمالي |
| ⭐ Expected value | 📋 Σ X·P(X) |
القيمة المتوقعة |
| ⭐ Variance | 📋 Σ (X − μ)²·P(X) |
التباين |
| ⭐ Binomial conditions | Fixed n, two outcomes, same π, independent | شروط ذات الحدين |
| ⭐ Binomial probability | 📋 nCx · πˣ · (1 − π)ⁿ⁻ˣ |
احتمال ذات الحدين |
| ⭐ Binomial mean | 📋 nπ |
المتوسط |
| ⭐ Binomial variance | 📋 nπ(1 − π) |
التباين |
| Poisson | Count in a fixed interval 📋 | بواسون |