try this:
x <- t.test(1:10)
x$conf.int
attr(x$conf.int, "conf.level")
I hope it helps.
Best,
Dimitris
On 8/9/2010 8:39 PM, Etienne Stockhausen wrote:
Good afternoon everybody,
I'm writing a little function to visualise hypothesis testing. Therefore
I need to extract the confidence level o
Le 09/08/10 20:39, Etienne Stockhausen a écrit :
Good afternoon everybody,
I'm writing a little function to visualise hypothesis testing. Therefore
I need to extract the confidence level of a t-test. Here a little example:
x <- str(t.test(1:10)
gives
List of 9
$ statistic : Named num 5.74
.
Good afternoon everybody,
I'm writing a little function to visualise hypothesis testing. Therefore
I need to extract the confidence level of a t-test. Here a little example:
x <- str(t.test(1:10)
gives
List of 9
$ statistic : Named num 5.74
..- attr(*, "names")= chr "t"
$
3 matches
Mail list logo