✓ تم التحقق من المنهج الرسميمعايير الجودة والصرامة ↗
5

التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE)

🤖 AI Math Unit 5 — Distributions & Estimation Applied STEM  ·  Gaussian / Normal distribution N(μ, σ²)  ·  Bernoulli & Binomial distributions for classification  ·  Likelihood function L(θ | data)  ·  Log-Likelihood log L(θ) and differentiation  ·  MLE parameter derivation for Gaussian mean and variance

Data in AI is modeled using probability distributions. Maximum Likelihood Estimation (MLE) is the statistical method used to find the model parameters that make the observed training data most probable.

● Definition 5.1 — Maximum Likelihood Estimation (MLE)
Given independent and identically distributed (i.i.d.) observations X = \{x_1, x_2, \dots, x_N\} from a distribution parameterized by theta:
1. Likelihood: \( L(\theta) = \prod_{i=1}^N p(x_i | \theta) \).
2. Log-Likelihood: \( \ell(\theta) = \ln L(\theta) = \sum_{i=1}^N \ln p(x_i | \theta) \). Taking the logarithm converts products into sums without shifting the maximizing argument.
3. MLE Estimator: \( \hat{\theta}_{\text{MLE}} = \arg\max_\theta \ell(\theta) \), solved by setting \( \frac{\partial \ell}{\partial \theta} = 0 \).
● الفهم المفاهيمي العميق — دالة الإمكان مقابل الاحتمال والتحويل اللوغاريتمي

تقدير المعلمات عبر الإمكان اللوغاريتمي: للمشاهدات المستقلة والمتماثلة توزيعاً \(\{x_i\}_{i=1}^n\)، تعامل دالة الإمكان \(L(\theta) = \prod_{i=1}^n p(x_i \mid \theta)\) البيانات كقيم ثابتة والمعلمة \(\theta\) كمتغير. ولأن دالة اللوغاريتم الطبيعي متزايدة قطعاً، فإن تعظيم \(\ell(\theta) = \sum_{i=1}^n \ln p(x_i \mid \theta)\) يحوّل الضرب إلى جمع ويحافظ على نفس نقطة النهاية العظمى.

كثافة التوزيع الطبيعي المعياري \(\mathcal{N}(0, 1)\)؛ تعظيم دالة الإمكان اللوغاريتمية يعطي المتوسط \(\hat{\mu} = \bar{x}\) والتباين \(\hat{\sigma}^2 = \frac{1}{n}\sum(x_i - \bar{x})^2\).
⊙ مستكشف تفاعلي · تقدير الإمكان الأعظم (MLE) ودالة الإمكان اللوغاريتمية ℓ(μ) \((\mu)\)
تفاعلي
Log-Likelihood ℓ\((\mu, \sigma)\)\(ℓ = -10.36\)
صحيح عينة المتوسط الحسابي \(\hat{\mu }_{\text{MLE}} = \bar{x}\)\(\hat{\mu }_{\text{MLE}} = 1.50\)
درجة التدرج ∂ℓ/∂\(\mu\)\(∂ℓ/∂\mu = 3.47\)

المعطى 5 المرصود بيانات نقاط على أفقي المحور، حرّك مرشح المتوسط الحسابي \(\mu\) إلى align Gaussian bell (نيلي) مع بيانات و maximize log-likelihood منحنى ℓ\((\mu)\) (كهرماني).

