Text this: Functional structure and approximation in econometrics