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

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Mon, 24 Mar 2008 03:11:44 -0400

In article <687318.47015.qm@web56608.mail.re3.yahoo.com>,  Felipe Carrillo <mazatlanmexico_at_yahoo.com> wrote:

> 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.
Received on Mon 24 Mar 2008 - 07:15:51 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 - 03: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