r exogenous