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! ????????
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
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]]
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.
thanks a lot. ???????? On 2017-03-06 18:19 , Jim Lemon Wrote: 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.[[alternative HTML version deleted]]