s-news
[Top] [All Lists]

"pt" and "qt" for the t distribution with mu and sigma

To: "s-news" <s-news@lists.biostat.wustl.edu>
Subject: "pt" and "qt" for the t distribution with mu and sigma
From: "Dimitris Rizopoulos" <dimitrios.rizopoulos@student.kuleuven.ac.be>
Date: Wed, 29 Oct 2003 11:10:47 +0100
Dear S+ users,

I am interested in the distribution function and its inverse of the
t-distribution with mean mu and std.dev sigma and density given by:

dt. <- function(x, mu=0, sigma=1, df=stop("no df arg"))

gamma((df+1)/2)/(gamma(df/2)*sigma*sqrt(pi*df))*(1+(1/df)*((x-mu)/sigm
a)^2)^(-(df+1)/2)

are there any functions for this purpose??

I am using S-PLUS 6.1, Prof., Release 1 in Windows XP Prof.

Thanks in advance for your suggestions,
Dimitris


---
Dimitris Rizopoulos
Doctoral Student
Biostatistical Centre
Katholieke Universiteit Leuven
Kapucijnenvoer 35
B-3000, Leuven
Belgium

Tel: +32/16/336887
Fax: +32/16/337015



<Prev in Thread] Current Thread [Next in Thread>
  • "pt" and "qt" for the t distribution with mu and sigma, Dimitris Rizopoulos <=