Hi there,
I'm fairly new to Mathematica, and I can't seem to figure out how to use DistributionFitTest . I've tried
data = {100, 123, 142, 324, 223, 245, 124, 532, 7456, 84, 49, 49, 3,
9, 1};
DistributionFitTest[data, BenfordDistribution, Automatic];
which gets me the output
DistributionFitTest::rctnlndst: The argument BenfordDistribution at position 2 should be a valid distribution or a rectangular array of real numbers with length greater than the dimension of the array. The dimensionality of the arguments at positions 1 and 2 must match. >>
and I've tried
data = {100, 123, 142, 324, 223, 245, 124, 532, 7456, 84, 49, 49, 3,
9, 1};
DistributionFitTest[data, BenfordDistribution[9], Automatic];
which is not properly interpreted and just gives me back my original list. On the page for BenfordDistribution it says it can be used with DistributionFitTest, can anyone fill me in on how I'm supposed to do this?
Thanks in advance.