On Tue, Mar 16, 2010 at 2:38 PM, Brian Schott <[email protected]> wrote:
> I am not sure what you are asking, but I have struggled with dyadic I.
> in its development of histograms because its direct usage is "biased"
> oppositely to the statistical histogram. At the following link I
> said, "I. collects frequency counts based on intervals which are open
> on the left and closed on the right: (xi-1,xi]. Statistical intervals
> reverse this pattern: [xi-1,xi). "
>
> http://www.jsoftware.com/jwiki/BrianSchott/Histogram
Does this mean that you want some definition for F such that
2 3 5 F 0 1 2 3 4 5 6 7
_1 _1 0 1 1 2 2 2
If so, here is a definition for F:
F=: I. - ] < I. { [,_:
FYI,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm