Re: Question on random number generator

2002-02-15 Thread A Ramesh
Hi, Define Y = X if X<=T = 0 otherwise For your problem, T=150 (threshold) and X is exponential random variable with mean, MU. So, first generate X and compare with T and assign a value to Y as specified in the above rule. Alternatively, find the CDF (distribution funct

Re: Question on random number generator

2002-02-15 Thread Alan Miller
Linda wrote in message <[EMAIL PROTECTED]>... >I want to generate a series of random variables, X with exponential >PDF with a given mean,MU value. However, I only want X to be in some >specified lower and upper limit?? Say between 0 -> 150 i.e. rejected >anything outside this range Does anyone ha

金蜘蛛电子商务频道网站

2002-02-15 Thread eb . fm
Title: Untitled Document ¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾£ºÈ«ÇòÊ×´´eÃûƬµÄ½ðÖ©Öëµç×ÓÉÌÎñƵµÀÍøÕ¾ÔÚÕâÀïÏòÄã°Ý¸öÄ꣡ÎÒÃÇΪÁËÖ§³Ö¸öÈËÍøÕ¾µÄ·¢Õ¹£¬Ïò¸öÈËÍøÕ¾ÍƳöÁË¡°´úÀíÏúÊÛ¡±·þÎñ¡£²¢ÇÒ³éÈ¡35%µÄÌá³É×÷Ϊ֧³Ö¸öÈËÍøÕ¾·¢Õ¹»ù½ð¡£Ï£Íû¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾Äܹ»¶¦Á¦Ö§³Ö£¡ ÏÖÔÚ£¬ºÜ¶à¶«Î÷¶¼Àë²»¿ª»¥ÁªÍø£¬°üÀ¨£ºÉÌÎñ£¬½»ÓÑ£¬ÓÎÏ·

金蜘蛛电子商务频道网站

2002-02-15 Thread eb . fm
Title: Untitled Document ¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾£ºÈ«ÇòÊ×´´eÃûƬµÄ½ðÖ©Öëµç×ÓÉÌÎñƵµÀÍøÕ¾ÔÚÕâÀïÏòÄã°Ý¸öÄ꣡ÎÒÃÇΪÁËÖ§³Ö¸öÈËÍøÕ¾µÄ·¢Õ¹£¬Ïò¸öÈËÍøÕ¾ÍƳöÁË¡°´úÀíÏúÊÛ¡±·þÎñ¡£²¢ÇÒ³éÈ¡35%µÄÌá³É×÷Ϊ֧³Ö¸öÈËÍøÕ¾·¢Õ¹»ù½ð¡£Ï£Íû¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾Äܹ»¶¦Á¦Ö§³Ö£¡ ÏÖÔÚ£¬ºÜ¶à¶«Î÷¶¼Àë²»¿ª»¥ÁªÍø£¬°üÀ¨£ºÉÌÎñ£¬½»ÓÑ£¬ÓÎÏ·

金蜘蛛电子商务频道网站

2002-02-15 Thread eb . fm
Title: Untitled Document ¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾£ºÈ«ÇòÊ×´´eÃûƬµÄ½ðÖ©Öëµç×ÓÉÌÎñƵµÀÍøÕ¾ÔÚÕâÀïÏòÄã°Ý¸öÄ꣡ÎÒÃÇΪÁËÖ§³Ö¸öÈËÍøÕ¾µÄ·¢Õ¹£¬Ïò¸öÈËÍøÕ¾ÍƳöÁË¡°´úÀíÏúÊÛ¡±·þÎñ¡£²¢ÇÒ³éÈ¡35%µÄÌá³É×÷Ϊ֧³Ö¸öÈËÍøÕ¾·¢Õ¹»ù½ð¡£Ï£Íû¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾Äܹ»¶¦Á¦Ö§³Ö£¡ ÏÖÔÚ£¬ºÜ¶à¶«Î÷¶¼Àë²»¿ª»¥ÁªÍø£¬°üÀ¨£ºÉÌÎñ£¬½»ÓÑ£¬ÓÎÏ·

Re: Question on random number generator

2002-02-15 Thread Bill Rowe
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Linda) wrote: >I want to generate a series of random variables, X with exponential >PDF with a given mean,MU value. However, I only want X to be in some >specified lower and upper limit?? Say between 0 -> 150 i.e. rejected >anything outside this

