Estimate bias due to conditional logistic regression in CXO study
Arguments
- data
input dataframe
- exposure
exposure variable
- event
outcome variable
- Id
person Id for strata
Value
A list containing:
scl | Standard Conditional logistic regression OR |
mh_or | Mantel_Haenszel OR |
bias | % difference between the CL and MH OR |
Examples
data(cases)
SCL_bias(data=cases, exposure=ex, event=Event, Id=Id)
#> $scl
#> [1] 1.450808
#>
#> $mh_or
#> [1] 1.4
#>
#> $bias
#> [1] "3.6%"
#>