[R] how to draw the confidence interval

Jim Lemon drjimlemon at gmail.com
Mon Mar 6 11:19:58 CET 2017


Hi laomeng,
If you know how to plot the means and calculate the standard
deviations, perhaps look at the "dispersion" function in the plotrix
package.

Jim


On Sat, Mar 4, 2017 at 5:39 PM, laomeng_3 <laomeng_3 at 163.com> 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 ?
>
> Many thanks!
>
>
>
> 发自网易邮箱大师
> ______________________________________________
> 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.



More information about the R-help mailing list