Random Numbers, Generators & Hypothesis Testing Concepts
توليد الأرقام العشوائية واختبار الفروض (ضمن حدود الميدترم)
True vs. Pseudo-random numbers (Incompressibility & Typicality), Mid-Square pitfalls, Linear Congruential Generators (LCG) & full-period conditions, BBS random-access formula, Hypothesis Testing courtroom logic (Fail to reject H₀), and K-S visual idea ONLY.
الأرقام العشوائية الحقيقية vs الزائفة (Pseudo)، طريقة Mid-Square وعيوبها، الـ LCG وشروط الـ Full Period، معادلة BBS، منطق اختبار الفروض في المحكمة (Fail to reject H₀)، وفكرة الـ K-S نظرياً فقط (قبل الحسابات!).
True vs. Pseudo-Randomness (Incompressibility & Typicality)
العشوائية الحقيقية vs الـ Pseudo-Random
Mid-Square, LCG (Midterm 2025 Q1!) & BBS
خوارزميات التوليد: Mid-Square و LCG و BBS
LCG with c = 4, a = 2, m = 11, Z₀ = 5: generate 10 RNs and find the period.
7 درجات: احسب أول 10 أرقام عشوائية من LCG وهات الـ Period.
Hypothesis Testing & K-S Concept ONLY (Scope Stop Line!)
منطق اختبار الفروض وفكرة الـ K-S نظرياً فقط (نهاية المنهج!)
Because p-value = 0.24 > α = 0.05, we Accept H₀ and prove the RNG is truly uniform.
Because p-value = 0.24 > 0.05, we Fail to reject H₀ (no sufficient evidence against uniformity).
Statistical tests can falsify H₀ beyond reasonable doubt, never prove H₀ with 100% certainty.
عدم وجود دليل إدانة معناه Fail to reject H₀، عمره ما معناه Accept H₀!
Study Chi-Square, Autocorrelation, K-S critical tables, and Input Modeling for tomorrow's midterm.
Stop right after Hypothesis Testing + the K-S empirical vs. F(x)=x concept!
Dr. Ayman's Lec 7 stops right before K-S numerical calculations.
محاضرة 7 وقفت قبل حسابات الـ K-S مباشرة — وفر وقتك للي جوه المنهج!
LCG, Mid-Square & BBS Period Lab
مولدات الأرقام العشوائية وفحص الدورة
Test your grasp before moving on
Wrong answers are automatically logged to your Weak Topics on the Coverage & Progress dashboard until you pass them.