User-defined Probability Mass Function
- To: mathgroup at smc.vnet.net
- Subject: [mg131442] User-defined Probability Mass Function
- From: bruce.colletti at gmail.com
- Date: Sat, 6 Jul 2013 05:04:47 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
The questions below can presumably be answered in terms of ProbabilityDistribution, so here goes... How do I create a distribution for the discrete random variable whose support is {-2.1, 3.45, 7} having corresponding probabilities {0.5, 0.3, 0.2}? What if the support is {-2.1, 3.45, pi}? If ProbabilityDistribution cannot support these, then what? Thanks. Bruce