Re: [R] sample mean, variance and SD

2012-11-10 Thread David Winsemius
On Nov 10, 2012, at 6:58 PM, Jim Lemon wrote: > On 11/11/2012 07:09 AM, Greg Snow wrote: >> This is to all R-helpers (Sarah is just the one that I am replying to), >> >> Have we become a little too draconian on the "not a homework help list" >> issue? >> ... > > As usual, a thoughtful comment o

Re: [R] sample mean, variance and SD

2012-11-10 Thread Jim Lemon
On 11/11/2012 07:09 AM, Greg Snow wrote: This is to all R-helpers (Sarah is just the one that I am replying to), Have we become a little too draconian on the "not a homework help list" issue? ... As usual, a thoughtful comment on a problem that does not have a straightforward solution. The ac

Re: [R] sample mean, variance and SD

2012-11-10 Thread Jeff Newmiller
It is not always easy to discern what the instructor wants a student to get out of an assignment. Therefore, I can't see changing the policy as it stands. That said, it is not always easy to discern homework from self-study, and sometimes when the question is well-constructed I don't go out of

Re: [R] sample mean, variance and SD

2012-11-10 Thread Sarah Goslee
I agree with much of what you said. If there is a reasonable effort to have read the documention or otherwise to have solved the problem on their own, and a clear question, I will frequently at least give a hint or a pointer toward a relevant function or two. Also, I wouldn't consider that the firs

Re: [R] sample mean, variance and SD

2012-11-10 Thread Berend Hasselman
On 10-11-2012, at 19:23, parvez_200207 wrote: > hi > could you help me to solve this issue > > Question: > Using command rweibull(100,8,15), simulate n = 100 realizations from > Weibull(8; 15) distribution. Using the simulated sample, compute the sample > mean, variance and standard deviation of

Re: [R] sample mean, variance and SD

2012-11-10 Thread Berend Hasselman
On 10-11-2012, at 21:09, Greg Snow wrote: > This is to all R-helpers (Sarah is just the one that I am replying to), > > Have we become a little too draconian on the "not a homework help list" > issue? Probably. > > Now if someone just states the HW question, gives no indication that they > ha

Re: [R] sample mean, variance and SD

2012-11-10 Thread Greg Snow
This is to all R-helpers (Sarah is just the one that I am replying to), Have we become a little too draconian on the "not a homework help list" issue? Now if someone just states the HW question, gives no indication that they have done anything to try to solve it themselves, and expects us to give

Re: [R] sample mean, variance and SD

2012-11-10 Thread Greg Snow
Your code works for me, can you tell us what output you are getting, what output you expect to see, and how they differ? On Sat, Nov 10, 2012 at 11:23 AM, parvez_200207 wrote: > hi > could you help me to solve this issue > > Question: > Using command rweibull(100,8,15), simulate n = 100 realiza

Re: [R] sample mean, variance and SD

2012-11-10 Thread Sarah Goslee
This is not a homework help list. On Saturday, November 10, 2012, parvez_200207 wrote: > hi > could you help me to solve this issue > > Question: > Using command rweibull(100,8,15), simulate n = 100 realizations from > Weibull(8; 15) distribution. Using the simulated sample, compute the sample >

[R] sample mean, variance and SD

2012-11-10 Thread parvez_200207
hi could you help me to solve this issue Question: Using command rweibull(100,8,15), simulate n = 100 realizations from Weibull(8; 15) distribution. Using the simulated sample, compute the sample mean, variance and standard deviation of these observations. I am trying like this sim<-rweibull(100