Home › Claude › aifoundations › math_for_ai_la_probability › The expectation of a Bernoulli(p) random variabl…
The expectation of a Bernoulli(p) random variable is
Ap(1 − p)
B0
Cp
D1 − p
Answer & Solution
Correct answer: C. p
X ~ Bernoulli(p) takes value 1 with probability p and 0 with probability 1 − p. E[X] = 1·p + 0·(1 − p) = p. Variance is p(1 − p).
Related questions
Conditional probability is defined asThe HESSIAN of a twice-differentiable scalar function f: ℝⁿ → ℝ isFor a Poisson(λ) random variable, the mean equals the variance and both equalEigenvalues λ of a square matrix A satisfyFor the standard NORMAL distribution N(0, 1), the mean and variance areBayes's rule allows you to computeA matrix A is INVERTIBLE if and only ifA Binomial(n, p) random variable has mean and variance