Skip to content
Back to formatted view

Raw Message

Message-ID: <20ECAF13-6D7A-4E5F-B68C-59B9B870E353@comcast.net>
Date: 2011-11-07T23:12:20Z
From: David Winsemius
Subject: rearrange set of items randomly
In-Reply-To: <1320700153654-4013723.post@n4.nabble.com>

On Nov 7, 2011, at 4:09 PM, flokke wrote:

> Dear all,
> I hope that this question is not too weird, I will try to explain it  
> as good
> as I can.
>
> I have to write a function for a school project and one limitation  
> is that I
> may not use the in built function sample()
>
> At one point in the function I would like to resample/rearrange the  
> items of
> my sample (so I would want to use sample, but I am not allowed to do  
> so), so
> I have to come up with sth else that does the same as the in built  
> function
> sample()
>
> The only thing that sample() does is rearranging the items of a  
> sample, so I
> searched the internet for a function that does that to be able to  
> use it,
> but I cannot find anything that could help me.
>
> Can maybe someone help me with this?
> I would be very grateful,

May I suggests thinking about the ordering of random variables?

-- 

David Winsemius, MD
West Hartford, CT