> qchisq(0.01, df=8, lower.tail=FALSE) [1] 20.09024 > See ?dchisq
On Fri, 2008-11-07 at 09:47 +0800, cruz wrote: > Hi, > > How do we get the value of a chi square as we usually look up on the > table on our text book? > > i.e. Chi-square(0.01, df=8), the text book table gives 20.090 > > > dchisq(0.01, df=8) > [1] 1.036471e-08 > > pchisq(0.01, df=8) > [1] 2.593772e-11 > > qchisq(0.01, df=8) > [1] 1.646497 > > > > nono of them give me 20.090 > > Thanks, > cruz > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of Queensland St. Lucia Queensland 4072 Australia Room 320 Goddard Building (8) T: +61 7 3365 2506 http://www.uq.edu.au/~uqsblomb email: S.Blomberg1_at_uq.edu.au Policies: 1. I will NOT analyse your data for you. 2. Your deadline is your problem. The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. - John Tukey. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.