One-way sensitivity function
f(theta_j,theta0_(-j)) = Y_j
Maps a model output to its value when a single input j is set to a stated value while every other input stays at its base-case value. Running it at the input's lower and upper values gives the endpoints of one bar in a tornado diagram.
Swing of a one-way bar
R_j = abs(Y_jU - Y_jL)
Switching value by linear interpolation
theta_jS = theta_jL - INMB_jL * (theta_jU - theta_jL) / (INMB_jU - INMB_jL)