As you have that described, you can just read the data with a panel CALENDAR, and do a VAR the same way you would for regular time series data. The ESTIMATE instruction (and LINREG and most other instructions) respects the boundaries between individuals in a panel data set.