Re: [R] Estimating the variability of a population by one sample?

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Mon, 10 Dec 2007 11:19:18 +0000 (UTC)

Tony zeng <xh.along <at> gmail.com> writes:

> I am meetting one problem.I am estimating the variability of a
> population using one sample.I must do two-side and one-side hypothesis
> test,and estimate the confidence interval,But I don't know which
> function I can use !

You should describe your problem a bit more clearly, best by giving a sample set, and how the result should look like. With a bit of guesswork, the following might come close to what you want :

t.test(rnorm(100,0.21))

rnorm() generates the test vector, put your data there instead.

Dieter



R-help_at_r-project.org mailing list
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. Received on Mon 10 Dec 2007 - 12:10:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Dec 2007 - 12:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.