Allowing for nonlinear effect of the running variable \(W_{i}\) \[Y_{i}=f(W_{i})+\rho\mathbf{1}\{W_{i}\geq\bar{W}\}+\eta_{i}\]
A function \(f(\cdot)\) might be a \(p\)th order polynomial. \[f(W_{i})=\beta_{1}W_{i}+\beta_{2}W_{i}^{2}+\cdots+\beta_{p}W_{i}^{p}\]