دالة الإمكان اللوغاريتمية المقعرة لبرنولي \(\ell(p) = 7\ln p + 3\ln(1 - p)\) تبلغ قيمتها العظمى الوحيدة عندما \(\ell'(p) = \frac{7}{p} - \frac{3}{1-p} = 0 \implies \hat{p} = 0.7\).
Gaussian PDF (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
\( p(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}} \)
Gaussian Mean MLE (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
\(\hat{\mu}_{\text{MLE}} = \frac{1}{N}\sum_{i=1}^N x_i\) (sample mean) (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
Gaussian Var MLE (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
\( \hat{\sigma}^2_{\text{MLE}} = \frac{1}{N}\sum_{i=1}^N (x_i - \hat{\mu})^2 \)
Bernoulli MLE (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
\( \hat{p}_{\text{MLE}} = \frac{k}{N} \) (fraction of positive trials)
◆ لماذا تعمل القاعدة — تكافؤ تقدير الإمكان الأعظم الطبيعي وتصغير متوسط مربعات الخطأ

من الضوضاء الطبيعية إلى مربعات الأخطاء: إذا كانت القيم المستهدفة تحقق \(y_i = f_{\mathbf{w}}(\mathbf{x}_i) + \varepsilon_i\) مع خطأ طبيعي \(\varepsilon_i \sim \mathcal{N}(0, \sigma^2)\)، فإن \[ \ell(\mathbf{w}) = -\frac{n}{2}\ln(2\pi\sigma^2) - \frac{1}{2\sigma^2}\sum_{i=1}^n \big(y_i - f_{\mathbf{w}}(\mathbf{x}_i)\big)^2. \] وعليه فإن تعظيم \(\ell(\mathbf{w})\) بالنسبة للأوزان \(\mathbf{w}\) يكافئ تماماً تصغير مجموع مربعات الأخطاء!

مثال محلول 5.A — Deriving the MLE of a Bernoulli المعامل
المسألة. Let \( x_1, x_2, \dots, x_N \in \{0, 1\} \) be \( N \) binary outcomes from a coin toss with unknown bias \( p \). Deriving the MLE estimator for \( p \).
▸ عرض خطوات الحل بالتفصيل


The probability of single outcome is \( P(x_i) = p^{x_i}(1-p)^{1-x_i} \).
The likelihood for \( N \) i.i.d. observations is:
\[ L(p) = \prod_{i=1}^N p^{x_i}(1-p)^{1-x_i} = p^{\sum x_i} (1-p)^{N - \sum x_i} \]
Let \( k = \sum_{i=1}^N x_i \) be the total number of successes.
Log-likelihood:
\[ \ell(p) = \ln L(p) = k \ln p + (N - k) \ln(1 - p) \]
Differentiate with respect to \( p \) and set to 0:
\[ \frac{d\ell}{dp} = \frac{k}{p} - \frac{N - k}{1 - p} = 0 \implies \frac{k}{p} = \frac{N - k}{1 - p} \]
\[ k(1 - p) = p(N - k) \implies k - kp = Np - kp \implies Np = k \implies \hat{p}_{\text{MLE}} = \frac{k}{N} \].
Checking second derivative: \( \frac{d^2\ell}{dp^2} = -\frac{k}{p^2} - \frac{N-k}{(1-p)^2} < 0 \), confirming a maximum.
Answer: \( \hat{p}_{\text{MLE}} = \frac{1}{N}\sum_{i=1}^N x_i \).

Worked Example \(B\) — Probability Distributions & Maximum Likelihood (MLE) (Medium Application)
المسألة. Principal Component Analysis on covariance matrix \( \Sigma_{A} \) yields eigenvalues \( \lambda_1 = 51 \) and \( \lambda_2 = 49 \). Determine the percentage of variance \( f_{x} \) explained by the first principal component.
▸ عرض خطوات الحل بالتفصيل

The percentage explained is \( \frac{51}{51+49} \times 100\% = 51\% \).

Worked Example \(C\) — Probability Distributions & Maximum Likelihood (MLE) (Hard Application)
المسألة. Consider an i.i.d. sample \( x_1, x_2, \dots, x_n \) from a Poisson distribution with probability mass function \( P(X = k; \theta) = \frac{\theta^k e^{-\theta}}{k!} \) for \( k = 0, 1, 2, \dots \), where \( \theta > 0 \). Given a sample of size \( n = 5 \) with sample sum \( \sum_{i=1}^5 x_i = 15 \), find the maximum likelihood estimate (MLE) \( \hat{\theta} \) of \( \theta \).
▸ عرض خطوات الحل بالتفصيل

The log-likelihood function for \( n \) i.i.d. Poisson(\/\(\theta\)) observations is: \[ \ell(\theta) = \sum_{i=1}^n x_i \ln\theta - n\theta - \sum_{i=1}^n \ln(x_i!). \] Setting the derivative with respect to \( \theta \) equal to zero gives: \[ \frac{d\ell}{d\theta} = \frac{\sum_{i=1}^n x_i}{\theta} - n = 0 \implies \hat{\theta} = \frac{1}{n}\sum_{i=1}^n x_i = \frac{15}{5} = 3. \]

Worked Example \(D\) — Probability Distributions & Maximum Likelihood (MLE) (Easy Application)
المسألة. Consider a discrete random variable \( X \) with the following probability mass function (PMF): \( P(X=x) = \frac{x}{10} \) for \( x \in \{1, 2, 3, 4\} \). What is the value of \( P(X \le 2) \)?
▸ عرض خطوات الحل بالتفصيل

The probability mass function is given by \( P(X=x) = \frac{x}{10} \) for \( x \in \{1, 2, 3, 4\} \). We need to find \( P(X \le 2) \). This is the sum of probabilities for \( X=1 \) and \( X=2 \). \( P(X \le 2) = P(X=1) + P(X=2) \). \( P(X=1) = \frac{1}{10} \) and \( P(X=2) = \frac{2}{10} \). Therefore, \( P(X \le 2) = \frac{1}{10} + \frac{2}{10} = \frac{3}{10} \).

⚠️ أخطاء شائعة في الاختبار — مقام التباين في MLE وقيود المجال

1. القسمة على \(n - 1\) بدلاً من \(n\) في MLE للتباين الطبيعي: مقدّر الإمكان الأعظم للتباين يقسم على \(n\): \(\hat{\sigma}^2_{\text{MLE}} = \frac{1}{n}\sum_{i=1}^n (x_i - \bar{x})^2\)، بينما القسمة على \(n - 1\) تعطي تباين العينة غير المتحيز.
2. اعتماد المجال على المعلمة \(\theta\): في التوزيع المنتظم \(\text{Uniform}(0, \theta)\) لا ينعدم المشتق، بل يتحقق الإمكان الأعظم عند حد المجال \(\hat{\theta}_{\text{MLE}} = \max_i x_i\).

تشخيص الأخطاء — مقارنة الخطأ الشائع بالطريقة الصحيحة (التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE))
الخطأ الشائع للطالبالسبب الرياضي للخطأالطريقة الصحيحة المعتمدة
Claiming \(+25\%\) followed by \(-25\%\) returns to \(100\%\)The \(25\%\) reduction applies to the larger base \(1.25 Q_0\), not \(Q_0\).Multiply scale factors: \(1.25 \times 0.75 = 0.9375\) (a \(6.25\%\) net decrease).
Solving \(-3x > 12\) as \(x > -4\)يؤدي إلى فقدان جذور صحيحة أو إدخال جذور دخيلة لا تحقق المعادلة الأصلية.Flip the inequality symbol whenever multiplying or dividing by a negative: \(x < -4\).
Computing round-trip average speed as \(\frac{v_1 + v_2}{2}\)يؤدي إلى فقدان جذور صحيحة أو إدخال جذور دخيلة لا تحقق المعادلة الأصلية.Use total distance over total time: \(v_{\text{avg}} = \frac{2v_1 v_2}{v_1 + v_2}\).
▲ استراتيجية الحل والتحقق السريع — التوزيعات الاحتمالية وتقدير الإمكان الأعظم

اختبار التقعر بالمشتقة الثانية: بعد حل معادلة الإمكان \(\ell'(\hat{\theta}) = 0\)، تأكد من أن \(\ell''(\hat{\theta}) < 0\) وأن التقدير \(\hat{\theta}\) ينتمي إلى فضاء المعلمات المسموح به مثل \(\hat{p} \in [0, 1]\) و\(\hat{\lambda} > 0\).

[Practice 1 · Medium] A dataset consists of observations \( x_1, x_2, \dots, x_n \) that are assumed to be drawn independently from a Bernoulli distribution with parameter \( p \). The probability mass function is given by \( P(X=k; p) = p^k (1-p)^{1-k} \) for \( k \in \{0, 1\} \). The following bar chart shows the frequency distribution of these observations, where \( n = 50 \).
{ "type": "bar", "labels": ["0", "1"], "data": [20, 30], "title": "Frequency Distribution of Bernoulli Observations" }
Using the method of Maximum Likelihood Estimation (MLE), determine the estimated value of \( p \) for this distribution.
💡 Hint 1 of 3
The Bernoulli distribution has the probability mass function \( P(X=k; p) = p^k (1-p)^{1-k} \). The likelihood function for \( n \) independent observations is \( L(p; x_1, \dots, x_n) = \prod_{i=1}^n p^{x_i} (1-p)^{1-x_i} \). This can be rewritten as \( L(p) = p^{\sum x_i} (1-p)^{n - \sum x_i} \).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \( \sum x_i = np \).
💡 Hint 3 of 3
Therefore, the MLE for \(p\) is: \(\hat{p}_{MLE} = \frac{30}{50}\).
The Bernoulli distribution has the probability mass function \( P(X=k; p) = p^k (1-p)^{1-k} \). The likelihood function for \( n \) independent observations is \( L(p; x_1, \dots, x_n) = \prod_{i=1}^n p^{x_i} (1-p)^{1-x_i} \). This can be rewritten as \( L(p) = p^{\sum x_i} (1-p)^{n - \sum x_i} \). The log-likelihood function is \( \ln L(p) = (\sum x_i) \ln p + (n - \sum x_i) \ln(1-p) \). To find the maximum likelihood estimate (MLE) of \( p \), we take the derivative of the log-likelihood with respect to \( p \) and set it to zero: \( \frac{d}{dp} \ln L(p) = \frac{\sum x_i}{p} - \frac{n - \sum x_i}{1-p} \) Setting the derivative to zero: \( \frac{\sum x_i}{p} = \frac{n - \sum x_i}{1-p} \) \( (\sum x_i)(1-p) = p(n - \sum x_i) \) \( \sum x_i - p \sum x_i = np - p \sum x_i \) \( \sum x_i = np \) \( \hat{p}_{MLE} = \frac{\sum x_i}{n} \) This means the MLE for \( p \) is the sample mean. From the bar chart, the frequency of observations equal to 0 is 20, and the frequency of observations equal to 1 is 30. The total number of observations is \( n = 50 \). The sum of the observations \( \sum x_i \) is calculated as: \( \sum x_i = (20 \times 0) + (30 \times 1) = 0 + 30 = 30 \) Therefore, the MLE for \( p \) is: \( \hat{p}_{MLE} = \frac{30}{50} = \frac{3}{5} \) Common algebraic traps: Students might incorrectly calculate the sample mean, or confuse the counts of 0s and 1s. The option \( \frac{2}{5} \) would arise from incorrectly using \( \frac{20}{50} \) which represents \( 1-p \). The option \( \frac{1}{2} \) might arise from assuming equal probabilities without considering the data. The option \( \frac{3}{2} \) is not a valid probability.
[Practice 2 · Hard] Consider a sequence of \(n\) independent Bernoulli trials, where the probability of success in each trial is \(p\). Let \(X\) be the random variable representing the number of successes in these \(n\) trials. Thus, \(X \sim \text{Binomial}(n, p)\). We are given a dataset of \(N\) observed values \(\{x_1, x_2, \dots, x_N\}\) for \(X\), where each \(x_i\) is an observed count of successes from \(n\) trials. The observed data are: [3, 4, 2, 5, 4, 3, 2, 4, 5, 3]. If we assume that \(n=5\) (the number of trials for each observation is fixed at 5), find the value of \(p\) that maximizes the likelihood of observing this dataset. Then, compute the maximum likelihood estimate (MLE) of the probability of success, \(p\), and round your answer to two decimal places.
💡 Hint 1 of 3
The random variable \(X\) follows a Binomial distribution: \(X \sim \text{Binomial}(n, p)\). The probability mass function (PMF) of the Binomial distribution is given by \(P(X=k | n, p) = \binom{n}{k} p^k (1-p)^{n-k}\), where \(k\) is the number of successes.
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(\frac{S}{p} = \frac{T}{1-p}\).
💡 Hint 3 of 3
Let's check the second derivative to confirm it's a maximum: \(\frac{d^2\ell}{dp^2} = -\frac{S}{p^2} - \frac{T}{(1-p)^2}\). Since \(S>0\), \(T>0\), \(p \in (0,1)\), the second derivative is negative, confirming a maximum.
The random variable \(X\) follows a Binomial distribution: \(X \sim \text{Binomial}(n, p)\). The probability mass function (PMF) of the Binomial distribution is given by \(P(X=k | n, p) = \binom{n}{k} p^k (1-p)^{n-k}\), where \(k\) is the number of successes. We are given \(n=5\) and a dataset of \(N=10\) observations: \(\{x_1, x_2, \dots, x_{10}\} = \{3, 4, 2, 5, 4, 3, 2, 4, 5, 3\}\). The likelihood function for this dataset, given \(p\), is the product of the PMFs for each observation: \(L(p | \{x_i\}) = \prod_{i=1}^{N} P(X=x_i | n, p) = \prod_{i=1}^{10} \binom{5}{x_i} p^{x_i} (1-p)^{5-x_i}\) To find the MLE of \(p\), we typically work with the log-likelihood function, which simplifies the product into a sum: \(\ell(p) = \log L(p) = \sum_{i=1}^{10} \log \left( \binom{5}{x_i} p^{x_i} (1-p)^{5-x_i} \right)\) \(\ell(p) = \sum_{i=1}^{10} \left( \log \binom{5}{x_i} + x_i \log p + (5-x_i) \log (1-p) \right)\) \(\ell(p) = \sum_{i=1}^{10} \log \binom{5}{x_i} + \left(\sum_{i=1}^{10} x_i\right) \log p + \left(\sum_{i=1}^{10} (5-x_i)\right) \log (1-p)\) The term \(\sum_{i=1}^{10} \log \binom{5}{x_i}\) is a constant with respect to \(p\) and can be ignored for maximization. Let \(S = \sum_{i=1}^{10} x_i\) be the total number of successes in the dataset, and \(T = \sum_{i=1}^{10} (5-x_i) = 10 \times 5 - \sum_{i=1}^{10} x_i = 50 - S\) be the total number of failures. So, \(\ell(p) \approx S \log p + T \log (1-p)\). To find the MLE, we take the derivative of \(\ell(p)\) with respect to \(p\) and set it to zero: \(\frac{d\ell}{dp} = \frac{S}{p} - \frac{T}{1-p} = 0\) \(\frac{S}{p} = \frac{T}{1-p}\) \(S(1-p) = Tp\) \(S - Sp = Tp\) \(S = Tp + Sp\) \(S = p(T+S)\) \(p = \frac{S}{T+S}\) We know that \(T+S = \sum_{i=1}^{10} (5-x_i) + \sum_{i=1}^{10} x_i = \sum_{i=1}^{10} (5-x_i+x_i) = \sum_{i=1}^{10} 5 = 10 \times 5 = 50\). Now, let's calculate \(S\), the sum of the observed successes: \(S = 3 + 4 + 2 + 5 + 4 + 3 + 2 + 4 + 5 + 3 = 35\). Therefore, the MLE of \(p\) is: \(\hat{p} = \frac{S}{nN} = \frac{35}{5 \times 10} = \frac{35}{50} = \frac{7}{10} = 0.70\). The maximum likelihood estimate of \(p\) is 0.70. Let's check the second derivative to confirm it's a maximum: \(\frac{d^2\ell}{dp^2} = -\frac{S}{p^2} - \frac{T}{(1-p)^2}\). Since \(S>0\), \(T>0\), \(p \in (0,1)\), the second derivative is negative, confirming a maximum. Common Misconception: A common mistake might be to incorrectly calculate the sum of successes or failures, or to use the wrong formula for the MLE of a binomial proportion, such as simply averaging the proportions of successes in each trial (which is not applicable here as \(n\) is fixed). For example, if one made an arithmetic error and got \(S=30\), then \(\hat{p} = 30/50 = 0.60\). If \(S=37.5\) (an impossible sum, but for illustration of error), \(\hat{p}=37.5/50 = 0.75\). If \(S=30\), \(\hat{p}=30/50=0.6\). If \(S=33.5\), \(\hat{p}=33.5/50=0.67\).
[Practice 3 · Easy] Consider a dataset where the number of defective items produced by a machine per hour, \( Y \), follows a Poisson distribution with a rate parameter \( \lambda = 3 \). The probability mass function (PMF) for a Poisson distribution is given by \( P(Y=k) = \frac{\lambda^k e^{-\lambda}}{k!} \) for \( k = 0, 1, 2, \dots \). What is the value of \( \lambda \) in this scenario?
💡 Hint 1 of 3
The problem statement explicitly defines that the number of defective items, \( Y \), follows a Poisson distribution with a rate parameter \( \lambda = 3 \).
💡 Hint 2 of 3
The rate parameter \( \lambda \) is a direct characteristic of the Poisson distribution that determines its mean and variance.
💡 Hint 3 of 3
Therefore, the value of \(\lambda\) is directly given as 3.
The problem statement explicitly defines that the number of defective items, \( Y \), follows a Poisson distribution with a rate parameter \( \lambda = 3 \). The rate parameter \( \lambda \) is a direct characteristic of the Poisson distribution that determines its mean and variance. Therefore, the value of \( \lambda \) is directly given as 3.
[Practice 4 · Easy] A feature in an AI vision model follows a normal distribution \( X \sim \mathcal{N}(25, 36) \). What is the mean \( \mu \) and variance \( \sigma^2 \) of this feature?
💡 Hint 1 of 3
Start by examining the given mathematical expression in the problem: \(X \sim \mathcal{N}(25, 36)\).
💡 Hint 2 of 3
The notation \(\mathcal{N}(\mu, \sigma^2)\) directly specifies the mean \(\mu = 25\) and variance \(\sigma^2 = 36\) (with standard deviation \(\sigma\)).
💡 Hint 3 of 3
Apply this step to \(\sigma\) and simplify to determine the final result.
The notation \( \mathcal{N}(\mu, \sigma^2) \) directly specifies the mean \( \mu = 25 \) and variance \( \sigma^2 = 36 \) (with standard deviation \( \sigma = 6 \)).
[Practice 5 · Medium] A dataset consists of three independent observations \( X_1, X_2, X_3 \) drawn from a Poisson distribution with parameter \( \lambda \). The observed values are \( x_1 = 3, x_2 = 5, x_3 = 4 \). We want to find the Maximum Likelihood Estimate (MLE) for \( \lambda \). The log-likelihood function for a Poisson distribution is given by \( \ell(\lambda) = \sum_{i=1}^{n} \left( x_i \log(\lambda) - \log(x_i!) - \lambda \right) \). Part 1: Derive the expression for the derivative of the log-likelihood function with respect to \( \lambda \). Part 2: Set the derivative to zero to find the MLE of \( \lambda \).
💡 Hint 1 of 3
The log-likelihood function for \( n=3 \) observations is \( \ell(\lambda) = (x_1 \log(\lambda) - \log(x_1!) - \lambda) + (x_2 \log(\lambda) - \log(x_2!) - \lambda) + (x_3 \log(\lambda) - \log(x_3!) - \lambda) \).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \( \frac{x_1 + x_2 + x_3}{\lambda} - 3 = 0 \).
💡 Hint 3 of 3
Substituting the observed values \(x_1 = 3, x_2 = 5, x_3\): \(\hat{\lambda} = \frac{3+5+4}{3}\).
The log-likelihood function for \( n=3 \) observations is \( \ell(\lambda) = (x_1 \log(\lambda) - \log(x_1!) - \lambda) + (x_2 \log(\lambda) - \log(x_2!) - \lambda) + (x_3 \log(\lambda) - \log(x_3!) - \lambda) \). Part 1: The derivative of the log-likelihood function with respect to \( \lambda \) is: \( \frac{d\ell}{d\lambda} = \sum_{i=1}^{3} \left( \frac{x_i}{\lambda} - 1 \right) = \left( \frac{x_1}{\lambda} - 1 \right) + \left( \frac{x_2}{\lambda} - 1 \right) + \left( \frac{x_3}{\lambda} - 1 \right) \). Part 2: To find the MLE, we set the derivative to zero: \( \frac{x_1}{\lambda} - 1 + \frac{x_2}{\lambda} - 1 + \frac{x_3}{\lambda} - 1 = 0 \) \( \frac{x_1 + x_2 + x_3}{\lambda} - 3 = 0 \) \( \frac{x_1 + x_2 + x_3}{\lambda} = 3 \) \( \hat{\lambda} = \frac{x_1 + x_2 + x_3}{3} \). Substituting the observed values \( x_1 = 3, x_2 = 5, x_3 = 4 \): \( \hat{\lambda} = \frac{3+5+4}{3} = \frac{12}{3} = 4 \). Common algebraic traps include incorrectly differentiating the log-likelihood or making errors in solving for \( \lambda \). For example, forgetting the \( -1 \) term from the derivative of \( -\lambda \) leads to an incorrect denominator. Choice B is incorrect as it includes \( e \) which is not part of the Poisson MLE derivation. Choice C is an incomplete and incorrect expression. Choice D is only correct if the sum of observations was 12, but the formula for \( \hat{\lambda} \) is the sample mean. Therefore, the MLE is \( \hat{\lambda} = 4 \).

التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE) — مسألة مهيكلة من ٦ درجات

6 نقاط بدون آلة حاسبة
في موضوع التوزيعات الاحتمالية وتقدير الاحتمال الأقصى (MLE)، ادرس الدالة \(f(x) = 2x^2 - 5x + 1\) على الفترة \([0, 3]\).
  1. (a)2 نقطة
    احسب قيمتي \(f(0)\) و \(f(2)\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يعوّض القيمتين في الدالة (1 نقطة)
    • [A1] يحصل على 1 و -1 (1 نقطة)
  2. (b)2 نقطة
    أوجد المشتقة \(f'(x)\) والنقطة الحرجة \(x_c\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يشتق الدالة التربيعية (1 نقطة)
    • [A1] يحل لإيجاد النقطة الحرجة (1 نقطة)
  3. (c)2 نقطة
    احسب متوسط معدل التغيّر من \(x = 0\) إلى \(x = 2\).
    معيار التصحيح والإجابة النموذجية
    • [M1] يطبّق قانون متوسط معدل التغيّر (1 نقطة)
    • [A1] يبسّط الناتج إلى -1 (1 نقطة)
الحل الكامل التفصيلي
(أ) \(f(0)=1\) و \(f(2)=-1\). (ب) \(f'(x)=4x-5\). (ج) متوسط معدل التغيّر يساوي \(-1\).
📝 اختبار الفصل