I have a dataset which three variables: date, mean1 and mean2.

date - datetimens64 (YYYY-mm-dd format)

mean1 - float type

mean2 - float type

The data is not normally distributed. I want to find the impact of date on mean1 and mean2. And as I read though I learnt that date could be an independent variable and mean1 and mean2 could be dependent variables (on date). Therefore, the goal is to whether independent variable has any impact on dependent variables therefore I went through regression models and found that my scenario falls under multi-target / multivariate regression model. But I am not sure if I can use date as the independent variable. Could you please suggest something? I also thought of running linear regression twice: 1) between date and mean1, 2) between date and mean2. But I had to convert date to integer first.

I would rather prefer to test both the dependent variables together though, and also I want to keep the independent variable as date itself.

Any suggestion please?

NOTE: i am working on python (pandas dataframe). It would be helpful if you could share some similar implementations.

More Samiksha Samiksha's questions See All
Similar questions and discussions