A Book of South Indian Proverbs--Illustrated.

2002-02-15 Thread
Title: Untitled Document   Available through 1stbooks.com, Amazon.com, Barnesandnobel.com or your favorite e-book store. Book of Proverbs Restores 'Collective Amnesia' DARIEN, ILLINOIS: Proverbs remain an integral part of Indian cultur

金蜘蛛电子商务频道网站

2002-02-15 Thread eb . fm
Title: Untitled Document ¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾£ºÈ«ÇòÊ×´´eÃûƬµÄ½ðÖ©Öëµç×ÓÉÌÎñƵµÀÍøÕ¾ÔÚÕâÀïÏòÄã°Ý¸öÄ꣡ÎÒÃÇΪÁËÖ§³Ö¸öÈËÍøÕ¾µÄ·¢Õ¹£¬Ïò¸öÈËÍøÕ¾ÍƳöÁË¡°´úÀíÏúÊÛ¡±·þÎñ¡£²¢ÇÒ³éÈ¡35%µÄÌá³É×÷Ϊ֧³Ö¸öÈËÍøÕ¾·¢Õ¹»ù½ð¡£Ï£Íû¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾Äܹ»¶¦Á¦Ö§³Ö£¡ ÏÖÔÚ£¬ºÜ¶à¶«Î÷¶¼Àë²»¿ª»¥ÁªÍø£¬°üÀ¨£ºÉÌÎñ£¬½»ÓÑ£¬ÓÎÏ·

金蜘蛛电子商务频道网站

2002-02-15 Thread eb . fm
Title: Untitled Document ¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾£ºÈ«ÇòÊ×´´eÃûƬµÄ½ðÖ©Öëµç×ÓÉÌÎñƵµÀÍøÕ¾ÔÚÕâÀïÏòÄã°Ý¸öÄ꣡ÎÒÃÇΪÁËÖ§³Ö¸öÈËÍøÕ¾µÄ·¢Õ¹£¬Ïò¸öÈËÍøÕ¾ÍƳöÁË¡°´úÀíÏúÊÛ¡±·þÎñ¡£²¢ÇÒ³éÈ¡35%µÄÌá³É×÷Ϊ֧³Ö¸öÈËÍøÕ¾·¢Õ¹»ù½ð¡£Ï£Íû¹ó¹«Ë¾£¬ÆóÒµ»òÍøÕ¾Äܹ»¶¦Á¦Ö§³Ö£¡ ÏÖÔÚ£¬ºÜ¶à¶«Î÷¶¼Àë²»¿ª»¥ÁªÍø£¬°üÀ¨£ºÉÌÎñ£¬½»ÓÑ£¬ÓÎÏ·

Question on random number generator

2002-02-15 Thread Linda
I want to generate a series of random variables, X with exponential PDF with a given mean,MU value. However, I only want X to be in some specified lower and upper limit?? Say between 0 -> 150 i.e. rejected anything outside this range Does anyone have any ideas how should I do that?? Regards, Lind

Re: Which is faster? ziggurat or Monty Python (or maybe something else?)

2002-02-15 Thread Alan Miller
George Marsaglia wrote in message <0l7b8.42092$[EMAIL PROTECTED]>... > .. chunk deleted > >The Monty Python method is not quite as fast as as the Ziggurat. > >Some may think that Alan Miller's somewhat vague reference to >a source for the ziggurat article suggests disdain. The source is >Journ

Newbie question

2002-02-15 Thread AP
Hi all: I would appreciate your help in solving this question. calculate the standard deviation of a sample where the mean and standard deviation from the process are provided? E.g. Process mean = 150; standard deviation = 20. What is the SD for a sample of 25? The answer suggested is 4.0 TI

