powered by
Finds the maximum likelihood estimates for a given 2x3 table under the specified genetic model.
logistic.mles(t, model)
A 2x3 table of the joint probabilities of disease and genotype. Rows are case vs. control and columns are genotypes.
The assumed genetic model(s) used in testing: 'Dominant', 'Additive', 'Recessive'
A vector of logistic regression model coefficients.
# NOT RUN { logistic.mles(rbind(c(0.2967437, 0.1806723, 0.02258404), c(0.3432563, 0.1393277, 0.01741596)), "Dominant") # }
Run the code above in your browser using DataLab