Learn R Programming

partialOR (version 0.9)

reportOR: REPORTING THE RESULTS

Description

Prints the results of fitOR().

Usage

reportOR(fit,dd,ci)

Arguments

fit
list containing output of fitOR()
dd
data frame used to fit the models
ci
confidence level (default 0.95)

Value

the LR-test, the odds ratio, standard error of log(OR) and confidence intervals based on parameters of the H- and F-models.

Examples

Run this code
## generate data
dd <- simData(50,2,1.5,123)
## fit the models
fit <- fitOR(dd)
## report the results
reportOR(fit,dd,0.95)

Run the code above in your browser using DataLab