InfluentialPoints.com
Biology, images, analysis, design...
Use/Abuse Principles How To Related
"It has long been an axiom of mine that the little things are infinitely the most important" (Sherlock Holmes)

Search this site

 

 

Just a note

  • R requires the table in this format:
    Explanatory
    variable ⇓
    Response variable ⇓
    +
    Reference8003
    +171
  • tabodds = matrix(c(800,17,3,1),nc=2) enters the table column by column into the variable 'tabodds'.
  • nc = 2 instructs R that there are two columns.
  • oddsratio.wald specifies the unconditional maximum likelihood estimate of the odds ratio and the normal approximation (Wald) confidence interval.
  • oddsratio.fisher specifies the conditional maximum likelihood estimate of the odds ratio and the exact confidence interval.
  • oddsratio.midp specifies the median unbiased estimate of the odds ratio and the mid-p exact confidence interval.