ملاحظة: مبني على خطة المادة وسلايدات الفصل، ومكتوب بصياغتنا. هالفصل يدخل بالفاينل (الفصول 5–8).
Key questions
Q1. ⭐ Point estimate or confidence interval?
- 📌 Point estimate = one number that estimates the population value. 💡 X̄ estimates μ; p estimates π.
- 📌 Confidence interval = a range of values that probably contains the population value, with a level of confidence (90%, 95%, 99%). ⚠️ It is never 100%.
General formula:
Point estimate ± (Critical value) × (Standard error)
بالعربي: التقدير النقطي = رقم واحد. فترة الثقة = مدى من الأرقام نتوقع إن القيمة الحقيقية داخله، بدرجة ثقة (مثل 95%)، وما توصل 100% أبداً. والقانون العام: التقدير ± (القيمة الحرجة × الخطأ المعياري).
Q2. ⭐ What does “95% confident” mean?
If we take many samples and build an interval from each, about 95% of the intervals will contain the true μ, and 5% won’t.
- 1 − α = confidence level. 💡 95% → α = 0.05 → α/2 = 0.025 in each tail.
Common Z values:
| Confidence | 90% | 95% | 99% |
|---|---|---|---|
| Z(α/2) | 1.645 | 1.96 | 2.576 |
بالعربي: “واثقين 95%” يعني لو سوينا فترات من عينات واجد، 95% منها بتحتوي القيمة الحقيقية. واحفظ قيم Z: 1.645 (90%)، 1.96 (95%)، 2.576 (99%).
Q3. ⭐ Confidence interval for μ when σ is KNOWN
📋 X̄ ± Z · (σ / √n)
Conditions: σ known; population normal, or n > 30.
💡 X̄ = 80, σ = 10, n = 25, 95%:
- SE = 10 ÷ 5 = 2
- 80 ± 1.96 × 2 = 80 ± 3.92
- 76.08 ≤ μ ≤ 83.92
✍️ Interpretation: “We are 95% confident that the true mean is between 76.08 and 83.92.”
بالعربي: إذا σ معروفة نستخدم Z. ولا تنسى تكتب التفسير بالكلام: “واثقين 95% إن المتوسط الحقيقي بين … و …”.
Q4. ⭐ Confidence interval for μ when σ is UNKNOWN
Use the sample’s S and the t distribution.
📋 X̄ ± t · (S / √n), with d.f. = n − 1
📌 t distribution = bell-shaped and symmetric like Z, but with fatter tails. As n gets bigger, t gets closer to Z.
💡 X̄ = 40, S = 6, n = 16, 95%:
- d.f. = 15 → t = 2.131 (from the t table)
- SE = 6 ÷ 4 = 1.5
- 40 ± 2.131 × 1.5 = 40 ± 3.20
- 36.80 ≤ μ ≤ 43.20
⚠️ σ known → Z. σ unknown (only S) → t.
بالعربي: إذا σ مو معروفة ونستخدم S من العينة، نستخدم جدول t بدرجات حرية n − 1. توزيع t مثل Z بس أطرافه أعرض، ويقرب من Z كل ما كبرت العينة.
Q5. ⭐ Confidence interval for a proportion π
📋 p ± Z · √[p(1 − p) / n]
Condition: np > 5 and n(1 − p) > 5.
💡 200 people asked, 50 say yes → p = 50 ÷ 200 = 0.25. 95%:
- SE = √(0.25 × 0.75 ÷ 200) ≈ 0.0306
- 0.25 ± 1.96 × 0.0306 = 0.25 ± 0.06
- 0.19 ≤ π ≤ 0.31 → between 19% and 31%
بالعربي: للنسبة: p ± Z × جذر [p(1 − p) ÷ n]. وشرطها np و n(1 − p) أكبر من 5.
Q6. ⭐ How big should the sample be?
📌 Sampling error (e) = the margin of error = half the width of the interval.
For the mean:
📋 n = (Z² σ²) / e²
💡 σ = 20, e = 4, 95% → n = (1.96² × 20²) ÷ 4² = 96.04 → 97
For a proportion:
📋 n = Z² π(1 − π) / e²
💡 e = 0.05, 95%, π unknown → use π = 0.5 → n = 1.96² × 0.25 ÷ 0.0025 = 384.16 → 385
⚠️ Always round UP the sample size (even 96.04 → 97). ⚠️ If π is unknown → use a pilot sample, or use 0.5 (the safe choice).
بالعربي: حجم العينة للمتوسط = Z² σ² ÷ e²، وللنسبة = Z² π(1 − π) ÷ e². قرّب لفوق دايماً. وإذا π مو معروفة استخدم 0.5.
Memory tricks
- CI = “estimate ± margin”.
- Z values → 1.645 / 1.96 / 2.576 → “90 / 95 / 99”.
- σ known → Z. S only → t (“t for the sample’s S”).
- d.f. = n − 1.
- Sample size → always round up (you can’t ask 0.04 of a person).
- Wider interval ← higher confidence or smaller n.
بالعربي: بالاختبار اكتب: (1) شنو معطى، (2) Z ولا t ولماذا، (3) القانون، (4) الحل، (5) التفسير بجملة. التفسير ياخذ درجة.
One-page quick review
| Term | Formula / meaning | بالعربي |
|---|---|---|
| Point estimate | One number (X̄, p) | تقدير نقطي |
| ⭐ Confidence interval | Estimate ± critical value × SE | فترة ثقة |
| ⭐ Z(α/2) | 1.645 / 1.96 / 2.576 | القيم الحرجة |
| ⭐ CI mean, σ known | 📋 X̄ ± Z·σ/√n |
فترة للمتوسط (σ معروفة) |
| ⭐ CI mean, σ unknown | 📋 X̄ ± t·S/√n, d.f. = n − 1 |
فترة للمتوسط (σ مجهولة) |
| t distribution | Fatter tails; → Z as n grows | توزيع t |
| ⭐ CI proportion | 📋 p ± Z·√[p(1−p)/n] |
فترة للنسبة |
| Sampling error (e) | Margin of error | هامش الخطأ |
| ⭐ Sample size (mean) | 📋 Z²σ² / e² → round up |
حجم العينة للمتوسط |
| ⭐ Sample size (proportion) | 📋 Z²π(1−π) / e² → round up |
حجم العينة للنسبة |