Displaying 20 results from an estimated 1000 matches similar to: "compare odds ratios"
2009 Feb 09
2
R equivalent of SAS Cochran-Mantel-Haenszel tests?
In SAS, for a two-way (or 3-way, stratified) table, the CMH option in
SAS PROC FREQ gives
3 tests that take ordinality of the factors into account, for both
variables, just the column variable
or neither. Is there an equivalent in R?
The mantelhaen.test in stats gives something quite different (a test of
conditional independence for
*nominal* factors in a 3-way table).
e.g. I'd like to
2007 Feb 24
1
Woolf's test, Odds ratio, stratification
Just a general question concerning the woolf test (package vcd), when we have
stratified data (2x2 tables) and when the p.value of the woolf-test is
below 0.05 then we assume that there is a heterogeneity and a common odds
ratio cannot be computed?
Does this mean that we have to try to add more stratification variables
(stratify more) to make the woolf-test p.value insignificant?
Also in the
2008 Apr 19
1
Mantel-Haenszel for 2x2
Hi all,
Does anyone know if an R function for the Mantel-Haenszel chi-square for a
2x2 table exists? I’ve also seen it called the randomization Q statistic.
Note that I’m not looking for the Cochran-Mantel-Haenszel…I did see that out
there as cmh.test.
Thanks in advance,
Jeff
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
11:27 AM
[[alternative HTML version
2003 Dec 11
2
Cochran-Mantel-Haenszel problem
Hello,
I've tried to analyze some data with a CMH test. My 3 dimensional contingency
tables are 2x2xN where N is usually between 10 and 100.
The problem is that there may be 2 strata with opposite counts (the 2x2
contigency table for these are reversed), producing opposite odds ratios that
cancle out in the overall statistics. These opposite counts are very
important for my analysis, since
2009 Feb 27
1
Ordinal Mantel-Haenszel type inference
Hello,
I am searching for an R-Package that does an exentsion of the Mantel-Haenszel test for ordinal data as described in Liu and Agresti (1996) "A Mantel-Haenszel type inference for cummulative odds ratios". in Biometrics. I see packages such as Epi that perform it for binary data and derives a varaince for it using the Robbins and Breslow variance method. As well as another pacakge
2007 May 08
3
Mantel-Haenszel relative risk with Greenland-Robins variance estimate
Does anyone know of an R function for computing the Greenland-Robins
variance for Mantel-Haenszel relative risks?
Thanks
Frank
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
2012 Sep 18
1
Cochran-Mantel-Haenszel test
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 to a date and
time into summer vs. winter, and day vs. night, and then summed and
averaged the given
2009 Jun 27
4
questions about meta-analysis
Dear R users:
In the example of meta-analysis (cochrane, package rmeta), I can not found the p-value of Test for overall effect, and some other indices (Z, I, weight and et al). How can I get the these indices listed?
> library(rmeta)
> data(cochrane)
> cochrane
name ev.trt n.trt ev.ctrl n.ctrl
1 Auckland 36 532 60 538
2 Block 1 69 5
2013 Mar 02
3
print method like print.anova()
I have a print method for a set of statistical tests, vcdExtra::CMHtest,
for which I'd like to
have more sensible printing of pvalues, as in print.anova().
[Testing this requires the latest version of vcdExtra, from R-Forge
**|install.packages("vcdExtra", repos="http://R-Forge.R-project.org")|**
]
With my current print method, I get results like this, but all Prob
values
2012 Jan 14
1
metafor: weights computation in Mantel-Haenszel method
Dear R users,
In metafor 1.6-0, the Mantel-Haenszel method is implemented by the rma.mh() function. I have observed that the sum of the weights computed by weights(x) doesn't add to 100% when x is an object of class rma.mh. The consequences of this fact can be clearly seen when a forest diagram is drawn with forest(x), which calls weights(x) (or more precisely, the method weights.rma.mh()
2007 Mar 06
1
Quick question on Cochran-Mantel-Haenszel test
Dear List,
I am looking for what B.S.Everitt refers to as Cochrane Method for testing
independence in combined 2x2 contingency tables. Is it the same method as
the Cochran-Mantel-Haenszel Chi-Squared Test for Count Data in R?
Thanks,
Serguei
[[alternative HTML version deleted]]
2010 Apr 04
2
"mantel.haenszel.test for trend in S-plus doesn't work i R"
Dear R'ers,
When I used S-plus i wrote a small program for a Mantel-Haenszel test
for trend (I think it worked). Unfortunately I can't get it working in
R.
It appears as if my use of 'el' is the problem but I can't sort it out.
Error in apply(array, c(, 2, 3), function(el) el * 1:s) :
argument is missing, with no default
Further down in the program I use 'el'
2006 Feb 17
1
extracting a element with a name attribute from a list
Hi R users
I like to extract (or collect) a numeric element with a name from a list.
Is there any way to extract just a numeric element without the name attached
to the element.
For example,
>mylist
Mantel-Haenszel chi-squared test with continuity correction
data: table(mydata[, x])
Mantel-Haenszel X-squared = 8.3832, df = 1, p-value = 0.003787
alternative hypothesis: true
2010 Oct 07
1
Computing a Mantel-Haenszel chi-square using a continuous variable as the matching criterion
Dear list
I would like to compute a Mantel-Haenszel chi-square in which the matching variable is a continuous variable. The MH chi-square is used to assess the relationship between two categorical variables at each level or strata defined by a third variable. Specifically I would like to know if there is a straightforward way to divide the matching variable into levels, in which each level has a
2013 Apr 24
2
Regression on stratified count data
Hi all:
For stratified count data,how to perform regression analysis?
My data:
age case oc count
1 1 1 21
1 1 2 26
1 2 1 17
1 2 2 59
2 1 1 18
2 1 2 88
2 2 1 7
2 2 2 95
age:
1:<40y
2:>40y
case:
1:patient
2:health
oc:
1:use drug
2:not use drug
My purpose:
Anaysis whether case and
2005 Apr 07
2
about mantelhaen.test (PR#7779)
Full_Name: Chien-yu Peng
Version: 2.0.1
OS: Windows XP Professional
Submission from: (NULL) (140.109.72.181)
Dear all:
Although I don't know you, I am thankful for your help.
When I use the function mantelhaen.test for R x C x K (R, C > 2) table,
the output is not the same as SAS's. I don't know that the result consist with
one of SAS's. But it works correctly for 2
2003 Apr 11
1
Pearson's Chi-squared Test
How i can perform a Pearson's Chi-squared Test in this data set:
| Outcome
-----------------+-----------+----------------------------------+
Treatment | Sex | None |Some | Marked | Total
-----------------+------------+--------+--------+-------------+
Active | Female | 6 | 5 | 16 | 27
2005 Apr 26
1
mantelhaen.test for more than two groups?
Dear All,
I'd like to perform the generalized Cochran-Mantel-Haenszel-Test (as
described in Agresti (1990), Categorical Data Analysis) for my nominal data.
My problem is that I have more than two groups. In fact I think I'd need
an 5-dimensional array for the response variable, the control variable
and three group variables.
Could you please tell me if this is possible in R - and if
2009 Jun 05
1
New Meta-Analysis Package (metafor)
A new package is now available via CRAN, called metafor.
The metafor package consists of a collection of functions for conducting meta-analyses in R. Fixed- and random-effects models (with and without moderators) can be fitted via the general linear (mixed-effects) model. For 2x2 table data, the Mantel-Haenszel and Peto's method are also implemented. The package also provides various plot
2015 Jan 29
3
pregunta
Estimados
Para analizar tres muestras cualitativas independientes se utiliza Cochran-Mantel-Haenszel test
?Cual script es el adecuado para analizar tres variables dependientes? en MCNEMAR solo se permite analizar dos variables cualitaticvas dependientes
saludos
José
[[alternative HTML version deleted]]