Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

(RhetTbull) Re: Re: Faster Statistics for Discrete Data

by RhetTbull (Curate)
on Feb 23, 2002 at 18:12 UTC ( #147088=note: print w/replies, xml ) Need Help??

in reply to Re: Faster Statistics for Discrete Data
in thread Faster Statistics for Discrete Data

Actually, tying to a file has some drawbacks. Foremost of which is that you have to have a file to tie to. I often pipe in data from another program or read in the data from a database. A tied file approach would require the overhead of writing to disk and reading back. Also, some statistics (such as median) require the data to be in sorted order -- that means you'd have to sort the file in memory or sort and write to disk again which defeats the purpose. The approach I used gets around all of those limitations -- you don't need an intermediate file and you don't have to sort the original data points.
  • Comment on (RhetTbull) Re: Re: Faster Statistics for Discrete Data

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://147088]
[Discipulus]: better to ask a full SOPW
erix self-flagellates with the cluebat
[erix]: indeed had to be( time make check-world ) > test_run2.output 2>&1
[erix]: probably misremembered because of 2>&1 |
[erix]: oh nice, can do |& nowadays. Learned something new after all
LanX flagelates erix with a signed markov chain

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-03-23 08:53 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (285 votes). Check out past polls.