Skip to content
Back to formatted view

Raw Message

Message-ID: <430AA1E3.8090701@pdf.com>
Date: 2005-08-23T04:11:15Z
From: Spencer Graves
Subject: specify seed for Random Number Generator
In-Reply-To: <BAY102-F20D65AC2ABB73090330AEED3B00@phx.gbl>

Have you considered "set.seed"?  This was listed with the first hit 
for 'RSiteSearch("random number seed")'.

	  spencer graves

Dhiren DSouza wrote:

> I need to generate 100 I.I.D samples from an exponential distribution.  I 
> use rexp(100,parameter).  Is there anyway to specify a seed to determine the 
> first input for the uniform random number generator used to generate these 
> exponentials?
> 
> -Dhiren
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves at pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915