Re: [Jprogramming] Displaying boxed tables

2016-03-29 Thread robert therriault
Ryan, I am not sure where you are seeing wrapping, but in order to see more of the information onscreen for each line take a look at the 9!:37 foreign conjunction. Hope this helps, bob > On Mar 29, 2016, at 11:01 PM, Raul Miller wrote: > > What are you using to display the tables? They do not

Re: [Jprogramming] Displaying boxed tables

2016-03-29 Thread Raul Miller
What are you using to display the tables? They do not wrap for me. Thanks, -- Raul On Wed, Mar 30, 2016 at 1:21 AM, Ryan Eckbo wrote: > When I have large boxed tables, the rows wrap when they are displayed, > making it hard to see what's going on. How can I change the formatting > so that wr

[Jprogramming] Displaying boxed tables

2016-03-29 Thread Ryan Eckbo
When I have large boxed tables, the rows wrap when they are displayed, making it hard to see what's going on. How can I change the formatting so that wrapping is turned off? Thanks, Ryan -- For information about J forums see http

Re: [Jprogramming] Bayesian links

2016-03-29 Thread 'Bo Jacoby' via Programming
I don''t know why the email became destroyed. Here I give extra carriage returns between then lines. The two program calls were:    20 5 0 deduce 10 and    20 5 0 predict 10 The output lines were 8 2 0 1 1 0 and 7.5 2.14286 0.357143 1.56745 1.48533 0.671764 Thanks!  Bo. Den 16:23 tirsdag de

Re: [Jprogramming] Weighty stats

2016-03-29 Thread Ric Sherlock
Here's an attempt to come up with weighted versions in the spirit of the univariate.ijs definitions wmean=: +/@[ %~ +/@:* wdev=: ] -"_1 _ wmean wssdev=: [ +/@:* *:@wdev wvar=: (#@-.&0 %~ <:@#@-.&0 * +/)@[ %~ wssdev wstddev=: %:@wvar 1 1 0 0 4 1 2 1 0 wstddev 2 3 5 7 11 13 17 19 23 5.8223

[Jprogramming] Weighty stats

2016-03-29 Thread Devon McCormick
Hi All - I recently wrote a few basic stat verbs for doing weighted versions of some of the common descriptive statistics. They lack the cohesive elegance of the standard versions from the "univariate.ijs" script but I couldn't figure out how to replicate it with the weighted versions as I've mad

Re: [Jprogramming] Writing a dyadic verb

2016-03-29 Thread Jose Mario Quintana
Another hook, 3 4 (-: |@j./)~ 5 1 On Mon, Mar 28, 2016 at 8:08 PM, Raul Miller wrote: >5 -: +/&.:*: 3 4 > 1 >5 (-: +/&.:*:) 3 4 > 1 >isRightTriange=: (-: +/&.:*:)~ >3 4 isRightTriangle 5 > 1 > > Or, if you didn't mind using the other order, >isrt=: -: +/&.:*: >5 isrt

Re: [Jprogramming] Bayesian links

2016-03-29 Thread Devon McCormick
Bo - your J examples came out garbled on my end, so I'm unsure what the right-hand arguments are to both "deduce" and "predict". Simply cutting and pasting from your e-mail gives a result containing a complex number for your first example and an error ("ill-formed number") for your second one. On

Re: [Jprogramming] Bayesian links

2016-03-29 Thread 'Bo Jacoby' via Programming
Thank you for the links! One trouble about Bayesian statistics is the naming of probability. It is problematic to talk about the probability of life on Mars, because we do not have a big population of Marsplanets such that we can count the proportion of Marsplanets containing life. Life on Mars