Code for analyzing dependent variable over time at certain threshold of independent variable

Hi Together,

I am currently working on my Bachelor´s Thesis and I therefor need to do some statistical work. I am analyzing the effects of Migration over time.
My hypothesis is that when two independent varbiables reach a certain level in one country, a third dependent variable decreases in that exact year. This requires as well that the dependent varibale is increasing before and after this specific threshold of the indipendent variables.
Is there a way to test this hypothesis using R?

Thanks in advance

Hi Ramon!

This sounds like an interesting subject and there are a number of ways to approach a research question like this. However, I'm not sure what luck you will have in getting an answer from this forum which is dedicated to R related questions, not research or statistics. I would suggest you first discuss this with your supervisor.

I would also, in the kindest manner, suggest your read this forums Homework Policy FAQ: Homework Policy which says:

Keep in mind Community.rstudio.com is a discussion forum for R, RStudio and the Tidyverse. It may not be the best place to get help with your specific problem. The community is more inclined to help lead you toward your solution, rather than explicitly solve it. Do not expect anyone here to do your work for you.

When you have a clearer reserach question and some data to try on you are welcome to post a question about the R code itself and you will discover how helpful people here can be.

Good luck!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.