[R] [FORGED] how to draw the confidence interval

Daniel Nordlund djnordlund at gmail.com
Mon Mar 6 09:03:07 CET 2017


On 3/5/2017 10:35 PM, laomeng_3 wrote:
> this is not homework,just a case which I made by myself.
> 
> 
> �������������ʦ
> 
> 
> 
> On 2017-03-06 06:47 , Rolf Turner Wrote:
> 
> On 04/03/17 19:39, laomeng_3 wrote:
>> hi all I have a question about drawing the confidence interval .
>>
>> For instance,if I want to sample 100 times,and each time,the sample
>> size is 10,and the mean and sd is 15 and 1 respectively .I want to draw
>> the 100 confidence intervals(as the attachment) .Which function should
>> be used to draw the confidence interval ?
> 
> This list does not answer questions about homework.
> 
> (BTW, no attachment came through; only a *very* limited range of file
> types is permitted for attachments).
> 
> cheers,
> 
> Rolf Turner
> 
> --
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

As was pointed out your attachment didn't make it to the list, so we 
don't know what you want plotted, and your problem statement wasn't 
clear (at least to me).

Usually, it you want help on this list, you should provide a 
reproducible example.  In your case, at least show us what you tried. 
If you provide code to generate your random samples, and then describe 
what you want, e.g. "plot sample means and standard errors estimated 
from the samples,"  we can play along at home.  Then you may get some 
usable help.

You could also Google something like "R plot means and standard errors".


Dan

-- 
Daniel Nordlund
Port Townsend, WA  USA



More information about the R-help mailing list