DiscreteUniformDistribution PDF isn't piecewise?
- To: mathgroup at smc.vnet.net
- Subject: [mg107642] DiscreteUniformDistribution PDF isn't piecewise?
- From: "richard.wesley.todd" <richard.wesley.todd at gmail.com>
- Date: Sun, 21 Feb 2010 04:24:22 -0500 (EST)
A PDF for a discrete uniform distribution, say for a die roll... In[101]:= PDF[DiscreteUniformDistribution[{1, 6}]] Out[101]= 1/6 & ... gives 1/6 for all inputs, _not_ just between 1 and 6. Shouldn't it be defined piecewise? This is from Mathematica 7.0.1.0 on Windows. The CDF is correct.