[R] Cochran-Mantel-Haenszel test

2012-09-18 Thread McPhie, Romney
Hello, I have some satellite tag time-at-depth (TAD) frequency data that I would like some help with. The data was transmitted via satellite as percent time spent in each of 7 depth bins (0m, 0-1m, 1-10m, 10-50m etc.), binned over 6-hour intervals. I categorized each row of data corresponding

Re: [R] Cochran-Mantel-Haenszel test

2012-09-18 Thread Bert Gunter
This looks more like a statistics than an R issue. Try posting on stats.stackexchange.com, a statistics list, instead. ALternatively, talk to your local statistician (if there is one). -- Bert On Tue, Sep 18, 2012 at 3:02 PM, McPhie, Romney romney.mcp...@dfo-mpo.gc.ca wrote: Hello, I have

Re: [R] Cochran-Mantel-Haenszel test

2012-09-18 Thread Peter Langfelder
Bert is correct that this is a statistics questions, but I'll throw in my 2 cents anyway. The CMH test is formulated for count data and makes certain assumptions on the distribution of the observed values. Since you don't have count data (your data are not integer), chances are that the