Re: [R] Inverse t-distribution(TINV function in Excel)

From: Felipe Carrillo <mazatlanmexico_at_yahoo.com>
Date: Mon, 24 Mar 2008 18:42:36 -0700 (PDT)


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



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 Tue 25 Mar 2008 - 02:27:57 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 Tue 25 Mar 2008 - 10:30:23 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.

list of date sections of archive