Test procedure to select the input variables in neural networks for dependent data