Re: [R] Simple Error Bar

2013-12-06 Thread mohan . radhakrishnan
t$mean+sampleset$se, code = 3, angle=90, length=0.2) Thanks. From: Rolf Turner To: Jim Lemon Cc: mohan.radhakrish...@polarisft.com, r-help@r-project.org Date: 12/06/2013 02:53 PM Subject:Re: [R] Simple Error Bar Uh, no. You are forgetting to tak

Re: [R] Simple Error Bar

2013-12-06 Thread Rolf Turner
Uh, no. You are forgetting to take the square root of 10, and to divide by the square root of 12. The variance of Y is (exactly) (56^2 - 1)/12, so the variance of Y-bar is this quantity over 10, so the standard deviation of Y-bar is sqrt((56^2 - 1)/12)/sqrt(10). Which is approximately (ig

Re: [R] Simple Error Bar

2013-12-05 Thread Jim Lemon
On 12/06/2013 04:16 PM, mohan.radhakrish...@polarisft.com wrote: Hi, Basic question with basic code. I am simulating a set of 'y' values for a standard 'x' value measurement. So here the error bars are very long because the number of samples are very small. Is that correct ? I am

[R] Simple Error Bar

2013-12-05 Thread mohan . radhakrishnan
Hi, Basic question with basic code. I am simulating a set of 'y' values for a standard 'x' value measurement. So here the error bars are very long because the number of samples are very small. Is that correct ? I am plotting the mean of 'y' on the 'y' axis. Thanks, Mohan x