Skip to content
Back to formatted view

Raw Message

Message-ID: <59D9A712-2B31-464D-99A6-B8FDD853658E@comcast.net>
Date: 2011-01-06T20:14:16Z
From: David Winsemius
Subject: need help for chi-squared test
In-Reply-To: <1294342483043-3178052.post@n4.nabble.com>

On Jan 6, 2011, at 2:34 PM, kiotoqq wrote:

>
> I used chisq.test(read.table("C:/Users/Maggy/Downloads/dust.asc",
> header=TRUE))

So, where did you download this data and when is your homework due?

>
> and got this
>
>        Pearson's Chi-squared test
>
> data:  read.table("C:/Users/Maggy/Downloads/dust.asc", header = TRUE)
> X-squared = 5226.164, df = 3735, p-value < 2.2e-16
>
> and I think it should be right for the whole set,

I, on the other hand. now suspect it is a meaningless set of numbers.


> but that's not what I
> need, because I only have to use it for "cbr" and "smoking"

Do you mean you have an understanding of the potential values of cbr  
and smoking in that data and that you want to restrict your analysis  
to some subset defined by particular values  of those variables?


> -- 
> View this message in context: http://r.789695.n4.nabble.com/need-help-for-chi-squared-test-tp3177925p3178052.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT