RE: [R] Simple simulation in R

2003-08-26 Thread Liaw, Andy
1 AM > To: [EMAIL PROTECTED] > Subject: [R] Simple simulation in R > > > Hello all > > I have a feeling this is very simple..but I am not sure > how to do it > > My boss has two variables, one is an average of 4 numbers, > the other is an average of 3 of those num

Re: [R] Simple simulation in R

2003-08-26 Thread Thomas Petzoldt
Hello all I have a feeling this is very simple..but I am not sure how to do it My boss has two variables, one is an average of 4 numbers, the other is an average of 3 of those numbers i.e var1 = (X1 + X2 + X3 + X4)/4 var2 = (X1 + X2 + X3)/3 Hello Peter, try the following:

[R] Simple simulation in R

2003-08-26 Thread Peter Flom
Hello all I have a feeling this is very simple..but I am not sure how to do it My boss has two variables, one is an average of 4 numbers, the other is an average of 3 of those numbers i.e var1 = (X1 + X2 + X3 + X4)/4 var2 = (X1 + X2 + X3)/3 all of the X variables are supposed to be measurin