【发布时间】:2014-02-05 15:55:25
【问题描述】:
我有 N 个伯努利变量,X1, ..., XN, 和 Xi~B(1, pi), pi 对于每个 Xi 和 Y=X1+...XN 都是已知的,现在我需要得到分布Y.
如果Xi和Xj在i!=j时是独立的,那么我可以使用模拟:
1. Generate `X1`, ..., `XN` via their distribution, and then get the value of `Y`;
2. Repet step 1 for 10000 times, and then I can get `Y1`, ..., `Y10000`, so I can konw the distribution of `Y`.
但是现在Xi和Xj是有依赖关系的,所以我还需要考虑相关性,假设corr(Xi, Xj)=0.2当i!=j时,如何将相关性插入到模拟中?或者通过其他方式得到Y的分布?
感谢您的帮助和建议。
【问题讨论】:
标签: distribution multinomial bernoulli-probability