Whether it is grammatically correct to end a sentence or clause with a preposition has been a matter of debate. However, consensus is that ending a sentence with a preposition is allowable, especially when the preposition acts like a verb particle, or when re-writing to avoid ending with the preposition would make a sentence clumsy.
In this study, the causal directions of the associations will not be explicitly tested for.