## [Maxima-lang-fr] Problem in "descriptive.mac"

 [Maxima-lang-fr] Problem in "descriptive.mac" From: - 2012-03-07 20:28:55 ```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 ```

 [Maxima-lang-fr] Problem in "descriptive.mac" From: - 2012-03-07 20:28:55 ```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 ```