[R] Inverse t-distribution(TINV function in Excel)
Felipe Carrillo
mazatlanmexico at yahoo.com
Tue Mar 25 02:42:36 CET 2008
Thanks everyone for your help the qt function worked
like a dream. I ended up using it like this;
T <- qt((1-0.05/2),7) to estimate 95% intervals
divided by 2. 7 would be the number of days sampled.I
got the same result I get with Systat.
> > I can't actually tell which function in R is the
> > equivalent to TINV function in Excel.
> > Anyone familiar with that function? Thanks
>
> TINV is returns a half range t quantile function and
> it returns 0 from 1
> and 5 million from 0; =TINV(0.1,100) produces
> 1.6602348, so I think you
> need to divide your arguments by 2 and subtract that
> from 1 to get the
> same result with qt()
>
> > qt(.95,100)
> [1] 1.660234
> > qt(.5,100)
> [1] 0
>
> --
> David Winsemius
>
> ______________________________________________
> 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.
>
Felipe D. Carrillo
Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
More information about the R-help
mailing list