Slope-Hunter collider bias method
Usage
slopehunter(
x,
ip = 0.001,
pi0 = 0.6,
sxy1 = 1e-05,
bootstraps = 100,
seed = 777
)
Arguments
- x
an object of class MR
- ip
see xp_thresh
SlopeHunter::hunt()
- pi0
see init_pi
SlopeHunter::hunt()
- sxy1
see init_sigmaIP
SlopeHunter::hunt()
- bootstraps
see M
SlopeHunter::hunt()
- seed
see seed
SlopeHunter::hunt()
Value
an object of class MRResult