Re: Which is faster? ziggurat or Monty Python (or maybe something else?)

2002-02-15 Thread George Marsaglia
Art Kendall <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tend to be more concerned with the "apparent randomness" of the results than with >the speed of the algorithm. > > As a thought experiment, what is the cumulative time difference in a run using th

Re: can multicollinearity force a correlation?

2002-02-15 Thread Rich Ulrich
[ snip, previous problem] > > This is similar to a problem I have come across: the measurement of a > serum value against exposure. > My theory is that they are correlated. But the data says that they > have an R^2 of 0.02 even though the p-value for the beta is p=1E-40 > (ie. zero). > > As y

Re: homogeneity of variance

2002-02-15 Thread Jay Warner
and will you not, by this approach, wind up making a _lot_ of pairwise comparisions, with all the implications that have recently been disucssed even here at edstat? Messing with weakly formed data rarely strethens it. I love some transformations, but take them for what they are. Jay Thomas

Re: homogeneity of variance

2002-02-15 Thread Rich Ulrich
On 14 Feb 2002 17:14:24 -0800, [EMAIL PROTECTED] (Thomas Souers) wrote: TS> > I have another question regarding one-way ANOVA. I have noticed > that in some books, nothing is said about what you can do when the > factor level variances are unequal. In Neter's big book, > transformations are reco

Re: If T-Test can not be applied

2002-02-15 Thread Rich Ulrich
On Thu, 14 Feb 2002 23:48:02 +0100, "Matthias" <[EMAIL PROTECTED]> wrote: > Hello, > > would be nice if someone can give me some advice with regard to the > following problem: > > I would like to compare the means of two independent numerical sets of data > whether they are significantly differ

Statistical Distributions

2002-02-15 Thread Dennis Roberts
Back in 1970, Glass and Stanley in their excellent Statistical Methods in Education and Psychology book, Prentice-Hall ... had an excellent chapter on several of the more important distributions used in statistical work (normal, chi square, F, and t) and developed how each was derived from the

Re: If T-Test can not be applied

2002-02-15 Thread Art Kendall
In SPSS output ignore the lines for equal variances, and use the lines for unequal variances. Matthias wrote: > Hello, > > would be nice if someone can give me some advice with regard to the > following problem: > > I would like to compare the means of two independent numerical sets of data > w

Re: Which is faster? ziggurat or Monty Python (or maybe something else?)

2002-02-15 Thread Art Kendall
I tend to be more concerned with the "apparent randomness" of the results than with the speed of the algorithm. As a thought experiment, what is the cumulative time difference in a run using the fastest vs the slowest algorithm? A whole minute? A second? A fractional second? Glen wrote: > "A

Re: If T-Test can not be applied

2002-02-15 Thread William B. Ware
Excuse the bad grammar or typo noted below... It's been a "long morning" already, and it's still not 9 am... :) Bill On Fri, 15 Feb 2002, William B. Ware wrote: > What are your samples sizes? If there are equal or nearly so, the t-test *they* > is robust wit

Re: Which is faster? ziggurat or Monty Python (or maybe something else?)

2002-02-15 Thread Bob Wheeler
Marsaglia's ziggurat and MCW1019 generators are available in the R package SuppDists. The gcc compiler was used. George Marsaglia wrote: > > Glen <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > "Alan Miller" <[EMAIL PROTECTED]> wrote in message > news:

Re: If T-Test can not be applied

2002-02-15 Thread William B. Ware
What are your samples sizes? If there are equal or nearly so, the t-test is robust with regard to unequal variances. On the other hand, you could just read the part of the output that reports results for "equal variances not assumed." You might also consider using a nonparametric procedure such

Re: Which is faster? ziggurat or Monty Python (or maybe something else?)

2002-02-15 Thread George Marsaglia
Glen <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Alan Miller" <[EMAIL PROTECTED]> wrote in message news:... > > The fastest way to generate random normals and exponentials is to use George > > Marsaglia's ziggurat algorithm.