[R] Ks.test (was (no subject))

Vito Ricci vito_ricci at yahoo.com
Wed Nov 24 09:40:10 CET 2004


Hi Angela,

I believe you should introduce only df as parameters;
t distribution as by default mean=0; see this example.

> x<-rt(100,10)
> ks.test(x, "pt",10)

        One-sample Kolmogorov-Smirnov test

data:  x 
D = 0.1414, p-value = 0.03671
alternative hypothesis: two.sided 

Ciao
Vito

you wrote:

Good morning,
I have to apply the Ks test with the the t
distribution.
I know I have to write
ks.test(data_name,"distribution_name", parameters..)
but I don't know what is the name fot t distribution
and which parameters
to introduce? may be mean=0 and freedom degrees in my
case?
Thank you for helping me.
Angela Re




=====
Diventare costruttori di soluzioni
Became solutions' constructors

"The business of the statistician is to catalyze 
the scientific learning process."  
George E. P. Box


Visitate il portale http://www.modugno.it/
e in particolare la sezione su Palese  http://www.modugno.it/archivio/palese/




More information about the R-help mailing list