Displaying 1 result from an estimated 1 matches for "notumor".
2010 Dec 16
1
defining a formula method for a weighted lm()
...gt; fung.lor <- loddsratio(Fungicide)
> fung.lor
log odds ratios for group and outcome by sex, strain
strain
sex 1 2
M -1.596015 -0.8266786
F -1.386294 -0.6317782
>
> fung.lor.df <- as.data.frame(fung.lor)
> fung.lor.df
group outcome sex strain LOR ASE
1 Control:Treated Tumor:NoTumor M 1 -1.5960149 0.7394909
2 Control:Treated Tumor:NoTumor F 1 -1.3862944 0.9574271
3 Control:Treated Tumor:NoTumor M 2 -0.8266786 0.6587325
4 Control:Treated Tumor:NoTumor F 2 -0.6317782 1.1905545
>
Now, I want to test whether the odds ratios differ by sex or strain, so
I do a weighted lm()...