Home Comments Thread
New Thread

4 Comments

giscus-bot giscus-bot 2022-12-16 17:17:11
Guest *Dan* @ 2009-10-16 00:02:18 originally posted:

Yihui,

Great site, is the interval calculated for 95% confidence?

Dan.

giscus-bot giscus-bot 2022-12-16 17:17:17
Guest *Tal Galili* @ 2012-05-09 19:14:32 originally posted:

 Dan, yes it is.  You can change it in the function parameters...

giscus-bot giscus-bot 2022-12-16 17:17:12
Guest *Dan* @ 2009-10-16 00:02:59 originally posted:

Wait, I see in the code that it is. Thanks.

D.

yihui yihui 2022-12-16 17:17:15

quick question and even quicker answer 😁

You might be more interested in the function conf.int() in my R package "animation". There are more animations beside this one in the package.

Originally posted on 2009-10-16 00:08:44

giscus-bot giscus-bot 2022-12-16 17:17:13
Guest *Dan* @ 2009-10-16 00:14:49 originally posted:

I've loaded "animation" but where can I find conf.int() to know the code? 🆒

yihui yihui 2022-12-16 17:17:16

You mean the source code for conf.int? Just type conf.int in R and you'll see it.

> library(animation)
> conf.int
function (level = 0.95, size = 50, cl = c("red", "gray"), ...) 
{
    n = ani.options("nmax")
    d = replicate(n, rnorm(size))
    m = colMeans(d)
....

If you want to see related examples, just take a look at the "Examples" section of ?conf.int.

Originally posted on 2009-10-16 00:19:50

giscus-bot giscus-bot 2022-12-16 17:17:14
Guest *Dan* @ 2009-10-16 00:24:50 originally posted:

Great, thank you! Again, great site, keep up the good work. 😁

D.

Sign in to join the discussion

Sign in with GitHub