KFC
- 477
- 4
Hi there,
As many texts' discussion, we usually use a variable x for any value randomly picked. For a Bernoulli trials, i.e. each random variable x can either be successful or fail. If the probability of success if p and that of failure is q=1-p, then the expectation value of x would be
\langle x\rangle = x_s p + x_f(1-p)
where x_s is the value of success while x_f is the value of failure.
In many texts, it takes x_s=1 and x_f=0. Hence,
\langle x\rangle = x_s p + x_f(1-p) = p
I wonder why and from what point shall we define success and failure as x_s=1 and x_f=0? Why I can't say x_s=1 and x_f=-1 OR
x_s=0 and x_f=1? But it we change the valus of x_s and x_f, \langle x\rangle will definitely be changed!?
As many texts' discussion, we usually use a variable x for any value randomly picked. For a Bernoulli trials, i.e. each random variable x can either be successful or fail. If the probability of success if p and that of failure is q=1-p, then the expectation value of x would be
\langle x\rangle = x_s p + x_f(1-p)
where x_s is the value of success while x_f is the value of failure.
In many texts, it takes x_s=1 and x_f=0. Hence,
\langle x\rangle = x_s p + x_f(1-p) = p
I wonder why and from what point shall we define success and failure as x_s=1 and x_f=0? Why I can't say x_s=1 and x_f=-1 OR
x_s=0 and x_f=1? But it we change the valus of x_s and x_f, \langle x\rangle will definitely be changed!?