Trend_estimate_CI_tests_rx2 function

Trend estimate for linear and logit models