Slightly off topic is the stemplot described in Moore and McCabe,
Introduction to the Practice of Statistics.
Below you can see the data item 17 in row 1 and the data item 133 in row 13.
data
17 133 151 47 12 19 52 80 32 87 24 14 20 90 9 47 72 7 36 64
stemplot data
0|7 9
1|2 4 7 9
2|0 4
3|2 6
4|7 7
5|2
6|4
7|2
8|0 7
9|0
10|
11|
12|
13|3
14|
15|1
--Kip Murray
On Sunday, May 8, 2016, Brian Schott <[email protected]> wrote:
> Roger Hui and I have both studied histograms and you can find my discussion
> at the following link where the following verbs are defined.
>
> http://code.jsoftware.com/wiki/User:Brian_Schott/Histogram
>
> To make a long story shorter, my result differs from yours and Roger's when
> the sample value of 4 changes to a 5, for example. The session below
> attempts to show that with the verb histogram2 which uses the verb Idotr in
> place of the primitive verb I. The very last answer differs from its
> comparisons and I believe follows common statistical definitions of
> histogram.
>
> histogram =: <: @ (#/.~) @ (i. @#@[ , I.)
> histogram1=: <: @ (#/.~) @ (i.@>:@#@[ , I.)
> histogram2=: <: @ (#/.~) @ (i.@>:@#@[ , Idotr)
> Idotr =: |.@[ (#@[-I.) ]
> 1 3 3 3 4 7 7 8 8 9 histogram ~ 0 2.5 5 7.5 _
> 0 1 4 2 3
> 1 3 3 3 4 7 7 8 8 9 histogram1 ~ 0 2.5 5 7.5 _
> 0 1 4 2 3 0
> 1 3 3 3 4 7 7 8 8 9 histogram2 ~ 0 2.5 5 7.5 _
> 0 1 4 2 3 0
> 1 3 3 3 5 7 7 8 8 9 histogram ~ 0 2.5 5 7.5 _
> 0 1 4 2 3
> 1 3 3 3 5 7 7 8 8 9 histogram1 ~ 0 2.5 5 7.5 _
> 0 1 4 2 3 0
> 1 3 3 3 5 7 7 8 8 9 histogram2 ~ 0 2.5 5 7.5 _
> 0 1 3 3 3 0
>
>
>
> --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm