SHAZAM Questions and Answers (Q&A) - RSS feedhttp://community.econometrics.com/questions/SHAZAM Econometrics, Statistics and Analytics Communityen<font color="white">Copyright <b>SHAZAM Analytics, 2018</b></font>Mon, 29 Aug 2011 18:55:37 +0000How to select a random sample from a population?http://community.econometrics.com/question/210/how-to-select-a-random-sample-from-a-population/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) Mon, 29 Aug 2011 16:16:27 +0000http://community.econometrics.com/question/210/how-to-select-a-random-sample-from-a-population/Answer by ken for <p>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) </p>
http://community.econometrics.com/question/210/how-to-select-a-random-sample-from-a-population/?answer=306#post-id-306This example shows how
samp 1 25384
genr x=time(0)
samp 1 380
genr y=samp(x)
print y
stop
Mon, 29 Aug 2011 18:55:37 +0000http://community.econometrics.com/question/210/how-to-select-a-random-sample-from-a-population/?answer=306#post-id-306