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.

How to explain DistributionChart function in mathematica, For example: if I have

nd1 = RandomVariate[NormalDistribution[], 25];
nd2 = RandomVariate[NormalDistribution[2, 10], 25];

DistributionChart[nd1, BarOrigin -> Right]

enter image description here

DistributionChart[nd2, BarOrigin -> Right]

enter image description here

1) what is the importance or application of representing data as distribution chart as compare to Normal distribution 2) How to quantify it? or differentiate from 2nd chart in quantitative way or can i estimate probability of middle fatter region

share|improve this question
    
Is that a lipstick chart ;) –  wolfies Oct 18 '13 at 17:16
add comment

1 Answer

up vote 3 down vote accepted

You can interpret it as probability density. Here I just put a plot of the pdf in the same graph:

Module[{data = RandomVariate[#, 2000]},
   Show[{
     Plot[PDF[#, x], {x, Min[data], Max[data]}, PlotRange->All],
     DistributionChart[data, BarOrigin -> Left]
     }, PlotLabel -> #, PlotRange -> All
    ]] & /@ {ExponentialDistribution[2.1], 
             NormalDistribution[0.3, 1.3],
             StudentTDistribution[23], 
             UniformDistribution[{-1, 1}]}

enter image description here

share|improve this answer
add comment

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.