Estimates the shift parameter for a joint shift

calc_final_joint_shift_param(
  joint_shift_fold_results,
  fold_k,
  deltas_updated,
  exposures
)

Arguments

joint_shift_fold_results

Results of the joint shift

fold_k

Fold the joint shift is identified

deltas_updated

The new delta, could be updated if Hn has positivity violations

exposures

Exposures shifted

rank

ranking of the interaction found