You may want loddsratio in the vcdExtra package
On 6/10/2013 12:27 PM, Vlatka Matkovic Puljic wrote:
Dear all,
I am using Epi package to calculate Odds ratio in my bivariate analysis.
How can I make *twoby2 *in variables that have 3 or more levels.
For example:
I have 4 level var (Age)
Dear all,
I am using Epi package to calculate Odds ratio in my bivariate analysis.
How can I make *twoby2 *in variables that have 3 or more levels.
For example:
I have 4 level var (Age)
m=matrix(c(290, 100,232, 201, 136, 99, 182, 240), nrow=4, ncol=2)
library (Epi)
twoby2(m)
R gives me only
On Jun 10, 2013, at 9:27 AM, Vlatka Matkovic Puljic wrote:
Dear all,
I am using Epi package to calculate Odds ratio in my bivariate analysis.
How can I make *twoby2 *in variables that have 3 or more levels.
I hope looking at that again you will see how odd it sounds to be requesting
You may want to consider a cumulative logit model which effectively
bifurcates an ordinal variable by utilizing the odds of being in a given
level or below (depending on your coding).
On Mon, Jun 10, 2013 at 12:27 PM, Vlatka Matkovic Puljic vlatk...@gmail.com
wrote:
Dear all,
I am using Epi
4 matches
Mail list logo