Multinominal logistic regression in R from a 2x2 table
Sorry, a bit new to all this.
I want to do logistic regression in R with multiple dependent variables. However, all I have access to are the 2x2 tables as follows:
How do I plug these into a glm model?
Dataset is as follows:
Disease
No Yes
Var1 No 41 21
Yes 65 42
Var2 No 55 26
Yes 开发者_StackOverflow66 46
Var3 No 99 50
Yes 22 22
Would I have to de-aggregate or reverse-summarise the dataset and revert the data set back to a non-count observation state? Not sure how to go about this though.
I really appreciate any help you can provide. Thanks!
精彩评论