# Regression coefficient(s) when explanatory & response variables are time series

I have multiple VMs (Virtual Machines) on one physical server (hardware machine). I have CPU utilization information (every 5 minute) for all the virtual machines and the physical server. Now I want to understand how each VM is contributing to the overall load of the physical server. I am assuming that this is a time series problem. The CPU utilization of each VM as well the physical server are separate time series. One way to approach this problem is to apply linear regression considering CPU utilization of each VM as explanatory varaibles and CPU utilization of physical server as response variable.

  cpu_physical_server(t) = Function(cpu_vm_one(t) + cpu_vm_two(t) + cpu_vm_three(t) + .....)


As per my understanding, I can't directly apply regression modelling (lm() or glm()) as these are all time series (Link).

The question is how to calculate the regression coefficients when both explanatory and response variables are time series? What kind of correction(s) should I apply?

• ARIMAX models combine time series characteristics with regression. That is likely the kind of model you want. – Paul Aug 27 '17 at 13:15