Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I can't find what is the distribution corresponding to the default option in:

DistributionFitTest[data, Automatic, "HypothesisTestData"];

Is it N(0,1), uniform?

share|improve this question
2  
Does this answer your question? –  Szabolcs Mar 20 at 15:53

1 Answer 1

By default DistributionFitTest attempts to test fit against the family of normal distributions. To test if the data is standard normal (i.e. N(0,1)) you would use.

DistributionFitTest[data, NormalDistribution[]]

There are examples that show this to be the case in the Properties & Relations section of the documentation for DistributionFitTest.

share|improve this answer
    
When you have time, could you take a look whether this looks reasonable? I have an actual practical need for this. My distribution looks like a histogram, but it comes from probabilistic bisection (see pages 13-15) and not from counting data points. –  Szabolcs May 12 at 20:37
    
@Szabolcs I don't see anything wrong with your approach. I don't have access to the source so I can't promise that the Infinity is safe across the board. You know the typical caveat about undocumented internals being subject to change. –  Andy Ross May 14 at 13:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.