I want to do a sensitivity analysis on two variables. I'm trying to do a basic linear regression on the variables $X$ and $Y$ where $X$ is my exogenous variable and $Y$ is my dependent variable. The data I was given for $X$ is given hourly for every month for 10 years while the values of $Y$ were given per year. I was thinking about using the yearly averages for the values of $X$ but I feel like if I did that I would be losing a lot of valuable information as the data from $X$ is so precise. Any help on how I can create this linear regression or perhaps a more fitting tool to conduct a sensitivity analysis is much appreciated.
2026-03-26 06:03:38.1774505018
Linear Regression with variables at different times
72 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
You can fit time series models in $X$ then try to regress.