摘要:
mysql 复制配置 阅读全文
摘要:
指示器随机变量简单的说就是,事件发生 为1, 不发生则为0.比如,为事件q申请一个指示器随机变量Xq,此时如果q发生,则Xq = 1 ,否则等于0。一个重要的定理是: E(Xq) = q事件发生的概率 。从该定理中可以知道指示器可能是用来找期望的,实际上确实如此。下面来看如何理解指示器:假设RES为结果集,现在有事件A,B,C,D,E,F ,其发生概率为Pa , Pb ....先为其每一个事件设置指示器随即变量为 Xa Xb Xc ....那么现在RES可以很好的表示为RES = Xa*A + Xb*B + Xc*C ..... 此时 结果集包含了所有发生了的事件这个很好理解,A发生了则 Xa 阅读全文