Hi,

i think there is a mistake in histogram function of discriptive package.
The histogram must have to be modify by frequence/amp.
  this part begining on line 636:
               /* frequency table */
                fr: float(continuous_freq(m,my_nclasses)),
                if member(my_frequency, ['relative, 'percent])
                  then fr: [first(fr), second(fr) / apply("+", second(fr))],
                if my_frequency = 'percent
                  then fr[2]: fr[2] * 100.0,
                amp: fr[1][2]-fr[1][1],

must be replaced by

         /* frequency table */
                fr: float(continuous_freq(m,my_nclasses)),
                amp: fr[1][2]-fr[1][1],
                if member(my_frequency, ['relative, 'percent])
                  then fr: [first(fr), second(fr) / apply("+", 
second(fr))/amp],
                if my_frequency = 'percent
                  then fr[2]: fr[2] * 100.0,

It doesn't change the histogram but it is necessary to plot probability- 
density on the graph.

Dominique SOUDIERE


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Maxima-lang-fr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr

Répondre à