to determine both the independent and dependent, what are some questions you can ask yourself?

I am wondering if a causal relationship is being investigated, or a hypotesis being tested?