s-news
[Top] [All Lists]

random samples

To: <s-news@lists.biostat.wustl.edu>
Subject: random samples
From: "Roberts, J. Kyle" <jkrobert@bcm.tmc.edu>
Date: Fri, 21 Apr 2006 15:49:30 -0500
Thread-index: AcZlhDjKLDsJ931OQxa0ZCNpj1dmSw==
Thread-topic: random samples
Dear All,
 
I want to create 30 random samples of 30 scores all in the same vector (all with the same mean).  The twist is that I want to be able to specify a different SD for each sample such that seq(1, 10, length=30).  Before I put the random samples together, however, I want them to appear in ascending order (within each group).  I can easily do this the long way, but I wonder if someone can figure out an easy way.
 
Thanks,
Kyle
<Prev in Thread] Current Thread [Next in Thread>