SHAZAM Community

Debug mode is on, do not use it in production. To turn it off, use DEBUG = False in your file.

Ask Your Question

How to select a random sample from a population?

asked 2011-08-29 16:16:27 +0000

updated 2011-09-17 06:29:58 +0000

Given a population for variable, say, X of 25384. How do I randomly select a sample of 380? I've had no success with the SAMP Function of p68 (Version 10)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-08-29 18:55:37 +0000

ken gravatar image

updated 2011-08-29 19:12:21 +0000

This example shows how

samp 1 25384
genr x=time(0)
samp 1 380
genr y=samp(x)
print y
edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2011-08-29 16:16:27 +0000

Seen: 576 times

Last updated: Sep 17 '11

Related questions