ملاحظة: مبني على خطة المادة وسلايدات الفصل، ومكتوب بصياغتنا. هالفصل يدخل بالميد تيرم (الفصول 1–4) وبالكويز الأول.
Key questions
Q1. How do we organize categorical data?
- 📌 Summary table = shows the count or % for each category of one variable.
- 📌 Contingency table = shows two categorical variables together: one in the rows, one in the columns.
بالعربي: الجدول التلخيصي = عدد أو نسبة كل فئة لمتغير واحد. جدول التوافق = متغيرين مع بعض: واحد بالصفوف والثاني بالأعمدة.
Q2. ⭐ How do we find percentages in a contingency table?
💡 Our example: 200 students. Do they work part-time? Did they pass?
| Passed | Failed | Total | |
|---|---|---|---|
| Works | 60 | 20 | 80 |
| Doesn’t work | 100 | 20 | 120 |
| Total | 160 | 40 | 200 |
3 ways:
- % of overall total → divide by 200. 💡 Works & passed = 60/200 = 30%.
- % of row total → divide by the row total. 💡 Of those who work, 60/80 = 75% passed.
- % of column total → divide by the column total. 💡 Of those who failed, 20/40 = 50% work.
⚠️ Read the question carefully: “of those who work” = use the row. “of those who failed” = use the column.
بالعربي: النسبة بجدول التوافق تنحسب بثلاث طرق: من المجموع الكلي، من مجموع الصف، أو من مجموع العمود. انتبه لكلمة “من اللي…” بالسؤال، هي اللي تحدد تقسم على شنو.
Q3. ⭐ How do we organize numerical data?
- 📌 Ordered array = the numbers sorted from smallest to largest. Shows the range and helps spot outliers.
- 📌 Frequency distribution = a table with classes (groups of numbers) and how many values fall in each.
Steps to build a frequency distribution:
- Sort the data.
- Find the range = largest − smallest.
- Choose the number of classes (usually 5 to 15).
- Class width = range ÷ number of classes → round up.
- Set class boundaries (no overlap).
- Find class midpoints.
- Count the values in each class.
Other columns you may need:
- 📌 Relative frequency = frequency ÷ total.
- 📌 Percentage = relative frequency × 100.
- 📌 Cumulative % = add up the percentages as you go down.
💡 Range = 46, 5 classes → 46 ÷ 5 = 9.2 → width = 10.
بالعربي: المصفوفة المرتبة = الأرقام مرتبة من الأصغر للأكبر. التوزيع التكراري = جدول فئات وكم رقم بكل فئة. الخطوات: رتّب، احسب المدى، اختر عدد الفئات (5–15)، طول الفئة = المدى ÷ عدد الفئات (وقرّب لفوق)، حدد الحدود، احسب منتصف كل فئة، وعدّ. والتكرار النسبي = التكرار ÷ المجموع، والتراكمي = تجمع النسب وأنت نازل.
Q4. ⭐ Which chart for categorical data?
- 📌 Bar chart – bars for each category, with gaps between them.
- 📌 Pie chart – a circle; each slice = a category’s %.
- 📌 Doughnut chart – like a pie with a hole; can show one or two variables.
- 📌 Pareto chart – bars sorted from biggest to smallest + a cumulative % line. Shows the “vital few” vs. the “trivial many”.
- 📌 Side-by-side bar chart – shows a contingency table (two variables).
بالعربي: للبيانات الفئوية: الأعمدة (بينها فراغات)، الدائري، الدونات (دائري بنص فاضي)، باريتو (أعمدة من الأكبر للأصغر مع خط تراكمي، يبيّن “القليل المهم”)، والأعمدة المتجاورة لمتغيرين.
Q5. ⭐ Which chart for numerical data?
- 📌 Stem-and-leaf – splits each number into a stem (first digits) and a leaf (last digit). 💡 23 → stem 2, leaf 3.
- 📌 Histogram – bars for a frequency distribution, with no gaps.
- 📌 Percentage polygon – connects the midpoints of the classes with lines. Good to compare groups.
- 📌 Ogive (cumulative % polygon) – shows the cumulative %.
Two numerical variables:
- 📌 Scatter plot – dots for pairs (X, Y) → shows a relationship.
- 📌 Time-series plot – values over time → shows a trend.
⚠️ Bar chart = gaps (categorical). Histogram = no gaps (numerical).
بالعربي: للبيانات الرقمية: الساق والورقة، المدرج التكراري (أعمدة بدون فراغات)، المضلع (يوصل منتصفات الفئات)، والمنحنى التراكمي (Ogive). ولمتغيرين رقميين: شكل الانتشار (علاقة) والسلسلة الزمنية (تغيّر مع الوقت).
Memory tricks
- Row vs. column → “of those who…” tells you what to divide by.
- Frequency steps → “Sort, Range, Classes, Width, Boundaries, Midpoints, Count”: “Students Really Can Win Big Marks Calmly”.
- Width → always round UP.
- Bar = Breaks (gaps). Histogram = Holding hands (no gaps).
- Pareto = 80/20 idea → a few causes make most of the problems.
- Ogive → “Over and Over adding” (cumulative).
بالعربي: بالاختبار ممكن يعطيك أرقام ويطلب توزيع تكراري، أو يعطيك جدول توافق ويطلب نسبة. اكتب الخطوات واضحة، وقرّب طول الفئة لفوق دايماً.
One-page quick review
| Term | Simple meaning | بالعربي |
|---|---|---|
| Summary table | Counts for one categorical variable | جدول تلخيصي |
| ⭐ Contingency table | Two categorical variables | جدول توافق |
| ⭐ % of total / row / column | Divide by total / row / column | النسب بالجدول |
| Ordered array | Sorted numbers | مصفوفة مرتبة |
| ⭐ Frequency distribution | Classes + counts | توزيع تكراري |
| ⭐ Class width | Range ÷ classes, round up | طول الفئة |
| Relative frequency / cumulative % | Part of total / running total | تكرار نسبي / تراكمي |
| ⭐ Bar / pie / doughnut | Categorical charts | أعمدة / دائري / دونات |
| ⭐ Pareto | Sorted bars + cumulative line | باريتو |
| ⭐ Histogram | Numerical bars, no gaps | مدرج تكراري |
| Polygon / ogive | Midpoint lines / cumulative line | مضلع / منحنى تراكمي |
| Stem-and-leaf | Stem = first digits, leaf = last | الساق والورقة |
| ⭐ Scatter / time-series | Relationship / over time | انتشار / سلسلة زمنية |