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

David Winsemius dwinsemius at comcast.net
Mon Mar 24 08:11:44 CET 2008


In article <687318.47015.qm at 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



More information about the R-help mailing list