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).
Keep practising Math for AI LA Probability
Browse all Math for AI LA Probability questions for Claude, or explore more Aifoundations topics.
Related questions
Conditional probability is defined asFor 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 varianceFor two independent random variables X and Y