Message-ID: <x2k6ga9700.fsf@viggo.kubism.ku.dk>
Date: 2005-10-18T15:31:27Z
From: Peter Dalgaard
Subject: p-value calculation
In-Reply-To: <5c5fa360510180813l6acea88fl92adfd54dccc4f43@mail.gmail.com>
richard mendes <mendes.richard at gmail.com> writes:
> hello everybody
>
> i'm very new at using R so probably this is a very stupid question.
> I have a problem calculating a p-value. When i do this with excel i
> can use the method CHIDIST for 1.2654 with 1 freedom degree i get the
> answer 0.261
>
> i just want to do the same thing in R but i can't find a method.
> can somebody help me
> 1-pchisq(1.2654,1)
[1] 0.2606314
or
> pchisq(1.2654,1,lower.tail=FALSE)
[1] 0.2606314
> friendly regards
>
> richard
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
--
O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907