Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Random sampling a variable length file.

by bcrowell2 (Friar)
on Dec 26, 2009 at 18:43 UTC ( [id://814439]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Random sampling a variable length file.
in thread Random sampling a variable record-length file.

Yeah, if they're uncorrelated, then there's no bias introduced. You may need to special-case the situation where you randomly land on the final record, in which case you have to pick the first record.
  • Comment on Re^5: Random sampling a variable length file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://814439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-05-30 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found