Re: [R] how to calculate chisq value in R

From: Bernard Leemon <>
Date: Thu, 7 Feb 2008 14:19:19 -0700

On Thu, Feb 7, 2008 at 1:06 PM, John Kane <> wrote:

> ?chisq.test
> --- jinjin <> wrote:
> >
> > for example, an expression such as chisq(df=1,ncp=0)
> > ?
> >

perhaps pchisq(chisqvalue, df=1, ncp=0) is what you are looking for to evaluate the probability for a given chi-squre value from its distribution function.

or if by chisq.test you mean how to compute a contingency table chi-sq value, see

gary mcclelland

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 07 Feb 2008 - 21:23:53 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 Thu 07 Feb 2008 - 21:30:13 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive